Branch indexing 14:16:35 Connecting to https://api.github.com using GitHub bot (username/token) Obtained Jenkinsfile from 89df33a84955f070ac715b951dd6f44d4a4e5bed Loading library keyple-ops@master Examining eclipse/keyple-ops Attempting to resolve master as a branch Resolved master as branch master at revision 131a777426abaead71b88e18de9b6b42c01cba28 Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential github-bot Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/eclipse/keyple-ops.git > git init /var/jenkins/workspace/distributed-remote-java-api_main@libs/8b8c76ecf5b705d235204f66abff3df7c9e4b0256917d108ba08dc98b36618b9 # timeout=10 Fetching upstream changes from https://github.com/eclipse/keyple-ops.git > git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials GitHub bot (username/token) > git fetch --no-tags --force --progress -- https://github.com/eclipse/keyple-ops.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/eclipse/keyple-ops.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Avoid second fetch Checking out Revision 131a777426abaead71b88e18de9b6b42c01cba28 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 131a777426abaead71b88e18de9b6b42c01cba28 # timeout=10 Commit message: "docs: fix legal files" First time build. Skipping changelog. [Pipeline] Start of Pipeline [Pipeline] podTemplate [Pipeline] { [Pipeline] node Still waiting to schedule task All nodes of label ‘Keyple_keyple-distributed-remote-java-api_main_1-3bg11’ are offline Created Pod: kubernetes keyple/keyple-keyple-distributed-remote-java-api-main-1-3bg11-gg-c0j0w Agent keyple-keyple-distributed-remote-java-api-main-1-3bg11-gg-c0j0w is provisioned from template Keyple_keyple-distributed-remote-java-api_main_1-3bg11-ggpgl --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.keyple.svc.cluster.local/keyple/job/Keyple/job/keyple-distributed-remote-java-api/job/main/1/" runUrl: "job/Keyple/job/keyple-distributed-remote-java-api/job/main/1/" labels: jenkins: "slave" jenkins/label-digest: "271c8a6fa623844c9599a975b52cd9d69b05099c" jenkins/label: "Keyple_keyple-distributed-remote-java-api_main_1-3bg11" name: "keyple-keyple-distributed-remote-java-api-main-1-3bg11-gg-c0j0w" namespace: "keyple" spec: containers: - args: - "cat" command: - "/usr/local/bin/uid_entrypoint" image: "eclipsekeyple/java-builder:2.0.5" imagePullPolicy: "IfNotPresent" name: "java-builder" resources: limits: cpu: "2" memory: "4Gi" requests: cpu: "250m" memory: "1Gi" tty: true volumeMounts: - mountPath: "/home/jenkins/.ssh" name: "volume-known-hosts" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.keyple.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "keyple-keyple-distributed-remote-java-api-main-1-3bg11-gg-c0j0w" - name: "JENKINS_NAME" value: "keyple-keyple-distributed-remote-java-api-main-1-3bg11-gg-c0j0w" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.keyple.svc.cluster.local/keyple/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - emptyDir: medium: "" name: "workspace-volume" - configMap: name: "known-hosts" name: "volume-known-hosts" Running on keyple-keyple-distributed-remote-java-api-main-1-3bg11-gg-c0j0w in /home/jenkins/agent/workspace/distributed-remote-java-api_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential github-bot Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/eclipse-keyple/keyple-distributed-remote-java-api.git > git init /home/jenkins/agent/workspace/distributed-remote-java-api_main # timeout=10 Fetching upstream changes from https://github.com/eclipse-keyple/keyple-distributed-remote-java-api.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub bot (username/token) > git fetch --no-tags --force --progress -- https://github.com/eclipse-keyple/keyple-distributed-remote-java-api.git +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config remote.origin.url https://github.com/eclipse-keyple/keyple-distributed-remote-java-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10 Avoid second fetch Checking out Revision 89df33a84955f070ac715b951dd6f44d4a4e5bed (main) > git config core.sparsecheckout # timeout=10 > git checkout -f 89df33a84955f070ac715b951dd6f44d4a4e5bed # timeout=10 Commit message: "build: prepare next release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Import keyring) Stage "Import keyring" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare settings) [Pipeline] container [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh + grep version gradle.properties + cut -d= -f2 + tr -d [:space:] [Pipeline] sh + git log --format=%B -1 + head -1 + tr -d [Pipeline] echo Building version 3.0.1 in branch main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Check version) [Pipeline] container [Pipeline] { [Pipeline] sh + ./scripts/check_version.sh 3.0.1 Input version : '3.0.1' Fetch tags... From https://github.com/eclipse-keyple/keyple-distributed-remote-java-api * [new tag] 2.0-rc1 -> 2.0-rc1 * [new tag] 2.0-rc2 -> 2.0-rc2 * [new tag] 2.0.0 -> 2.0.0 * [new tag] 2.0.0-rc3 -> 2.0.0-rc3 * [new tag] 2.0.0-rc4 -> 2.0.0-rc4 * [new tag] 2.1.0 -> 2.1.0 * [new tag] 3.0.0 -> 3.0.0 [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build and Test) [Pipeline] container [Pipeline] { [Pipeline] sh + ./gradlew clean build test --no-build-cache --info --stacktrace Initialized native services in: /home/jenkins/.gradle/native Removing 0 daemon stop events from registry Starting a Gradle Daemon (subsequent builds will be faster) Starting process 'Gradle build daemon'. Working directory: /home/jenkins/.gradle/daemon/6.8.3 Command: /usr/local/openjdk-11/bin/java --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /home/jenkins/.gradle/wrapper/dists/gradle-6.8.3-bin/7ykxq50lst7lb7wx1nijpicxn/gradle-6.8.3/lib/gradle-launcher-6.8.3.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.8.3 Successfully started process 'Gradle build daemon' An attempt to start the daemon took 0.883 secs. The client will now receive all logging from the daemon (pid: 112). The daemon log file: /home/jenkins/.gradle/daemon/6.8.3/daemon-112.out.log Starting build in new daemon [memory: 512 MiB] Closing daemon's stdin at end of input. The daemon will no longer process any standard input. Using 2 worker leases. Watching the file system is disabled Starting Build Kotlin DSL script compilation (Settings/TopLevel/stage1) is not up-to-date because: No history is available. Settings evaluated using settings file '/home/jenkins/agent/workspace/distributed-remote-java-api_main/settings.gradle.kts'. Projects loaded. Root project using build file '/home/jenkins/agent/workspace/distributed-remote-java-api_main/build.gradle.kts'. Included projects: [root project 'keyple-distributed-remote-java-api'] > Configure project : Evaluating root project 'keyple-distributed-remote-java-api' using build file '/home/jenkins/agent/workspace/distributed-remote-java-api_main/build.gradle.kts'. Caching disabled for Kotlin DSL plugin accessors for classpath '5dc078143489e43a28fa5f8df9efc9c2' because: Build cache is disabled Skipping Kotlin DSL plugin accessors for classpath '5dc078143489e43a28fa5f8df9efc9c2' as it is up-to-date. Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage1) because: Build cache is disabled Kotlin DSL script compilation (Project/TopLevel/stage1) is not up-to-date because: No history is available. Downloading https://repo.eclipse.org/service/local/repositories/maven_central/content/org/eclipse/keyple/keyple-gradle/maven-metadata.xml to /tmp/gradle_download14965295793508289068bin Downloading https://repo.eclipse.org/service/local/repositories/maven_central/content/org/eclipse/keyple/keyple-gradle/0.2.17/keyple-gradle-0.2.17.pom to /tmp/gradle_download10993038778750676380bin Downloading https://repo.eclipse.org/service/local/repositories/maven_central/content/org/eclipse/keyple/keyple-gradle/0.2.17/keyple-gradle-0.2.17.module to /tmp/gradle_download11260618870235749642bin Downloading https://repo.maven.apache.org/maven2/org/eclipse/keyple/keyple-gradle/maven-metadata.xml to /tmp/gradle_download1750195490785477997bin Found locally available resource with matching checksum: [https://repo.maven.apache.org/maven2/org/eclipse/keyple/keyple-gradle/0.2.17/keyple-gradle-0.2.17.pom, /home/jenkins/.gradle/caches/modules-2/files-2.1/org.eclipse.keyple/keyple-gradle/0.2.17/318793688d103889e1258d05e96c4ea82f5ae19d/keyple-gradle-0.2.17.pom] Found locally available resource with matching checksum: [https://repo.maven.apache.org/maven2/org/eclipse/keyple/keyple-gradle/0.2.17/keyple-gradle-0.2.17.module, /home/jenkins/.gradle/caches/modules-2/files-2.1/org.eclipse.keyple/keyple-gradle/0.2.17/6e045de58558d364ad26fc67304fa4ef03cdad9d/keyple-gradle-0.2.17.module] Downloading https://plugins.gradle.org/m2/org/eclipse/keyple/keyple-gradle/maven-metadata.xml to /tmp/gradle_download16855010020636814887bin Found locally available resource with matching checksum: [https://plugins.gradle.org/m2/org/eclipse/keyple/keyple-gradle/0.2.17/keyple-gradle-0.2.17.pom, /home/jenkins/.gradle/caches/modules-2/files-2.1/org.eclipse.keyple/keyple-gradle/0.2.17/318793688d103889e1258d05e96c4ea82f5ae19d/keyple-gradle-0.2.17.pom] Found locally available resource with matching checksum: [https://plugins.gradle.org/m2/org/eclipse/keyple/keyple-gradle/0.2.17/keyple-gradle-0.2.17.module, /home/jenkins/.gradle/caches/modules-2/files-2.1/org.eclipse.keyple/keyple-gradle/0.2.17/6e045de58558d364ad26fc67304fa4ef03cdad9d/keyple-gradle-0.2.17.module] Downloading https://repo.eclipse.org/service/local/repositories/maven_central/content/org/eclipse/keyple/keyple-gradle/0.2.17/keyple-gradle-0.2.17.jar to /tmp/gradle_download8558193809169339095bin Caching disabled for Kotlin DSL accessors for root project 'keyple-distributed-remote-java-api' because: Build cache is disabled Kotlin DSL accessors for root project 'keyple-distributed-remote-java-api' is not up-to-date because: No history is available. Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage2) because: Build cache is disabled Kotlin DSL script compilation (Project/TopLevel/stage2) is not up-to-date because: No history is available. Using Keyple Gradle 0.2.17 for root project 'keyple-distributed-remote-java-api'. Creating licenseHeader in: /home/jenkins/agent/workspace/distributed-remote-java-api_main/LICENSE_HEADER Creating licenseHeader in: /home/jenkins/agent/workspace/distributed-remote-java-api_main/LICENSE_HEADER Compiling Java 1.6 to Java 1.6. All projects evaluated. Selected primary task 'clean' from project : Selected primary task 'build' from project : Selected primary task 'test' from project : Tasks to be executed: [task ':clean', task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':javadoc', task ':javadocJar', task ':sourcesJar', task ':assemble', task ':spotlessJava', task ':spotlessJavaCheck', task ':spotlessCheck', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':check', task ':build', task ':jacocoTestReport'] Tasks that were excluded: [] :clean (Thread[Daemon worker,5,main]) started. > Task :clean Caching disabled for task ':clean' because: Build cache is disabled Task ':clean' is not up-to-date because: Task has not declared any outputs despite executing actions. :clean (Thread[Daemon worker,5,main]) completed. Took 0.053 secs. :compileJava (Thread[Daemon worker,5,main]) started. > Task :compileJava Caching disabled for task ':compileJava' because: Build cache is disabled Task ':compileJava' is not up-to-date because: No history is available. The input changes require a full rebuild for incremental task ':compileJava'. Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments. Compiling with JDK Java compiler API. warning: [options] source value 6 is obsolete and will be removed in a future release warning: [options] target value 1.6 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings Created classpath snapshot for incremental compilation in 0.001 secs. :compileJava (Thread[Daemon worker,5,main]) completed. Took 0.614 secs. :processResources (Thread[Daemon worker,5,main]) started. > Task :processResources NO-SOURCE file or directory '/home/jenkins/agent/workspace/distributed-remote-java-api_main/src/main/resources', not found Skipping task ':processResources' as it has no source files and no previous output files. :processResources (Thread[Daemon worker,5,main]) completed. Took 0.003 secs. :classes (Thread[Daemon worker,5,main]) started. > Task :classes Skipping task ':classes' as it has no actions. :classes (Thread[Daemon worker,5,main]) completed. Took 0.0 secs. :jar (Thread[Daemon worker,5,main]) started. > Task :jar Caching disabled for task ':jar' because: Build cache is disabled Task ':jar' is not up-to-date because: No history is available. :jar (Thread[Daemon worker,5,main]) completed. Took 0.053 secs. :javadoc (Thread[Daemon worker,5,main]) started. > Task :javadoc Caching disabled for task ':javadoc' because: Build cache is disabled Task ':javadoc' is not up-to-date because: No history is available. Starting process 'command '/usr/local/openjdk-11/bin/javadoc''. Working directory: /home/jenkins/agent/workspace/distributed-remote-java-api_main Command: /usr/local/openjdk-11/bin/javadoc @/home/jenkins/agent/workspace/distributed-remote-java-api_main/build/tmp/javadoc/javadoc.options Successfully started process 'command '/usr/local/openjdk-11/bin/javadoc'' :javadoc (Thread[Daemon worker,5,main]) completed. Took 1.608 secs. :javadocJar (Thread[Daemon worker,5,main]) started. > Task :javadocJar Caching disabled for task ':javadocJar' because: Build cache is disabled Task ':javadocJar' is not up-to-date because: No history is available. :javadocJar (Thread[Daemon worker,5,main]) completed. Took 0.075 secs. :sourcesJar (Thread[Daemon worker,5,main]) started. > Task :sourcesJar file or directory '/home/jenkins/agent/workspace/distributed-remote-java-api_main/src/main/resources', not found Caching disabled for task ':sourcesJar' because: Build cache is disabled Task ':sourcesJar' is not up-to-date because: No history is available. file or directory '/home/jenkins/agent/workspace/distributed-remote-java-api_main/src/main/resources', not found :sourcesJar (Thread[Daemon worker,5,main]) completed. Took 0.008 secs. :assemble (Thread[Daemon worker,5,main]) started. > Task :assemble Skipping task ':assemble' as it has no actions. :assemble (Thread[Daemon worker,5,main]) completed. Took 0.0 secs. :spotlessJava (Thread[Daemon worker,5,main]) started. > Task :spotlessJava Caching disabled for task ':spotlessJava' because: Build cache is disabled Task ':spotlessJava' is not up-to-date because: No history is available. The input changes require a full rebuild for incremental task ':spotlessJava'. Not incremental: removing prior outputs :spotlessJava (Thread[Daemon worker,5,main]) completed. Took 0.491 secs. :spotlessJavaCheck (Thread[Daemon worker,5,main]) started. > Task :spotlessJavaCheck Caching disabled for task ':spotlessJavaCheck' because: Build cache is disabled Task ':spotlessJavaCheck' is not up-to-date because: Task has not declared any outputs despite executing actions. :spotlessJavaCheck (Thread[Daemon worker,5,main]) completed. Took 0.001 secs. :spotlessCheck (Thread[Daemon worker,5,main]) started. > Task :spotlessCheck Skipping task ':spotlessCheck' as it has no actions. :spotlessCheck (Thread[Daemon worker,5,main]) completed. Took 0.0 secs. :compileTestJava (Thread[Daemon worker,5,main]) started. > Task :compileTestJava Caching disabled for task ':compileTestJava' because: Build cache is disabled Task ':compileTestJava' is not up-to-date because: No history is available. The input changes require a full rebuild for incremental task ':compileTestJava'. Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments. Compiling with JDK Java compiler API. warning: [options] source value 6 is obsolete and will be removed in a future release warning: [options] target value 1.6 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings Created classpath snapshot for incremental compilation in 0.038 secs. :compileTestJava (Thread[Daemon worker,5,main]) completed. Took 0.237 secs. :processTestResources (Thread[Daemon worker,5,main]) started. > Task :processTestResources NO-SOURCE file or directory '/home/jenkins/agent/workspace/distributed-remote-java-api_main/src/test/resources', not found Skipping task ':processTestResources' as it has no source files and no previous output files. :processTestResources (Thread[Daemon worker,5,main]) completed. Took 0.0 secs. :testClasses (Thread[Daemon worker,5,main]) started. > Task :testClasses Skipping task ':testClasses' as it has no actions. :testClasses (Thread[Daemon worker,5,main]) completed. Took 0.0 secs. :test (Thread[Daemon worker,5,main]) started. Gradle Test Executor 1 started executing tests. Gradle Test Executor 1 finished executing tests. > Task :test Caching disabled for task ':test' because: Build cache is disabled Task ':test' is not up-to-date because: No history is available. Starting process 'Gradle Test Executor 1'. Working directory: /home/jenkins/agent/workspace/distributed-remote-java-api_main Command: /usr/local/openjdk-11/bin/java -Dorg.gradle.native=false -javaagent:build/tmp/expandedArchives/org.jacoco.agent-0.8.6.jar_a26f6511a7813217be4cd6439d66563b/jacocoagent.jar=destfile=build/jacoco/test.exec,append=true,inclnolocationclasses=false,dumponexit=true,output=file,jmx=false @/tmp/gradle-worker-classpath12740869712884451589txt -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -ea worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 1' Successfully started process 'Gradle Test Executor 1' Finished generating test XML results (0.01 secs) into: /home/jenkins/agent/workspace/distributed-remote-java-api_main/build/test-results/test Generating HTML test report... Finished generating test html results (0.018 secs) into: /home/jenkins/agent/workspace/distributed-remote-java-api_main/build/reports/tests/test :test (Thread[Daemon worker,5,main]) completed. Took 1.318 secs. :check (Thread[Daemon worker,5,main]) started. > Task :check Skipping task ':check' as it has no actions. :check (Thread[Daemon worker,5,main]) completed. Took 0.0 secs. :build (Thread[Daemon worker,5,main]) started. > Task :build Skipping task ':build' as it has no actions. :build (Thread[Daemon worker,5,main]) completed. Took 0.0 secs. :jacocoTestReport (Thread[Daemon worker,5,main]) started. > Task :jacocoTestReport Caching disabled for task ':jacocoTestReport' because: Build cache is disabled Task ':jacocoTestReport' is not up-to-date because: No history is available. [ant:jacocoReport] Loading execution data file /home/jenkins/agent/workspace/distributed-remote-java-api_main/build/jacoco/test.exec [ant:jacocoReport] Writing bundle 'keyple-distributed-remote-java-api' with 0 classes :jacocoTestReport (Thread[Daemon worker,5,main]) completed. Took 0.638 secs. BUILD SUCCESSFUL in 19s 11 actionable tasks: 11 executed java.io.IOException: Permission denied [Pipeline] junit Recording test results [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build and Publish Snapshot) Stage "Build and Publish Snapshot" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build and Publish Release) Stage "Build and Publish Release" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Update GitHub Pages) Stage "Update GitHub Pages" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Code Quality) Stage "Publish Code Quality" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish packaging to Eclipse) Stage "Publish packaging to Eclipse" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] container [Pipeline] { [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result Finished: SUCCESS