Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaky integration tests, port not found: creating reaper failed: failed to create container #1728

Open
migmartri opened this issue Jan 10, 2025 · 0 comments

Comments

@migmartri
Copy link
Member

?   	github.com/chainloop-dev/chainloop/app/controlplane/plugins/sdk/v1/plugin/api	[no test files]
watcher.go:83: [psqlwatcher] failed to listen message: failed to wait for notification: unexpected EOF
watcher.go:83: [psqlwatcher] failed to listen message: failed to wait for notification: unexpected EOF
watcher.go:83: [psqlwatcher] failed to listen message: failed to wait for notification: unexpected EOF
watcher.go:83: [psqlwatcher] failed to listen message: failed to wait for notification: unexpected EOF
watcher.go:83: [psqlwatcher] failed to listen message: failed to wait for notification: unexpected EOF
--- FAIL: TestAPITokenUseCase (12.37s)
    --- FAIL: TestAPITokenUseCase/TestAuthzPolicies (0.33s)
        database.go:180: 
            	Error Trace:	/home/runner/work/chainloop/chainloop/app/controlplane/pkg/biz/testhelpers/database.go:180
            	            				/home/runner/work/chainloop/chainloop/app/controlplane/pkg/biz/testhelpers/database.go:137
            	            				/home/runner/work/chainloop/chainloop/app/controlplane/pkg/biz/apitoken_integration_test.go:301
            	            				/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.10.0/suite/suite.go:192
            	Error:      	Received unexpected error:
            	            	port not found: creating reaper failed: failed to create container
            	Test:       	TestAPITokenUseCase/TestAuthzPolicies
        panic.go:262: test panicked: runtime error: invalid memory address or nil pointer dereference
            goroutine [50](https://github.com/chainloop-dev/chainloop/actions/runs/12710781348/job/35432632126#step:8:51) [running]:
            runtime/debug.Stack()
            	/opt/hostedtoolcache/go/1.23.4/x64/src/runtime/debug/stack.go:26 +0x5e
            github.com/stretchr/testify/suite.failOnPanic(0xc000678820, {0x233e140, 0x41cc7d0})
            	/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.10.0/suite/suite.go:89 +0x37
            github.com/stretchr/testify/suite.recoverAndFailOnPanic(0xc000678820)
            	/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.10.0/suite/suite.go:83 +0x35
            panic({0x233e140?, 0x41cc7d0?})
            	/opt/hostedtoolcache/go/1.23.4/x64/src/runtime/panic.go:785 +0x132
            github.com/chainloop-dev/chainloop/app/controlplane/pkg/biz/testhelpers.(*UseCasesEachTestSuite).TearDownTest(0xc0004c89
@migmartri migmartri changed the title flaky intergration tests flaky intergration tests, port not found: creating reaper failed: failed to create container Jan 10, 2025
@migmartri migmartri changed the title flaky intergration tests, port not found: creating reaper failed: failed to create container flaky integration tests, port not found: creating reaper failed: failed to create container Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant