Triggered by Gerrit: https://git.eclipse.org/r/c/tracecompass/tracecompass-test-traces/+/193332 Running as SYSTEM Agent basic-q7d2t is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-q7d2t" namespace: "tracecompass" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.tracecompass.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-q7d2t" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -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-q7d2t" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.tracecompass.svc.cluster.local/tracecompass/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13.3" imagePullPolicy: "Always" name: "jnlp" resources: limits: cpu: "2000m" memory: "4096Mi" requests: cpu: "1000m" memory: "4096Mi" tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - 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/.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 subPath: "" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-tracecompass" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-q7d2t (basic) in workspace /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://git.eclipse.org/r/tracecompass/tracecompass-test-traces.git > git init /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit # timeout=10 Fetching upstream changes from https://git.eclipse.org/r/tracecompass/tracecompass-test-traces.git > git --version # timeout=10 > git --version # 'git version 2.20.1' > git fetch --tags --force --progress -- https://git.eclipse.org/r/tracecompass/tracecompass-test-traces.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://git.eclipse.org/r/tracecompass/tracecompass-test-traces.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://git.eclipse.org/r/tracecompass/tracecompass-test-traces.git # timeout=10 Fetching upstream changes from https://git.eclipse.org/r/tracecompass/tracecompass-test-traces.git > git fetch --tags --force --progress -- https://git.eclipse.org/r/tracecompass/tracecompass-test-traces.git refs/changes/*:refs/changes/* # timeout=10 > git rev-parse refs/remotes/origin/refs/changes/32/193332/2^{commit} # timeout=10 > git rev-parse refs/changes/32/193332/2^{commit} # timeout=10 Checking out Revision 75333fc6f29eda29dba46b8b02ad13f443430d79 (refs/changes/32/193332/2) > git config core.sparsecheckout # timeout=10 > git checkout -f 75333fc6f29eda29dba46b8b02ad13f443430d79 # timeout=10 Commit message: "Add an OTF2 trace with counters" First time build. Skipping changelog. [tracecompass-test-traces-gerrit] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -DGERRIT_BRANCH=master -DGERRIT_PATCHSET_REVISION=75333fc6f29eda29dba46b8b02ad13f443430d79 -DGERRIT_HOST=gerrit-local -DGERRIT_CHANGE_OWNER_EMAIL=yoann.heitz@polymtl.ca "-DGERRIT_EVENT_ACCOUNT_NAME=Arnaud Fiorini" -DGERRIT_CHANGE_URL=https://git.eclipse.org/r/c/tracecompass/tracecompass-test-traces/+/193332 -DGERRIT_PATCHSET_UPLOADER_EMAIL=fiorini.arnaud@gmail.com -DGERRIT_EVENT_TYPE=patchset-created -DGERRIT_PROJECT=tracecompass/tracecompass-test-traces -DGERRIT_CHANGE_NUMBER=193332 -DGERRIT_SCHEME=ssh '-DGERRIT_PATCHSET_UPLOADER=\"Arnaud Fiorini\" ' -DGERRIT_PORT=29418 -DGERRIT_CHANGE_PRIVATE_STATE=false -DGERRIT_REFSPEC=refs/changes/32/193332/2 "-DGERRIT_PATCHSET_UPLOADER_NAME=Arnaud Fiorini" '-DGERRIT_CHANGE_OWNER=\"Yoann Heitz\" ' -DGERRIT_CHANGE_COMMIT_MESSAGE=QWRkIGFuIE9URjIgdHJhY2Ugd2l0aCBjb3VudGVycwoKQWRkZWQgYW4gT1RGMiB0cmFjZSB3aXRoIDIgUEFQSSBjb3VudGVycy4gVGhpcyBjYW4gYmUgdXNlZCB0byB0ZXN0IHRoZQpjb3VudGVyIGFuYWx5c2lzIGluIHRoZSBPVEYyIHBsdWdpbi4gVGhlIHRyYWNlciBpcyBTY29yZS1QIDcuMS4KClNpZ25lZC1vZmYtYnk6IHlvYW5uLWhlaXR6IDx5b2Fubi5oZWl0ekBwb2x5bXRsLmNhPgpDaGFuZ2UtSWQ6IEllODY5ODdlMzU2ODBiYjNlNThjMTM2ZDQxNTljMTMwNzViZTNmNGFkCg== "-DGERRIT_NAME=Eclipse Gerrit" -DGERRIT_TOPIC= "-DGERRIT_CHANGE_SUBJECT=Add an OTF2 trace with counters" '-DGERRIT_EVENT_ACCOUNT=\"Arnaud Fiorini\" ' -DGERRIT_CHANGE_WIP_STATE=false -DGERRIT_CHANGE_ID=Ie86987e35680bb3e58c136d4159c13075be3f4ad -DGERRIT_EVENT_HASH=436319978 -DGERRIT_VERSION=3.5.1 -DGERRIT_EVENT_ACCOUNT_EMAIL=fiorini.arnaud@gmail.com -DGERRIT_PATCHSET_NUMBER=2 "-DGERRIT_CHANGE_OWNER_NAME=Yoann Heitz" -Dmaven.repo.local=/home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/.repository clean install Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) Maven home: /opt/tools/apache-maven/latest Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: /opt/tools/java/oracle/jdk-8/1.8.0_202/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.14.14-200.fc34.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.tracecompass.testtraces:tracecompass-test-traces-ctf:jar:1.10.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for junit:junit:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 43, column 16 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.tracecompass.testtraces:tracecompass-test-traces-ftrace:jar:1.10.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for junit:junit:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 43, column 16 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [WARNING] The project org.eclipse.tracecompass.testtraces:tracecompass-test-traces-parent:pom:1.10.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] tracecompass-test-traces-parent [pom] [INFO] tracecompass-test-traces-ctf [jar] [INFO] tracecompass-test-traces-ftrace [jar] [INFO] tracecompass-test-traces-update-site [pom] [INFO] [INFO] --< org.eclipse.tracecompass.testtraces:tracecompass-test-traces-parent >-- [INFO] Building tracecompass-test-traces-parent 1.10.0-SNAPSHOT [1/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ tracecompass-test-traces-parent --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ tracecompass-test-traces-parent --- [INFO] Installing /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/pom.xml to /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/.repository/org/eclipse/tracecompass/testtraces/tracecompass-test-traces-parent/1.10.0-SNAPSHOT/tracecompass-test-traces-parent-1.10.0-SNAPSHOT.pom [INFO] [INFO] --< org.eclipse.tracecompass.testtraces:tracecompass-test-traces-ctf >-- [INFO] Building tracecompass-test-traces-ctf 1.10.0-SNAPSHOT [2/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ tracecompass-test-traces-ctf --- [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ tracecompass-test-traces-ctf --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 2324 resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ tracecompass-test-traces-ctf --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,5] invalid method declaration; return type required [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,10] illegal start of type [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,19] illegal start of type [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,26] illegal start of type [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,29] ';' expected [INFO] 5 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for tracecompass-test-traces-parent 1.10.0-SNAPSHOT: [INFO] [INFO] tracecompass-test-traces-parent .................... SUCCESS [ 3.160 s] [INFO] tracecompass-test-traces-ctf ....................... FAILURE [ 4.270 s] [INFO] tracecompass-test-traces-ftrace .................... SKIPPED [INFO] tracecompass-test-traces-update-site ............... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.807 s [INFO] Finished at: 2022-10-04T19:12:00Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project tracecompass-test-traces-ctf: Compilation failure: Compilation failure: [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,5] invalid method declaration; return type required [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,10] illegal start of type [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,19] illegal start of type [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,26] illegal start of type [ERROR] /home/jenkins/agent/workspace/tracecompass-test-traces-gerrit/ctf/src/main/java/org/eclipse/tracecompass/testtraces/ctf/CtfTestTrace.java:[484,29] ';' expected [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :tracecompass-test-traces-ctf Build step 'Invoke top-level Maven targets' marked build as failure Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? Finished: FAILURE