Skip to content

make test and got an error cannot finish the test #28

@PH9

Description

@PH9

Setup

follow: https://golang.testcontainers.org/system_requirements/rancher
macOS: Squoia 15.5

Run command

make test

Output

go test -v -count=1 ./...
=== RUN   TestTestcontainersCloud
2025/07/24 17:28:33 github.com/testcontainers/testcontainers-go - Connected to docker:
  Server Version: 27.3.1
  API Version: 1.46
  Operating System: Alpine Linux v3.21
  Total Memory: 5924 MB
  Testcontainers for Go Version: v0.35.0
  Resolved Docker Host: unix:///Users/wasith.t/.rd/docker.sock
  Resolved Docker Socket Path: /var/run/docker.sock
  Test SessionID: 40b95d6ea4c2aefe6c4b8d41de4fd61191498d0619a2174db803a853d01331f4
  Test ProcessID: 189f61ca-3abe-4de4-90bb-d8d90802f773
2025/07/24 17:28:33 🐳 Creating container for image postgres:14-alpine
2025/07/24 17:28:33 🐳 Creating container for image testcontainers/ryuk:0.11.0
2025/07/24 17:28:33 ✅ Container created: 2fe15e050b7e
2025/07/24 17:28:33 🐳 Starting container: 2fe15e050b7e
2025/07/24 17:28:34 ✅ Container started: 2fe15e050b7e
2025/07/24 17:28:34 ⏳ Waiting for container id 2fe15e050b7e image: testcontainers/ryuk:0.11.0. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms skipInternalCheck:false}
2025/07/24 17:28:34 🔔 Container is ready: 2fe15e050b7e
2025/07/24 17:28:34 ✅ Container created: f9e6b57ac9cd
2025/07/24 17:28:34 🐳 Starting container: f9e6b57ac9cd
2025/07/24 17:28:34 ✅ Container started: f9e6b57ac9cd
2025/07/24 17:28:34 ⏳ Waiting for container id f9e6b57ac9cd image: postgres:14-alpine. Waiting for: &{timeout:<nil> deadline:0x14000432090 Strategies:[0x140000402a0]}
2025/07/24 17:28:35 🔔 Container is ready: f9e6b57ac9cd


	 ██████╗ ██╗  ██╗    ███╗   ██╗ ██████╗               ██╗
	██╔═══██╗██║  ██║    ████╗  ██║██╔═══██╗    ██╗      ██╔╝
	██║   ██║███████║    ██╔██╗ ██║██║   ██║    ╚═╝█████╗██║
	██║   ██║██╔══██║    ██║╚██╗██║██║   ██║    ██╗╚════╝██║
	╚██████╔╝██║  ██║    ██║ ╚████║╚██████╔╝    ╚═╝      ╚██╗
	 ╚═════╝ ╚═╝  ╚═╝    ╚═╝  ╚═══╝ ╚═════╝               ╚═╝

  It seems you are not running Testcontainers Desktop nor the CI agent. Have you started it?

2025/07/24 17:28:35 🐳 Stopping container: f9e6b57ac9cd
2025/07/24 17:28:35 ✅ Container stopped: f9e6b57ac9cd
2025/07/24 17:28:35 🐳 Terminating container: f9e6b57ac9cd
2025/07/24 17:28:35 🚫 Container terminated: f9e6b57ac9cd
--- FAIL: TestTestcontainersCloud (1.69s)
FAIL
FAIL	github.com/AtomicJar/testcontainers-cloud-go-example	2.244s
testing: warning: no tests to run
PASS
ok  	github.com/AtomicJar/testcontainers-cloud-go-example/repo	0.877s [no tests to run]
FAIL
make: *** [test] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions