java.lang.Error: Failed to build image: 88e9b1c268ea

Jenkins JIRA | Jesse Glick | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Trying to run {{BROWSER=htmlunit TYPE=winstone_docker JENKINS_WAR=.../jenkins.war mvn clean test}} on a test suite produced {code:none} Uploading context 6.656 kB Uploading context Step 0 : FROM ubuntu ---> 8dbd9e392a96 Step 1 : RUN apt-get update ---> Using cache ---> b9e5fab34737 Step 2 : RUN apt-get install -y openssh-server ---> Using cache ---> 6f0264ad8ca4 Step 3 : RUN mkdir -p /var/run/sshd ---> Using cache ---> 2e32d5188f70 Step 4 : RUN useradd test -d /home/test && mkdir -p /home/test/.ssh && chown test /home/test && echo "test:test" | chpasswd && echo 'ssh-rsa ... kohsuke@atlas' > /home/test/.ssh/authorized_keys ---> Using cache ---> fa4075b88a64 Step 5 : CMD /usr/sbin/sshd -D -e ---> Using cache ---> b675729dea06 Successfully built b675729dea06 Uploading context 2.56 kB Uploading context Step 0 : FROM jenkins/sshd Pulling repository jenkins/sshd 2014/05/13 08:22:13 HTTP code: 404 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.007 sec <<< FAILURE! basicTest(com.cloudbees.jenkins.test.acceptance.BackupPluginTest) Time elapsed: 2.926 sec <<< ERROR! java.lang.Error: Failed to build image: 88e9b1c268ea at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:97) at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:153) at org.jenkinsci.test.acceptance.controller.WinstoneDockerController.startProcess(WinstoneDockerController.java:62) at org.jenkinsci.test.acceptance.controller.LocalController.startNow(LocalController.java:235) at org.jenkinsci.test.acceptance.controller.JenkinsController.start(JenkinsController.java:74) at org.jenkinsci.test.acceptance.FallbackConfig.createController(FallbackConfig.java:151) at ... at org.jenkinsci.test.acceptance.guice.TestLifecycle$1.get(TestLifecycle.java:50) at ... at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:46) at ... {code} Anyway are you sure you do not want to use http://phusion.github.io/baseimage-docker/ which looks like it would be a proper replacement for {{SshdContainer/Dockerfile}}?

    Jenkins JIRA | 3 years ago | Jesse Glick
    java.lang.Error: Failed to build image: 88e9b1c268ea
  2. 0

    Trying to run {{BROWSER=htmlunit TYPE=winstone_docker JENKINS_WAR=.../jenkins.war mvn clean test}} on a test suite produced {code:none} Uploading context 6.656 kB Uploading context Step 0 : FROM ubuntu ---> 8dbd9e392a96 Step 1 : RUN apt-get update ---> Using cache ---> b9e5fab34737 Step 2 : RUN apt-get install -y openssh-server ---> Using cache ---> 6f0264ad8ca4 Step 3 : RUN mkdir -p /var/run/sshd ---> Using cache ---> 2e32d5188f70 Step 4 : RUN useradd test -d /home/test && mkdir -p /home/test/.ssh && chown test /home/test && echo "test:test" | chpasswd && echo 'ssh-rsa ... kohsuke@atlas' > /home/test/.ssh/authorized_keys ---> Using cache ---> fa4075b88a64 Step 5 : CMD /usr/sbin/sshd -D -e ---> Using cache ---> b675729dea06 Successfully built b675729dea06 Uploading context 2.56 kB Uploading context Step 0 : FROM jenkins/sshd Pulling repository jenkins/sshd 2014/05/13 08:22:13 HTTP code: 404 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.007 sec <<< FAILURE! basicTest(com.cloudbees.jenkins.test.acceptance.BackupPluginTest) Time elapsed: 2.926 sec <<< ERROR! java.lang.Error: Failed to build image: 88e9b1c268ea at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:97) at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:153) at org.jenkinsci.test.acceptance.controller.WinstoneDockerController.startProcess(WinstoneDockerController.java:62) at org.jenkinsci.test.acceptance.controller.LocalController.startNow(LocalController.java:235) at org.jenkinsci.test.acceptance.controller.JenkinsController.start(JenkinsController.java:74) at org.jenkinsci.test.acceptance.FallbackConfig.createController(FallbackConfig.java:151) at ... at org.jenkinsci.test.acceptance.guice.TestLifecycle$1.get(TestLifecycle.java:50) at ... at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:46) at ... {code} Anyway are you sure you do not want to use http://phusion.github.io/baseimage-docker/ which looks like it would be a proper replacement for {{SshdContainer/Dockerfile}}?

    Jenkins JIRA | 3 years ago | Jesse Glick
    java.lang.Error: Failed to build image: 88e9b1c268ea

    Root Cause Analysis

    1. java.lang.Error

      Failed to build image: 88e9b1c268ea

      at org.jenkinsci.test.acceptance.docker.Docker.build()
    2. org.jenkinsci.test
      FallbackConfig.createController
      1. org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:97)
      2. org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:153)
      3. org.jenkinsci.test.acceptance.controller.WinstoneDockerController.startProcess(WinstoneDockerController.java:62)
      4. org.jenkinsci.test.acceptance.controller.LocalController.startNow(LocalController.java:235)
      5. org.jenkinsci.test.acceptance.controller.JenkinsController.start(JenkinsController.java:74)
      6. org.jenkinsci.test.acceptance.FallbackConfig.createController(FallbackConfig.java:151)
      6 frames