Started by upstream project "mail-build" build number 447 originally caused by: Started by an SCM change Started by user Dmitry Kornilov Started by upstream project "mail-build" build number 446 originally caused by: Started by an SCM change Running as Dmitry Kornilov Agent basic-sqnrd is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "" name: "basic-sqnrd" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.mail.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-sqnrd" - 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-sqnrd" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.mail.svc.cluster.local/mail/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.5" imagePullPolicy: "Always" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false 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 - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-mail" 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-sqnrd in workspace /home/jenkins/agent/workspace/mail-build-1.7+ [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... The recommended git tool is: git using credential github-bot-ssh Cloning the remote Git repository Cloning repository https://github.com/eclipse-ee4j/mail/ > git init /home/jenkins/agent/workspace/mail-build-1.7+ # timeout=10 Fetching upstream changes from https://github.com/eclipse-ee4j/mail/ > git --version # timeout=10 > git --version # 'git version 2.26.2' using GIT_SSH to set credentials GitHub bot SSH > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/mail/ +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/eclipse-ee4j/mail/ # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision de24775cd585dc6d65cb4d096f01b82b1a030c02 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f de24775cd585dc6d65cb4d096f01b82b1a030c02 # timeout=10 Commit message: "fix mailing list reference, broken links" > git rev-list --no-walk fdad7f14004ace268f1115693189dc2495fff603 # timeout=10 [mail-build-1.7+] $ /bin/sh -xe /tmp/jenkins6123016025930082540.sh + gpg --batch --import **** gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: key 7E0DC505BB5D48AF: 1 signature not checked due to a missing key gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key 7E0DC505BB5D48AF: public key "Eclipse Project for JavaMail " imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key 7E0DC505BB5D48AF: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: no ultimately trusted keys found + gpg --list-keys --with-colons + awk -F: '/fpr:/ {print $10}' + sort -u + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key 485E371CB07EABE6D5778D4B0C27E8FAC93B3B19 trust Secret subkeys are available. pub rsa4096/7E0DC505BB5D48AF created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/0C27E8FAC93B3B19 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for JavaMail pub rsa4096/7E0DC505BB5D48AF created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/0C27E8FAC93B3B19 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for JavaMail Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/7E0DC505BB5D48AF created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/0C27E8FAC93B3B19 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for JavaMail Please note that the shown key validity is not necessarily correct unless you restart the program. + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key 9D58EA982B3FB7BB8A9488F47E0DC505BB5D48AF trust Secret subkeys are available. gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: next trustdb check due at 2023-10-02 pub rsa4096/7E0DC505BB5D48AF created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/0C27E8FAC93B3B19 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for JavaMail pub rsa4096/7E0DC505BB5D48AF created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/0C27E8FAC93B3B19 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for JavaMail Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/7E0DC505BB5D48AF created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/0C27E8FAC93B3B19 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for JavaMail [mail-build-1.7+] $ /bin/sh -xe /tmp/jenkins6298631232563652882.sh + TOOLS_PREFIX=/opt/tools + JAVA_PREFIX=/opt/tools/java/oracle + MVN_HOME=/opt/tools/apache-maven/latest + JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest + PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:2.1.1 + STAGING= + export 'JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions' + mvnq -B -P1.7 -DskipTests '-Djavac.path=/opt/tools/java/oracle/jdk-7/latest/bin/javac' clean install + mvn -B -B -P1.7 -DskipTests '-Djavac.path=/opt/tools/java/oracle/jdk-7/latest/bin/javac' clean install + grep -v '^\[INFO\] Download' Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Jakarta Mail API distribution [pom] [INFO] Jakarta Mail API [jar] [INFO] Jakarta Mail API (no providers) [jar] [INFO] Jakarta Mail API jar [jar] [INFO] Jakarta Mail API parent-distrib provider [pom] [INFO] Jakarta Mail API smtp provider [jar] [INFO] Jakarta Mail API imap provider [jar] [INFO] Jakarta Mail API Gmail IMAP provider [jar] [INFO] Jakarta Mail API pop3 provider [jar] [INFO] Jakarta Mail API dsn support [jar] [INFO] Jakarta Mail API logging handler [jar] [INFO] [INFO] --------------------------< com.sun.mail:all >-------------------------- [INFO] Building Jakarta Mail API distribution 2.0.1-SNAPSHOT [1/11] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ all --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-version) @ all --- [INFO] [INFO] --- osgiversion-maven-plugin:2.0.0:compute-osgi-version (compute-osgi-version) @ all --- [INFO] [INFO] --- directory-maven-plugin:0.3.1:highest-basedir (directories) @ all --- [INFO] Highest basedir set to: /home/jenkins/agent/workspace/mail-build-1.7+ [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:add-source (add-source) @ all --- [INFO] Source directory: /home/jenkins/agent/workspace/mail-build-1.7+/target/generated-sources/sources added. [INFO] Source directory: /home/jenkins/agent/workspace/mail-build-1.7+/target/generated-sources/version added. [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:add-resource (add-resource) @ all --- [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (base-compile-7) @ all --- [INFO] No sources to compile [INFO] [INFO] --- maven-bundle-plugin:5.1.1:manifest (osgi-manifest) @ all --- [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle] [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ all --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ all --- [INFO] Installing /home/jenkins/agent/workspace/mail-build-1.7+/pom.xml to /home/jenkins/.m2/repository/com/sun/mail/all/2.0.1-SNAPSHOT/all-2.0.1-SNAPSHOT.pom [INFO] [INFO] ---------------------< com.sun.mail:jakarta.mail >---------------------- [INFO] Building Jakarta Mail API 2.0.1-SNAPSHOT [2/11] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.mail --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-version) @ jakarta.mail --- [INFO] [INFO] --- osgiversion-maven-plugin:2.0.0:compute-osgi-version (compute-osgi-version) @ jakarta.mail --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-resources) @ jakarta.mail --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] Using 'iso-8859-1' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- directory-maven-plugin:0.3.1:highest-basedir (directories) @ jakarta.mail --- [INFO] Highest basedir set to: /home/jenkins/agent/workspace/mail-build-1.7+ [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:add-source (add-source) @ jakarta.mail --- [INFO] Source directory: /home/jenkins/agent/workspace/mail-build-1.7+/mail/target/generated-sources/sources added. [INFO] Source directory: /home/jenkins/agent/workspace/mail-build-1.7+/mail/target/generated-sources/version added. [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:add-resource (add-resource) @ jakarta.mail --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ jakarta.mail --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] Using 'iso-8859-1' encoding to copy filtered properties files. [INFO] Copying 9 resources [INFO] Copying 2 resources to META-INF [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/mail-build-1.7+/mail/target/generated-sources/sources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jakarta.mail --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 241 source files to /home/jenkins/agent/workspace/mail-build-1.7+/mail/target/classes [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Jakarta Mail API distribution 2.0.1-SNAPSHOT: [INFO] [INFO] Jakarta Mail API distribution ...................... SUCCESS [ 7.954 s] [INFO] Jakarta Mail API ................................... FAILURE [ 1.516 s] [INFO] Jakarta Mail API (no providers) .................... SKIPPED [INFO] Jakarta Mail API jar ............................... SKIPPED [INFO] Jakarta Mail API parent-distrib provider ........... SKIPPED [INFO] Jakarta Mail API smtp provider ..................... SKIPPED [INFO] Jakarta Mail API imap provider ..................... SKIPPED [INFO] Jakarta Mail API Gmail IMAP provider ............... SKIPPED [INFO] Jakarta Mail API pop3 provider ..................... SKIPPED [INFO] Jakarta Mail API dsn support ....................... SKIPPED [INFO] Jakarta Mail API logging handler ................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.999 s [INFO] Finished at: 2021-01-20T13:05:41Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jakarta.mail: Compilation failure -> [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 :jakarta.mail Finished: SUCCESS