Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51292

Random failure building GitContainer

XMLWordPrintable

      When running a test using GitContainer it randomly fails (not randomly depends on the state of the host that runs the build).

      Error Message
      Failed to build image (100): 3e22c64d038a
      Stacktrace
      java.lang.Error: Failed to build image (100): 3e22c64d038a
      	at com.cloudbees.CustomTest.setUp(CustomTest.java:62)
      
      Sending build context to Docker daemon 6.144 kB
      
      Step 1/11 : FROM ubuntu:xenial
       ---> f975c5035748
      Step 2/11 : RUN echo "deb http://archive.ubuntu.com/ubuntu xenial main universe" > /etc/apt/sources.list
       ---> Using cache
       ---> e62553aa9c43
      Step 3/11 : RUN apt-get update && apt-get install -y openssh-server
       ---> Using cache
       ---> 381056e8680f
      Step 4/11 : RUN mkdir -p /var/run/sshd
       ---> Using cache
       ---> aa5449fdb24d
      Step 5/11 : RUN apt-get install -y git
       ---> Running in 9b6376facb5c
      Reading package lists...
      Building dependency tree...
      Reading state information...
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
      
      The following packages have unmet dependencies:
       git : Depends: liberror-perl but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      The command '/bin/sh -c apt-get install -y git' returned a non-zero code: 100
      Sending build context to Docker daemon 6.144 kB
      

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: