See 
<https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/master/550/display/redirect>

Changes:


------------------------------------------
Push event to branch master
Connecting to https://api.github.com using This is to connect to Brooklyn repos 
on GitHub
Obtained Jenkinsfile from e48b67e6dc31462c05042f75949f0dd1dce1e0f2
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘ubuntu’
Running on EC2 (ec2-Jenkins Ephemeral Node User-CLI) - Jenkins Ephemeral Node - 
ubuntu label (i-0db53cd708764716a) in 
/home/jenkins/workspace/Brooklyn_brooklyn-server_master
[Pipeline] {
[Pipeline] catchError
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone repository)
[Pipeline] checkout
The recommended git tool is: git
using credential Read only (Brooklyn repos)
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/apache/brooklyn-server.git
 > git init /home/jenkins/workspace/Brooklyn_brooklyn-server_master # timeout=10
Fetching upstream changes from https://github.com/apache/brooklyn-server.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials This is to connect to Brooklyn repos on 
GitHub
 > git fetch --no-tags --force --progress -- 
 > https://github.com/apache/brooklyn-server.git 
 > +refs/heads/master:refs/remotes/origin/master # timeout=10
Avoid second fetch
Checking out Revision e48b67e6dc31462c05042f75949f0dd1dce1e0f2 (master)
 > git config remote.origin.url https://github.com/apache/brooklyn-server.git # 
 > timeout=10
 > git config --add remote.origin.fetch 
 > +refs/heads/master:refs/remotes/origin/master # timeout=10
Commit message: "allow on_update_child, and accept numbers as entity id's"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e48b67e6dc31462c05042f75949f0dd1dce1e0f2 # timeout=10
 > git rev-list --no-walk b47cbd8107454373ca18002f1697b05a03fdeb52 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare environment)
[Pipeline] echo
Creating maven cache ...
[Pipeline] sh
+ mkdir -p /home/jenkins/workspace/Brooklyn_brooklyn-server_master/.m2
[Pipeline] sh
+ docker logout
Removing login credentials for https://index.docker.io/v1/
[Pipeline] echo
Building docker image for test environment ...
[Pipeline] echo
Using docker tag DOCKER_TAG=jenkins-Brooklyn-brooklyn-server-master-550
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker build -t brooklyn:jenkins-Brooklyn-brooklyn-server-master-550 .
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.03kB done
#1 DONE 0.1s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.1s

#3 [internal] load metadata for docker.io/library/maven:3.5.2-jdk-8-alpine
#3 DONE 0.4s

#4 [1/3] FROM 
docker.io/library/maven:3.5.2-jdk-8-alpine@sha256:7cebda60f8a541e1bf2330306d22f9786f989187f4ec96539d398a0d4dbfdadb
#4 DONE 0.0s

#5 [2/3] RUN apk add --no-cache git
#5 CACHED

#6 [3/3] RUN mkdir -p /var/maven/.m2/ && chmod -R 777 /var/maven/
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 writing image 
sha256:6e9aa868afb4d442373b1ec813f96951939e65fd3b51a61f5cffbf3181b38adf done
#7 naming to 
docker.io/library/brooklyn:jenkins-Brooklyn-brooklyn-server-master-550 0.0s done
#7 DONE 0.0s
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Run tests)
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . brooklyn:jenkins-Brooklyn-brooklyn-server-master-550
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
EC2 (ec2-Jenkins Ephemeral Node User-CLI) - Jenkins Ephemeral Node - ubuntu 
label (i-0db53cd708764716a) does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -i --name brooklyn-${DOCKER_TAG} -v 
${WORKSPACE}/.m2:/var/maven/.m2 --mount 
type=bind,source=${HOME}/.m2/settings.xml,target=/var/maven/.m2/settings.xml,readonly
 -v ${WORKSPACE}:/usr/build -w /usr/build -w 
/home/jenkins/workspace/Brooklyn_brooklyn-server_master -v 
/home/jenkins/workspace/Brooklyn_brooklyn-server_master:/home/jenkins/workspace/Brooklyn_brooklyn-server_master:rw,z
 -v 
/home/jenkins/workspace/Brooklyn_brooklyn-server_master@tmp:/home/jenkins/workspace/Brooklyn_brooklyn-server_master@tmp:rw,z
 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** brooklyn:jenkins-Brooklyn-brooklyn-server-master-550 cat
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 
4d98146e-edb5-4131-b3fd-6437c644e47d
java.io.IOException: Failed to run image 
'brooklyn:jenkins-Brooklyn-brooklyn-server-master-550'. Error: docker: Error 
response from daemon: invalid mount config for type "bind": bind source path 
does not exist: /home/jenkins/.m2/settings.xml.
See 'docker run --help'.
        at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.run(DockerClient.java:148)
        at 
org.jenkinsci.plugins.docker.workflow.WithContainerStep$Execution.start(WithContainerStep.java:200)
        at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:323)
        at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:196)
        at 
org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:124)
        at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47)
        at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
        at 
com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)
        at 
org.jenkinsci.plugins.workflow.cps.LoggingInvoker.methodCall(LoggingInvoker.java:105)
        at 
org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(Docker.groovy:140)
        at org.jenkinsci.plugins.docker.workflow.Docker.node(Docker.groovy:66)
        at 
org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(Docker.groovy:125)
        at WorkflowScript.run(WorkflowScript:50)
        at ___cps.transform___(Native Method)
        at 
com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:90)
        at 
com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:116)
        at 
com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:85)
        at jdk.internal.reflect.GeneratedMethodAccessor646.invoke(Unknown 
Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
        at com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:46)
        at com.cloudbees.groovy.cps.Next.step(Next.java:83)
        at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:152)
        at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:146)
        at 
org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136)
        at 
org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275)
        at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)
        at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
        at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:187)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:423)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:331)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:295)
        at 
org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:97)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)
        at 
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
        at 
jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at 
jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
[Pipeline] // catchError
[Pipeline] stage
[Pipeline] { (Publish test results)
[Pipeline] junit
Recording test results
[Checks API] No suitable checks publisher found.
[Pipeline] testNG
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: 
**/testng-results.xml
Did not find any matching files.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step

Reply via email to