Skip to content

flake: TestOpenVSCodeDevContainer #596

@dannykopping

Description

@dannykopping
Collaborator

https://github.com/coder/coder/actions/runs/14635795329/job/41067529182

=== FAIL: cli TestOpenVSCodeDevContainer/ok_inside_workspace (25.00s)
    clitest.go:75: invoking command: coder --global-config /tmp/TestOpenVSCodeDevContainerok_inside_workspace1765721481/001 open vscode myworkspace --container awesome_buck149
    open_test.go:441: 2025-04-24 07:43:33.762: cmd: read error: match deadline exceeded: context deadline exceeded (wanted newline; got "")
    open_test.go:441: 
        	Error Trace:	/home/runner/work/coder/coder/pty/ptytest/ptytest.go:372
        	            				/home/runner/work/coder/coder/pty/ptytest/ptytest.go:313
        	            				/home/runner/work/coder/coder/cli/open_test.go:441
        	Error:      	read error
        	Test:       	TestOpenVSCodeDevContainer/ok_inside_workspace
        	Messages:   	match deadline exceeded: context deadline exceeded (wanted newline; got "")
    clitest.go:261: command "coder open vscode" exited with error: running command "coder open vscode": list workspace agent containers:
            github.com/coder/coder/v2/cli.(*RootCmd).openVSCode.func1
                /home/runner/work/coder/coder/cli/open.go:120
          - Get "http://localhost:38731/api/v2/workspaceagents/8844e6f9-9c55-4c50-bdfd-357fb12f3712/containers?label=devcontainer.local_folder%3D": context deadline exceeded

Activity

johnstcn

johnstcn commented on Apr 24, 2025

@johnstcn
Member

I took a glance and this test just uses a mock container lister, so this doesn't seem to be a Docker-related flake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @dannykopping@johnstcn@DanielleMaywood

      Issue actions

        flake: `TestOpenVSCodeDevContainer` · Issue #596 · coder/internal