-
-
Notifications
You must be signed in to change notification settings - Fork 602
[Bug]: artemis random test failures #2802
Copy link
Copy link
Closed as not planned
Labels
bugAn issue with the libraryAn issue with the library
Description
Testcontainers version
head
Using the latest Testcontainers version?
Yes
Host OS
N/A
Host arch
N/A
Go version
N/A
Docker version
N/ADocker info
N/AWhat happened?
Tests are randomly failing
Relevant log output
FAIL TestArtemis/WithCredentials (4.94s)
2024/09/26 16:42:35 🐳 Creating container for image docker.io/apache/activemq-artemis:2.30.0-alpine
2024/09/26 16:42:35 ✅ Container created: 9b972e4d34b1
2024/09/26 16:42:35 🐳 Starting container: 9b972e4d34b1
2024/09/26 16:42:35 ✅ Container started: 9b972e4d34b1
2024/09/26 16:42:35 ⏳ Waiting for container id 9b972e4d34b1 image: docker.io/apache/activemq-artemis:2.30.0-alpine. Waiting for: &{timeout:<nil> deadline:<nil> Strategies:[0xc0002bc870 0xc0002bc8a0]}
2024/09/26 16:42:39 🔔 Container is ready: 9b972e4d34b1
artemis_test.go:100:
Error Trace: /home/runner/work/testcontainers-go/testcontainers-go/modules/artemis/artemis_test.go:100
Error: Received unexpected error:
invalid command
Test: TestArtemis/WithCredentials
Messages: failed to connect
2024/09/26 16:42:39 🐳 Stopping container: 9b972e4d34b1
2024/09/26 16:42:40 ✅ Container stopped: 9b972e4d34b1
2024/09/26 16:42:40 🐳 Terminating container: 9b972e4d34b1
2024/09/26 16:42:40 🚫 Container terminated: 9b972e4d34b1
-----
FAIL TestArtemis/WithAnonymous (5.02s)
2024/09/26 16:42:40 🐳 Creating container for image docker.io/apache/activemq-artemis:2.30.0-alpine
2024/09/26 16:42:40 ✅ Container created: f465d5396d64
2024/09/26 16:42:40 🐳 Starting container: f465d5396d64
2024/09/26 16:42:40 ✅ Container started: f465d5396d64
2024/09/26 16:42:40 ⏳ Waiting for container id f465d5396d64 image: docker.io/apache/activemq-artemis:2.30.0-alpine. Waiting for: &{timeout:<nil> deadline:<nil> Strategies:[0xc00021fcb0 0xc00021fce0]}
2024/09/26 16:42:44 🔔 Container is ready: f465d5396d64
artemis_test.go:100:
Error Trace: /home/runner/work/testcontainers-go/testcontainers-go/modules/artemis/artemis_test.go:100
Error: Received unexpected error:
invalid command
Test: TestArtemis/WithAnonymous
Messages: failed to connect
2024/09/26 16:42:44 🐳 Stopping container: f465d5396d64
2024/09/26 16:42:45 ✅ Container stopped: f465d5396d64
2024/09/26 16:42:45 🐳 Terminating container: f465d5396d64
2024/09/26 16:42:45 🚫 Container terminated: f465d5396d64
----
ExampleRun (re-run 5) (5.09s)
=== RUN ExampleRun
2024/09/26 16:44:49 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
Testcontainers for Go Version: v0.34.0
Resolved Docker Host: unix:///var/run/docker.sock
Resolved Docker Socket Path: /var/run/docker.sock
Test SessionID: 22112d789bc8ff4885c5084550a074287a136654ce8c0d9ed35c65e33c0e262b
Test ProcessID: b3d49fd1-098c-4b85-8d61-7f4bebd792db
2024/09/26 16:44:49 🐳 Creating container for image testcontainers/ryuk:0.9.0
2024/09/26 16:44:49 ✅ Container created: 8d761209255e
2024/09/26 16:44:49 🐳 Starting container: 8d761209255e
2024/09/26 16:44:49 ✅ Container started: 8d761209255e
2024/09/26 16:44:49 ⏳ Waiting for container id 8d761209255e image: testcontainers/ryuk:0.9.0. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms skipInternalCheck:false}
2024/09/26 16:44:49 🔔 Container is ready: 8d761209255e
2024/09/26 16:44:49 🐳 Creating container for image docker.io/apache/activemq-artemis:2.30.0
2024/09/26 16:44:49 ✅ Container created: e8b296507f2a
2024/09/26 16:44:49 🐳 Starting container: e8b296507f2a
2024/09/26 16:44:50 ✅ Container started: e8b296507f2a
2024/09/26 16:44:50 ⏳ Waiting for container id e8b296507f2a image: docker.io/apache/activemq-artemis:2.30.0. Waiting for: &{timeout:<nil> deadline:<nil> Strategies:[0xc0003af950 0xc0003af980]}
2024/09/26 16:44:53 🔔 Container is ready: e8b296507f2a
2024/09/26 16:44:54 failed to connect to Artemis: invalid command
2024/09/26 16:44:54 🐳 Stopping container: e8b296507f2a
2024/09/26 16:44:54 ✅ Container stopped: e8b296507f2a
2024/09/26 16:44:54 🐳 Terminating container: e8b296507f2a
2024/09/26 16:44:54 🚫 Container terminated: e8b296507f2a
got:
true
want:
true
test:test
DONE 6 runs, 41 tests, 40 failures in 150.509sAdditional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn issue with the libraryAn issue with the library