See <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/169/display/redirect?page=changes>
Changes: [Dominik Stadler] Set one test-file to "IGNORED" in poi-integration It was processing fine on some JVM versions, but failed with an error on others. Seems there is a difference in XmlParsers across versions of the JVM. [Dominik Stadler] Adjust max recursion nesting Otherwise this still triggered StackOverflow on some version of JDK [Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61562 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62068 [PJ Fanning] update changes [PJ Fanning] update changes [PJ Fanning] use files nio APIs in more places [PJ Fanning] [bug-67442] add test [Dominik Stadler] Bug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via poi-fuzz We try to avoid throwing NullPointerException and ClassCastExceptions, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62414 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62442 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62450 ------------------------------------------ [...truncated 292.10 KB...] [junitlauncher] Running org.apache.poi.xssf.usermodel.helpers.TestHeaderFooterHelper [junitlauncher] [junitlauncher] Running org.apache.poi.xssf.usermodel.helpers.TestHeaderFooterHelper [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.001000 sec [junitlauncher] Running org.apache.poi.xssf.usermodel.helpers.TestXSSFColumnShifting [junitlauncher] [junitlauncher] Running org.apache.poi.xssf.usermodel.helpers.TestXSSFColumnShifting [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.005000 sec [junitlauncher] Running org.apache.poi.xssf.util.TestCTColComparator [junitlauncher] [junitlauncher] Running org.apache.poi.xssf.util.TestCTColComparator [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.001000 sec [junitlauncher] Running org.apache.poi.xssf.util.TestEvilUnclosedBRFixingInputStream [junitlauncher] [junitlauncher] Running org.apache.poi.xssf.util.TestEvilUnclosedBRFixingInputStream [junitlauncher] Tests run: 3, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.027000 sec [junitlauncher] Running org.apache.poi.xssf.util.TestNumericRanges [junitlauncher] [junitlauncher] Running org.apache.poi.xssf.util.TestNumericRanges [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.000000 sec [junitlauncher] Running org.apache.poi.xwpf.TestAllExtendedProperties [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.TestAllExtendedProperties [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.030000 sec [junitlauncher] Running org.apache.poi.xwpf.TestDocumentProtection [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.TestDocumentProtection [junitlauncher] Tests run: 10, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.335000 sec [junitlauncher] Running org.apache.poi.xwpf.TestNecessaryOOXMLClasses [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.TestNecessaryOOXMLClasses [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.012000 sec [junitlauncher] Running org.apache.poi.xwpf.TestPackageCorePropertiesGetKeywords [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.TestPackageCorePropertiesGetKeywords [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.027000 sec [junitlauncher] Running org.apache.poi.xwpf.TestXWPFBugs [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.TestXWPFBugs [junitlauncher] Tests run: 11, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 1.347000 sec [junitlauncher] Running org.apache.poi.xwpf.extractor.TestExternalEntities [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.extractor.TestExternalEntities [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.017000 sec [junitlauncher] Running org.apache.poi.xwpf.extractor.TestXWPFWordExtractor [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.extractor.TestXWPFWordExtractor [junitlauncher] Tests run: 27, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.495000 sec [junitlauncher] Running org.apache.poi.xwpf.model.TestMultiSectionHeaders [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.model.TestMultiSectionHeaders [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.005000 sec [junitlauncher] Running org.apache.poi.xwpf.model.TestXWPFDecorators [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.model.TestXWPFDecorators [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.065000 sec [junitlauncher] Running org.apache.poi.xwpf.model.TestXWPFHeaderFooterPolicy [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.model.TestXWPFHeaderFooterPolicy [junitlauncher] Tests run: 3, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.191000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestChangeTracking [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestChangeTracking [junitlauncher] Tests run: 3, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.032000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestColumn [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestColumn [junitlauncher] Tests run: 4, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.025000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFAbstractNum [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFAbstractNum [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.000000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFBugs [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFBugs [junitlauncher] Tests run: 14, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.279000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFChart [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFChart [junitlauncher] Tests run: 4, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.051000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFComment [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFComment [junitlauncher] Tests run: 6, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.278000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFComments [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFComments [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.030000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFDocument [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFDocument [junitlauncher] Tests run: 23, Failures: 0, Aborted: 0, Skipped: 1, Time elapsed: 0.339000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFEndnote [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFEndnote [junitlauncher] Tests run: 4, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.030000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFEndnotes [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFEndnotes [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.016000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFFootnote [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFFootnote [junitlauncher] Tests run: 4, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.021000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFFootnotes [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFFootnotes [junitlauncher] Tests run: 3, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.030000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFHeader [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFHeader [junitlauncher] Tests run: 6, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.107000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFHeadings [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFHeadings [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.031000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFNumbering [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFNumbering [junitlauncher] Tests run: 9, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.086000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFParagraph [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFParagraph [junitlauncher] Tests run: 29, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.174000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFPictureData [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFPictureData [junitlauncher] Tests run: 6, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.149000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFRun [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFRun [junitlauncher] Tests run: 35, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.184000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFSDT [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFSDT [junitlauncher] Tests run: 7, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.092000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFSmartTag [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFSmartTag [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.014000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFStyles [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFStyles [junitlauncher] Tests run: 10, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.096000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFTable [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFTable [junitlauncher] Tests run: 17, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.060000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFTableCell [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFTableCell [junitlauncher] Tests run: 13, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.053000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFTableRow [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFTableRow [junitlauncher] Tests run: 9, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.039000 sec [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFTheme [junitlauncher] [junitlauncher] Running org.apache.poi.xwpf.usermodel.TestXWPFTheme [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.021000 sec -test-ooxml-write-testfile: compile-ooxml-lite: [echo] Create ooxml-lite schemas [copy] Copying 1 file to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/src/resources> [copy] Copying 1 file to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/src/resources> [copy] Copying 1 file to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/src/resources> [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/maven/poi-ooxml-lite> [jar] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/169/artifact/build/dist/maven/poi-ooxml-lite/poi-ooxml-lite-5.2.4-SNAPSHOT.jar> [delete] Deleting: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/src/resources/ooxml-lite-report.clazz1> [delete] Deleting: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/src/resources/ooxml-lite-report.clazz2> [delete] Deleting: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/src/resources/ooxml-lite-report.xsb2> -test-excelant-check: test-excelant: [junitlauncher] Running org.apache.poi.ss.excelant.TestBuildFile [junitlauncher] [junitlauncher] Running org.apache.poi.ss.excelant.TestBuildFile [junitlauncher] Tests run: 14, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 3.227000 sec [junitlauncher] Running org.apache.poi.ss.excelant.TestExcelAntPrecision [junitlauncher] [junitlauncher] Running org.apache.poi.ss.excelant.TestExcelAntPrecision [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.004000 sec [junitlauncher] Running org.apache.poi.ss.excelant.TestExcelAntSet [junitlauncher] [junitlauncher] Running org.apache.poi.ss.excelant.TestExcelAntSet [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.026000 sec [junitlauncher] Running org.apache.poi.ss.excelant.TestExcelAntSetDoubleCell [junitlauncher] [junitlauncher] Running org.apache.poi.ss.excelant.TestExcelAntSetDoubleCell [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.006000 sec [junitlauncher] Running org.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction [junitlauncher] [junitlauncher] Running org.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.008000 sec [junitlauncher] Running org.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult [junitlauncher] [junitlauncher] Running org.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult [junitlauncher] Tests run: 4, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.013000 sec [junitlauncher] Running org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil [junitlauncher] [junitlauncher] Running org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil [junitlauncher] Tests run: 23, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 1.248000 sec [junitlauncher] Running org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory [junitlauncher] [junitlauncher] Running org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory [junitlauncher] Tests run: 2, Failures: 0, Aborted: 0, Skipped: 0, Time elapsed: 0.003000 sec -test-excelant-write-testfile: test: compile-integration: [javac] Compiling 28 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-integration/build/test-classes> [javac] Support for javac --release has been added in Java9 ignoring it [javac] Note: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-integration/src/test/java/org/apache/poi/stress/OptimizedNullPrintStream.java> uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-integration/build/test-classes/META-INF/versions/9> [jar] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/169/artifact/build/dist/maven/poi-integration/poi-integration-5.2.4-SNAPSHOT.jar> -test-integration-check: test-integration: [junitlauncher] Running org.apache.poi.stress.TestAllFiles [junitlauncher] [junitlauncher] Running org.apache.poi.stress.TestAllFiles [junitlauncher] Failed: #425 document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx XWPF: org.opentest4j.AssertionFailedError: document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx - failed for handler XWPFFileHandler: expected class java.lang.IllegalArgumentException ==> Unexpected exception type thrown, expected: <java.lang.IllegalArgumentException> but was: <org.apache.poi.openxml4j.exceptions.InvalidFormatException> [junitlauncher] Failed: #426 document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx OPC: org.opentest4j.AssertionFailedError: document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx - failed for handler OPCFileHandler: Unexpected exception, expected class org.opentest4j.AssertionFailedError and message Expected one of XWPFRelation{application/vnd.ms-word.document.macroEnabled.main+xml//word/document.xml}, XWPFRelation{application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml//word/document.xml}, XWPFRelation{application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml//word/document.xml}, but had application/xml ==> expected: <true> but was: <false> [junitlauncher] Failed: Extracting - #425 document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx XWPF: org.opentest4j.AssertionFailedError: document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx - failed for handler XWPFFileHandler: expected class java.io.IOException ==> Unexpected exception type thrown, expected: <java.io.IOException> but was: <org.apache.poi.openxml4j.exceptions.InvalidFormatException> [junitlauncher] Aborted: #856 slideshow/23884_defense_FINAL_OOimport_edit.ppt HSLF: org.opentest4j.TestAbortedException: Assumption failed: Some files hang in JDK graphics rendering on Java 8 due to a JDK bug [junitlauncher] Aborted: #857 slideshow/23884_defense_FINAL_OOimport_edit.ppt HPSF: org.opentest4j.TestAbortedException: Assumption failed: Some files hang in JDK graphics rendering on Java 8 due to a JDK bug [junitlauncher] Tests run: 8427, Failures: 3, Aborted: 2, Skipped: 0, Time elapsed: 169.507000 sec BUILD FAILED <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build.xml>:1885: The following error occurred while executing this line: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build.xml>:1428: Some test(s) have failure(s) Total time: 12 minutes 22 seconds Build step 'Invoke Ant' marked build as failure [SpotBugs] Skipping execution of recorder since overall result is 'FAILURE' ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. Archiving artifacts ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. Recording test results ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [Checks API] No suitable checks publisher found. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
