[JIRA] (JENKINS-51410) Error stopping mongod service inside Docker container

2018-08-08 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51410  
 
 
  Error stopping mongod service inside Docker container   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Component/s: 
 docker-workflow-plugin  
 
 
Component/s: 
 docker  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51410) Error stopping mongod service inside Docker container

2018-05-17 Thread reife...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alexander Reifert created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51410  
 
 
  Error stopping mongod service inside Docker container   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Carlos Sanchez  
 
 
Components: 
 docker, pipeline  
 
 
Created: 
 2018-05-17 21:38  
 
 
Environment: 
 Jenkins 2.107.3  Amazon Linux 4.14.33-51.37.amzn1.x86_64  Docker version 17.12.1-ce, build 3dfb8343b139d6342acfd9975d7f1068b5b1c3d3  Java OpenJDK version 1.8.0_171  Jenkins installed via YUM, builds run on slaves connected via SSH  
 
 
Labels: 
 docker pipeline Amazon  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Alexander Reifert  
 

  
 
 
 
 

 
 I have a Docker image with MongoDB installed. My pipeline tries to start the mongod service, run some database commands, and then stop the mongod service. When trying to stop the mongod service, the pipeline hangs for 5 minutes and then returns a failed exit status. I've confirmed that I'm able to run these same commands within a Docker container manually, on the same machine, with no issues, so this seems like a Jenkins issue of some sort. To reproduce: Create an image using the following Dockerfile: 

 

FROM amazonlinux

ENV MONGO_VERSION=3.6

RUN echo -e "[mongodb-org-${MONGO_VERSION}]\nname=MongoDB\nbaseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/${MONGO_VERSION}/x86_64/\nenabled=1\ngpgcheck=1\ngpgkey=https://www.mongodb.org/static/pgp/server-${MONGO_VERSION}.asc\n" > /etc/yum.repos.d/mongodb.repo \
&& yum groupinstall -y "Deve