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 2017/11/11 10:34:55 UTC

Build failed in Jenkins: PDFBox-Trunk-jdk9 #126

See <https://builds.apache.org/job/PDFBox-Trunk-jdk9/126/display/redirect?page=changes>

Changes:

[tilman] PDFBOX-3999: use PD instead of COS class for test to increase usage of that class in the project

[tilman] PDFBOX-2852: avoid ClassCastException, simplify code

[tilman] PDFBOX-2852: avoid classcastexception

------------------------------------------
[...truncated 4.37 KB...]
[TASKS] Scanning folder '<https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/parent'> for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 0 files to scan for tasks
Found 0 open tasks.
[TASKS] Computing warning deltas based on reference build #125
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-parent ---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.15:check (check-java-version) @ pdfbox-parent ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ pdfbox-parent ---
[INFO] 
[INFO] >>> maven-source-plugin:2.3:jar (attach-sources) > generate-sources @ pdfbox-parent >>>
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.3:jar (attach-sources) < generate-sources @ pdfbox-parent <<<
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ pdfbox-parent ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ pdfbox-parent ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 1 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 1 licenses.
[INFO] 
[INFO] --- dependency-check-maven:3.0.1:check (default) @ pdfbox-parent ---
[INFO] Checking for updates
[INFO] starting getUpdatesNeeded() ...
[INFO] Download Started for NVD CVE - Modified
[INFO] Download Complete for NVD CVE - Modified  (2845 ms)
[INFO] Processing Started for NVD CVE - Modified
[INFO] Processing Complete for NVD CVE - Modified  (53177 ms)
[INFO] Begin database maintenance.
[INFO] End database maintenance.
[INFO] Check for updates complete (167258 ms)
[INFO] Analysis Started
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished CPE Analyzer (1 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished Cpe Suppression Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (2 seconds)
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ pdfbox-parent ---
[INFO] Installing <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/parent/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/pdfbox/pdfbox-parent/3.0.0-SNAPSHOT/pdfbox-parent-3.0.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache FontBox 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fontbox ---
[TASKS] Scanning folder '<https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox'> for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 105 files to scan for tasks
Found 12 open tasks.
[TASKS] Computing warning deltas based on reference build #124
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ fontbox ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fontbox ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 91 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fontbox ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 98 source files to <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/target/classes>
[WARNING] bootstrap class path not set in conjunction with -source 1.7
[WARNING] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFFont.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFFont.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fontbox ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fontbox ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/target/test-classes>
[WARNING] bootstrap class path not set in conjunction with -source 1.7
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ fontbox ---
[INFO] Surefire report directory: <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.fontbox.ttf.TestTTFParser
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 sec - in org.apache.fontbox.ttf.TestTTFParser
Running org.apache.fontbox.ttf.TTFSubsetterTest
Nov 11, 2017 10:33:20 AM org.apache.fontbox.ttf.TTFSubsetter writeToStream
INFO: font subset is empty
Searching for SimHei font...
SimHei font not available on this machine, test skipped
Downloading DejaVuSansMono font...
Download finished!
Nov 11, 2017 10:33:21 AM org.apache.fontbox.ttf.TTFSubsetter writeToStream
INFO: font subset is empty
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.377 sec - in org.apache.fontbox.ttf.TTFSubsetterTest
Running org.apache.fontbox.ttf.BufferedRandomAccessFileTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.fontbox.ttf.BufferedRandomAccessFileTest
Running org.apache.fontbox.ttf.TestMemoryTTFDataStream
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.fontbox.ttf.TestMemoryTTFDataStream
Running org.apache.fontbox.cff.Type1FontUtilTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec - in org.apache.fontbox.cff.Type1FontUtilTest
Running org.apache.fontbox.cmap.TestCMap
Downloading Noto Emoji font...
Download finished!
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.724 sec - in org.apache.fontbox.cmap.TestCMap
Running org.apache.fontbox.cmap.TestCMapParser
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.apache.fontbox.cmap.TestCMapParser

Results :

Tests run: 16, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.15:check (check-java-version) @ fontbox ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:155: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.position(int) has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.position(int)
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:169: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.position(int) has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.position(int)
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:184: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.position(int) has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.position(int)
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:232: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.mark() has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.mark()
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:270: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.reset() has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.reset()
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:276: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.position(int) has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.position(int)
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:289: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.reset() has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.reset()
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:322: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.reset() has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.reset()
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:334: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.position(int) has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.position(int)
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:352: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.mark() has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.mark()
[INFO] <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Lexer.java>:361: Covariant return type change detected: java.nio.Buffer java.nio.ByteBuffer.reset() has been changed to java.nio.ByteBuffer java.nio.ByteBuffer.reset()
[INFO] 
[INFO] --- maven-bundle-plugin:3.3.0:bundle (default-bundle) @ fontbox ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ fontbox ---
[INFO] 
[INFO] >>> maven-source-plugin:2.3:jar (attach-sources) > generate-sources @ fontbox >>>
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.3:jar (attach-sources) < generate-sources @ fontbox <<<
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ fontbox ---
[INFO] Building jar: <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/target/fontbox-3.0.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ fontbox ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: src/main/resources/org/apache/fontbox/cmap/*
[INFO] 122 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 118 licenses.
[INFO] 
[INFO] --- dependency-check-maven:3.0.1:check (default) @ fontbox ---
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Check for updates complete (302 ms)
[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (0 seconds)
[ERROR] Could not connect to Central search. Analysis failed.
java.io.IOException: Finally failed connecting to Central search. Giving up after 5 tries.
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:288)
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.analyzeDependency(CentralAnalyzer.java:198)
	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:137)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.io.IOException: Could not connect to MavenCentral (400): Bad Request
	at org.owasp.dependencycheck.data.central.CentralSearch.searchSha1(CentralSearch.java:181)
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:266)
	... 8 more
[WARNING] An error occurred while analyzing '/home/jenkins/jenkins-slave/maven-repositories/1/commons-logging/commons-logging/1.2/commons-logging-1.2.jar' (Central Analyzer).
[INFO] Finished Central Analyzer (16 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished CPE Analyzer (1 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished Cpe Suppression Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (18 seconds)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] PDFBox parent ...................................... SUCCESS [04:41 min]
[INFO] Apache FontBox ..................................... FAILURE [01:21 min]
[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: 06:19 min
[INFO] Finished at: 2017-11-11T10:34:36+00:00
[INFO] Final Memory: 56M/188M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:3.0.1:check (default) on project fontbox: One or more exceptions occurred during dependency-check analysis: One or more exceptions occurred during dependency-check analysis
[ERROR] Could not connect to Central search. Analysis failed.
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :fontbox
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/xmpbox/pom.xml> to org.apache.pdfbox/xmpbox/3.0.0-SNAPSHOT/xmpbox-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/tools/pom.xml> to org.apache.pdfbox/pdfbox-tools/3.0.0-SNAPSHOT/pdfbox-tools-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/debugger/pom.xml> to org.apache.pdfbox/pdfbox-debugger/3.0.0-SNAPSHOT/pdfbox-debugger-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/preflight-app/pom.xml> to org.apache.pdfbox/preflight-app/3.0.0-SNAPSHOT/preflight-app-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/app/pom.xml> to org.apache.pdfbox/pdfbox-app/3.0.0-SNAPSHOT/pdfbox-app-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/examples/pom.xml> to org.apache.pdfbox/pdfbox-examples/3.0.0-SNAPSHOT/pdfbox-examples-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/preflight/pom.xml> to org.apache.pdfbox/preflight/3.0.0-SNAPSHOT/preflight-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/pom.xml> to org.apache.pdfbox/pdfbox-reactor/3.0.0-SNAPSHOT/pdfbox-reactor-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/parent/pom.xml> to org.apache.pdfbox/pdfbox-parent/3.0.0-SNAPSHOT/pdfbox-parent-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/pdfbox/pom.xml> to org.apache.pdfbox/pdfbox/3.0.0-SNAPSHOT/pdfbox-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/debugger-app/pom.xml> to org.apache.pdfbox/debugger-app/3.0.0-SNAPSHOT/debugger-app-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/pom.xml> to org.apache.pdfbox/fontbox/3.0.0-SNAPSHOT/fontbox-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/target/fontbox-3.0.0-SNAPSHOT.jar> to org.apache.pdfbox/fontbox/3.0.0-SNAPSHOT/fontbox-3.0.0-SNAPSHOT.jar
[JENKINS] Archiving <https://builds.apache.org/job/PDFBox-Trunk-jdk9/ws/trunk/fontbox/target/fontbox-3.0.0-SNAPSHOT-sources.jar> to org.apache.pdfbox/fontbox/3.0.0-SNAPSHOT/fontbox-3.0.0-SNAPSHOT-sources.jar
[Fast Archiver] Compressed 2.79 MB of artifacts by 85.1% relative to #124
Sending e-mails to: dev@pdfbox.apache.org
channel stopped
Archiving artifacts

---------------------------------------------------------------------
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-Trunk-jdk9 #127

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


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