Skip to content

flake: TestServer_DisabledDERP #14395

@dannykopping

Description

@dannykopping

https://github.com/coder/coder/actions/runs/10506425591/job/29106042207

=== FAIL: cli TestServer_DisabledDERP (35.01s)
    clitest.go:75: invoking command: coder --global-config C:\Users\RUNNER~1\AppData\Local\Temp\TestServer_DisabledDERP3892125610\001 server --in-memory --http-address :0 --access-url http://example.com/ --derp-server-enable=false --derp-config-url https://controlplane.tailscale.com/derpmap/default
    t.go:99: 2024-08-22 10:39:02.768 [info]  cli: stdout: Started HTTP listener at http://[::]:50170
    t.go:99: 2024-08-22 10:39:02.768 [info]  cli: stdout: View the Web UI: http://example.com/
    clitest.go:261: command "coder server" exited with error: running command "coder server": create derp map:
            github.com/coder/coder/v2/cli.(*RootCmd).Server.func2
                C:/a/coder/coder/cli/server.go:528
          - get derpmap:
            github.com/coder/coder/v2/tailnet.NewDERPMap
                C:/a/coder/coder/tailnet/derpmap.go:88
          - Get "https://controlplane.tailscale.com/derpmap/default": context deadline exceeded
    clitest.go:172: 
        	Error Trace:	C:/a/coder/coder/cli/clitest/clitest.go:172
        	            				C:/hostedtoolcache/windows/go/1.22.5/x64/src/runtime/asm_amd64.s:1695
        	Error:      	Received unexpected error:
        	            	running command "coder server": create derp map:
        	            	    github.com/coder/coder/v2/cli.(*RootCmd).Server.func2
        	            	        C:/a/coder/coder/cli/server.go:528
        	            	  - get derpmap:
        	            	    github.com/coder/coder/v2/tailnet.NewDERPMap
        	            	        C:/a/coder/coder/tailnet/derpmap.go:88
        	            	  - Get "https://controlplane.tailscale.com/derpmap/default": context deadline exceeded
        	Test:       	TestServer_DisabledDERP
    server_test.go:1849: 
        	Error Trace:	C:/a/coder/coder/cli/server_test.go:1754
        	            				C:/a/coder/coder/cli/server_test.go:1849
        	Error:      	Condition never satisfied
        	Test:       	TestServer_DisabledDERP
        	Messages:   	failed to get access URL

DONE 7490 tests, 147 skipped, 1 failure in 109.517s

Metadata

Metadata

Assignees

Labels

s4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy