Skip to content

[flake] TestDevcontainerDiscovery/AutoStart/MultipleEnabled #864

@spikecurtis

Description

@spikecurtis
=== FAIL: agent/agentcontainers TestDevcontainerDiscovery/AutoStart/MultipleEnabled (0.04s)
    t.go:106: 2025-08-04 19:32:45.999 [debu]  updater loop started
    t.go:106: 2025-08-04 19:32:45.999 [debu]  cleaning up subagents
    t.go:106: 2025-08-04 19:32:45.999 [debu]  cleanup subagents complete
    t.go:106: 2025-08-04 19:32:45.999 [debu]  performing initial containers update
    t.go:106: 2025-08-04 19:32:45.999 [debu]  containers updated successfully  container_count=0  warning_count=0  devcontainer_count=0
    t.go:106: 2025-08-04 19:32:45.999 [debu]  initial containers update complete
    mock.go:202: Mock Clock - TickerFunc(<ctx>, 10s, <fn>, [agentcontainers updaterLoop]) call, matched 0 traps
    t.go:106: 2025-08-04 19:32:45.999 [debu]  project discovery started
    t.go:106: 2025-08-04 19:32:45.999 [debu]  watcher loop started
    t.go:106: 2025-08-04 19:32:46.022 [debu]  project-discovery: discovered dev container project  project_path=/home/coder  workspace_folder=/home/coder
    t.go:106: 2025-08-04 19:32:46.022 [debu]  project-discovery: adding dev container project  project_path=/home/coder  workspace_folder=/home/coder
    t.go:106: 2025-08-04 19:32:46.022 [debu]  project-discovery: discovered dev container project  project_path=/home/coder  workspace_folder=/home/coder/project
    t.go:106: 2025-08-04 19:32:46.022 [debu]  project-discovery: adding dev container project  project_path=/home/coder  workspace_folder=/home/coder/project
    t.go:106: 2025-08-04 19:32:46.023 [debu]  containers updated successfully  container_count=0  warning_count=0  devcontainer_count=2
    t.go:106: 2025-08-04 19:32:46.038 [debu]  project discovery finished
    t.go:106: 2025-08-04 19:32:46.038 [debu]  closing API
    t.go:106: 2025-08-04 19:32:46.038 [debu]  api context canceled
    t.go:106: 2025-08-04 19:32:46.038 [debu]  watcher loop stopped
    mock.go:202: Mock Clock - TickerFunc.Wait([agentcontainers updaterLoop]) call, matched 0 traps
    t.go:106: 2025-08-04 19:32:46.038 [debu]  updater loop stopped
    t.go:106: 2025-08-04 19:32:46.038 [debu]  closed API
    controller.go:97: missing call(s) to *acmock.MockDevcontainerCLI.Up(is anything, is equal to /home/coder (string), is equal to /home/coder/.devcontainer/devcontainer.json (string), is anything) /Users/runner/work/coder/coder/agent/agentcontainers/api_test.go:3736
    controller.go:97: missing call(s) to *acmock.MockDevcontainerCLI.Up(is anything, is equal to /home/coder/project (string), is equal to /home/coder/project/.devcontainer.json (string), is anything) /Users/runner/work/coder/coder/agent/agentcontainers/api_test.go:3760
    controller.go:97: aborting test due to missing call(s)
    mock.go:477: Mock Clock - test cleanup; will no longer log clock events
        --- FAIL: TestDevcontainerDiscovery/AutoStart/MultipleEnabled (0.04s)

seen here: https://github.com/coder/coder/actions/runs/16732257205/job/47363223942

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions