Git Product home page Git Product logo

Comments (4)

dimafeng avatar dimafeng commented on August 16, 2024

@npersad could you please share the full log?

from testcontainers-scala.

npersad avatar npersad commented on August 16, 2024

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.

dimafeng avatar dimafeng commented on August 16, 2024

@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.

npersad avatar npersad commented on August 16, 2024

Hello, sorry for my slow response. Yes this works.
Thanks much.

from testcontainers-scala.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.