Skip to content

flake: ptytest matcher receives no output #1400

@spikecurtis

Description

@spikecurtis

Various tests affected, underlying cause is pty not getting any output to match:

Failure details:

  • agent/agentssh TestNewServer_CloseActiveConnections/Shutdown_Early
  • agentssh_test.go:249: timeout
  • ptytest.go:170: match deadline exceeded: context deadline exceeded (wanted "started"; got "")
  • ptytest.go:102: copy did not close in time

No data race warnings, panic, or OOM indicators found in the job logs.

Assignment analysis:

  • git blame -L 149,260 agent/agentssh/agentssh_test.go (local blame recommended)
  • git log --oneline -10 --follow agent/agentssh/agentssh_test.go -> ebad5c3 "test(agent): fix channel timeout in TestNewServer_CloseActiveConnections" by Mathias Fredriksson (most recent meaningful change to this test).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions