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

[receiver/snmp] Integration test failure: failed to create container #35226

Open
crobert-1 opened this issue Sep 16, 2024 · 1 comment
Open
Labels

Comments

@crobert-1
Copy link
Member

Component(s)

receiver/snmp

Describe the issue you're reporting

Failing CI/CD action link

Failure output:

Running target 'mod-integration-test' in module 'receiver/snmpreceiver' as part of group 'receiver-3'
make --no-print-directory -C receiver/snmpreceiver mod-integration-test
go: downloading github.com/gosnmp/gosnmp v1.38.0
running go integration test ./... in /home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/snmpreceiver
/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/.tools/gotestsum --rerun-fails=1 --packages="./..." -- -race -timeout 360s -parallel 4 -tags=integration,""
∅  internal/metadata
∅  internal/mocks
✖  . (1m45.335s)

DONE 237 tests, 1 failure in 109.847s

✖  . (1m40.869s)

=== Failed
=== FAIL: . TestIntegration (105.10s)
2024/09/16 22:34:43 github.com/testcontainers/testcontainers-go - Connected to docker: 
  Server Version: 26.1.3
  API Version: 1.45
  Operating System: Ubuntu 22.04.5 LTS
  Total Memory: 15990 MB
  Resolved Docker Host: unix:///var/run/docker.sock
make[2]: *** [../../Makefile.Common:146: mod-integration-test] Error 1
make[1]: *** [Makefile:187: receiver/snmpreceiver] Error 2
make: *** [Makefile:136: gointegration-test] Error 2
  Resolved Docker Socket Path: /var/run/docker.sock
  Test SessionID: 55ab7a591ca155e2e24177b584197ea2cd44ea2de61b8b7fd5fc2e8a069f349f
  Test ProcessID: 03e87bc1-e1d0-427e-963a-1d986dbabbef
2024/09/16 22:34:43 🐳 Creating container for image testcontainers/ryuk:0.7.0
2024/09/16 22:34:43 ✅ Container created: 90faec9473e0
2024/09/16 22:34:43 🐳 Starting container: 90faec9473e0
2024/09/16 22:34:43 ✅ Container started: 90faec9473e0
2024/09/16 22:34:43 🚧 Waiting for container id 90faec9473e0 image: testcontainers/ryuk:0.7.0. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms}
2024/09/16 22:34:43 🔔 Container is ready: 90faec9473e0
2024/09/16 22:36:28 🐳 Creating container for image 
    integration_test.go:107: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/snmpreceiver/integration_test.go:107
        	            				/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/snmpreceiver/integration_test.go:47
        	Error:      	Received unexpected error:
        	            	Error response from daemon: No such image: 05b05414-d9e2-49b6-bf1e-99cd9a23fb12:70c0a[309](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/10893052335/job/30227210808?pr=35040#step:5:310)-600a-4619-b1ac-556ef456d82f: failed to create container
        	Test:       	TestIntegration

=== FAIL: . TestIntegration (re-run 1) (100.82s)
2024/09/16 22:36:29 github.com/testcontainers/testcontainers-go - Connected to docker: 
  Server Version: 26.1.3
  API Version: 1.45
  Operating System: Ubuntu 22.04.5 LTS
  Total Memory: 15990 MB
  Resolved Docker Host: unix:///var/run/docker.sock
  Resolved Docker Socket Path: /var/run/docker.sock
  Test SessionID: 99cb92fea54402cf5dc1177d454bc82933808fa78d9ba1eafa46a665f4615675
  Test ProcessID: 0e439bdc-3617-47e8-82ff-dad6d1575a1e
2024/09/16 22:36:29 🐳 Creating container for image testcontainers/ryuk:0.7.0
2024/09/16 22:36:29 ✅ Container created: 10cdeff367c9
2024/09/16 22:36:29 🐳 Starting container: 10cdeff367c9
2024/09/16 22:36:29 ✅ Container started: 10cdeff367c9
2024/09/16 22:36:29 🚧 Waiting for container id 10cdeff367c9 image: testcontainers/ryuk:0.7.0. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms}
2024/09/16 22:36:29 🔔 Container is ready: 10cdeff367c9
2024/09/16 22:38:10 🐳 Creating container for image 
    integration_test.go:107: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/snmpreceiver/integration_test.go:107
        	            				/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/snmpreceiver/integration_test.go:47
        	Error:      	Received unexpected error:
        	            	Error response from daemon: No such image: 9cf85075-7937-4e18-849b-41ab5f438f05:e9c33aa0-f9bc-47a8-879b-45705e88b9c0: failed to create container
        	Test:       	TestIntegration

DONE 2 runs, 238 tests, 2 failures in 211.943s
make[1]: Leaving directory '/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib'
@crobert-1 crobert-1 added the needs triage New item requiring triage label Sep 16, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants