-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
coder/coder
#14972Labels
Description
Seen here
=== FAIL: enterprise/cli TestWorkspaceProxy_Server_PrometheusEnabled (10.03s)
clitest.go:75: invoking command: coder --global-config /tmp/TestWorkspaceProxy_Server_PrometheusEnabled3198353439/001 wsproxy server --primary-access-url http://127.0.0.1:45207/ --proxy-session-token test-token --access-url http://foobar:3001 --http-address 127.0.0.1:46139 --prometheus-enable --prometheus-address 127.0.0.1:32815
t.go:102: 2024-10-03 23:15:30.147 [erro] cli: http server listen name=prometheus error="listen tcp 127.0.0.1:32815: bind: address already in use"
ptytest.go:132: 2024-10-03 23:15:30.148: cmd: "Started HTTP listener at http://127.0.0.1:46139/"
ptytest.go:132: 2024-10-03 23:15:30.148: cmd: "╔════════════════════════╗"
ptytest.go:132: 2024-10-03 23:15:30.148: cmd: "║ View the Web UI: ║"
ptytest.go:132: 2024-10-03 23:15:30.148: cmd: "║ http://foobar:3001 ║"
ptytest.go:132: 2024-10-03 23:15:30.148: cmd: "╚════════════════════════╝\r"
ptytest.go:132: 2024-10-03 23:15:30.148: cmd: "2024-10-03 23:15:30.147 [erro] cli: http server listen name=prometheus error=\"listen tcp 127.0.0.1:32815: bind: address already in use\""
ptytest.go:167: 2024-10-03 23:15:30.151: cmd: matched "Started HTTP listener at" = "Started HTTP listener at"
proxyserver_test.go:116:
Error Trace: /home/runner/work/coder/coder/enterprise/cli/proxyserver_test.go:116
Error: Condition never satisfied
Test: TestWorkspaceProxy_Server_PrometheusEnabled
clitest.go:261: command "coder workspace-proxy server" exited with error: running command "coder workspace-proxy server": create workspace proxy:
github.com/coder/coder/v2/enterprise/cli.(*RootCmd).proxyServer.func2
/home/runner/work/coder/coder/enterprise/cli/proxyserver.go:282
- buildinfo:
github.com/coder/coder/v2/enterprise/wsproxy.New
/home/runner/work/coder/coder/enterprise/wsproxy/wsproxy.go:173
- unable to fetch build info from primary coderd. Are you sure "http://127.0.0.1:45207/" is a coderd instance?
Get "http://127.0.0.1:45207/api/v2/buildinfo": context canceled
ptytest.go:96: 2024-10-03 23:15:40.152: cmd: closing expecter: PTY close
ptytest.go:121: 2024-10-03 23:15:40.152: cmd: copy done: <nil>
ptytest.go:122: 2024-10-03 23:15:40.152: cmd: closing out
ptytest.go:124: 2024-10-03 23:15:40.152: cmd: closed out: <nil>
ptytest.go:87: 2024-10-03 23:15:40.152: cmd: closing logw
ptytest.go:89: 2024-10-03 23:15:40.152: cmd: closed logw: <nil>
ptytest.go:87: 2024-10-03 23:15:40.152: cmd: closing logr
ptytest.go:89: 2024-10-03 23:15:40.152: cmd: closed logr: <nil>
ptytest.go:113: 2024-10-03 23:15:40.152: cmd: closed expecter