You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2021/08/12 18:00:04 UTC

Build failed in Jenkins: PDFBox » PDFBox-sonar2 #525

See <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/525/display/redirect?page=changes>

Changes:

[Tilman Hausherr] PDFBOX-4892: Sonar fix


------------------------------------------
Started by user Tilman Hausherr
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H30 (ubuntu) in workspace <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/pdfbox
 > git init <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/pdfbox
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
 > git fetch --tags --progress -- https://github.com/apache/pdfbox +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/apache/pdfbox # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
Checking out Revision a445ea071eba97ec2d1bbd307a4a2d45874ed9ee (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a445ea071eba97ec2d1bbd307a4a2d45874ed9ee # timeout=10
Commit message: "PDFBOX-4892: Sonar fix"
 > git rev-list --no-walk 7109d748edcad33e2d990f80a2dee650be4958b1 # timeout=10
[EnvInject] - Mask passwords that will be passed as build parameters.
Parsing POMs
Established TCP socket on 46397
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[PDFBox-sonar2] $ /home/jenkins/tools/java/latest11/bin/java -cp /home/jenkins/jenkins-agent/maven35-agent.jar:/home/jenkins/tools/maven/apache-maven-3.6.3/boot/plexus-classworlds-2.6.0.jar:/home/jenkins/tools/maven/apache-maven-3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/apache-maven-3.6.3 /home/jenkins/jenkins-agent/slave.jar /home/jenkins/jenkins-agent/maven35-interceptor.jar /home/jenkins/jenkins-agent/maven3-interceptor-commons.jar 46397
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/pom.xml> verify sonar:sonar -Dsonar.projectKey=pdfbox-reactor -Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io -Dskip-bavaria=false -Dorg.apache.pdfbox.examples.pdmodel.tsa=http://time.certum.pl
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info[INFO] ------------------------------------------------------------------------

[INFO] Reactor Build Order:
[INFO] 
[INFO] PDFBox parent                                                      [pom]
[INFO] Apache FontBox                                                  [bundle]
[INFO] Apache XmpBox                                                   [bundle]
[INFO] Apache PDFBox                                                   [bundle]
[INFO] Apache Preflight                                                [bundle]
[INFO] Apache Preflight application                                    [bundle]
[INFO] Apache PDFBox Debugger                                             [jar]
[INFO] Apache PDFBox tools                                                [jar]
[INFO] Apache PDFBox application                                       [bundle]
[INFO] Apache PDFBox Debugger application                              [bundle]
[INFO] Apache PDFBox examples                                             [jar]
[INFO] Apache PDFBox                                                      [pom]
[INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/codehaus/mojo/maven-metadata.xml
[INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-metadata.xml
[INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-metadata.xml (8.5 kB at 12 kB/s)
[INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml
[INFO] 
[INFO] ------------------< org.apache.pdfbox:pdfbox-parent >-------------------
[INFO] Building PDFBox parent 3.0.0-SNAPSHOT                             [1/12]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (default) @ pdfbox-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ pdfbox-parent ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (default) @ pdfbox-parent ---
[INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=destfile=<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/parent/target/jacoco.exec>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ pdfbox-parent ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.6:report (report) @ pdfbox-parent ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.20:check (check-java-version) @ pdfbox-parent ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ pdfbox-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (attach-sources) > generate-sources @ pdfbox-parent >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (default) @ pdfbox-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ pdfbox-parent ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (default) @ pdfbox-parent ---
[INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=destfile=<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/parent/target/jacoco.exec>
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (attach-sources) < generate-sources @ pdfbox-parent <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (attach-sources) @ pdfbox-parent ---
[WARNING] Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] 
[INFO] ---------------------< org.apache.pdfbox:fontbox >----------------------
[INFO] Building Apache FontBox 3.0.0-SNAPSHOT                            [2/12]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (default) @ fontbox ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ fontbox ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (default) @ fontbox ---
[INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=destfile=<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/fontbox/target/jacoco.exec>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ fontbox ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO] Copying appended resource: META-INF/NOTICE
[INFO] Copying appended resource: META-INF/LICENSE
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ fontbox ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 93 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ fontbox ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 135 source files to <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/fontbox/target/classes>
[INFO] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/fontbox/src/main/java/org/apache/fontbox/cff/CFFFont.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/fontbox/src/main/java/org/apache/fontbox/cff/CFFFont.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- download-maven-plugin:1.6.0:wget (PDFBOX-4038) @ fontbox ---
[INFO] 
[INFO] --- download-maven-plugin:1.6.0:wget (PDFBOX-3997) @ fontbox ---
[INFO] 
[INFO] --- download-maven-plugin:1.6.0:wget (PDFBOX-3379) @ fontbox ---
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ fontbox ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 23 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ fontbox ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 30 source files to <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/fontbox/target/test-classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/fontbox/src/test/java/org/apache/fontbox/ttf/gsub/GSUBTablePrintUtil.java>:[25,30] org.apache.fontbox.ttf.GSUBTableDebugger is not public in org.apache.fontbox.ttf; cannot be accessed from outside package
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache PDFBox
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache PDFBox 3.0.0-SNAPSHOT:
[INFO] 
[INFO] PDFBox parent ...................................... SUCCESS [ 12.953 s]
[INFO] Apache FontBox ..................................... FAILURE [ 15.767 s]
[INFO] Apache XmpBox ...................................... SKIPPED
[INFO] Apache PDFBox ...................................... SKIPPED
[INFO] Apache Preflight ................................... SKIPPED
[INFO] Apache Preflight application ....................... SKIPPED
[INFO] Apache PDFBox Debugger ............................. SKIPPED
[INFO] Apache PDFBox tools ................................ SKIPPED
[INFO] Apache PDFBox application .......................... SKIPPED
[INFO] Apache PDFBox Debugger application ................. SKIPPED
[INFO] Apache PDFBox examples ............................. SKIPPED
[INFO] Apache PDFBox ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  56.626 s
[INFO] Finished at: 2021-08-12T17:59:49Z
[INFO] ------------------------------------------------------------------------
ERROR: Asynchronous execution failure
java.util.concurrent.ExecutionException: java.lang.NullPointerException
	at hudson.remoting.Channel$2.adapt(Channel.java:1039)
	at hudson.remoting.Channel$2.adapt(Channel.java:1033)
	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:144)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:375)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
	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:834)
Caused by: java.lang.NullPointerException
ERROR: Asynchronous execution failure
java.util.concurrent.ExecutionException: java.lang.NullPointerException
	at hudson.remoting.Channel$2.adapt(Channel.java:1039)
	at hudson.remoting.Channel$2.adapt(Channel.java:1033)
	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:144)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:375)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
	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:834)
Caused by: java.lang.NullPointerException
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project fontbox: Compilation failure
[ERROR] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/fontbox/src/test/java/org/apache/fontbox/ttf/gsub/GSUBTablePrintUtil.java>:[25,30] org.apache.fontbox.ttf.GSUBTableDebugger is not public in org.apache.fontbox.ttf; cannot be accessed from outside package
[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 <goals> -rf :fontbox
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/xmpbox/pom.xml> to org.apache.pdfbox/xmpbox/3.0.0-SNAPSHOT/xmpbox-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/tools/pom.xml> to org.apache.pdfbox/pdfbox-tools/3.0.0-SNAPSHOT/pdfbox-tools-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/debugger/pom.xml> to org.apache.pdfbox/pdfbox-debugger/3.0.0-SNAPSHOT/pdfbox-debugger-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/preflight-app/pom.xml> to org.apache.pdfbox/preflight-app/3.0.0-SNAPSHOT/preflight-app-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/app/pom.xml> to org.apache.pdfbox/pdfbox-app/3.0.0-SNAPSHOT/pdfbox-app-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/examples/pom.xml> to org.apache.pdfbox/pdfbox-examples/3.0.0-SNAPSHOT/pdfbox-examples-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/preflight/pom.xml> to org.apache.pdfbox/preflight/3.0.0-SNAPSHOT/preflight-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/pom.xml> to org.apache.pdfbox/pdfbox-reactor/3.0.0-SNAPSHOT/pdfbox-reactor-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/parent/pom.xml> to org.apache.pdfbox/pdfbox-parent/3.0.0-SNAPSHOT/pdfbox-parent-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/pdfbox/pom.xml> to org.apache.pdfbox/pdfbox/3.0.0-SNAPSHOT/pdfbox-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/debugger-app/pom.xml> to org.apache.pdfbox/debugger-app/3.0.0-SNAPSHOT/debugger-app-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/ws/fontbox/pom.xml> to org.apache.pdfbox/fontbox/3.0.0-SNAPSHOT/fontbox-3.0.0-SNAPSHOT.pom
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache PDFBox examples #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache PDFBox #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache PDFBox Debugger application #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Sending e-mails to: dev@pdfbox.apache.org
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache XmpBox #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache PDFBox tools #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache PDFBox Debugger #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache Preflight application #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache PDFBox application #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache Preflight #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'PDFBox » PDFBox-sonar2 » Apache PDFBox #525' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
channel stopped

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Jenkins build is back to normal : PDFBox » PDFBox-sonar2 #526

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-sonar2/526/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org