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

SSHLauncherTest#upgrade is failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-slaves-plugin
    • None

      ssh-slave-plugin has a dependency with docker-fixture:1.4. For JavaContainer docker, some dependencies of package openssh-server are not available anymore. Upgrading the dependency to docker-fixtures:1.6 this error is solved.

      Stacktrace

      Building Docker image `docker build -t jenkins/sshd:ff2527313f5c /tmp/Dockerfile6110577504796179549dir`: logfile is at /tmp/docker-JavaContainer-build8786909050249767930.log
      ---%<--- docker-JavaContainer-build8786909050249767930.log
      Sending build context to Docker daemon 11.78 kB
      
      Step 1/7 : FROM ubuntu:artful-20171019
      artful-20171019: Pulling from library/ubuntu
      d26cfb4142fa: Pulling fs layer
      9061f2867f7e: Pulling fs layer
      916f09e6daf7: Pulling fs layer
      4fae7d54d2d8: Pulling fs layer
      5e69eda9a0dd: Pulling fs layer
      4fae7d54d2d8: Waiting
      5e69eda9a0dd: Waiting
      916f09e6daf7: Verifying Checksum
      916f09e6daf7: Download complete
      4fae7d54d2d8: Verifying Checksum
      4fae7d54d2d8: Download complete
      9061f2867f7e: Verifying Checksum
      9061f2867f7e: Download complete
      5e69eda9a0dd: Download complete
      d26cfb4142fa: Verifying Checksum
      d26cfb4142fa: Download complete
      d26cfb4142fa: Pull complete
      9061f2867f7e: Pull complete
      916f09e6daf7: Pull complete
      4fae7d54d2d8: Pull complete
      5e69eda9a0dd: Pull complete
      Digest: sha256:1723f468209afa533b778d47e930953aa74efd85c762fae097885f3b47ea45b1
      Status: Downloaded newer image for ubuntu:artful-20171019
       ---> 79dbcfa8f169
      Step 2/7 : RUN apt-get update -y &&     apt-get install -y         openssh-server=1:7.5p1-10
       ---> Running in ae412bdc96a8
      Get:1 http://security.ubuntu.com/ubuntu artful-security InRelease [78.6 kB]
      Get:2 http://archive.ubuntu.com/ubuntu artful InRelease [237 kB]
      Get:3 http://security.ubuntu.com/ubuntu artful-security/universe Sources [11.1 kB]
      Get:4 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages [112 kB]
      Get:5 http://security.ubuntu.com/ubuntu artful-security/multiverse amd64 Packages [1824 B]
      Get:6 http://security.ubuntu.com/ubuntu artful-security/restricted amd64 Packages [2931 B]
      Get:7 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages [41.2 kB]
      Get:8 http://archive.ubuntu.com/ubuntu artful-updates InRelease [78.6 kB]
      Get:9 http://archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
      Get:10 http://archive.ubuntu.com/ubuntu artful/universe Sources [11.1 MB]
      Get:11 http://archive.ubuntu.com/ubuntu artful/multiverse amd64 Packages [185 kB]
      Get:12 http://archive.ubuntu.com/ubuntu artful/universe amd64 Packages [10.8 MB]
      Get:13 http://archive.ubuntu.com/ubuntu artful/main amd64 Packages [1416 kB]
      Get:14 http://archive.ubuntu.com/ubuntu artful/restricted amd64 Packages [14.7 kB]
      Get:15 http://archive.ubuntu.com/ubuntu artful-updates/universe Sources [26.0 kB]
      Get:16 http://archive.ubuntu.com/ubuntu artful-updates/multiverse amd64 Packages [1824 B]
      Get:17 http://archive.ubuntu.com/ubuntu artful-updates/restricted amd64 Packages [2931 B]
      Get:18 http://archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages [93.9 kB]
      Get:19 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [244 kB]
      Get:20 http://archive.ubuntu.com/ubuntu artful-backports/universe amd64 Packages [3579 B]
      Get:21 http://archive.ubuntu.com/ubuntu artful-backports/main amd64 Packages [1469 B]
      Fetched 24.5 MB in 3s (7451 kB/s)
      Reading package lists...
      Reading package lists...
      Building dependency tree...
      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:
       openssh-server : Depends: openssh-client (= 1:7.5p1-10) but 1:7.5p1-10ubuntu0.1 is to be installed
                        Recommends: libpam-systemd but it is not going to be installed
                        Recommends: ncurses-term but it is not going to be installed
                        Recommends: xauth but it is not going to be installed
                        Recommends: ssh-import-id but it is not going to be installed
      &amp#27;[91mE: Unable to correct problems, you have held broken packages.
      &amp#27;[0mThe command '/bin/sh -c apt-get update -y &&     apt-get install -y         openssh-server=1:7.5p1-10' returned a non-zero code: 100
      --->%---
      

            fcojfernandez Francisco Fernández
            fcojfernandez Francisco Fernández
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: