Skip to content

testing containers not working on GitHub actions #255

@migmartri

Description

@migmartri

Jobs are failing even in main https://github.com/chainloop-dev/chainloop/actions/runs/5611270603/job/15202468154

2023/07/20 12:58:43 github.com/testcontainers/testcontainers-go - Connected to docker: 
  Server Version: 20.10.25+azure-2
  API Version: 1.41
  Operating System: Ubuntu 22.04.2 LTS
  Total Memory: 6931 MB
2023/07/20 12:58:43 Starting container id: 5710e9f6bbe4 image: docker.io/testcontainers/ryuk:0.3.4
2023/07/20 12:58:43 Waiting for container id 5710e9f6bbe4 image: docker.io/testcontainers/ryuk:0.3.4
2023/07/20 12:58:43 Starting container id: dd84ae47e6cd image: docker.io/testcontainers/ryuk:0.3.4
2023/07/20 12:58:44 Waiting for container id dd84ae47e6cd image: docker.io/testcontainers/ryuk:0.3.4
2023/07/20 12:58:44 Starting container id: 366c370844d1 image: docker.io/testcontainers/ryuk:0.3.4
2023/07/20 12:58:44 Waiting for container id 366c370844d1 image: docker.io/testcontainers/ryuk:0.3.4
--- FAIL: TestDispatcher (1.09s)
    --- FAIL: TestDispatcher/TestInitDispatchQueue (0.38s)
        database.go:149: 
            	Error Trace:	/home/runner/work/chainloop/chainloop/app/controlplane/internal/biz/testhelpers/database.go:149
            	            				/home/runner/work/chainloop/chainloop/app/controlplane/internal/biz/testhelpers/database.go:106
            	            				/home/runner/work/chainloop/chainloop/app/controlplane/internal/dispatcher/dispatcher_test.go:213
            	            				/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.8.4/suite/suite.go:187
            	Error:      	Received unexpected error:
            	            	http: invalid Host header, host port waiting failed: could not start container: creating reaper failed: failed to create container
            	Test:       	TestDispatcher/TestInitDispatchQueue
    --- FAIL: TestDispatcher/TestLoadInputsEnvelope (0.33s)

the ryuk container does not seem to start. creating reaper failed: failed to create container

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions