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

tests fail #25

Closed
akauppi opened this issue Feb 5, 2016 · 4 comments
Closed

tests fail #25

akauppi opened this issue Feb 5, 2016 · 4 comments

Comments

@akauppi
Copy link
Contributor

akauppi commented Feb 5, 2016

Using OS X 10.10.5, with Homebrew, on commit 8c00ec7

Hardware: mid-2015 Macbook Pro (16GB RAM, 2,7GHz Core i5)

$ docker --version
Docker version 1.9.1, build a34a1d5
$ docker-machine ls
NAME      ACTIVE   URL          STATE     URL                         SWARM   DOCKER    ERRORS
default   -        virtualbox   Stopped                                       Unknown   
nginx     -        virtualbox   Stopped                                       Unknown   
temp      *        virtualbox   Running   tcp://192.168.99.101:2376           v1.10.0   
ubuntu    -        virtualbox   Saved                                         Unknown   

Some of the tests are failing, for timeout or other reasons.

Is this normal? Could we do something to make the tests pass?

AllAtOnceSpec FAIL “Cannot run all required containers” (some timeout of 20 secs was met, at least twice) 
CassandraServiceSpec PASS
DockerServiceSpec FAIL (“true was not equal to false (DockerServiceSpec.scala:30”)
ElasticsearchServiceSpec FAIL “Cannot run all required containers” (some timeout of 20 secs was met)
KafkaServiceSpec FAIL “Cannot run all required containers” (“Bind for 0.0.0.0:9092 failed: port is already allocated”)
MongodbServiceSpec PASS
Neo4jServiceSpec FAIL “Cannot run all required containers” (some timeout of 20 secs was met)
PostgresServiceSpec PASS
ZookeeperServiceSpec PASS

If you want to see logs, I can attach them to this ticket. I would suggest looking at one of the failing tests above, at a time.

I ran the tests by:

$ sbt
...
> testOnly *CassandraServiceSpec
@akauppi akauppi changed the title 3 failed tests tests fail Feb 5, 2016
@akauppi
Copy link
Contributor Author

akauppi commented Feb 5, 2016

Note: I added the timeout in DockerKit to 60 seconds, but the behaviour is still the same. Thus I presume it's not a timing issue, but about the .withReadyChecker syntaxes, maybe?

Can others duplicate my problems?

@x4121
Copy link

x4121 commented Feb 19, 2016

This happens under Linux as well (Ubuntu 15.10)

Even when setting

implicit val  pc = PatienceConfig(Span(60, Seconds), Span(1, Second))
override def dockerInitPatienceInterval = PatienceConfig(scaled(Span(60, Seconds)), scaled(Span(10, Millis)))

futures timeout after 20 seconds.

@bjgbeelen
Copy link
Contributor

I encounter the same test failures, using OS X 10.11.6

~ docker --version
Docker version 1.11.2, build b9f10c9

@viktortnk
Copy link
Contributor

#48 Provides ability for easier debugging. Please check that output. Maybe doesn't work for some specific images and environments.

There is example of containers working on Travis.

Closing for now. Feel free to reopen of required

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

No branches or pull requests

4 participants