Comments (4)
@npersad could you please share the full log?
from testcontainers-scala.
Hi, here is the log.
[info] Loading global plugins from /Users/npersad/.sbt/1.0/plugins
[info] Loading settings for project [<redacted>] from plugins.sbt ...
[info] Loading project definition from [<redacted>]
[info] Loading settings for project [<redacted>] from build.sbt ...
[info] Set current project to ...
[info] Compiling 1 Scala source to [<redacted>]/target/scala-2.12/test-classes ...
[info] Done compiling.
INFO DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
INFO DockerClientProviderStrategy - Will use 'okhttp' transport
INFO UnixSocketClientProviderStrategy - Accessing docker with local Unix socket
INFO DockerClientProviderStrategy - Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
INFO DockerClientFactory - Docker host IP address is localhost
INFO DockerClientFactory - Connected to docker:
Server Version: 18.09.2
API Version: 1.39
Operating System: Docker for Mac
Total Memory: 5957 MB
INFO DockerClientFactory - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
âšī¸ Checking the system...
â Docker version should be at least 1.6.0
â Docker environment should have more than 2GB free disk space
INFO đŗ [docker-compose] - Local Docker Compose is running command: pull
INFO đŗ [docker-compose] - Local Docker Compose is running command: up -d
[info] ElasticServiceTest:
[info] com.ncl.api.ElasticServiceTest *** ABORTED ***
[info] org.testcontainers.containers.ContainerLaunchException: Local Docker Compose exited abnormally with code 1 whilst running command: up -d
[info] at org.testcontainers.containers.LocalDockerCompose.invoke(DockerComposeContainer.java:651)
[info] at org.testcontainers.containers.DockerComposeContainer.runWithCompose(DockerComposeContainer.java:211)
[info] at org.testcontainers.containers.DockerComposeContainer.createServices(DockerComposeContainer.java:165)
[info] at org.testcontainers.containers.DockerComposeContainer.start(DockerComposeContainer.java:152)
[info] at org.testcontainers.containers.DockerComposeContainer.starting(DockerComposeContainer.java:121)
[info] at org.testcontainers.containers.TestContainerAccessor$.starting(TestContainerAccessor.scala:13)
[info] at com.dimafeng.testcontainers.TestContainerProxy.starting(TestContainer.scala:106)
[info] at com.dimafeng.testcontainers.TestContainerProxy.starting$(TestContainer.scala:106)
[info] at com.dimafeng.testcontainers.DockerComposeContainer.starting(DockerComposeContainer.scala:67)
[info] at com.dimafeng.testcontainers.ForAllTestContainer.run(TestContainer.scala:67)
[info] ...
[info] ScalaTest
[info] Run completed in 2 seconds, 894 milliseconds.
[info] Total number of tests run: 0
[info] Suites: completed 0, aborted 1
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
[info] *** 1 SUITE ABORTED ***
[error] Error: Total 1, Failed 0, Errors 1, Passed 0
[error] Error during tests:
[error] com.ncl.api.ElasticServiceTest
[error] (elastic-api / Test / test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 9 s, completed Apr 21, 2019 4:21:53 AM
from testcontainers-scala.
@npersad
I tried to run it locally and had a problem running it via testcontainers because of container name conflict. After I removed container_name: es01
from compose file, it started working.
Could you please try without container_name: es01
from testcontainers-scala.
Hello, sorry for my slow response. Yes this works.
Thanks much.
from testcontainers-scala.
Related Issues (20)
- Reuse container between test suits HOT 1
- localstack-v2 require aws sdk 1.x and 2.x HOT 2
- ContainerFetchException when running in Gitub CI
- Containers fails to start running on GHA HOT 4
- Consider removing old API syntax from documentation HOT 2
- Container failed to start on GHA HOT 1
- "Keep getting: open `': Change reported by S3 during open at position 0. ETag was unavailable" when reading from S3
- Make TestContainersSuite public
- Multiple Suites with Single Container HOT 2
- Run DockerComposeContainer on GitLab CI
- sqlserver got Mapped port can only be obtained after the container is started error HOT 2
- NoClassDefFoundError: munit/Test since 0.40.15 HOT 2
- Errors in container startup are silently ignored and test skipped
- NoClassDefFoundError: munit/Test - With `testcontainers-scala-munit` versions above 0.40.14 HOT 2
- 0.41.0: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image alpine/socat:1.7.4.3-r0 HOT 8
- Issue while trying to use PostGis in testcontainer initialization.
- Docker Compose V2 Standalone
- when to use `ForAllTestContainer` over `TestContainersForAll`
- Local Docker Compose with V2 Not Found in Path Error HOT 1
- Trait TestContainerForEach with Scala 3 - Compilation Failure HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testcontainers-scala.