gmacario / easy-jenkins

Easily deploy a Jenkins CI/CD infrastructure via docker-compose
MIT License
35 stars 9 forks source link

Try experimental Java10-based Docker images of Jenkins #265

Open gmacario opened 6 years ago

gmacario commented 6 years ago

As part of my contribution to the Jenkins & Java 10+ Online Hackathon I will we trying out the experimental Jenkins images based on Java10.

See blog post: Running Jenkins with Java 10 and 11 (experimental support)

Epic: https://issues.jenkins-ci.org/browse/JENKINS-40689

gmacario commented 6 years ago

Testing branch wip/try-jenkins-jdk10 on my Windows 7 laptop

gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ git log --oneline -1
227673d (HEAD -> wip/try-jenkins-jdk10, origin/wip/try-jenkins-jdk10) Install package "groovy"
gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ ./runme.sh
No active host found
INFO: Creating VirtualBox VM easy-jenkins (cpu:2, memory:2048 MB, disk:50000 MB)
Running pre-create checks...
Creating machine...
(easy-jenkins) Copying C:\Users\GPMacario\.docker\machine\cache\boot2docker.iso to C:\Users\GPMacario\.docker\machine\machines\easy-jenkins\boot2docker.iso...
(easy-jenkins) Creating VirtualBox VM...
(easy-jenkins) Creating SSH key...
(easy-jenkins) Starting the VM...
(easy-jenkins) Check network to re-create if needed...
(easy-jenkins) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
(easy-jenkins) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: C:\Program Files\Docker Toolbox\docker-machine.exe env easy-jenkins
INFO: Using Docker machine easy-jenkins
Building myjenkins
Step 1/13 : FROM jenkins/jenkins-experimental:latest-jdk10
latest-jdk10: Pulling from jenkins/jenkins-experimental
Digest: sha256:69fbaddcf749e7a72ff82aee6419a93f2e261fcd2659e5dda113e68b64244c3e
Status: Downloaded newer image for jenkins/jenkins-experimental:latest-jdk10
 ---> a9a236ce7a02
Step 2/13 : USER root
 ---> Running in 0726b4f78418
Removing intermediate container 0726b4f78418
 ---> 0ba3d87b05ac
Step 3/13 : RUN apt-get update -qq &&     apt-cache search groovy &&     apt-get install -qqy     apt-transport-https     ca-certificates     curl     wget     lxc     iptables     dos2unix     groovy
 ---> Running in 1948890f866a
...
Step 13/13 : USER jenkins
 ---> Running in 9dab431868eb
Removing intermediate container 9dab431868eb
 ---> b6f9bc741937
Successfully built b6f9bc741937
Successfully tagged easyjenkins_myjenkins:latest
Image for service myjenkins was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating easyjenkins_myjenkins_1 ... done
INFO: Run the following command to configure your shell:
INFO: eval $(docker-machine env easy-jenkins)
INFO: Browse http://192.168.99.100:9080/ to access the Jenkins dashboard
gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$
gmacario commented 6 years ago

Browse ${JENKINS_URL} at http://192.168.99.100:9080/

gmacario commented 6 years ago

Testing Jenkins Pipeline "my-jenkins-pipelines"

Browse ${JENKINS_URL} at http://192.168.99.100:9080/

Result: FAIL

See http://192.168.99.100:9080/blue/organizations/jenkins/my-jenkins-pipelines/activity

image

gmacario commented 6 years ago

Excerpt from docker-compose logs -f

...
myjenkins_1  | Jun 18, 2018 12:55:07 PM org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService reportProblem
myjenkins_1  | WARNING: Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[my-jenkins-pipelines/sample-declarative-pipeline/1:my-jenkins-pipelines/sample-declarative-pipeline #1]]
myjenkins_1  | java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.RiverMarshaller
myjenkins_1  |  at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.support.pickles.serialization.RiverWriter.<init>(RiverWriter.java:136)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:480)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:458)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgramIfPossible(CpsThreadGroup.java:445)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:372)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
myjenkins_1  |  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
myjenkins_1  |  at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
myjenkins_1  |  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
myjenkins_1  |  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
myjenkins_1  |  at java.base/java.lang.Thread.run(Thread.java:844)
...

See upstream issue: https://issues.jenkins-ci.org/browse/JENKINS-51998

gmacario commented 6 years ago

TODO: Retry tomorrow when a more recent Docker image is available including https://github.com/kohsuke/package-renamed-asm/pull/4

Also, should probably install experimental Jenkins plugins (TBV with hackathon-java10 docs)

gmacario commented 6 years ago

Executed a clean ./runme.sh of branch wip/try-jenkins-jdk10

gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ ./runme.sh No active host found
INFO: Creating VirtualBox VM easy-jenkins (cpu:2, memory:2048 MB, disk:50000 MB)
Running pre-create checks...
Creating machine...
(easy-jenkins) Copying C:\Users\GPMacario\.docker\machine\cache\boot2docker.iso to C:\Users\GPMacario\.docker\machine\machines\easy-jenkins\boot2docker.iso...
(easy-jenkins) Creating VirtualBox VM...
(easy-jenkins) Creating SSH key...
(easy-jenkins) Starting the VM...
(easy-jenkins) Check network to re-create if needed...
(easy-jenkins) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
(easy-jenkins) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: C:\Program Files\Docker Toolbox\docker-machine.exe env easy-jenkins
INFO: Using Docker machine easy-jenkins
Building myjenkins
Step 1/13 : FROM jenkins/jenkins-experimental:latest-jdk10
latest-jdk10: Pulling from jenkins/jenkins-experimental
Digest: sha256:18e7ced2a25ded2895cf73a4fe1457f0c76f472702ae7b5a2c393cd99e0d869f
Status: Downloaded newer image for jenkins/jenkins-experimental:latest-jdk10
 ---> c82dd5917217
Step 2/13 : USER root
...
Step 10/13 : RUN install-plugins.sh     ant     antisamy-markup-formatter     blueocean     blueocean-pipeline-editor     build-timeout     command-launcher     delivery-pipeline-plugin     docker-build-publish     docker-custom-build-environment     docker-plugin     email-ext     ez-templates     git     git-client     github-branch-source     github-oauth     github-organization-folder     github-pullrequest     gradle     greenballs     groovy     htmlpublisher     jenkins-multijob-plugin     jobConfigHistory     join     ldap     mailer     mapdb-api     matrix-auth     matrix-project     mercurial     mock-slave     pam-auth     pipeline-github-lib     publish-over-ssh     resource-disposer     run-condition     sectioned-view     ssh-slaves     subversion     timestamper     translation     view-job-filters     windows-slaves     workflow-aggregator     workflow-job     ws-cleanup
 ---> Running in 523da6d3bcc2
Creating initial locks...
Analyzing war...
Registering preinstalled plugins...
Jun 19, 2018 6:44:18 AM Main main
SEVERE: Running with Java class version 54.0, but 52.0 is required.Run with the --enable-future-java flag to enable such behavior
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)

Jenkins requires Java 8, but you are running 10.0.1+10-Debian-4 from /usr/lib/jvm/java-10-openjdk-amd64
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)
Using version-specific update center: https://updates.jenkins.io/....
Downloading plugins...
Downloading plugin: ant from https://updates.jenkins.io/./latest/ant.hpi
Downloading plugin: antisamy-markup-formatter from https://updates.jenkins.io/./latest/antisamy-markup-formatter.hpi
...
Successfully built 2679adcb4015
Successfully tagged easyjenkins_myjenkins:latest
Image for service myjenkins was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating easyjenkins_myjenkins_1 ... done
INFO: Run the following command to configure your shell:
INFO: eval $(docker-machine env easy-jenkins)
INFO: Browse http://192.168.99.100:9080/ to access the Jenkins dashboard
INFO: Initial administrator password: 545e5f77b0e44a3d870b81348a0b8f9d
gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$

TODO: What does this error message mean?

SEVERE: Running with Java class version 54.0, but 52.0 is required.Run with the --enable-future-java flag to enable such behavior
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)

Jenkins requires Java 8, but you are running 10.0.1+10-Debian-4 from /usr/lib/jvm/java-10-openjdk-amd64
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)

Update 2018-06-20: See upstream issue: https://issues.jenkins-ci.org/browse/JENKINS-51990

gmacario commented 6 years ago

Configured the Jenkins instance and loaded pipelines from https://github.com/gmacario/my-jenkins-pipelines

Pipeline still failing - excerpt from docker-compose logs -f

myjenkins_1  | WARNING: Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[my-jenkins-pipelines/sample-declarative-pipeline/2:my-jenkins-pipelines/sample-declarative-pipeline #2]]
myjenkins_1  | Jun 19, 2018 8:22:00 AM org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService reportProblem
myjenkins_1  | WARNING: Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[my-jenkins-pipelines/sample-declarative-pipeline/2:my-jenkins-pipelines/sample-declarative-pipeline #2]]
myjenkins_1  | java.lang.ExceptionInInitializerError
myjenkins_1  |  at org.jboss.marshalling.river.RiverMarshaller.<clinit>(RiverMarshaller.java:1235)
myjenkins_1  |  at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.support.pickles.serialization.RiverWriter.<init>(RiverWriter.java:136)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:480)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:458)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgramIfPossible(CpsThreadGroup.java:445)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:372)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
myjenkins_1  |  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
myjenkins_1  |  at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
myjenkins_1  |  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
myjenkins_1  |  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
myjenkins_1  |  at java.base/java.lang.Thread.run(Thread.java:844)
myjenkins_1  | Caused by: java.lang.IllegalStateException: No standard field found for reverse order comparator!
myjenkins_1  |  at org.jboss.marshalling.river.Protocol.<clinit>(Protocol.java:220)
myjenkins_1  |  ... 20 more
myjenkins_1  |
myjenkins_1  | java.lang.ExceptionInInitializerError
myjenkins_1  |  at org.jboss.marshalling.river.RiverMarshaller.<clinit>(RiverMarshaller.java:1235)
myjenkins_1  |  at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.support.pickles.serialization.RiverWriter.<init>(RiverWriter.java:136)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:480)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:458)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgramIfPossible(CpsThreadGroup.java:445)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:372)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
myjenkins_1  |  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
myjenkins_1  |  at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
myjenkins_1  |  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
myjenkins_1  |  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
myjenkins_1  |  at java.base/java.lang.Thread.run(Thread.java:844)
myjenkins_1  | Caused by: java.lang.IllegalStateException: No standard field found for reverse order comparator!
myjenkins_1  |  at org.jboss.marshalling.river.Protocol.<clinit>(Protocol.java:220)
myjenkins_1  |  ... 20 more
myjenkins_1  |
myjenkins_1  | Jun 19, 2018 8:22:00 AM org.jenkinsci.plugins.workflow.job.WorkflowRun finish
myjenkins_1  | INFO: my-jenkins-pipelines/sample-declarative-pipeline #2 completed: FAILURE
myjenkins_1  | Jun 19, 2018 8:22:00 AM org.jenkinsci.plugins.workflow.job.WorkflowRun finish
myjenkins_1  | INFO: my-jenkins-pipelines/sample-declarative-pipeline #2 completed: FAILURE

Upstream issues:

gmacario commented 6 years ago

Trying simple Pipeline

Browse ${JENKINS_DASHBOARD} at http://192.168.99.100:9080/

Result: FAILURE

Excerpt from docker-compose logs -f

myjenkins_1  | Jun 19, 2018 9:52:36 AM org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService reportProblem
myjenkins_1  | WARNING: Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[try-simple-pipeline/1:try-simple-pipeline #1]]
myjenkins_1  | java.lang.ExceptionInInitializerError
myjenkins_1  |  at org.jboss.marshalling.river.RiverMarshaller.<clinit>(RiverMarshaller.java:1235)
myjenkins_1  |  at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.support.pickles.serialization.RiverWriter.<init>(RiverWriter.java:136)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:480)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:458)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgramIfPossible(CpsThreadGroup.java:445)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:372)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
myjenkins_1  |  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
myjenkins_1  |  at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
myjenkins_1  |  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
myjenkins_1  |  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
myjenkins_1  |  at java.base/java.lang.Thread.run(Thread.java:844)
myjenkins_1  | Caused by: java.lang.IllegalStateException: No standard field found for reverse order comparator!
myjenkins_1  |  at org.jboss.marshalling.river.Protocol.<clinit>(Protocol.java:220)
myjenkins_1  |  ... 20 more
myjenkins_1  |
myjenkins_1  | Jun 19, 2018 9:52:37 AM org.jenkinsci.plugins.workflow.job.WorkflowRun finish
myjenkins_1  | INFO: try-simple-pipeline #1 completed: FAILURE
myjenkins_1  | Jun 19, 2018 9:52:37 AM org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService reportProblem
myjenkins_1  | WARNING: Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[try-simple-pipeline/1:try-simple-pipeline #1]]
myjenkins_1  | java.lang.IllegalStateException: JENKINS-50407: no loaded shell in CpsFlowExecution[Owner[try-simple-pipeline/1:try-simple-pipeline #1]]
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:52)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:174)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:332)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)
myjenkins_1  |  at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
myjenkins_1  |  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
myjenkins_1  |  at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
myjenkins_1  |  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
myjenkins_1  |  at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
myjenkins_1  |  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
gmacario commented 6 years ago

Verify versions of the installed Jenkins plugins

${JENKINS_DASHBOARD} > Plugin Manager

All plugins are up-to-date except Blue Ocean now at 1.5.0 (but 1.6.0-beta-3 available)

Click on tab "Advanced"

Scrolling back the Docker build log to double check the list of installed plugins

...
WAR bundled plugins:

Installed plugins:
ace-editor:1.1
ant:1.8
antisamy-markup-formatter:1.5
apache-httpcomponents-client-4-api:4.5.5-3.0
authentication-tokens:1.3
blueocean-autofavorite:1.2.2
blueocean-bitbucket-pipeline:1.5.0
blueocean-commons:1.5.0
blueocean-config:1.5.0
blueocean-core-js:1.5.0
blueocean-dashboard:1.5.0
blueocean-display-url:2.2.0
blueocean-events:1.5.0
blueocean-git-pipeline:1.5.0
blueocean-github-pipeline:1.5.0
blueocean-i18n:1.5.0
blueocean-jira:1.5.0
blueocean-jwt:1.5.0
blueocean-personalization:1.5.0
blueocean-pipeline-api-impl:1.5.0
blueocean-pipeline-editor:1.5.0
blueocean-pipeline-scm-api:1.5.0
blueocean-rest-impl:1.5.0
blueocean-rest:1.5.0
blueocean-web:1.5.0
blueocean:1.5.0
bouncycastle-api:2.16.3
branch-api:2.0.20
build-timeout:1.19
built-on-column:1.1
cloudbees-bitbucket-branch-source:2.2.11
cloudbees-folder:6.4
command-launcher:1.2
conditional-buildstep:1.3.6
credentials-binding:1.16
credentials:2.1.16
delivery-pipeline-plugin:1.2.0
display-url-api:2.2.0
docker-build-publish:1.3.2
docker-commons:1.13
docker-custom-build-environment:1.7.3
docker-java-api:3.0.14
docker-plugin:1.1.4
docker-workflow:1.17
durable-task:1.22
email-ext:2.62
envinject-api:1.5
envinject:2.1.5
ez-templates:1.3.2
favorite:2.3.2
git-client:2.7.2
git-server:1.7
git:3.9.1
github-api:1.92
github-branch-source:2.3.6
github-oauth:0.29
github-organization-folder:1.6
github-pullrequest:0.2.1
github:1.29.1
gradle:1.28
greenballs:1.15
groovy:2.0
handlebars:1.1.1
handy-uri-templates-2-api:2.1.6-1.0
htmlpublisher:1.16
icon-shim:2.0.3
jackson2-api:2.8.11.3
javadoc:1.4
jenkins-design-language:1.5.0
jenkins-multijob-plugin:1.30
jira:3.0.0
jobConfigHistory:2.18
join:1.21
jquery-detached:1.2.1
jquery:1.12.4-0
jsch:0.1.54.2
junit:1.24
ldap:1.20
mailer:1.21
mapdb-api:1.0.9.0
matrix-auth:2.2
matrix-project:1.13
maven-plugin:3.1.2
mercurial:2.3
mock-slave:1.12
momentjs:1.1.1
pam-auth:1.3
parameterized-trigger:2.35.2
pipeline-build-step:2.7
pipeline-github-lib:1.0
pipeline-graph-analysis:1.6
pipeline-input-step:2.8
pipeline-milestone-step:1.3.1
pipeline-model-api:1.3
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:1.3
pipeline-model-extensions:1.3
pipeline-rest-api:2.10
pipeline-stage-step:2.3
pipeline-stage-tags-metadata:1.3
pipeline-stage-view:2.10
plain-credentials:1.4
publish-over-ssh:1.19.1
publish-over:0.22
pubsub-light:1.12
resource-disposer:0.9
run-condition:1.0
scm-api:2.2.7
script-security:1.44
sectioned-view:1.24
sse-gateway:1.15
ssh-credentials:1.13
ssh-slaves:1.26
structs:1.14
subversion:2.11.0
timestamper:1.8.10
token-macro:2.5
translation:1.16
variant:1.1
view-job-filters:1.27
windows-slaves:1.3.1
workflow-aggregator:2.5
workflow-api:2.28
workflow-basic-steps:2.9
workflow-cps-global-lib:2.9
workflow-cps:2.53
workflow-durable-task-step:2.19
workflow-job:2.21
workflow-multibranch:2.19
workflow-scm-step:2.6
workflow-step-api:2.15
workflow-support:2.18
ws-cleanup:0.34
Cleaning up locks
...
oleg-nenashev commented 6 years ago

@gmacario

In order to get Pipeline bits running...

oleg-nenashev commented 6 years ago

@gmacario UPD: The guide above won't work, we need to fix another glitch with Incrementals deployment

gmacario commented 6 years ago

Executed a clean docker-compose build --pull && ./runme.sh of branch wip/try-jenkins-jdk10 so that the updated Jenkins Docker images are used

gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ git pull
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
Da github.com:gmacario/easy-jenkins
   a8ea995..1623c7a  wip/try-jenkins-jdk10 -> origin/wip/try-jenkins-jdk10
Aggiornamento di a8ea995..1623c7a
Fast-forward
 myjenkins/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ docker-compose build --pull && ./runme.sh
gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ docker-compose build --pull && ./runme.sh
Building myjenkins
Step 1/13 : FROM jenkins/jenkins-experimental:latest-jdk10-incrementals
latest-jdk10-incrementals: Pulling from jenkins/jenkins-experimental
Digest: sha256:b6f7cd354d8d33d445da3310a64cb05e2f064f14b0fd5e27dbe282457187cfce
Status: Downloaded newer image for jenkins/jenkins-experimental:latest-jdk10-incrementals
 ---> 99fbe97588bc
Step 2/13 : USER root
...
Step 10/13 : RUN install-plugins.sh     ant     antisamy-markup-formatter     blueocean     blueocean-pipeline-editor     build-timeout     command-launcher     delivery-pipeline-plugin     docker-build-publish     docker-custom-build-environment     docker-plugin     email-ext     ez-templates     git     git-client     github-branch-source     github-oauth     github-organization-folder     github-pullrequest     gradle     greenballs     groovy     htmlpublisher     jenkins-multijob-plugin     jobConfigHistory     join     ldap     mailer     mapdb-api     matrix-auth     matrix-project     mercurial     mock-slave     pam-auth     pipeline-github-lib     publish-over-ssh     resource-disposer     run-condition     sectioned-view     ssh-slaves     subversion     timestamper     translation     view-job-filters     windows-slaves     workflow-aggregator     workflow-job     "workflow-support:incrementals;org.jenkins-ci.plugins.workflow;2.19-rc295.8acfa38fd7b9"     ws-cleanup
 ---> Running in 7d12c6d26300
Creating initial locks...
Analyzing war...
Registering preinstalled plugins...
Jun 19, 2018 2:47:02 PM Main main
SEVERE: Running with Java class version 54.0, but 52.0 is required.Run with the --enable-future-java flag to enable such behavior
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)

Jenkins requires Java 8, but you are running 10.0.1+10-Debian-4 from /usr/lib/jvm/java-10-openjdk-amd64
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)
Using version-specific update center: https://updates.jenkins.io/....
Downloading plugins...
Downloading plugin: ant from https://updates.jenkins.io/./latest/ant.hpi
...
curl: (22) The requested URL returned error: 404
14:50:08 Failure (22) Retrying in 1 seconds...
14:50:09 Failed in the last attempt (curl -sSfL --connect-timeout 20 --retry 5 --retry-delay 0 --retry-max-time 60 https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/workflow/workflow-support-plugin/2.19-rc295.8acfa38fd7b9/workflow-support-plugin-2.19-rc295.8acfa38fd7b9.hpi -o /usr/share/jenkins/ref/plugins/workflow-support-plugin.jpi)
Failed to download plugin: workflow-support or workflow-support-plugin

WAR bundled plugins:

Installed plugins:
ace-editor:1.1
ant:1.8
antisamy-markup-formatter:1.5
apache-httpcomponents-client-4-api:4.5.5-3.0
authentication-tokens:1.3
blueocean-autofavorite:1.2.2
blueocean-bitbucket-pipeline:1.5.0
blueocean-commons:1.5.0
blueocean-config:1.5.0
blueocean-core-js:1.5.0
blueocean-dashboard:1.5.0
blueocean-display-url:2.2.0
blueocean-events:1.5.0
blueocean-git-pipeline:1.5.0
blueocean-github-pipeline:1.5.0
blueocean-i18n:1.5.0
blueocean-jira:1.5.0
blueocean-jwt:1.5.0
blueocean-personalization:1.5.0
blueocean-pipeline-api-impl:1.5.0
blueocean-pipeline-editor:1.5.0
blueocean-pipeline-scm-api:1.5.0
blueocean-rest-impl:1.5.0
blueocean-rest:1.5.0
blueocean-web:1.5.0
blueocean:1.5.0
bouncycastle-api:2.16.3
branch-api:2.0.20
build-timeout:1.19
built-on-column:1.1
cloudbees-bitbucket-branch-source:2.2.11
cloudbees-folder:6.4
command-launcher:1.2
conditional-buildstep:1.3.6
credentials-binding:1.16
credentials:2.1.16
delivery-pipeline-plugin:1.2.0
display-url-api:2.2.0
docker-build-publish:1.3.2
docker-commons:1.13
docker-custom-build-environment:1.7.3
docker-java-api:3.0.14
docker-plugin:1.1.4
docker-workflow:1.17
durable-task:1.22
email-ext:2.62
envinject-api:1.5
envinject:2.1.5
ez-templates:1.3.2
favorite:2.3.2
git-client:2.7.2
git-server:1.7
git:3.9.1
github-api:1.92
github-branch-source:2.3.6
github-oauth:0.29
github-organization-folder:1.6
github-pullrequest:0.2.1
github:1.29.1
gradle:1.28
greenballs:1.15
groovy:2.0
handlebars:1.1.1
handy-uri-templates-2-api:2.1.6-1.0
htmlpublisher:1.16
icon-shim:2.0.3
jackson2-api:2.8.11.3
javadoc:1.4
jenkins-design-language:1.5.0
jenkins-multijob-plugin:1.30
jira:3.0.0
jobConfigHistory:2.18
join:1.21
jquery-detached:1.2.1
jquery:1.12.4-0
jsch:0.1.54.2
junit:1.24
ldap:1.20
mailer:1.21
mapdb-api:1.0.9.0
matrix-auth:2.2
matrix-project:1.13
maven-plugin:3.1.2
mercurial:2.3
mock-slave:1.12
momentjs:1.1.1
pam-auth:1.3
parameterized-trigger:2.35.2
pipeline-build-step:2.7
pipeline-github-lib:1.0
pipeline-graph-analysis:1.6
pipeline-input-step:2.8
pipeline-milestone-step:1.3.1
pipeline-model-api:1.3
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:1.3
pipeline-model-extensions:1.3
pipeline-rest-api:2.10
pipeline-stage-step:2.3
pipeline-stage-tags-metadata:1.3
pipeline-stage-view:2.10
plain-credentials:1.4
publish-over-ssh:1.19.1
publish-over:0.22
pubsub-light:1.12
resource-disposer:0.9
run-condition:1.0
scm-api:2.2.7
script-security:1.44
sectioned-view:1.24
sse-gateway:1.15
ssh-credentials:1.13
ssh-slaves:1.26
structs:1.14
subversion:2.11.0
timestamper:1.8.10
token-macro:2.5
translation:1.16
variant:1.1
view-job-filters:1.27
windows-slaves:1.3.1
workflow-aggregator:2.5
workflow-api:2.28
workflow-basic-steps:2.9
workflow-cps-global-lib:2.9
workflow-cps:2.53
workflow-durable-task-step:2.19
workflow-job:2.21
workflow-multibranch:2.19
workflow-scm-step:2.6
workflow-step-api:2.15
ws-cleanup:0.34
Some plugins failed to download! Not downloaded: workflow-support
Service 'myjenkins' failed to build: The command '/bin/sh -c install-plugins.sh     ant     antisamy-markup-formatter     blueocean     blueocean-pipeline-editor     build-timeout     command-launcher     delivery-pipeline-plugin     docker-build-publish     docker-custom-build-environment     docker-plugin     email-ext     ez-templates     git     git-client     github-branch-source     github-oauth     github-organization-folder     github-pullrequest     gradle     greenballs     groovy     htmlpublisher     jenkins-multijob-plugin     jobConfigHistory     join     ldap     mailer     mapdb-api     matrix-auth     matrix-project     mercurial     mock-slave     pam-auth     pipeline-github-lib     publish-over-ssh     resource-disposer     run-condition     sectioned-view     ssh-slaves     subversion     timestamper     translation     view-job-filters     windows-slaves     workflow-aggregator     workflow-job     "workflow-support:incrementals;org.jenkins-ci.plugins.workflow;2.19-rc295.8acfa38fd7b9"     ws-cleanup' returned a non-zero code: 1
gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$
gmacario commented 6 years ago

To remove suspect of network connectivity issues, let us try the same command on a different host

gpmacario@nemo:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ docker-compose build --pull
Building myjenkins
Step 1/13 : FROM jenkins/jenkins-experimental:latest-jdk10-incrementals
latest-jdk10-incrementals: Pulling from jenkins/jenkins-experimental
e7cb83f94a46: Pull complete
ea75eac4dae2: Pull complete
45c35a0f820b: Pull complete
13e481985cd9: Pull complete
6c942941f5ce: Pull complete
e28271fcddff: Pull complete
7ae09137d16e: Pull complete
3469457e729f: Pull complete
c7e82e23577f: Pull complete
fb0fdeea7f5c: Pull complete
0369861d50c0: Pull complete
b1049eb4b291: Pull complete
c3a77e45a885: Pull complete
ef00a71a6790: Pull complete
dc6576f006ff: Pull complete
c65071f415ee: Pull complete
d52ce18e44f2: Pull complete
50de489d9498: Pull complete
bd8a2fa7dd8f: Pull complete
e8b6e7e47364: Pull complete
9fd6f387b7d6: Pull complete
5535b446b2b0: Pull complete
ae45d3e118f8: Pull complete
Digest: sha256:b6f7cd354d8d33d445da3310a64cb05e2f064f14b0fd5e27dbe282457187cfce
Status: Downloaded newer image for jenkins/jenkins-experimental:latest-jdk10-incrementals
 ---> 99fbe97588bc
...
Step 10/13 : RUN install-plugins.sh     ant     antisamy-markup-formatter     blueocean     blueocean-pipeline-editor     build-timeout     command-launcher     delivery-pipeline-plugin     docker-build-publish     docker-custom-build-environment     docker-plugin     email-ext     ez-templates     git     git-client     github-branch-source     github-oauth     github-organization-folder     github-pullrequest     gradle     greenballs     groovy     htmlpublisher     jenkins-multijob-plugin     jobConfigHistory     join     ldap     mailer     mapdb-api     matrix-auth     matrix-project     mercurial     mock-slave     pam-auth     pipeline-github-lib     publish-over-ssh     resource-disposer     run-condition     sectioned-view     ssh-slaves     subversion     timestamper     translation     view-job-filters     windows-slaves     workflow-aggregator     workflow-job     "workflow-support:incrementals;org.jenkins-ci.plugins.workflow;2.19-rc295.8acfa38fd7b9"     ws-cleanup
 ---> Running in 0d5c396b30cb
Creating initial locks...
Analyzing war...
Registering preinstalled plugins...
Jun 19, 2018 2:53:32 PM Main main
SEVERE: Running with Java class version 54.0, but 52.0 is required.Run with the --enable-future-java flag to enable such behavior
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)

Jenkins requires Java 8, but you are running 10.0.1+10-Debian-4 from /usr/lib/jvm/java-10-openjdk-amd64
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)
Using version-specific update center: https://updates.jenkins.io/....
Downloading plugins...
...
Downloading plugin: sectioned-view from https://updates.jenkins.io/./latest/sectioned-view.hpi
Downloading plugin: workflow-support from https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/workflow/workflow-support/2.19-rc295.8acfa38fd7b9/workflow-support-2.19-rc295.8acfa38fd7b9.hpi
curl: (22) The requested URL returned error: 404
14:53:33 Failure (22) Retrying in 1 seconds...
 > gradle depends on structs:1.3
Downloading plugin: structs from https://updates.jenkins.io/./latest/structs.hpi
...
 > pipeline-github-lib depends on workflow-cps-global-lib:2.5,git:3.0.2
Downloading plugin: workflow-cps-global-lib from https://updates.jenkins.io/./latest/workflow-cps-global-lib.hpi
curl: (22) The requested URL returned error: 404
14:53:34 Failure (22) Retrying in 1 seconds...
 > command-launcher depends on script-security:1.36
...
 > token-macro depends on workflow-step-api:2.7
curl: (22) The requested URL returned error: 404
14:53:41 Failure (22) Retrying in 1 seconds...
 > scm-api depends on structs:1.9
...
Skipping optional dependency perforce
curl: (22) The requested URL returned error: 404
14:54:09 Failure (22) Retrying in 1 seconds...
curl: (22) The requested URL returned error: 404
14:54:10 Failure (22) Retrying in 1 seconds...
 > docker-java-api depends on jackson2-api:2.6.4
curl: (22) The requested URL returned error: 404
14:54:11 Failure (22) Retrying in 1 seconds...
...
14:56:04 Failure (22) Retrying in 1 seconds...
14:56:05 Failed in the last attempt (curl -sSfL --connect-timeout 20 --retry 5 --retry-delay 0 --retry-max-time 60 https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/workflow/workflow-support-plugin/2.19-rc295.8acfa38fd7b9/workflow-support-plugin-2.19-rc295.8acfa38fd7b9.hpi -o /usr/share/jenkins/ref/plugins/workflow-support-plugin.jpi)
Failed to download plugin: workflow-support or workflow-support-plugin

WAR bundled plugins:

Installed plugins:
ace-editor:1.1
ant:1.8
antisamy-markup-formatter:1.5
apache-httpcomponents-client-4-api:4.5.5-3.0
authentication-tokens:1.3
blueocean-autofavorite:1.2.2
blueocean-bitbucket-pipeline:1.5.0
blueocean-commons:1.5.0
blueocean-config:1.5.0
blueocean-core-js:1.5.0
blueocean-dashboard:1.5.0
blueocean-display-url:2.2.0
blueocean-events:1.5.0
blueocean-git-pipeline:1.5.0
blueocean-github-pipeline:1.5.0
blueocean-i18n:1.5.0
blueocean-jira:1.5.0
blueocean-jwt:1.5.0
blueocean-personalization:1.5.0
blueocean-pipeline-api-impl:1.5.0
blueocean-pipeline-editor:1.5.0
blueocean-pipeline-scm-api:1.5.0
blueocean-rest-impl:1.5.0
blueocean-rest:1.5.0
blueocean-web:1.5.0
blueocean:1.5.0
bouncycastle-api:2.16.3
branch-api:2.0.20
build-timeout:1.19
built-on-column:1.1
cloudbees-bitbucket-branch-source:2.2.11
cloudbees-folder:6.4
command-launcher:1.2
conditional-buildstep:1.3.6
credentials-binding:1.16
credentials:2.1.16
delivery-pipeline-plugin:1.2.0
display-url-api:2.2.0
docker-build-publish:1.3.2
docker-commons:1.13
docker-custom-build-environment:1.7.3
docker-java-api:3.0.14
docker-plugin:1.1.4
docker-workflow:1.17
durable-task:1.22
email-ext:2.62
envinject-api:1.5
envinject:2.1.5
ez-templates:1.3.2
favorite:2.3.2
git-client:2.7.2
git-server:1.7
git:3.9.1
github-api:1.92
github-branch-source:2.3.6
github-oauth:0.29
github-organization-folder:1.6
github-pullrequest:0.2.1
github:1.29.1
gradle:1.28
greenballs:1.15
groovy:2.0
handlebars:1.1.1
handy-uri-templates-2-api:2.1.6-1.0
htmlpublisher:1.16
icon-shim:2.0.3
jackson2-api:2.8.11.3
javadoc:1.4
jenkins-design-language:1.5.0
jenkins-multijob-plugin:1.30
jira:3.0.0
jobConfigHistory:2.18
join:1.21
jquery-detached:1.2.1
jquery:1.12.4-0
jsch:0.1.54.2
junit:1.24
ldap:1.20
mailer:1.21
mapdb-api:1.0.9.0
matrix-auth:2.2
matrix-project:1.13
maven-plugin:3.1.2
mercurial:2.3
mock-slave:1.12
momentjs:1.1.1
pam-auth:1.3
parameterized-trigger:2.35.2
pipeline-build-step:2.7
pipeline-github-lib:1.0
pipeline-graph-analysis:1.6
pipeline-input-step:2.8
pipeline-milestone-step:1.3.1
pipeline-model-api:1.3
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:1.3
pipeline-model-extensions:1.3
pipeline-rest-api:2.10
pipeline-stage-step:2.3
pipeline-stage-tags-metadata:1.3
pipeline-stage-view:2.10
plain-credentials:1.4
publish-over-ssh:1.19.1
publish-over:0.22
pubsub-light:1.12
resource-disposer:0.9
run-condition:1.0
scm-api:2.2.7
script-security:1.44
sectioned-view:1.24
sse-gateway:1.15
ssh-credentials:1.13
ssh-slaves:1.26
structs:1.14
subversion:2.11.0
timestamper:1.8.10
token-macro:2.5
translation:1.16
variant:1.1
view-job-filters:1.27
windows-slaves:1.3.1
workflow-aggregator:2.5
workflow-api:2.28
workflow-basic-steps:2.9
workflow-cps-global-lib:2.9
workflow-cps:2.53
workflow-durable-task-step:2.19
workflow-job:2.21
workflow-multibranch:2.19
workflow-scm-step:2.6
workflow-step-api:2.15
ws-cleanup:0.34
Some plugins failed to download! Not downloaded: workflow-support
ERROR: Service 'myjenkins' failed to build: The command '/bin/sh -c install-plugins.sh     ant     antisamy-markup-formatter     blueocean     blueocean-pipeline-editor     build-timeout     command-launcher     delivery-pipeline-plugin     docker-build-publish     docker-custom-build-environment     docker-plugin     email-ext     ez-templates     git     git-client     github-branch-source     github-oauth     github-organization-folder     github-pullrequest     gradle     greenballs     groovy     htmlpublisher     jenkins-multijob-plugin     jobConfigHistory     join     ldap     mailer     mapdb-api     matrix-auth     matrix-project     mercurial     mock-slave     pam-auth     pipeline-github-lib     publish-over-ssh     resource-disposer     run-condition     sectioned-view     ssh-slaves     subversion     timestamper     translation     view-job-filters     windows-slaves     workflow-aggregator     workflow-job     "workflow-support:incrementals;org.jenkins-ci.plugins.workflow;2.19-rc295.8acfa38fd7b9"     ws-cleanup' returned a non-zero code: 1
gpmacario@nemo:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$
gmacario commented 6 years ago

TODO: Troubleshoot issue on command

install-plugins.sh \
    "workflow-support:incrementals;org.jenkins-ci.plugins.workflow;2.19-rc295.8acfa38fd7b9"
oleg-nenashev commented 6 years ago

@gmacario So you need to pick another release: workflow-support:incrementals;org.jenkins-ci.plugins.workflow;2.19-rc295.e017dc58c0a3. The one you use got borked

gmacario commented 6 years ago

Thanks! Will try it as soon as I get access to a real keyboard (not a phone) :wink:

gmacario commented 6 years ago

Trying a clean build of branch wip/try-jenkins-jdk10

gmacario@mac-tizy:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ git log --oneline -1
0e2c610 (HEAD -> wip/try-jenkins-jdk10, origin/wip/try-jenkins-jdk10) Update SHA of workflow-support:incrementals
gmacario@mac-tizy:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ ./runme.sh
No active host found
INFO: Docker machine easy-jenkins exists, skipping docker-machine create
INFO: Using Docker machine easy-jenkins
Building myjenkins
Step 1/13 : FROM jenkins/jenkins-experimental:latest-jdk10-incrementals
latest-jdk10-incrementals: Pulling from jenkins/jenkins-experimental
e7cb83f94a46: Already exists
ea75eac4dae2: Already exists
45c35a0f820b: Already exists
13e481985cd9: Already exists
6c942941f5ce: Already exists
e28271fcddff: Already exists
7ae09137d16e: Already exists
3469457e729f: Already exists
c7e82e23577f: Already exists
fb0fdeea7f5c: Already exists
0369861d50c0: Already exists
b1049eb4b291: Already exists
c3a77e45a885: Already exists
ef00a71a6790: Already exists
dc6576f006ff: Pull complete
c65071f415ee: Pull complete
d52ce18e44f2: Pull complete
50de489d9498: Pull complete
bd8a2fa7dd8f: Pull complete
e8b6e7e47364: Pull complete
9fd6f387b7d6: Pull complete
5535b446b2b0: Pull complete
ae45d3e118f8: Pull complete
Digest: sha256:b6f7cd354d8d33d445da3310a64cb05e2f064f14b0fd5e27dbe282457187cfce
Status: Downloaded newer image for jenkins/jenkins-experimental:latest-jdk10-incrementals
 ---> 99fbe97588bc
...
Step 10/13 : RUN install-plugins.sh     ant     antisamy-markup-formatter     blueocean     blueocean-pipeline-editor     build-timeout     command-launcher     delivery-pipeline-plugin     docker-build-publish     docker-custom-build-environment     docker-plugin     email-ext     ez-templates     git     git-client     github-branch-source     github-oauth     github-organization-folder     github-pullrequest     gradle     greenballs     groovy     htmlpublisher     jenkins-multijob-plugin     jobConfigHistory     join     ldap     mailer     mapdb-api     matrix-auth     matrix-project     mercurial     mock-slave     pam-auth     pipeline-github-lib     publish-over-ssh     resource-disposer     run-condition     sectioned-view     ssh-slaves     subversion     timestamper     translation     view-job-filters     windows-slaves     workflow-aggregator     workflow-job     "workflow-support:incrementals;org.jenkins-ci.plugins.workflow;2.19-rc295.e017dc58c0a3"     ws-cleanup
 ---> Running in 2d4e14d342b0
Creating initial locks...
Analyzing war...
Registering preinstalled plugins...
Jun 19, 2018 8:23:15 PM Main main
SEVERE: Running with Java class version 54.0, but 52.0 is required.Run with the --enable-future-java flag to enable such behavior
java.lang.UnsupportedClassVersionError: 54.0
        at Main.main(Main.java:139)

Jenkins requires Java 8, but you are running 10.0.1+10-Debian-4 from /usr/lib/jvm/java-10-openjdk-amd64
java.lang.UnsupportedClassVersionError: 54.0
 at Main.main(Main.java:139)
Using version-specific update center: https://updates.jenkins.io/....
Downloading plugins...
...

WAR bundled plugins:

Installed plugins:
ace-editor:1.1
ant:1.8
antisamy-markup-formatter:1.5
apache-httpcomponents-client-4-api:4.5.5-3.0
authentication-tokens:1.3
blueocean-autofavorite:1.2.2
blueocean-bitbucket-pipeline:1.5.0
blueocean-commons:1.5.0
blueocean-config:1.5.0
blueocean-core-js:1.5.0
blueocean-dashboard:1.5.0
blueocean-display-url:2.2.0
blueocean-events:1.5.0
blueocean-git-pipeline:1.5.0
blueocean-github-pipeline:1.5.0
blueocean-i18n:1.5.0
blueocean-jira:1.5.0
blueocean-jwt:1.5.0
blueocean-personalization:1.5.0
blueocean-pipeline-api-impl:1.5.0
blueocean-pipeline-editor:1.5.0
blueocean-pipeline-scm-api:1.5.0
blueocean-rest-impl:1.5.0
blueocean-rest:1.5.0
blueocean-web:1.5.0
blueocean:1.5.0
bouncycastle-api:2.16.3
branch-api:2.0.20
build-timeout:1.19
built-on-column:1.1
cloudbees-bitbucket-branch-source:2.2.11
cloudbees-folder:6.4
command-launcher:1.2
conditional-buildstep:1.3.6
credentials-binding:1.16
credentials:2.1.16
delivery-pipeline-plugin:1.2.0
display-url-api:2.2.0
docker-build-publish:1.3.2
docker-commons:1.13
docker-custom-build-environment:1.7.3
docker-java-api:3.0.14
docker-plugin:1.1.4
docker-workflow:1.17
durable-task:1.22
email-ext:2.62
envinject-api:1.5
envinject:2.1.5
ez-templates:1.3.2
favorite:2.3.2
git-client:2.7.2
git-server:1.7
git:3.9.1
github-api:1.92
github-branch-source:2.3.6
github-oauth:0.29
github-organization-folder:1.6
github-pullrequest:0.2.1
github:1.29.1
gradle:1.28
greenballs:1.15
groovy:2.0
handlebars:1.1.1
handy-uri-templates-2-api:2.1.6-1.0
htmlpublisher:1.16
icon-shim:2.0.3
jackson2-api:2.8.11.3
javadoc:1.4
jenkins-design-language:1.5.0
jenkins-multijob-plugin:1.30
jira:3.0.0
jobConfigHistory:2.18
join:1.21
jquery-detached:1.2.1
jquery:1.12.4-0
jsch:0.1.54.2
junit:1.24
ldap:1.20
mailer:1.21
mapdb-api:1.0.9.0
matrix-auth:2.2
matrix-project:1.13
maven-plugin:3.1.2
mercurial:2.3
mock-slave:1.12
momentjs:1.1.1
pam-auth:1.3
parameterized-trigger:2.35.2
pipeline-build-step:2.7
pipeline-github-lib:1.0
pipeline-graph-analysis:1.6
pipeline-input-step:2.8
pipeline-milestone-step:1.3.1
pipeline-model-api:1.3
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:1.3
pipeline-model-extensions:1.3
pipeline-rest-api:2.10
pipeline-stage-step:2.3
pipeline-stage-tags-metadata:1.3
pipeline-stage-view:2.10
plain-credentials:1.4
publish-over-ssh:1.19.1
publish-over:0.22
pubsub-light:1.12
resource-disposer:0.9
run-condition:1.0
scm-api:2.2.7
script-security:1.44
sectioned-view:1.24
sse-gateway:1.15
ssh-credentials:1.13
ssh-slaves:1.26
structs:1.14
subversion:2.11.0
timestamper:1.8.10
token-macro:2.5
translation:1.16
variant:1.1
view-job-filters:1.27
windows-slaves:1.3.1
workflow-aggregator:2.5
workflow-api:2.28
workflow-basic-steps:2.9
workflow-cps-global-lib:2.9
workflow-cps:2.53
workflow-durable-task-step:2.19
workflow-job:2.21
workflow-multibranch:2.19
workflow-scm-step:2.6
workflow-step-api:2.15
workflow-support:2.19-rc295.e017dc58c0a3
ws-cleanup:0.34
Cleaning up locks
Removing intermediate container 2d4e14d342b0
 ---> 35a0058acd1c
Step 11/13 : COPY seed.groovy /usr/share/jenkins/ref/init.groovy.d/seed.groovy
 ---> 64119eeb5b23
Step 12/13 : RUN touch /var/run/docker.sock
 ---> Running in 1b4712ee1db9
Removing intermediate container 1b4712ee1db9
 ---> 4cf936687ff6
Step 13/13 : USER jenkins
 ---> Running in 60554e2f255d
Removing intermediate container 60554e2f255d
 ---> 587b062bcd15
Successfully built 587b062bcd15
Successfully tagged easy-jenkins_myjenkins:latest
WARNING: Image for service myjenkins was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating easy-jenkins_myjenkins_1 ... done
INFO: Run the following command to configure your shell:
INFO: eval $(docker-machine env easy-jenkins)
INFO: Browse http://192.168.99.103:9080/ to access the Jenkins dashboard
INFO: Initial administrator password: 2a9eb810c79348aa9b88775ddc96d85e
gmacario@mac-tizy:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$
gmacario commented 6 years ago

Trying simple Pipeline

Browse ${JENKINS_DASHBOARD} at http://192.168.99.103:9080/

Result: SUCCESS 😮

Browse ${JENKINS_DASHBOARD}/blue/

screenshot 2018-06-19 22 32 02
gmacario commented 6 years ago

Installed easy-jenkins branch wip/try-jenkins-jdk10 on host "nemo" (Ubuntu 16.04.4 LTS 64-bit, 16 GB RAM)

Result of building https://github.com/gmacario/my-jenkins-pipelines

screenshot 2018-06-19 22 51 33

TODO: Debug failure of each branch

TODO: Compare with Docker image jenkins/blueocean-jdk10

gmacario commented 6 years ago

Starting Day3 of Jenkins Java 10+ Hackathon with a clean build of branch wip/try-jenkins-jdk10

gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ git log --oneline -1
0e2c610 (HEAD -> wip/try-jenkins-jdk10, origin/wip/try-jenkins-jdk10) Update SHA of workflow-support:incrementals
gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$ ./runme.sh
No active host found
INFO: Creating VirtualBox VM easy-jenkins (cpu:2, memory:2048 MB, disk:50000 MB)
Running pre-create checks...
Creating machine...
(easy-jenkins) Copying C:\Users\GPMacario\.docker\machine\cache\boot2docker.iso to C:\Users\GPMacario\.docker\machine\machines\easy-jenkins\boot2docker.iso...
(easy-jenkins) Creating VirtualBox VM...
(easy-jenkins) Creating SSH key...
(easy-jenkins) Starting the VM...
(easy-jenkins) Check network to re-create if needed...
(easy-jenkins) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
(easy-jenkins) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: C:\Program Files\Docker Toolbox\docker-machine.exe env easy-jenkins
INFO: Using Docker machine easy-jenkins
Building myjenkins
Step 1/13 : FROM jenkins/jenkins-experimental:latest-jdk10-incrementals
latest-jdk10-incrementals: Pulling from jenkins/jenkins-experimental
...
Digest: sha256:b6f7cd354d8d33d445da3310a64cb05e2f064f14b0fd5e27dbe282457187cfce
Status: Downloaded newer image for jenkins/jenkins-experimental:latest-jdk10-incrementals
 ---> 99fbe97588bc
...
WAR bundled plugins:

Installed plugins:
ace-editor:1.1
ant:1.8
antisamy-markup-formatter:1.5
apache-httpcomponents-client-4-api:4.5.5-3.0
authentication-tokens:1.3
blueocean-autofavorite:1.2.2
blueocean-bitbucket-pipeline:1.6.0
blueocean-commons:1.6.0
blueocean-config:1.6.0
blueocean-core-js:1.6.0
blueocean-dashboard:1.6.0
blueocean-display-url:2.2.0
blueocean-events:1.6.0
blueocean-git-pipeline:1.6.0
blueocean-github-pipeline:1.6.0
blueocean-i18n:1.6.0
blueocean-jira:1.6.0
blueocean-jwt:1.6.0
blueocean-personalization:1.6.0
blueocean-pipeline-api-impl:1.6.0
blueocean-pipeline-editor:1.6.0
blueocean-pipeline-scm-api:1.6.0
blueocean-rest-impl:1.6.0
blueocean-rest:1.6.0
blueocean-web:1.6.0
blueocean:1.6.0
bouncycastle-api:2.16.3
branch-api:2.0.20
build-timeout:1.19
built-on-column:1.1
cloudbees-bitbucket-branch-source:2.2.11
cloudbees-folder:6.4
command-launcher:1.2
conditional-buildstep:1.3.6
credentials-binding:1.16
credentials:2.1.16
delivery-pipeline-plugin:1.2.0
display-url-api:2.2.0
docker-build-publish:1.3.2
docker-commons:1.13
docker-custom-build-environment:1.7.3
docker-java-api:3.0.14
docker-plugin:1.1.4
docker-workflow:1.17
durable-task:1.22
email-ext:2.62
envinject-api:1.5
envinject:2.1.5
ez-templates:1.3.2
favorite:2.3.2
git-client:2.7.2
git-server:1.7
git:3.9.1
github-api:1.92
github-branch-source:2.3.6
github-oauth:0.29
github-organization-folder:1.6
github-pullrequest:0.2.1
github:1.29.1
gradle:1.28
greenballs:1.15
groovy:2.0
handlebars:1.1.1
handy-uri-templates-2-api:2.1.6-1.0
htmlpublisher:1.16
icon-shim:2.0.3
jackson2-api:2.8.11.3
javadoc:1.4
jenkins-design-language:1.6.0
jenkins-multijob-plugin:1.30
jira:3.0.0
jobConfigHistory:2.18
join:1.21
jquery-detached:1.2.1
jquery:1.12.4-0
jsch:0.1.54.2
junit:1.24
ldap:1.20
mailer:1.21
mapdb-api:1.0.9.0
matrix-auth:2.2
matrix-project:1.13
maven-plugin:3.1.2
mercurial:2.3
mock-slave:1.12
momentjs:1.1.1
pam-auth:1.3
parameterized-trigger:2.35.2
pipeline-build-step:2.7
pipeline-github-lib:1.0
pipeline-graph-analysis:1.6
pipeline-input-step:2.8
pipeline-milestone-step:1.3.1
pipeline-model-api:1.3
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:1.3
pipeline-model-extensions:1.3
pipeline-rest-api:2.10
pipeline-stage-step:2.3
pipeline-stage-tags-metadata:1.3
pipeline-stage-view:2.10
plain-credentials:1.4
publish-over-ssh:1.19.1
publish-over:0.22
pubsub-light:1.12
resource-disposer:0.9
run-condition:1.0
scm-api:2.2.7
script-security:1.44
sectioned-view:1.24
sse-gateway:1.15
ssh-credentials:1.13
ssh-slaves:1.26
structs:1.14
subversion:2.11.0
timestamper:1.8.10
token-macro:2.5
translation:1.16
variant:1.1
view-job-filters:1.27
windows-slaves:1.3.1
workflow-aggregator:2.5
workflow-api:2.28
workflow-basic-steps:2.9
workflow-cps-global-lib:2.9
workflow-cps:2.53
workflow-durable-task-step:2.19
workflow-job:2.21
workflow-multibranch:2.19
workflow-scm-step:2.6
workflow-step-api:2.15
workflow-support:2.19-rc295.e017dc58c0a3
ws-cleanup:0.34
Cleaning up locks
Removing intermediate container 975dfda6dbda
 ---> ad1ea808828c
Step 11/13 : COPY seed.groovy /usr/share/jenkins/ref/init.groovy.d/seed.groovy
 ---> 869751e4bb46
Step 12/13 : RUN touch /var/run/docker.sock
 ---> Running in 91b5e356a045
Removing intermediate container 91b5e356a045
 ---> d71104c7429e
Step 13/13 : USER jenkins
 ---> Running in 87ff89786d49
Removing intermediate container 87ff89786d49
 ---> d45002017b57
Successfully built d45002017b57
Successfully tagged easyjenkins_myjenkins:latest
Image for service myjenkins was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating easyjenkins_myjenkins_1 ... done
INFO: Run the following command to configure your shell:
INFO: eval $(docker-machine env easy-jenkins)
INFO: Browse http://192.168.99.100:9080/ to access the Jenkins dashboard
gpmacario@HW2457:~/github/gmacario/easy-jenkins (wip/try-jenkins-jdk10)$

Notice that Blue Ocean is now 1.6.0

gmacario commented 6 years ago

Browse ${JENKINS_URL} at http://192.168.99.100:9080/

gmacario commented 6 years ago

Hooray, all pipelines in https://github.com/gmacario/my-jenkins-pipelines are now green!!!

image

gmacario commented 6 years ago

Next step: loading pipelines from https://github.com/gmacario/my-genivi-pipelines

NOTE: The execution of this pipeline needs several GB for the workspace and it cannot run inside the VirtualBox VM created by the ./runme.sh script. Therefore I deployed easy-jenkins to a more powerful, physical HW instance (http://gmpowerhorse.gmacario.it:9080/ - 8-cores, 16 GB RAM, 2TB disk).

Update 2018-06-21 00:02 CEST: Build still ongoing

Update 2018-06-21 05:36 CEST: Build failed, did not understand exactly why (?!?)

Excerpt from http://gmpowerhorse.gmacario.it:9080/job/my-genivi-pipelines/job/build-gdp-master-raspberrypi3/1/console

Branch indexing
16:43:30 Connecting to https://api.github.com using admin/****** (GitHub Access Token)
Obtained Jenkinsfile from eaea020c848b5e299048df53e50e9a2a069cc2ab
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/gmacario/my-genivi-pipelines.git
 > git init /var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ # timeout=10
Fetching upstream changes from https://github.com/gmacario/my-genivi-pipelines.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials GitHub Access Token
 > git fetch --no-tags --progress https://github.com/gmacario/my-genivi-pipelines.git +refs/heads/build-gdp-master-raspberrypi3:refs/remotes/origin/build-gdp-master-raspberrypi3
 > git config remote.origin.url https://github.com/gmacario/my-genivi-pipelines.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/build-gdp-master-raspberrypi3:refs/remotes/origin/build-gdp-master-raspberrypi3 # timeout=10
 > git config remote.origin.url https://github.com/gmacario/my-genivi-pipelines.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
No valid HEAD. Skipping the resetting
 > git clean -fdx # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/gmacario/my-genivi-pipelines.git
using GIT_ASKPASS to set credentials GitHub Access Token
 > git fetch --no-tags --progress https://github.com/gmacario/my-genivi-pipelines.git +refs/heads/build-gdp-master-raspberrypi3:refs/remotes/origin/build-gdp-master-raspberrypi3
Checking out Revision eaea020c848b5e299048df53e50e9a2a069cc2ab (build-gdp-master-raspberrypi3)
...
NOTE: Running task 4644 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../poky/meta/recipes-graphics/wayland/libinput_1.6.1.bb:do_package_qa)
NOTE: recipe libinput-1.6.1-r0: task do_package_qa: Started
NOTE: recipe genivi-swm-git-r0: task do_populate_sysroot: Succeeded
NOTE: Running task 4645 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../poky/meta/recipes-devtools/libtool/libtool_2.4.6.bb:do_package_qa)
NOTE: recipe libtool-2.4.6-r0: task do_package_qa: Started
NOTE: recipe libinput-1.6.1-r0: task do_package_qa: Succeeded
NOTE: Running task 4646 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../meta-genivi-dev/meta-genivi-dev/recipes-devtools/python/python-pyqt_5.3.1.bb:do_populate_sysroot)
NOTE: recipe python-pyqt-5.3.1-r1: task do_populate_sysroot:
...
NOTE: Running noexec task 5126 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../poky/meta/recipes-devtools/python/python3_3.5.2.bb:do_build)
NOTE: recipe boost-1.63.0-r1: task do_package_qa: Succeeded
NOTE: Running noexec task 5127 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../poky/meta/recipes-support/boost/boost_1.63.0.bb:do_build)
wrapper script does not seem to be touching the log file in /var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ@tmp/durable-232b75ba
(JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300)
Cannot contact : java.nio.channels.ClosedByInterruptException
wrapper script does not seem to be touching the log file in /var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ@tmp/durable-232b75ba
(JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
Stage "Test" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
Stage "Deploy" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 8e929057fff546c858c3c1e4d8ba653428b833a8815cae8e750a2c5ecc83e881
$ docker rm -f 8e929057fff546c858c3c1e4d8ba653428b833a8815cae8e750a2c5ecc83e881
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code -1
Finished: FAILURE

Excerpt from docker-compose logs -f

...
myjenkins_1  | INFO: Running CpsFlowExecution[Owner[my-genivi-pipelines/build-gdp-master-raspberrypi3/1:my-genivi-pipelines/build-gdp-master-raspberrypi3 #1]] loading hudson.model.ResultCustomizer unresponsive for 3 min 16 sec
myjenkins_1  | Jun 21, 2018 1:35:54 AM org.jenkinsci.plugins.workflow.support.concurrent.Timeout lambda$ping$0
myjenkins_1  | INFO: Running CpsFlowExecution[Owner[my-genivi-pipelines/build-gdp-master-raspberrypi3/1:my-genivi-pipelines/build-gdp-master-raspberrypi3 #1]] loading hudson.model.ResultCustomizer unresponsive for 3 min 22 sec
myjenkins_1  | Jun 21, 2018 1:35:56 AM org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxResolvingClassLoader$4$1 load
myjenkins_1  | WARNING: took 8,743ms to load/not load hudson.model.ResultCustomizer from classLoader hudson.PluginManager$UberClassLoader
myjenkins_1  | Jun 21, 2018 1:36:00 AM org.jenkinsci.plugins.workflow.support.concurrent.Timeout lambda$ping$0
myjenkins_1  | INFO: Running CpsFlowExecution[Owner[my-genivi-pipelines/build-gdp-master-raspberrypi3/1:my-genivi-pipelines/build-gdp-master-raspberrypi3 #1]] loading hudson/model/ResultCustomizer.groovy unresponsive for 3 min 27 sec
myjenkins_1  | Jun 21, 2018 1:36:05 AM org.jenkinsci.plugins.workflow.support.concurrent.Timeout lambda$ping$0
myjenkins_1  | INFO: Running CpsFlowExecution[Owner[my-genivi-pipelines/build-gdp-master-raspberrypi3/1:my-genivi-pipelines/build-gdp-master-raspberrypi3 #1]] loading hudson/model/ResultCustomizer.groovy unresponsive for 3 min 33 sec
myjenkins_1  | Jun 21, 2018 1:36:09 AM org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxResolvingClassLoader$4$1 load
myjenkins_1  | WARNING: took 12,574ms to load/not load hudson/model/ResultCustomizer.groovy from classLoader hudson.PluginManager$UberClassLoader
...
gmacario commented 6 years ago

ssh gmacario@gmpowerhorse, rebooting host which looked quite unresponsive

(2018-06-21 05:49 CEST)

Retrying build of branch build-gdp-master-raspberrypi3

Excerpt from http://gmpowerhorse.gmacario.it:9080/job/my-genivi-pipelines/job/build-gdp-master-raspberrypi3/2/console

Started by user Jenkins Admin (gmpowerhorse)
03:49:12 Connecting to https://api.github.com using admin/****** (GitHub Access Token)
Obtained Jenkinsfile from eaea020c848b5e299048df53e50e9a2a069cc2ab
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/gmacario/my-genivi-pipelines.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
...
NOTE: Running task 919 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../poky/meta/recipes-support/nettle/nettle_3.3.bb:do_unpack)
NOTE: recipe libunistring-0.9.7-r0: task do_unpack: Succeeded
...
NOTE: Running noexec task 5126 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../meta-iot-web/recipes-devtools/nodejs/nodejs_6.11.0.bb:do_build)
NOTE: recipe boost-1.63.0-r1: task do_package_qa: Succeeded
NOTE: Running noexec task 5127 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../poky/meta/recipes-support/boost/boost_1.63.0.bb:do_build)
...
NOTE: Running task 5143 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../meta-genivi-dev/meta-genivi-dev/recipes-dev-platform/images/genivi-dev-platform.bb:do_image_complete)
NOTE: recipe genivi-dev-platform-13.0-r0: task do_image_complete: Started
NOTE: recipe genivi-dev-platform-13.0-r0: task do_image_complete: Succeeded
NOTE: Running task 5144 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../meta-genivi-dev/meta-genivi-dev/recipes-dev-platform/images/genivi-dev-platform.bb:do_image_qa)
NOTE: recipe genivi-dev-platform-13.0-r0: task do_image_qa: Started
NOTE: recipe genivi-dev-platform-13.0-r0: task do_image_qa: Succeeded
NOTE: Running noexec task 5145 of 5145 (/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ/gdp-src-build/../meta-genivi-dev/meta-genivi-dev/recipes-dev-platform/images/genivi-dev-platform.bb:do_build)
NOTE: Tasks Summary: Attempted 5145 tasks of which 6 didn't need to be rerun and all succeeded.

Summary: There were 11 WARNING messages shown.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] parallel
[Pipeline] [Chrome] { (Branch: Chrome)
[Pipeline] [Firefox] { (Branch: Firefox)
[Pipeline] [Chrome] echo
[Chrome] testing in chrome
[Pipeline] [Chrome] }
[Pipeline] [Firefox] echo
[Firefox] testing in firefox
[Pipeline] [Firefox] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
[Pipeline] echo
INFO: Deploying
[ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ] Running shell script
[Pipeline] sh
+ pwd
/var/jenkins_home/workspace/ild-gdp-master-raspberrypi3-U3WEJEJ4WVWUBOFDV75SPYYXIVPCQJQSD3OPWAT2IM774MCIWNGQ
+ ls -la
total 132
drwxr-xr-x 25 jenkins jenkins 4096 Jun 21 04:17 .
drwxr-xr-x  6 jenkins jenkins 4096 Jun 20 16:43 ..
-rw-r--r--  1 jenkins jenkins  449 Jun 21 04:17 CONTRIBUTING.md
drwxr-xr-x  8 jenkins jenkins 4096 Jun 21 12:36 gdp-src-build
drwxr-xr-x  9 jenkins jenkins 4096 Jun 21 04:19 .git
-rw-r--r--  1 jenkins jenkins  374 Jun 21 04:17 .gitignore
-rw-r--r--  1 jenkins jenkins 1833 Jun 21 04:17 .gitmodules
-rwxr-xr-x  1 jenkins jenkins  889 Jun 21 04:17 git-submodule-bump
-rw-r--r--  1 jenkins jenkins 4568 Jun 21 04:17 init.sh
-rw-r--r--  1 jenkins jenkins 1059 Jun 21 04:17 LICENSE
drwxr-xr-x  8 jenkins jenkins 4096 Jun 20 16:44 meta-browser
drwxr-xr-x  9 jenkins jenkins 4096 Jun 20 16:44 meta-erlang
drwxr-xr-x 11 jenkins jenkins 4096 Jun 20 16:44 meta-flatpak
drwxr-xr-x 13 jenkins jenkins 4096 Jun 21 04:17 meta-genivi-dev
drwxr-xr-x  9 jenkins jenkins 4096 Jun 20 16:44 meta-gplv2
drwxr-xr-x  2 jenkins jenkins 4096 Jun 21 04:17 meta-intel
drwxr-xr-x  7 jenkins jenkins 4096 Jun 20 16:44 meta-iot-web
drwxr-xr-x  6 jenkins jenkins 4096 Jun 20 16:44 meta-ivi
drwxr-xr-x  2 jenkins jenkins 4096 Jun 21 04:17 meta-ivi-renesas
drwxr-xr-x  2 jenkins jenkins 4096 Jun 21 04:17 meta-linaro
drwxr-xr-x  6 jenkins jenkins 4096 Jun 20 16:44 meta-oic
drwxr-xr-x 17 jenkins jenkins 4096 Jun 20 16:44 meta-openembedded
drwxr-xr-x  2 jenkins jenkins 4096 Jun 21 04:17 meta-qcom
drwxr-xr-x  9 jenkins jenkins 4096 Jun 20 16:44 meta-qt5
drwxr-xr-x 15 jenkins jenkins 4096 Jun 20 16:44 meta-raspberrypi
drwxr-xr-x  2 jenkins jenkins 4096 Jun 21 04:17 meta-renesas
drwxr-xr-x  2 jenkins jenkins 4096 Jun 21 04:17 meta-renesas-rcar-gen2
drwxr-xr-x  5 jenkins jenkins 4096 Jun 20 16:44 meta-rvi
drwxr-xr-x  6 jenkins jenkins 4096 Jun 20 16:44 meta-sdl
drwxr-xr-x 11 jenkins jenkins 4096 Jun 20 16:45 poky
-rw-r--r--  1 jenkins jenkins 2713 Jun 21 04:17 README.md
drwxr-xr-x  2 jenkins jenkins 4096 Jun 21 04:17 scripts
+ ls -la gdp-src-build/
total 64
drwxr-xr-x   8 jenkins jenkins  4096 Jun 21 12:36 .
drwxr-xr-x  25 jenkins jenkins  4096 Jun 21 04:17 ..
-rw-r--r--   1 jenkins jenkins     0 Jun 21 04:17 bitbake.lock
drwxr-xr-x   3 jenkins jenkins  4096 Jun 21 12:36 buildhistory
drwxr-xr-x   2 jenkins jenkins  4096 Jun 21 04:26 cache
drwxr-xr-x   3 jenkins jenkins  4096 Jun 21 04:17 conf
drwxr-xr-x   3 jenkins jenkins 32768 Jun 21 05:09 downloads
drwxr-xr-x 259 jenkins jenkins  4096 Jun 21 05:11 sstate-cache
drwxr-xr-x  14 jenkins jenkins  4096 Jun 21 05:10 tmp
+ ls -la gdp-src-build/tmp/
total 244
drwxr-xr-x 14 jenkins jenkins   4096 Jun 21 05:10 .
drwxr-xr-x  8 jenkins jenkins   4096 Jun 21 12:36 ..
-rw-r--r--  1 jenkins jenkins      2 Jun 21 04:17 abi_version
drwxr-xr-x  3 jenkins jenkins   4096 Jun 21 04:19 buildstats
drwxr-xr-x  3 jenkins jenkins   4096 Jun 21 04:17 cache
drwxr-xr-x  5 jenkins jenkins   4096 Jun 21 05:36 deploy
drwxr-xr-x  2 jenkins jenkins   4096 Jun 21 04:17 hosttools
drwxr-xr-x  3 jenkins jenkins   4096 Jun 21 04:17 log
drwxr-xr-x  3 jenkins jenkins   4096 Jun 21 04:47 pkgdata
-rw-r--r--  1 jenkins jenkins   1740 Jun 21 05:11 qa.log
-rw-r--r--  1 jenkins jenkins    126 Jun 21 04:17 saved_tmpdir
drwxr-xr-x  2 jenkins jenkins 180224 Jun 21 12:38 sstate-control
drwxr-xr-x  7 jenkins jenkins   4096 Jun 21 04:19 stamps
drwxr-xr-x  2 jenkins jenkins   4096 Jun 21 12:28 sysroots
drwxr-xr-x  7 jenkins jenkins   4096 Jun 21 04:56 sysroots-components
drwxr-xr-x  6 jenkins jenkins   4096 Jun 20 17:17 work
drwxr-xr-x  4 jenkins jenkins   4096 Jun 21 04:19 work-shared
+ ls -la gdp-src-build/tmp/deploy/
total 36
drwxr-xr-x   5 jenkins jenkins  4096 Jun 21 05:36 .
drwxr-xr-x  14 jenkins jenkins  4096 Jun 21 05:10 ..
drwxr-xr-x   3 jenkins jenkins  4096 Jun 21 05:36 images
drwxr-xr-x   5 jenkins jenkins  4096 Jun 21 12:33 ipk
drwxr-xr-x 413 jenkins jenkins 20480 Jun 21 12:36 licenses
+ ls -la gdp-src-build/tmp/deploy/images/
total 12
drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 05:36 .
drwxr-xr-x 5 jenkins jenkins 4096 Jun 21 05:36 ..
drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 12:38 raspberrypi3
+ ls -la gdp-src-build/tmp/deploy/images/raspberrypi3/
total 2851356
drwxr-xr-x 3 jenkins jenkins       4096 Jun 21 12:38 .
drwxr-xr-x 3 jenkins jenkins       4096 Jun 21 05:36 ..
drwxr-xr-x 2 jenkins jenkins       4096 Jun 21 09:01 bcm2835-bootfiles
-rw-r--r-- 2 jenkins jenkins 1413480448 Jun 21 12:37 genivi-dev-platform-raspberrypi3-20180621041907.rootfs.ext3
-rw-r--r-- 2 jenkins jenkins     146982 Jun 21 12:36 genivi-dev-platform-raspberrypi3-20180621041907.rootfs.manifest
-rw-r--r-- 2 jenkins jenkins 1459617792 Jun 21 12:37 genivi-dev-platform-raspberrypi3-20180621041907.rootfs.rpi-sdimg
-rw-r--r-- 2 jenkins jenkins  299143605 Jun 21 12:36 genivi-dev-platform-raspberrypi3-20180621041907.rootfs.tar.bz2
-rw-r--r-- 1 jenkins jenkins     155999 Jun 21 12:36 genivi-dev-platform-raspberrypi3-20180621041907.testdata.json
lrwxrwxrwx 2 jenkins jenkins         59 Jun 21 12:37 genivi-dev-platform-raspberrypi3.ext3 -> genivi-dev-platform-raspberrypi3-20180621041907.rootfs.ext3
lrwxrwxrwx 2 jenkins jenkins         63 Jun 21 12:36 genivi-dev-platform-raspberrypi3.manifest -> genivi-dev-platform-raspberrypi3-20180621041907.rootfs.manifest
lrwxrwxrwx 2 jenkins jenkins         64 Jun 21 12:37 genivi-dev-platform-raspberrypi3.rpi-sdimg -> genivi-dev-platform-raspberrypi3-20180621041907.rootfs.rpi-sdimg
lrwxrwxrwx 2 jenkins jenkins         62 Jun 21 12:37 genivi-dev-platform-raspberrypi3.tar.bz2 -> genivi-dev-platform-raspberrypi3-20180621041907.rootfs.tar.bz2
lrwxrwxrwx 1 jenkins jenkins         61 Jun 21 12:36 genivi-dev-platform-raspberrypi3.testdata.json -> genivi-dev-platform-raspberrypi3-20180621041907.testdata.json
lrwxrwxrwx 2 jenkins jenkins         65 Jun 21 05:35 Image -> Image-1-4.9.27+git0+9a5f215eda-r0-raspberrypi3-20180621041907.bin
-rw-r--r-- 2 jenkins jenkins      15660 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-bcm2708-rpi-0-w-20180621041907.dtb
-rw-r--r-- 2 jenkins jenkins      15197 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-bcm2708-rpi-b-20180621041907.dtb
-rw-r--r-- 2 jenkins jenkins      15456 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-bcm2708-rpi-b-plus-20180621041907.dtb
-rw-r--r-- 2 jenkins jenkins      14916 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-bcm2708-rpi-cm-20180621041907.dtb
-rw-r--r-- 2 jenkins jenkins      16523 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-bcm2709-rpi-2-b-20180621041907.dtb
-rw-r--r-- 2 jenkins jenkins      17624 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-bcm2710-rpi-3-b-20180621041907.dtb
-rw-r--r-- 2 jenkins jenkins      16380 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-bcm2710-rpi-cm3-20180621041907.dtb
-rw-r--r-- 2 jenkins jenkins        779 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-hifiberry-amp-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins        655 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-hifiberry-dac-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1693 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-hifiberry-dacplus-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins        959 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-hifiberry-digi-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       2590 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-i2c-rtc-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1272 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-iqaudio-dac-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1511 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-iqaudio-dacplus-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1348 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-lirc-rpi-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins        818 Jun 21 05:36 Image-1-4.9.27+git0+9a5f215eda-r0-pi3-disable-bt-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1105 Jun 21 05:36 Image-1-4.9.27+git0+9a5f215eda-r0-pi3-miniuart-bt-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1544 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-pitft22-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       2802 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-pitft28-resistive-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       2802 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-pitft35-resistive-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1043 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-pps-gpio-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins   13053952 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-raspberrypi3-20180621041907.bin
-rw-r--r-- 2 jenkins jenkins        462 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-rpi-ft5406-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       3132 Jun 21 05:36 Image-1-4.9.27+git0+9a5f215eda-r0-vc4-kms-v3d-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1116 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-w1-gpio-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins       1251 Jun 21 05:35 Image-1-4.9.27+git0+9a5f215eda-r0-w1-gpio-pullup-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         68 Jun 21 05:35 Image-bcm2708-rpi-0-w.dtb -> Image-1-4.9.27+git0+9a5f215eda-r0-bcm2708-rpi-0-w-20180621041907.dtb
lrwxrwxrwx 2 jenkins jenkins         66 Jun 21 05:35 Image-bcm2708-rpi-b.dtb -> Image-1-4.9.27+git0+9a5f215eda-r0-bcm2708-rpi-b-20180621041907.dtb
lrwxrwxrwx 2 jenkins jenkins         71 Jun 21 05:35 Image-bcm2708-rpi-b-plus.dtb -> Image-1-4.9.27+git0+9a5f215eda-r0-bcm2708-rpi-b-plus-20180621041907.dtb
lrwxrwxrwx 2 jenkins jenkins         67 Jun 21 05:35 Image-bcm2708-rpi-cm.dtb -> Image-1-4.9.27+git0+9a5f215eda-r0-bcm2708-rpi-cm-20180621041907.dtb
lrwxrwxrwx 2 jenkins jenkins         68 Jun 21 05:35 Image-bcm2709-rpi-2-b.dtb -> Image-1-4.9.27+git0+9a5f215eda-r0-bcm2709-rpi-2-b-20180621041907.dtb
lrwxrwxrwx 2 jenkins jenkins         68 Jun 21 05:35 Image-bcm2710-rpi-3-b.dtb -> Image-1-4.9.27+git0+9a5f215eda-r0-bcm2710-rpi-3-b-20180621041907.dtb
lrwxrwxrwx 2 jenkins jenkins         68 Jun 21 05:35 Image-bcm2710-rpi-cm3.dtb -> Image-1-4.9.27+git0+9a5f215eda-r0-bcm2710-rpi-cm3-20180621041907.dtb
lrwxrwxrwx 2 jenkins jenkins         67 Jun 21 05:35 Image-hifiberry-amp.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-hifiberry-amp-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         67 Jun 21 05:35 Image-hifiberry-dac.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-hifiberry-dac-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         71 Jun 21 05:35 Image-hifiberry-dacplus.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-hifiberry-dacplus-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         68 Jun 21 05:35 Image-hifiberry-digi.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-hifiberry-digi-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         61 Jun 21 05:35 Image-i2c-rtc.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-i2c-rtc-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         65 Jun 21 05:35 Image-iqaudio-dac.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-iqaudio-dac-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         69 Jun 21 05:35 Image-iqaudio-dacplus.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-iqaudio-dacplus-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         62 Jun 21 05:35 Image-lirc-rpi.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-lirc-rpi-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         68 Jun 21 05:36 Image-pi3-disable-bt.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-pi3-disable-bt-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         69 Jun 21 05:36 Image-pi3-miniuart-bt.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-pi3-miniuart-bt-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         61 Jun 21 05:35 Image-pitft22.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-pitft22-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         71 Jun 21 05:35 Image-pitft28-resistive.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-pitft28-resistive-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         71 Jun 21 05:35 Image-pitft35-resistive.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-pitft35-resistive-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         62 Jun 21 05:35 Image-pps-gpio.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-pps-gpio-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         65 Jun 21 05:35 Image-raspberrypi3.bin -> Image-1-4.9.27+git0+9a5f215eda-r0-raspberrypi3-20180621041907.bin
lrwxrwxrwx 2 jenkins jenkins         64 Jun 21 05:35 Image-rpi-ft5406.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-rpi-ft5406-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         65 Jun 21 05:36 Image-vc4-kms-v3d.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-vc4-kms-v3d-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         61 Jun 21 05:35 Image-w1-gpio.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-w1-gpio-20180621041907.dtbo
lrwxrwxrwx 2 jenkins jenkins         68 Jun 21 05:35 Image-w1-gpio-pullup.dtbo -> Image-1-4.9.27+git0+9a5f215eda-r0-w1-gpio-pullup-20180621041907.dtbo
-rw-r--r-- 2 jenkins jenkins   17248986 Jun 21 05:35 modules-1-4.9.27+git0+9a5f215eda-r0-raspberrypi3-20180621041907.tgz
lrwxrwxrwx 2 jenkins jenkins         67 Jun 21 05:35 modules-raspberrypi3.tgz -> modules-1-4.9.27+git0+9a5f215eda-r0-raspberrypi3-20180621041907.tgz
[Pipeline] archive
The archive step is deprecated, please use archiveArtifacts instead."
[Pipeline] archive
The archive step is deprecated, please use archiveArtifacts instead."
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 d7bdd268fe3257a0bbecb0124b07df85f26e055f7ca4dd2959db8f81320ce8bd
$ docker rm -f d7bdd268fe3257a0bbecb0124b07df85f26e055f7ca4dd2959db8f81320ce8bd
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

Finished: SUCCESS
screenshot 2018-06-21 17 21 54
gmacario commented 6 years ago

Merged most of the patches developed during the Jenkins and Java10 online hackathon.

Remaining patches to rebase myjenkins on java10 saved in https://github.com/gmacario/easy-jenkins/tree/feature/test-java10