Push event to branch new-branch Started by GitLab push by Frederic Gurr Querying the current revision of branch new-branch... Current revision of branch new-branch is 847d2f0418bd2d0fa6c808420f1942e43b0aad4e Obtained Jenkinsfile from 847d2f0418bd2d0fa6c808420f1942e43b0aad4e Running in Durability level: PERFORMANCE_OPTIMIZED [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task ‘basic-zbhc4’ is offline; ‘fmlw3-ubuntu1804’ is reserved for jobs with matching label expression; ‘mac-tests2’ is reserved for jobs with matching label expression Agent basic-tp8js is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "" name: "basic-tp8js" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.cbi.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-tp8js" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dsun.zip.disableMemoryMapping=true\ \ -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-tp8js" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.3" imagePullPolicy: "Always" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false tty: true volumeMounts: - mountPath: "/home/jenkins/.gradle/daemon" name: "volume-6" readOnly: false - mountPath: "/home/jenkins/.gradle/caches" name: "volume-5" readOnly: false - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.gradle/gradle.properties" name: "gradle-secret-dir" readOnly: true subPath: "gradle.properties" - mountPath: "/home/jenkins/.gradle/workers" name: "volume-8" readOnly: false - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.gradle/native" name: "volume-7" readOnly: false - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false - mountPath: "/home/jenkins/.gradle/wrapper" name: "volume-9" readOnly: false - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-8" - emptyDir: medium: "" name: "volume-7" - emptyDir: medium: "" name: "volume-9" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" - emptyDir: medium: "" name: "volume-6" - emptyDir: medium: "" name: "volume-5" - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-cbi" readOnly: true - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - name: "gradle-secret-dir" secret: secretName: "gradle-secret-dir" Running on basic-tp8js in /home/jenkins/agent/workspace/b_MultibranchPipeline_new-branch [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.eclipse.org/fgurr/jenkins_gitlab_integration_test.git > git init /home/jenkins/agent/workspace/b_MultibranchPipeline_new-branch # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/fgurr/jenkins_gitlab_integration_test.git > git --version # timeout=10 > git --version # 'git version 2.26.2' > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/fgurr/jenkins_gitlab_integration_test.git +refs/heads/new-branch:refs/remotes/origin/new-branch # timeout=10 Avoid second fetch Checking out Revision 847d2f0418bd2d0fa6c808420f1942e43b0aad4e (new-branch) > git config remote.origin.url https://gitlab.eclipse.org/fgurr/jenkins_gitlab_integration_test.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/new-branch:refs/remotes/origin/new-branch # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 847d2f0418bd2d0fa6c808420f1942e43b0aad4e # timeout=10 Commit message: "Update README.md" First time build. Skipping changelog. [GitLab Pipeline Status] Notifying branch build status: RUNNING GitLab_MultibranchPipeline/new-branch: Build started... [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (build) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] sh + mvn clean verify -B Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 1.8.0_252, vendor: AdoptOpenJDK, runtime: /opt/tools/java/adoptopenjdk/hotspot-jdk-8/1.8.0_252-b09/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [INFO] [INFO] ---------------------------< foo.bar:gitlab >--------------------------- [INFO] Building gitlab 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ gitlab --- [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ gitlab --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/b_MultibranchPipeline_new-branch/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ gitlab --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/b_MultibranchPipeline_new-branch/target/classes [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ gitlab --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/b_MultibranchPipeline_new-branch/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ gitlab --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/b_MultibranchPipeline_new-branch/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ gitlab --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running foo.bar.AppTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s - in foo.bar.AppTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ gitlab --- [INFO] Building jar: /home/jenkins/agent/workspace/b_MultibranchPipeline_new-branch/target/gitlab-1.0-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.026 s [INFO] Finished at: 2020-09-23T16:09:47Z [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline [GitLab Pipeline Status] Notifying branch build status: SUCCESS GitLab_MultibranchPipeline/new-branch: This commit looks good [GitLab Pipeline Status] Notified Finished: SUCCESS