gmacario/easy-jenkins

Service 'myjenkins' failed to build

Closed this issue · 1 comments

While trying to rebase myjenkins/Dockerfile on Docker image jenkins:2.0 I ran into the following error:

$ ./runme.sh
Error getting active host: timeout
INFO: Docker machine easy-jenkins exists, skipping docker-machine create
INFO: Using Docker machine easy-jenkins
Building myjenkins
Step 1 : FROM jenkinsci/jenkins:2.0
 ---> 7f26994f1b23
Step 2 : MAINTAINER Gianpaolo Macario <gmacario@gmail.com>
 ---> Using cache
 ---> b342b7090113
Step 3 : USER root
 ---> Using cache
 ---> 26a9c02d24da
Step 4 : RUN apt-get update -qq && apt-get install -qqy     apt-transport-https     ca-certificates     curl     wget     lxc     iptables     dos2unix     groovy2
 ---> Using cache
 ---> 4b14a661b37f
Step 5 : RUN curl -o /usr/local/bin/gosu -fsSL     "https://github.com/tianon/gosu/releases/download/1.7/gosu-$(dpkg --print-architecture)" &&     chmod +x /usr/local/bin/gosu
 ---> Using cache
 ---> 63ff9494a854
Step 6 : RUN wget -qO- https://get.docker.com/ | sh
 ---> Using cache
 ---> 44dfeeec7dd5
Step 7 : RUN usermod -aG docker jenkins
 ---> Using cache
 ---> a93358c18972
Step 8 : RUN curl -o /usr/local/bin/docker-compose -fsSL     "https://github.com/docker/compose/releases/download/1.6.2/docker-compose-$(uname -s)-$(uname -m)" &&     chmod +x /usr/local/bin/docker-compose
 ---> Using cache
 ---> e91a6a449fd5
Step 9 : COPY plugins.txt /usr/share/jenkins/plugins.txt
 ---> Using cache
 ---> 5e89e2cc20e1
Step 10 : RUN dos2unix /usr/share/jenkins/plugins.txt
 ---> Using cache
 ---> e41b6973b8a3
Step 11 : RUN /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
 ---> Running in a0f834a85656
Downloading ace-editor:1.1
curl: (7) Failed to connect to updates.jenkins-ci.org port 443: Connection refused
Service 'myjenkins' failed to build: The command '/bin/sh -c /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt' returned a non-zero code: 7

gmacario@ITM-GMACARIO-W7 MINGW64 ~/easy-jenkins (feat-new-plugins)
$

Was not able to reproduce on tip of master branch (commit c108a8d)

gmacario@alm-gm-ubu15:~/easy-jenkins$ docker-compose build --pull
Building myjenkins
Step 1 : FROM jenkinsci/jenkins:2.0
2.0: Pulling from jenkinsci/jenkins
4d2e9ae40c41: Already exists
a3ed95caeb02: Already exists
7c8152785df5: Already exists
8b04aafd7cd8: Already exists
c5c04d1b0bf1: Already exists
955b1afcc2be: Already exists
e0be7174c346: Already exists
5e16677fc2b7: Already exists
8a5b06dfc556: Already exists
0cd285016f7e: Already exists
dba56ddda98b: Already exists
8eb3fe20a45d: Already exists
2899638cc616: Already exists
5f08cd6d6f5c: Already exists
a15800b16e07: Already exists
094ee4b66863: Already exists
ca31045ef3bb: Already exists
Digest: sha256:8e7decc2d57dd9a22f03c22a008e9f011a6d008c2c82906dab948a6ecd60676a
Status: Downloaded newer image for jenkinsci/jenkins:2.0
 ---> 7f26994f1b23
Step 2 : MAINTAINER Gianpaolo Macario <gmacario@gmail.com>
 ---> Running in ccbf054ca38e
 ---> 22e0ba31869d
Removing intermediate container ccbf054ca38e
Step 3 : USER root
 ---> Running in 35de0f515ce2
 ---> 91b5579bf49e
Removing intermediate container 35de0f515ce2
Step 4 : RUN apt-get update -qq && apt-get install -qqy     apt-transport-https     ca-certificates     curl     wget     lxc     iptables     dos2unix     groovy2
 ---> Running in bb52f3e03742
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 17469 files and directories currently installed.)
Preparing to unpack .../libapt-pkg4.12_1.0.9.8.3_amd64.deb ...
Unpacking libapt-pkg4.12:amd64 (1.0.9.8.3) over (1.0.9.8) ...
Setting up libapt-pkg4.12:amd64 (1.0.9.8.3) ...
Processing triggers for libc-bin (2.19-18) ...
(Reading database ... 17469 files and directories currently installed.)
Preparing to unpack .../curl_7.38.0-4+deb8u3_amd64.deb ...
Unpacking curl (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) ...
Preparing to unpack .../libcurl3_7.38.0-4+deb8u3_amd64.deb ...
Unpacking libcurl3:amd64 (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libnfnetlink0:amd64.
Preparing to unpack .../libnfnetlink0_1.0.1-3_amd64.deb ...
Unpacking libnfnetlink0:amd64 (1.0.1-3) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.2-1_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.2-1) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.2-1_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.2-1) ...
Selecting previously unselected package libseccomp2:amd64.
Preparing to unpack .../libseccomp2_2.1.1-1_amd64.deb ...
Unpacking libseccomp2:amd64 (2.1.1-1) ...
Selecting previously unselected package init-system-helpers.
Preparing to unpack .../init-system-helpers_1.22_all.deb ...
Unpacking init-system-helpers (1.22) ...
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack .../libapparmor1_2.9.0-3_amd64.deb ...
Unpacking libapparmor1:amd64 (2.9.0-3) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.2-1_amd64.deb ...
Unpacking python3.4-minimal (3.4.2-1) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.2-1_amd64.deb ...
Unpacking python3.4 (3.4.2-1) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.2-2_amd64.deb ...
Unpacking python3-minimal (3.4.2-2) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.2-2_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.2-2) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_1.20141111-2_all.deb ...
Unpacking dh-python (1.20141111-2) ...
Selecting previously unselected package python3.
Preparing to unpack .../python3_3.4.2-2_amd64.deb ...
Unpacking python3 (3.4.2-2) ...
Selecting previously unselected package lxc.
Preparing to unpack .../lxc_1%3a1.0.6-6+deb8u2_amd64.deb ...
Unpacking lxc (1:1.0.6-6+deb8u2) ...
Selecting previously unselected package libyaml-snake-java.
Preparing to unpack .../libyaml-snake-java_1.12-2_all.deb ...
Unpacking libyaml-snake-java (1.12-2) ...
Selecting previously unselected package libxtables10.
Preparing to unpack .../libxtables10_1.4.21-2+b1_amd64.deb ...
Unpacking libxtables10 (1.4.21-2+b1) ...
Selecting previously unselected package iptables.
Preparing to unpack .../iptables_1.4.21-2+b1_amd64.deb ...
Unpacking iptables (1.4.21-2+b1) ...
Selecting previously unselected package ant.
Preparing to unpack .../archives/ant_1.9.4-3_all.deb ...
Unpacking ant (1.9.4-3) ...
Selecting previously unselected package ant-optional.
Preparing to unpack .../ant-optional_1.9.4-3_all.deb ...
Unpacking ant-optional (1.9.4-3) ...
Selecting previously unselected package libantlr-java.
Preparing to unpack .../libantlr-java_2.7.7+dfsg-6_all.deb ...
Unpacking libantlr-java (2.7.7+dfsg-6) ...
Selecting previously unselected package antlr.
Preparing to unpack .../antlr_2.7.7+dfsg-6_all.deb ...
Unpacking antlr (2.7.7+dfsg-6) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../apt-transport-https_1.0.9.8.3_amd64.deb ...
Unpacking apt-transport-https (1.0.9.8.3) ...
Preparing to unpack .../ca-certificates_20141019+deb8u1_all.deb ...
Unpacking ca-certificates (20141019+deb8u1) over (20141019) ...
Selecting previously unselected package libasm4-java.
Preparing to unpack .../libasm4-java_5.0.3-1_all.deb ...
Unpacking libasm4-java (5.0.3-1) ...
Selecting previously unselected package libapache-pom-java.
Preparing to unpack .../libapache-pom-java_10-2_all.deb ...
Unpacking libapache-pom-java (10-2) ...
Selecting previously unselected package libbsf-java.
Preparing to unpack .../libbsf-java_1%3a2.4.0-5_all.deb ...
Unpacking libbsf-java (1:2.4.0-5) ...
Selecting previously unselected package libcommons-parent-java.
Preparing to unpack .../libcommons-parent-java_22-2_all.deb ...
Unpacking libcommons-parent-java (22-2) ...
Selecting previously unselected package libcommons-lang-java.
Preparing to unpack .../libcommons-lang-java_2.6-4_all.deb ...
Unpacking libcommons-lang-java (2.6-4) ...
Selecting previously unselected package libcommons-cli-java.
Preparing to unpack .../libcommons-cli-java_1.2-3_all.deb ...
Unpacking libcommons-cli-java (1.2-3) ...
Selecting previously unselected package libcommons-logging-java.
Preparing to unpack .../libcommons-logging-java_1.2-1_all.deb ...
Unpacking libcommons-logging-java (1.2-1) ...
Selecting previously unselected package libhamcrest-java.
Preparing to unpack .../libhamcrest-java_1.3-5_all.deb ...
Unpacking libhamcrest-java (1.3-5) ...
Selecting previously unselected package junit4.
Preparing to unpack .../archives/junit4_4.11-3_all.deb ...
Unpacking junit4 (4.11-3) ...
Selecting previously unselected package libservlet2.5-java.
Preparing to unpack .../libservlet2.5-java_6.0.45+dfsg-1~deb8u1_all.deb ...
Unpacking libservlet2.5-java (6.0.45+dfsg-1~deb8u1) ...
Selecting previously unselected package libhawtjni-runtime-java.
Preparing to unpack .../libhawtjni-runtime-java_1.10-1_all.deb ...
Unpacking libhawtjni-runtime-java (1.10-1) ...
Selecting previously unselected package libjansi-native-java.
Preparing to unpack .../libjansi-native-java_1.0-4_all.deb ...
Unpacking libjansi-native-java (1.0-4) ...
Selecting previously unselected package libjansi-java.
Preparing to unpack .../libjansi-java_1.4-3_all.deb ...
Unpacking libjansi-java (1.4-3) ...
Selecting previously unselected package libjline2-java.
Preparing to unpack .../libjline2-java_2.11-2_all.deb ...
Unpacking libjline2-java (2.11-2) ...
Selecting previously unselected package libxpp3-java.
Preparing to unpack .../libxpp3-java_1.1.4c-2_all.deb ...
Unpacking libxpp3-java (1.1.4c-2) ...
Selecting previously unselected package libxstream-java.
Preparing to unpack .../libxstream-java_1.4.7-2_all.deb ...
Unpacking libxstream-java (1.4.7-2) ...
Selecting previously unselected package ivy.
Preparing to unpack .../archives/ivy_2.3.0-4_all.deb ...
Unpacking ivy (2.3.0-4) ...
Selecting previously unselected package libqdox-java.
Preparing to unpack .../libqdox-java_1.12-1_all.deb ...
Unpacking libqdox-java (1.12-1) ...
Selecting previously unselected package groovy2.
Preparing to unpack .../groovy2_2.2.2+dfsg-3+deb8u1_all.deb ...
Unpacking groovy2 (2.2.2+dfsg-3+deb8u1) ...
Selecting previously unselected package libbsh-java.
Preparing to unpack .../libbsh-java_2.0b4-15+deb8u1_all.deb ...
Unpacking libbsh-java (2.0b4-15+deb8u1) ...
Selecting previously unselected package libjcommander-java.
Preparing to unpack .../libjcommander-java_1.35-1_all.deb ...
Unpacking libjcommander-java (1.35-1) ...
Selecting previously unselected package rsync.
Preparing to unpack .../rsync_3.1.1-3_amd64.deb ...
Unpacking rsync (3.1.1-3) ...
Selecting previously unselected package testng.
Preparing to unpack .../testng_6.8.8-4_all.deb ...
Unpacking testng (6.8.8-4) ...
Selecting previously unselected package debootstrap.
Preparing to unpack .../debootstrap_1.0.67_all.deb ...
Unpacking debootstrap (1.0.67) ...
Selecting previously unselected package dos2unix.
Preparing to unpack .../dos2unix_6.0.4-1_amd64.deb ...
Unpacking dos2unix (6.0.4-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for systemd (215-17+deb8u1) ...
Setting up libcurl3:amd64 (7.38.0-4+deb8u3) ...
Setting up curl (7.38.0-4+deb8u3) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libnfnetlink0:amd64 (1.0.1-3) ...
Setting up libpython3.4-minimal:amd64 (3.4.2-1) ...
Setting up libpython3.4-stdlib:amd64 (3.4.2-1) ...
Setting up libseccomp2:amd64 (2.1.1-1) ...
Setting up init-system-helpers (1.22) ...
Setting up libapparmor1:amd64 (2.9.0-3) ...
Setting up python3.4-minimal (3.4.2-1) ...
Setting up python3.4 (3.4.2-1) ...
Setting up python3-minimal (3.4.2-2) ...
Setting up libpython3-stdlib:amd64 (3.4.2-2) ...
Setting up libyaml-snake-java (1.12-2) ...
Setting up libxtables10 (1.4.21-2+b1) ...
Setting up iptables (1.4.21-2+b1) ...
Setting up ant (1.9.4-3) ...
Setting up ant-optional (1.9.4-3) ...
Setting up libantlr-java (2.7.7+dfsg-6) ...
Setting up antlr (2.7.7+dfsg-6) ...
Setting up apt-transport-https (1.0.9.8.3) ...
Setting up ca-certificates (20141019+deb8u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libasm4-java (5.0.3-1) ...
Setting up libapache-pom-java (10-2) ...
Setting up libbsf-java (1:2.4.0-5) ...
Setting up libcommons-parent-java (22-2) ...
Setting up libcommons-lang-java (2.6-4) ...
Setting up libcommons-cli-java (1.2-3) ...
Setting up libcommons-logging-java (1.2-1) ...
Setting up libhamcrest-java (1.3-5) ...
Setting up junit4 (4.11-3) ...
Setting up libservlet2.5-java (6.0.45+dfsg-1~deb8u1) ...
Setting up libhawtjni-runtime-java (1.10-1) ...
Setting up libjansi-native-java (1.0-4) ...
Setting up libjansi-java (1.4-3) ...
Setting up libjline2-java (2.11-2) ...
Setting up libxpp3-java (1.1.4c-2) ...
Setting up libxstream-java (1.4.7-2) ...
Setting up ivy (2.3.0-4) ...
Setting up libqdox-java (1.12-1) ...
Setting up groovy2 (2.2.2+dfsg-3+deb8u1) ...
update-alternatives: using /usr/share/groovy2/bin/groovy to provide /usr/bin/groovy (groovy) in auto mode
update-alternatives: using /usr/share/groovy2/bin/groovyc to provide /usr/bin/groovyc (groovyc) in auto mode
update-alternatives: using /usr/share/groovy2/bin/grape to provide /usr/bin/grape (grape) in auto mode
update-alternatives: using /usr/share/groovy2/bin/startGroovy to provide /usr/bin/startGroovy (startGroovy) in auto mode
update-alternatives: using /usr/share/groovy2/bin/groovysh to provide /usr/bin/groovysh (groovysh) in auto mode
update-alternatives: using /usr/share/groovy2/bin/java2groovy to provide /usr/bin/java2groovy (java2groovy) in auto mode
update-alternatives: using /usr/share/groovy2/bin/groovyConsole to provide /usr/bin/groovyConsole (groovyConsole) in auto mode
update-alternatives: using /usr/share/groovy2/bin/groovydoc to provide /usr/bin/groovydoc (groovydoc) in auto mode
Setting up libbsh-java (2.0b4-15+deb8u1) ...
Setting up libjcommander-java (1.35-1) ...
Setting up rsync (3.1.1-3) ...
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up testng (6.8.8-4) ...
Setting up debootstrap (1.0.67) ...
Setting up dos2unix (6.0.4-1) ...
Setting up python3 (3.4.2-2) ...
running python rtupdate hooks for python3.4...
running python post-rtupdate hooks for python3.4...
Setting up lxc (1:1.0.6-6+deb8u2) ...
Setting up dh-python (1.20141111-2) ...
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for ca-certificates (20141019+deb8u1) ...
Updating certificates in /etc/ssl/certs... 19 added, 18 removed; done.
Running hooks in /etc/ca-certificates/update.d....
Adding debian:CA_WoSign_ECC_Root.pem
Adding debian:CFCA_EV_ROOT.pem
Adding debian:COMODO_RSA_Certification_Authority.pem
Adding debian:Certification_Authority_of_WoSign_G2.pem
Adding debian:Certinomis_-_Root_CA.pem
Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem
Adding debian:Entrust_Root_Certification_Authority_-_G2.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem
Adding debian:IdenTrust_Commercial_Root_CA_1.pem
Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem
Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem
Adding debian:S-TRUST_Universal_Root_CA.pem
Adding debian:Staat_der_Nederlanden_EV_Root_CA.pem
Adding debian:Staat_der_Nederlanden_Root_CA_-_G3.pem
Adding debian:TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.pem
Adding debian:TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H6.pem
Adding debian:USERTrust_ECC_Certification_Authority.pem
Adding debian:USERTrust_RSA_Certification_Authority.pem
Removing debian:A-Trust-nQual-03.pem
Removing debian:America_Online_Root_Certification_Authority_1.pem
Removing debian:America_Online_Root_Certification_Authority_2.pem
Removing debian:Buypass_Class_3_CA_1.pem
Removing debian:ComSign_Secured_CA.pem
Removing debian:Digital_Signature_Trust_Co._Global_CA_1.pem
Removing debian:Digital_Signature_Trust_Co._Global_CA_3.pem
Removing debian:E-Guven_Kok_Elektronik_Sertifika_Hizmet_Saglayicisi.pem
Removing debian:GTE_CyberTrust_Global_Root.pem
Removing debian:SG_TRUST_SERVICES_RACINE.pem
Removing debian:TC_TrustCenter_Class_2_CA_II.pem
Removing debian:TC_TrustCenter_Universal_CA_I.pem
Removing debian:TURKTRUST_Certificate_Services_Provider_Root_1.pem
Removing debian:TURKTRUST_Certificate_Services_Provider_Root_2.pem
Removing debian:Thawte_Premium_Server_CA.pem
Removing debian:Thawte_Server_CA.pem
Removing debian:UTN_DATACorp_SGC_Root_CA.pem
Removing debian:Verisign_Class_4_Public_Primary_Certification_Authority_-_G3.pem
done.
done.
Processing triggers for systemd (215-17+deb8u1) ...
 ---> 4a1cc604e8f2
Removing intermediate container bb52f3e03742
Step 5 : RUN curl -o /usr/local/bin/gosu -fsSL     "https://github.com/tianon/gosu/releases/download/1.7/gosu-$(dpkg --print-architecture)" &&     chmod +x /usr/local/bin/gosu
 ---> Running in 01a5f26d09c0
 ---> 1dc908f0e420
Removing intermediate container 01a5f26d09c0
Step 6 : RUN wget -qO- https://get.docker.com/ | sh
 ---> Running in 319eb46bab9e
apparmor is enabled in the kernel, but apparmor_parser missing
+ sh -c sleep 3; apt-get update
Hit http://security.debian.org jessie/updates InRelease
Get:1 http://security.debian.org jessie/updates/main amd64 Packages [295 kB]
Ign http://httpredir.debian.org jessie InRelease
Hit http://httpredir.debian.org jessie-updates InRelease
Hit http://httpredir.debian.org jessie-backports InRelease
Hit http://httpredir.debian.org jessie Release.gpg
Get:2 http://httpredir.debian.org jessie-updates/main amd64 Packages [9283 B]
Hit http://httpredir.debian.org jessie Release
Get:3 http://httpredir.debian.org jessie-backports/main amd64 Packages [641 kB]
Get:4 http://httpredir.debian.org jessie/main amd64 Packages [9034 kB]
Fetched 9979 kB in 4s (2029 kB/s)
Reading package lists...
+ sh -c sleep 3; apt-get install -y -q apparmor
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  busybox cpio initramfs-tools klibc-utils kmod libapparmor-perl libklibc
Suggested packages:
  apparmor-profiles apparmor-profiles-extra apparmor-docs apparmor-utils
  libarchive1 bash-completion
The following NEW packages will be installed:
  apparmor busybox cpio initramfs-tools klibc-utils kmod libapparmor-perl
  libklibc
0 upgraded, 8 newly installed, 0 to remove and 76 not upgraded.
Need to get 1365 kB of archives.
After this operation, 3825 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian/ jessie/main cpio amd64 2.11+dfsg-4.1+deb8u1 [177 kB]
Get:2 http://httpredir.debian.org/debian/ jessie/main kmod amd64 18-3 [86.2 kB]
Get:3 http://httpredir.debian.org/debian/ jessie/main busybox amd64 1:1.22.0-9+deb8u1 [391 kB]
Get:4 http://httpredir.debian.org/debian/ jessie/main libklibc amd64 2.0.4-2 [51.7 kB]
Get:5 http://httpredir.debian.org/debian/ jessie/main klibc-utils amd64 2.0.4-2 [108 kB]
Get:6 http://httpredir.debian.org/debian/ jessie/main initramfs-tools all 0.120+deb8u1 [96.2 kB]
Get:7 http://httpredir.debian.org/debian/ jessie/main libapparmor-perl amd64 2.9.0-3 [68.5 kB]
Get:8 http://httpredir.debian.org/debian/ jessie/main apparmor amd64 2.9.0-3 [386 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1365 kB in 1s (955 kB/s)
Selecting previously unselected package cpio.
(Reading database ... 20177 files and directories currently installed.)
Preparing to unpack .../cpio_2.11+dfsg-4.1+deb8u1_amd64.deb ...
Unpacking cpio (2.11+dfsg-4.1+deb8u1) ...
Selecting previously unselected package kmod.
Preparing to unpack .../archives/kmod_18-3_amd64.deb ...
Unpacking kmod (18-3) ...
Selecting previously unselected package busybox.
Preparing to unpack .../busybox_1%3a1.22.0-9+deb8u1_amd64.deb ...
Unpacking busybox (1:1.22.0-9+deb8u1) ...
Selecting previously unselected package libklibc.
Preparing to unpack .../libklibc_2.0.4-2_amd64.deb ...
Unpacking libklibc (2.0.4-2) ...
Selecting previously unselected package klibc-utils.
Preparing to unpack .../klibc-utils_2.0.4-2_amd64.deb ...
Unpacking klibc-utils (2.0.4-2) ...
Selecting previously unselected package initramfs-tools.
Preparing to unpack .../initramfs-tools_0.120+deb8u1_all.deb ...
Unpacking initramfs-tools (0.120+deb8u1) ...
Selecting previously unselected package libapparmor-perl.
Preparing to unpack .../libapparmor-perl_2.9.0-3_amd64.deb ...
Unpacking libapparmor-perl (2.9.0-3) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../apparmor_2.9.0-3_amd64.deb ...
Unpacking apparmor (2.9.0-3) ...
Processing triggers for systemd (215-17+deb8u1) ...
Setting up cpio (2.11+dfsg-4.1+deb8u1) ...
update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode
Setting up kmod (18-3) ...
Setting up busybox (1:1.22.0-9+deb8u1) ...
Setting up libklibc (2.0.4-2) ...
Setting up klibc-utils (2.0.4-2) ...
Setting up initramfs-tools (0.120+deb8u1) ...
update-initramfs: deferring update (trigger activated)
Setting up libapparmor-perl (2.9.0-3) ...
Setting up apparmor (2.9.0-3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for systemd (215-17+deb8u1) ...
Processing triggers for initramfs-tools (0.120+deb8u1) ...
+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.vxesyYm7YO --no-auto-check-trustdb --trust-model always --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net
gpg: key 2C52609D: public key "Docker Release Tool (releasedocker) <docker@docker.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ break
+ sh -c apt-key adv -k 58118E89F3A912897C070ADBF76221572C52609D >/dev/null
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb [arch=amd64] https://apt.dockerproject.org/repo debian-jessie main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Hit http://security.debian.org jessie/updates InRelease
Get:1 https://apt.dockerproject.org debian-jessie InRelease [454 B]
Ign https://apt.dockerproject.org debian-jessie InRelease
Get:2 https://apt.dockerproject.org debian-jessie Release.gpg [801 B]
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [295 kB]
Get:4 https://apt.dockerproject.org debian-jessie Release [19.7 kB]
Ign http://httpredir.debian.org jessie InRelease
Hit http://httpredir.debian.org jessie-updates InRelease
Hit http://httpredir.debian.org jessie-backports InRelease
Get:5 https://apt.dockerproject.org debian-jessie/main amd64 Packages [4282 B]
Hit http://httpredir.debian.org jessie Release.gpg
Get:6 http://httpredir.debian.org jessie-updates/main amd64 Packages [9283 B]
Hit http://httpredir.debian.org jessie Release
Get:7 http://httpredir.debian.org jessie-backports/main amd64 Packages [641 kB]
Get:8 http://httpredir.debian.org jessie/main amd64 Packages [9034 kB]
Fetched 10.0 MB in 5s (1915 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  aufs-tools cgroupfs-mount libnih-dbus1 libnih1 makedev mountall plymouth
  xz-utils
Suggested packages:
  desktop-base plymouth-themes
The following NEW packages will be installed:
  aufs-tools cgroupfs-mount docker-engine libnih-dbus1 libnih1 makedev
  mountall plymouth xz-utils
0 upgraded, 9 newly installed, 0 to remove and 76 not upgraded.
Need to get 15.0 MB of archives.
After this operation, 74.3 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian/ jessie/main makedev all 2.3.1-93 [42.6 kB]
Get:2 https://apt.dockerproject.org/repo/ debian-jessie/main docker-engine amd64 1.11.0-0~jessie [14.2 MB]
Get:3 http://httpredir.debian.org/debian/ jessie/main plymouth amd64 0.9.0-9 [189 kB]
Get:4 http://httpredir.debian.org/debian/ jessie/main libnih1 amd64 1.0.3-4.3 [127 kB]
Get:5 http://httpredir.debian.org/debian/ jessie/main libnih-dbus1 amd64 1.0.3-4.3 [97.1 kB]
Get:6 http://httpredir.debian.org/debian/ jessie/main mountall amd64 2.54 [68.3 kB]
Get:7 http://httpredir.debian.org/debian/ jessie/main xz-utils amd64 5.1.1alpha+20120614-2+b3 [221 kB]
Get:8 http://httpredir.debian.org/debian/ jessie/main aufs-tools amd64 1:3.2+20130722-1.1 [92.9 kB]
Get:9 http://httpredir.debian.org/debian/ jessie/main cgroupfs-mount all 1.1 [4572 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 15.0 MB in 4s (3361 kB/s)
Selecting previously unselected package makedev.
(Reading database ... 20505 files and directories currently installed.)
Preparing to unpack .../makedev_2.3.1-93_all.deb ...
Unpacking makedev (2.3.1-93) ...
Selecting previously unselected package plymouth.
Preparing to unpack .../plymouth_0.9.0-9_amd64.deb ...
Unpacking plymouth (0.9.0-9) ...
Selecting previously unselected package libnih1.
Preparing to unpack .../libnih1_1.0.3-4.3_amd64.deb ...
Unpacking libnih1 (1.0.3-4.3) ...
Selecting previously unselected package libnih-dbus1.
Preparing to unpack .../libnih-dbus1_1.0.3-4.3_amd64.deb ...
Unpacking libnih-dbus1 (1.0.3-4.3) ...
Selecting previously unselected package mountall.
Preparing to unpack .../mountall_2.54_amd64.deb ...
Unpacking mountall (2.54) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../xz-utils_5.1.1alpha+20120614-2+b3_amd64.deb ...
Unpacking xz-utils (5.1.1alpha+20120614-2+b3) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../cgroupfs-mount_1.1_all.deb ...
Unpacking cgroupfs-mount (1.1) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.11.0-0~jessie_amd64.deb ...
Unpacking docker-engine (1.11.0-0~jessie) ...
Processing triggers for systemd (215-17+deb8u1) ...
Processing triggers for dbus (1.8.18-0+deb8u1) ...
Setting up makedev (2.3.1-93) ...
Setting up plymouth (0.9.0-9) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up libnih1 (1.0.3-4.3) ...
Setting up libnih-dbus1 (1.0.3-4.3) ...
Setting up mountall (2.54) ...
Setting up xz-utils (5.1.1alpha+20120614-2+b3) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up cgroupfs-mount (1.1) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up docker-engine (1.11.0-0~jessie) ...
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for systemd (215-17+deb8u1) ...
Processing triggers for initramfs-tools (0.120+deb8u1) ...
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for dbus (1.8.18-0+deb8u1) ...

If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

  sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

 ---> 1b40fcd2e314
Removing intermediate container 319eb46bab9e
Step 7 : RUN usermod -aG docker jenkins
 ---> Running in 55302375f1b8
 ---> 6b58000079c4
Removing intermediate container 55302375f1b8
Step 8 : RUN curl -o /usr/local/bin/docker-compose -fsSL     "https://github.com/docker/compose/releases/download/1.6.2/docker-compose-$(uname -s)-$(uname -m)" &&     chmod +x /usr/local/bin/docker-compose
 ---> Running in d360bdc87cf3
 ---> afd907506acf
Removing intermediate container d360bdc87cf3
Step 9 : COPY plugins.txt /usr/share/jenkins/plugins.txt
 ---> dce3969dd8be
Removing intermediate container 01a64a4b9f69
Step 10 : RUN dos2unix /usr/share/jenkins/plugins.txt
 ---> Running in bd9713f99f8f
dos2unix: converting file /usr/share/jenkins/plugins.txt to Unix format ...
 ---> 1d9801760038
Removing intermediate container bd9713f99f8f
Step 11 : RUN /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
 ---> Running in 190e45af8feb
Downloading ace-editor:1.1
Downloading ant:1.2
Downloading antisamy-markup-formatter:1.3
Downloading authentication-tokens:1.2
Downloading branch-api:1.6
Downloading build-flow-plugin:0.18
Downloading build-flow-test-aggregator:1.2
Downloading build-pipeline-plugin:1.5.2
Downloading cloudbees-folder:5.8
Downloading conditional-buildstep:1.3.3
Downloading credentials:1.27
Downloading cvs:2.12
Downloading dashboard-view:2.9.7
Downloading delivery-pipeline-plugin:0.9.9
Downloading docker-build-publish:1.2.2
Downloading docker-commons:1.3.1
Downloading docker-custom-build-environment:1.6.5
Downloading docker-plugin:0.16.0
Downloading docker-workflow:1.4
Downloading durable-task:1.9
Downloading envinject:1.92.1
Downloading external-monitor-job:1.4
Downloading ghprb:1.31.4
Downloading git:2.4.4
Downloading git-client:1.19.6
Downloading git-server:1.6
Downloading github:1.18.2
Downloading github-api:1.75
Downloading github-branch-source:1.5
Downloading github-oauth:0.22.3
Downloading github-organization-folder:1.3
Downloading github-pullrequest:0.0.1-rc5
Downloading greenballs:1.15
Downloading groovy:1.29
Downloading handlebars:1.1.1
Downloading htmlpublisher:1.11
Downloading icon-shim:2.0.3
Downloading javadoc:1.3
Downloading jenkins-multijob-plugin:1.21
Downloading job-dsl:1.45
Downloading jobConfigHistory:2.13
Downloading join:1.19
Downloading jquery:1.11.2-0
Downloading jquery-detached:1.2.1
Downloading junit:1.12
Downloading ldap:1.11
Downloading mailer:1.17
Downloading mapdb-api:1.0.6.0
Downloading matrix-auth:1.3.2
Downloading matrix-project:1.6
Downloading maven-plugin:2.12.1
Downloading mercurial:1.54
Downloading mock-slave:1.8
Downloading momentjs:1.1.1
Downloading multiple-scms:0.6
Downloading pam-auth:1.2
Downloading parameterized-trigger:2.30
Downloading pipeline-build-step:2.0
Downloading pipeline-input-step:2.0
Downloading pipeline-rest-api:1.3
Downloading pipeline-stage-step:2.0
Downloading pipeline-stage-view:1.3
Downloading plain-credentials:1.1
Downloading promoted-builds:2.25
Downloading run-condition:1.0
Downloading scm-api:1.2
Downloading script-security:1.18.1
Downloading scriptler:2.9
Downloading sectioned-view:1.20
Downloading ssh-agent:1.10
Downloading ssh-credentials:1.11
Downloading ssh-slaves:1.10
Downloading structs:1.1
Downloading subversion:2.5.7
Downloading token-macro:1.12.1
Downloading translation:1.14
Downloading view-job-filters:1.27
Downloading windows-slaves:1.1
Downloading workflow-aggregator:2.0
Downloading workflow-api:2.0
Downloading workflow-basic-steps:2.0
Downloading workflow-cps:2.1
Downloading workflow-cps-global-lib:2.0
Downloading workflow-durable-task-step:2.0
Downloading workflow-job:2.1
Downloading workflow-multibranch:2.3
Downloading workflow-scm-step:2.0
Downloading workflow-step-api:2.0
Downloading workflow-support:2.0
 ---> 526c19a73b3f
Removing intermediate container 190e45af8feb
Step 12 : COPY start.sh /tmp/start.sh
 ---> 22d953eb1d02
Removing intermediate container 0066a8cdfa19
Step 13 : RUN chmod +x /tmp/start.sh && dos2unix /tmp/start.sh
 ---> Running in 63788bdfb4ac
dos2unix: converting file /tmp/start.sh to Unix format ...
 ---> 2217bc3abe25
Removing intermediate container 63788bdfb4ac
Step 14 : COPY seed.groovy /usr/share/jenkins/ref/init.groovy.d/seed.groovy
 ---> 1accd9140c6c
Removing intermediate container f5c522e6b3fe
Step 15 : RUN touch /var/run/docker.sock
 ---> Running in 7b4357ba8fd6
 ---> f3c41d3bcbf7
Removing intermediate container 7b4357ba8fd6
Step 16 : USER root
 ---> Running in 4b8bb88930f1
 ---> 3f02f4e4a278
Removing intermediate container 4b8bb88930f1
Step 17 : ENTRYPOINT /bin/bash -c /tmp/start.sh
 ---> Running in 9ab5b63c141c
 ---> f1ba8edba93b
Removing intermediate container 9ab5b63c141c
Successfully built f1ba8edba93b
gmacario@alm-gm-ubu15:~/easy-jenkins$