Skip to content

flake: TestServer/CanListenUnspecifiedv4 #946

@blink-so

Description

@blink-so

Test failure seen in CI run: https://github.com/coder/coder/actions/runs/17274649293

Error:

=== FAIL: cli TestServer/CanListenUnspecifiedv4 (0.14s)
    clitest.go:267: command "coder server" exited with error: running command "coder server": connect to postgres:
            github.com/coder/coder/v2/cli.(*RootCmd).Server.func2
                /home/runner/work/coder/coder/cli/server.go:732
          - connect to postgres:
            github.com/coder/coder/v2/cli.getAndMigratePostgresDB
                /home/runner/work/coder/coder/cli/server.go:2788
          - get postgres version:
            github.com/coder/coder/v2/cli.ConnectToPostgres
                /home/runner/work/coder/coder/cli/server.go:2336
          - pq: canceling statement due to user request

Commit: 0b6f353b99d1e1f05707a82aee381c242aeb6522
Committer: jdomeracki-coder

This appears to be a PostgreSQL connection timeout/cancellation issue similar to other flakes we've seen with the same "pq: canceling statement due to user request" error.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions