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 2020/05/19 08:58:02 UTC

Jenkins build became unstable: PDFBox-Trunk-jdk15 » Apache PDFBox examples #1078

See <https://builds.apache.org/job/PDFBox-Trunk-jdk15/org.apache.pdfbox$pdfbox-examples/1078/display/redirect>


---------------------------------------------------------------------
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-jdk15 » Apache PDFBox examples #1080

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PDFBox-Trunk-jdk15/org.apache.pdfbox$pdfbox-examples/1080/display/redirect?page=changes>


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


Build failed in Jenkins: PDFBox-Trunk-jdk15 » Apache PDFBox examples #1079

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PDFBox-Trunk-jdk15/org.apache.pdfbox$pdfbox-examples/1079/display/redirect?page=changes>

Changes:

[tilman] PDFBOX-3017: only the signDetached() call should throw the exception


------------------------------------------
[...truncated 540.85 KB...]
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createAcroForm
INFO: AcroForm has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createSignatureField
INFO: Signature field has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createSignature
INFO: PDSignature has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createAcroFormDictionary
INFO: AcroForm dictionary has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createAffineTransform
INFO: Matrix has been added
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createSignatureRectangle
INFO: Signature rectangle has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createFormatterRectangle
INFO: Formatter rectangle has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createSignatureImage
INFO: Visible Signature Image has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createHolderFormStream
INFO: Holder form stream has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createHolderFormResources
INFO: Holder form resources have been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createHolderForm
INFO: Holder form has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createAppearanceDictionary
INFO: PDF appearance dictionary has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createInnerFormStream
INFO: Stream of another form (inner form - it will be inside holder form) has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createInnerFormResource
INFO: Resources of another form (inner form - it will be inside holder form)have been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createInnerForm
INFO: Another form (inner form - it will be inside holder form) has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder insertInnerFormToHolderResources
INFO: Now inserted inner form inside holder form
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createImageFormStream
INFO: Created image form stream
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createImageFormResources
INFO: Created image form resources
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createImageForm
INFO: Created image form
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createBackgroundLayerForm
INFO: Created background layer form
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder injectProcSetArray
INFO: Inserted ProcSet to PDF
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder injectAppearanceStreams
INFO: Injected appearance stream to pdf
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createVisualSignature
INFO: Visible signature has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createWidgetDictionary
INFO: WidgetDictionary has been created
May 20, 2020 8:56:49 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator buildPDF
INFO: stream returning started, size= 28426
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder <init>
INFO: PDF Structure has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator buildPDF
INFO: pdf building has been started
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createProcSetArray
INFO: ProcSet array has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createPage
INFO: PDF page has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createAcroForm
INFO: AcroForm has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createSignatureField
INFO: Signature field has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createSignature
INFO: PDSignature has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createAcroFormDictionary
INFO: AcroForm dictionary has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createAffineTransform
INFO: Matrix has been added
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createSignatureRectangle
INFO: Signature rectangle has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createFormatterRectangle
INFO: Formatter rectangle has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createSignatureImage
INFO: Visible Signature Image has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createHolderFormStream
INFO: Holder form stream has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createHolderFormResources
INFO: Holder form resources have been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createHolderForm
INFO: Holder form has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createAppearanceDictionary
INFO: PDF appearance dictionary has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createInnerFormStream
INFO: Stream of another form (inner form - it will be inside holder form) has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createInnerFormResource
INFO: Resources of another form (inner form - it will be inside holder form)have been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createInnerForm
INFO: Another form (inner form - it will be inside holder form) has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder insertInnerFormToHolderResources
INFO: Now inserted inner form inside holder form
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createImageFormStream
INFO: Created image form stream
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createImageFormResources
INFO: Created image form resources
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createImageForm
INFO: Created image form
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createBackgroundLayerForm
INFO: Created background layer form
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder injectProcSetArray
INFO: Inserted ProcSet to PDF
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder injectAppearanceStreams
INFO: Injected appearance stream to pdf
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createVisualSignature
INFO: Visible signature has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder createWidgetDictionary
INFO: WidgetDictionary has been created
May 20, 2020 8:56:50 AM org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator buildPDF
INFO: stream returning started, size= 28436
May 20, 2020 8:56:50 AM org.apache.pdfbox.cos.COSDocument finalize
WARNING: Warning: You did not close a PDF Document
[ERROR] Tests run: 12, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.493 s <<< FAILURE! - in org.apache.pdfbox.examples.pdmodel.TestCreateSignature
[ERROR] testDetachedSHA256WithTSA[0](org.apache.pdfbox.examples.pdmodel.TestCreateSignature)  Time elapsed: 0.78 s  <<< ERROR!
java.io.IOException: Response from https://freetsa.org/tsr does not have a time stamp token, status: 2 (Error during serial number generation.)
	at org.apache.pdfbox.examples.pdmodel.TestCreateSignature.testDetachedSHA256WithTSA(TestCreateSignature.java:216)

[ERROR] testDetachedSHA256WithTSA[1](org.apache.pdfbox.examples.pdmodel.TestCreateSignature)  Time elapsed: 0.132 s  <<< ERROR!
java.io.IOException: Response from https://freetsa.org/tsr does not have a time stamp token, status: 2 (Error during serial number generation.)
	at org.apache.pdfbox.examples.pdmodel.TestCreateSignature.testDetachedSHA256WithTSA(TestCreateSignature.java:216)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   TestCreateSignature.testDetachedSHA256WithTSA:216 � IO Response from https://f...
[ERROR]   TestCreateSignature.testDetachedSHA256WithTSA:216 � IO Response from https://f...
[INFO] 
[ERROR] Tests run: 14, Failures: 0, Errors: 2, Skipped: 0
[INFO] 
[ERROR] There are test failures.

Please refer to <https://builds.apache.org/job/PDFBox-Trunk-jdk15/org.apache.pdfbox$pdfbox-examples/ws/target/surefire-reports> for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[JENKINS] Recording test results
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ pdfbox-examples ---
[INFO] Loading execution data file <https://builds.apache.org/job/PDFBox-Trunk-jdk15/org.apache.pdfbox$pdfbox-examples/ws/target/jacoco.exec>
[INFO] Analyzed bundle 'Apache PDFBox examples' with 91 classes
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.18:check (check-java-version) @ pdfbox-examples ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ pdfbox-examples ---
[INFO] Building jar: <https://builds.apache.org/job/PDFBox-Trunk-jdk15/org.apache.pdfbox$pdfbox-examples/ws/target/pdfbox-examples-3.0.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ pdfbox-examples ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ pdfbox-examples >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (default) @ pdfbox-examples ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ pdfbox-examples ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ pdfbox-examples ---
[INFO] surefireArgLine set to -javaagent:/home/jenkins/jenkins-slave/workspace/PDFBox-Trunk-jdk15/.repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=<https://builds.apache.org/job/PDFBox-Trunk-jdk15/org.apache.pdfbox$pdfbox-examples/ws/target/jacoco.exec>
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ pdfbox-examples <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ pdfbox-examples ---
[INFO] Skipping source per configuration.
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ pdfbox-examples ---
[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/test/resources/org/apache/pdfbox/examples/signature/*
[INFO] Exclude: src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.*
[INFO] 106 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 99 licenses.
[INFO] 
[INFO] --- dependency-check-maven:5.3.2:check (default) @ pdfbox-examples ---
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Skipping RetireJS update since last update was within 24 hours.
[INFO] Check for updates complete (70 ms)
[INFO] 

Dependency-Check is an open source tool performing a best effort analysis of 3rd party dependencies; false positives and false negatives may exist in the analysis performed by the tool. Use of the tool and the reporting provided constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to the analysis or its use. Any use of the tool and the reporting provided is at the user?s risk. In no event shall the copyright holder or OWASP be held liable for any damages whatsoever arising out of or in connection with the use of this tool, the analysis performed, or the resulting report.


[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar 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 NVD CVE Analyzer (0 seconds)
[INFO] Finished Sonatype OSS Index Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (2 seconds)
[WARNING] 

One or more dependencies were identified with known vulnerabilities in Apache PDFBox examples:

ant-1.10.6.jar (pkg:maven/org.apache.ant/ant@1.10.6, cpe:2.3:a:apache:ant:1.10.6:*:*:*:*:*:*:*) : CVE-2020-1945
ant-launcher-1.10.6.jar (pkg:maven/org.apache.ant/ant-launcher@1.10.6, cpe:2.3:a:apache:ant:1.10.6:*:*:*:*:*:*:*) : CVE-2020-1945


See the dependency-check report for more details.


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache PDFBox 3.0.0-SNAPSHOT:
[INFO] 
[INFO] PDFBox parent ...................................... SUCCESS [01:30 min]
[INFO] Apache FontBox ..................................... SUCCESS [ 55.973 s]
[INFO] Apache XmpBox ...................................... SUCCESS [ 28.374 s]
[INFO] Apache PDFBox ...................................... SUCCESS [02:59 min]
[INFO] Apache Preflight ................................... SUCCESS [01:04 min]
[INFO] Apache Preflight application ....................... SUCCESS [ 26.834 s]
[INFO] Apache PDFBox Debugger ............................. SUCCESS [ 24.125 s]
[INFO] Apache PDFBox tools ................................ SUCCESS [ 34.366 s]
[INFO] Apache PDFBox application .......................... SUCCESS [ 25.928 s]
[INFO] Apache PDFBox Debugger application ................. SUCCESS [ 25.384 s]
[INFO] Apache PDFBox examples ............................. FAILURE [ 31.478 s]
[INFO] Apache PDFBox ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10:38 min
[INFO] Finished at: 2020-05-20T08:57:19Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:5.3.2:check (default) on project pdfbox-examples:
[ERROR] 
[ERROR] One or more dependencies were identified with vulnerabilities:
[ERROR] 
[ERROR] ant-1.10.6.jar: CVE-2020-1945
[ERROR] ant-launcher-1.10.6.jar: CVE-2020-1945
[ERROR] 
[ERROR] See the dependency-check report for more details.
[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 :pdfbox-examples

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