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

Docker integration tests can leak containers #607

Closed
stevenschlansker opened this issue Jul 9, 2015 · 4 comments · Fixed by #622
Closed

Docker integration tests can leak containers #607

stevenschlansker opened this issue Jul 9, 2015 · 4 comments · Fixed by #622

Comments

@stevenschlansker
Copy link
Contributor

If the integration tests fail, the Docker containers are never stopped and just start to pile up.

[INFO] --- docker-maven-plugin:0.12.0:start (start-docker-images) @ SingularityServiceIntegrationTests ---
[INFO] DOCKER> Starting container b04cc90492c9
[INFO] DOCKER> Creating and starting container b04cc90492c9 [bobrik/zookeeper] "singularity-test-zk"
[INFO] DOCKER> Starting container 1e1eba824d02
[INFO] DOCKER> Creating and starting container 1e1eba824d02 [mesosphere/mesos-master:0.21.1-1.1.ubuntu1404] "singularity-test-master"
[ERROR] DOCKER> Invalid log format: Couldn't read 0 bytes from stream
[ERROR] DOCKER> Timeout after 10000 ms while waiting on on log out 'Elected as the leading master'
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

[steven@Anesthetize:~]% docker ps
CONTAINER ID        IMAGE                                           COMMAND                CREATED                  STATUS              PORTS                                         NAMES
06e9c456cf88        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   Less than a second ago   Up 16 seconds                                                     focused_wilson             
1e1eba824d02        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   Less than a second ago   Up 31 seconds       0.0.0.0:32793->5050/tcp                       loving_torvalds            
b04cc90492c9        bobrik/zookeeper                                "/run.sh"              Less than a second ago   Up 32 seconds       2888/tcp, 3888/tcp, 0.0.0.0:32792->2181/tcp   condescending_darwin       
7b13475c851c        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   About an hour ago        Up About an hour    0.0.0.0:32791->5050/tcp                       mad_mestorf                
602f9f192f1a        bobrik/zookeeper                                "/run.sh"              About an hour ago        Up About an hour    2888/tcp, 3888/tcp, 0.0.0.0:32790->2181/tcp   prickly_wilson             
49f505783efd        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   2 hours ago              Up 2 hours          0.0.0.0:32789->5050/tcp                       compassionate_meitner      
d6a39e0a7852        bobrik/zookeeper                                "/run.sh"              2 hours ago              Up 2 hours          2888/tcp, 3888/tcp, 0.0.0.0:32788->2181/tcp   jolly_kowalevski           
1be4f8553eb6        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   24 hours ago             Up 24 hours         0.0.0.0:32787->5050/tcp                       kickass_curie              
cee06683c4df        bobrik/zookeeper                                "/run.sh"              24 hours ago             Up 24 hours         2888/tcp, 3888/tcp, 0.0.0.0:32786->2181/tcp   admiring_heisenberg        
5b8f86c211b2        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   24 hours ago             Up 24 hours         0.0.0.0:32785->5050/tcp                       fervent_ritchie            
d5acfe7dd060        bobrik/zookeeper                                "/run.sh"              24 hours ago             Up 24 hours         2888/tcp, 3888/tcp, 0.0.0.0:32784->2181/tcp   trusting_engelbart         
1622ac4cf7f4        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   25 hours ago             Up 25 hours         0.0.0.0:32783->5050/tcp                       cocky_carson               
27a5f1c9137a        bobrik/zookeeper                                "/run.sh"              25 hours ago             Up 25 hours         2888/tcp, 3888/tcp, 0.0.0.0:32782->2181/tcp   jolly_ritchie              
c3ad09e28c18        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   27 hours ago             Up 27 hours         0.0.0.0:32781->5050/tcp                       cocky_mccarthy             
76964c2f5d31        bobrik/zookeeper                                "/run.sh"              27 hours ago             Up 27 hours         2888/tcp, 3888/tcp, 0.0.0.0:32780->2181/tcp   insane_noyce               
fba477dd0b45        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   2 days ago               Up 2 days           0.0.0.0:32778->5050/tcp                       condescending_mcclintock   
45c68be3dd32        bobrik/zookeeper                                "/run.sh"              2 days ago               Up 2 days           2888/tcp, 3888/tcp, 0.0.0.0:32777->2181/tcp   romantic_mccarthy          
6a1a99a91696        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   2 days ago               Up 2 days           0.0.0.0:32775->5050/tcp                       focused_ritchie            
57c77c9e1b5a        bobrik/zookeeper                                "/run.sh"              2 days ago               Up 2 days           2888/tcp, 3888/tcp, 0.0.0.0:32774->2181/tcp   high_poincare              
d09a31862abe        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   2 days ago               Up 2 days           0.0.0.0:32772->5050/tcp                       goofy_turing               
a7a7d0288af2        bobrik/zookeeper                                "/run.sh"              2 days ago               Up 2 days           2888/tcp, 3888/tcp, 0.0.0.0:32771->2181/tcp   clever_kilby               
b8f9fd55f4c0        mesosphere/mesos-master:0.21.1-1.1.ubuntu1404   "mesos-master --regi   2 days ago               Up 2 days           0.0.0.0:32769->5050/tcp                       berserk_pare               
a46921772fb1        bobrik/zookeeper                                "/run.sh"              2 days ago               Up 2 days           2888/tcp, 3888/tcp, 0.0.0.0:32768->2181/tcp   hopeful_almeida  
@tpetr
Copy link
Contributor

tpetr commented Jul 9, 2015

😞

@stevenschlansker
Copy link
Contributor Author

Yeah, my thoughts exactly 😞 On second thought though, maybe this is a bug for the docker-maven-plugin?

@tpetr
Copy link
Contributor

tpetr commented Jul 9, 2015

yeah, i think so -- it should at least be an option in the plugin

@stevenschlansker
Copy link
Contributor Author

OK I'll work upstream to fix that...

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

Successfully merging a pull request may close this issue.

2 participants