See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/6/display/redirect?page=changes>
Changes: [Andreas Beeker] Activate Forbidden-Apis-Check also for other tests Max supported Java version is currently Java 14 Fix the check failures ------------------------------------------ [...truncated 961.45 KB...] [INFO] Running org.apache.poi.openxml4j.opc.TestPackageThumbnail [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s - in org.apache.poi.openxml4j.opc.TestPackageThumbnail [INFO] Running org.apache.poi.openxml4j.opc.TestPackageCoreProperties [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 s - in org.apache.poi.openxml4j.opc.TestPackageCoreProperties [INFO] Running org.apache.poi.openxml4j.opc.TestPackagingURIHelper [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.poi.openxml4j.opc.TestPackagingURIHelper [INFO] Running org.apache.poi.openxml4j.opc.compliance.TestOPCComplianceCoreProperties [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 s - in org.apache.poi.openxml4j.opc.compliance.TestOPCComplianceCoreProperties [INFO] Running org.apache.poi.openxml4j.opc.compliance.TestOPCCompliancePackageModel [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.poi.openxml4j.opc.compliance.TestOPCCompliancePackageModel [INFO] Running org.apache.poi.openxml4j.opc.compliance.TestOPCCompliancePartName [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.poi.openxml4j.opc.compliance.TestOPCCompliancePartName [INFO] Running org.apache.poi.openxml4j.opc.TestRelationships [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 s - in org.apache.poi.openxml4j.opc.TestRelationships [INFO] Running org.apache.poi.openxml4j.opc.TestPackagePartName [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.poi.openxml4j.opc.TestPackagePartName [INFO] Running org.apache.poi.openxml4j.opc.TestContentType [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.poi.openxml4j.opc.TestContentType [INFO] Running org.apache.poi.openxml4j.opc.internal.marshallers.TestZipPackagePropertiesMarshaller [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.poi.openxml4j.opc.internal.marshallers.TestZipPackagePropertiesMarshaller [INFO] Running org.apache.poi.openxml4j.opc.internal.TestContentTypeManager [WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.07 s - in org.apache.poi.openxml4j.opc.internal.TestContentTypeManager [INFO] Running org.apache.poi.openxml4j.opc.TestListParts [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.poi.openxml4j.opc.TestListParts [INFO] Running org.apache.poi.openxml4j.opc.TestFileHelper [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.poi.openxml4j.opc.TestFileHelper [INFO] Running org.apache.poi.openxml4j.util.TestZipSecureFile [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 s - in org.apache.poi.openxml4j.util.TestZipSecureFile [INFO] Running org.apache.poi.sl.tests.TestHeadersFooters [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.apache.poi.sl.tests.TestHeadersFooters [INFO] Running org.apache.poi.sl.tests.TestFonts [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 s - in org.apache.poi.sl.tests.TestFonts [INFO] Running org.apache.poi.sl.tests.TestTable [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 s - in org.apache.poi.sl.tests.TestTable [INFO] Running org.apache.poi.sl.tests.draw.TestDrawPictureShape [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 s - in org.apache.poi.sl.tests.draw.TestDrawPictureShape [INFO] Running org.apache.poi.sl.tests.TestSlide [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 s - in org.apache.poi.sl.tests.TestSlide [INFO] Running org.apache.poi.sl.tests.TestOleShape [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 s - in org.apache.poi.sl.tests.TestOleShape [INFO] Running org.apache.poi.xdgf.extractor.TestXDGFVisioExtractor [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.307 s - in org.apache.poi.xdgf.extractor.TestXDGFVisioExtractor [INFO] Running org.apache.poi.xdgf.usermodel.section.CombinedIteratorTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.poi.xdgf.usermodel.section.CombinedIteratorTest [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 2719, Failures: 0, Errors: 0, Skipped: 147 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ poi-ooxml --- [INFO] Loading execution data file <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/target/jacoco.exec> [INFO] Analyzed bundle 'Apache POI OOXML package' with 731 classes [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ poi-ooxml --- [INFO] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/target/poi-ooxml-5.0.0-SNAPSHOT.jar> [INFO] [INFO] --------------------< org.apache.poi:poi-excelant >--------------------- [INFO] Building Apache POI ExcelAnt package 5.0.0-SNAPSHOT [8/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ poi-excelant --- [INFO] argLine set to -javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/jenkins/workspace/POI/POI-DSL-Maven/sonar/excelant/target/jacoco.exec> -Xmx1024m [INFO] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-sources) @ poi-excelant --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 14 resources [INFO] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-resources) @ poi-excelant --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ poi-excelant --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ poi-excelant --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/excelant/target/classes> [INFO] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-tests) @ poi-excelant --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 13 resources [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ poi-excelant --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/excelant/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ poi-excelant --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 12 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/excelant/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ poi-excelant --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.poi.ss.excelant.TestExcelAntSet [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.872 s - in org.apache.poi.ss.excelant.TestExcelAntSet [INFO] Running org.apache.poi.ss.excelant.TestExcelAntPrecision [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.poi.ss.excelant.TestExcelAntPrecision [INFO] Running org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil ExcelAntEvaluationResult [evaluationCompletedWithError=true, didPass=false, returnValue=0.0, errorMessage=Evaluation failed due to an evaluation error of 42 which is #N/A, actualDelta=0.0, cellName='ErrorCell'!A1] [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.872 s - in org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil [INFO] Running org.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult [INFO] Running org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory [INFO] Running org.apache.poi.ss.excelant.TestBuildFile [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.186 s - in org.apache.poi.ss.excelant.TestBuildFile [INFO] Running org.apache.poi.ss.excelant.TestExcelAntSetDoubleCell [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.poi.ss.excelant.TestExcelAntSetDoubleCell [INFO] Running org.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction [INFO] [INFO] Results: [INFO] [INFO] Tests run: 49, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ poi-excelant --- [INFO] Loading execution data file <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/excelant/target/jacoco.exec> [INFO] Analyzed bundle 'Apache POI ExcelAnt package' with 13 classes [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ poi-excelant --- [INFO] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/excelant/target/poi-excelant-5.0.0-SNAPSHOT.jar> [INFO] [INFO] --------------------< org.apache.poi:poi-examples >--------------------- [INFO] Building Apache POI Examples package 5.0.0-SNAPSHOT [9/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ poi-examples --- [INFO] argLine set to -javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/jenkins/workspace/POI/POI-DSL-Maven/sonar/examples/target/jacoco.exec> -Xmx1024m [INFO] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-sources) @ poi-examples --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 143 resources [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ poi-examples --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/examples/src/main/resources> [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ poi-examples --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 133 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/examples/target/classes> [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/ScatterChart.java>: Some input files use or override a deprecated API. [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/ScatterChart.java>: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ poi-examples --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ poi-examples --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ poi-examples --- [INFO] Tests are skipped. [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ poi-examples --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ poi-examples --- [INFO] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/examples/target/poi-examples-5.0.0-SNAPSHOT.jar> [INFO] [INFO] ------------------< org.apache.poi:integration-test >------------------- [INFO] Building Apache POI integration test 5.0.0-SNAPSHOT [10/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ integration-test --- [INFO] argLine set to -javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/jenkins/workspace/POI/POI-DSL-Maven/sonar/integration-test/target/jacoco.exec> -Xmx1024m [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ integration-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/main/resources> [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ integration-test --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-tests) @ integration-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 29 resources [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ integration-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ integration-test --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 26 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/target/test-classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/java/org/apache/poi/stress/HSSFFileHandler.java>:[36,27] cannot find symbol symbol: class NullPrintStream location: package org.apache.poi.util [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/java/org/apache/poi/stress/XSSFFileHandler.java>:[52,27] cannot find symbol symbol: class NullPrintStream location: package org.apache.poi.util [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/java/org/apache/poi/stress/HSSFFileHandler.java>:[91,43] cannot find symbol symbol: class NullPrintStream location: class org.apache.poi.stress.HSSFFileHandler [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/java/org/apache/poi/stress/XSSFFileHandler.java>:[188,31] cannot find symbol symbol: class NullPrintStream location: class org.apache.poi.stress.XSSFFileHandler [INFO] 4 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache POI - the Java API for Microsoft Documents 5.0.0-SNAPSHOT: [INFO] [INFO] Apache POI - the Java API for Microsoft Documents .. SUCCESS [ 1.192 s] [INFO] Apache POI Main package ............................ SUCCESS [04:07 min] [INFO] Apache POI Scratchpad package ...................... SUCCESS [ 30.056 s] [INFO] Apache POI - Openxmlformats Schema package ......... SUCCESS [01:22 min] [INFO] Apache POI - Openxmlformats Encryption Schema package SUCCESS [ 2.008 s] [INFO] Apache POI - Openxmlformats Security-Schema package SUCCESS [ 7.183 s] [INFO] Apache POI OOXML package ........................... SUCCESS [03:39 min] [INFO] Apache POI ExcelAnt package ........................ SUCCESS [ 6.142 s] [INFO] Apache POI Examples package ........................ SUCCESS [ 1.070 s] [INFO] Apache POI integration test ........................ FAILURE [ 0.450 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:58 min [INFO] Finished at: 2020-08-17T20:42:39Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project integration-test: Compilation failure: Compilation failure: [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/java/org/apache/poi/stress/HSSFFileHandler.java>:[36,27] cannot find symbol [ERROR] symbol: class NullPrintStream [ERROR] location: package org.apache.poi.util [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/java/org/apache/poi/stress/XSSFFileHandler.java>:[52,27] cannot find symbol [ERROR] symbol: class NullPrintStream [ERROR] location: package org.apache.poi.util [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/java/org/apache/poi/stress/HSSFFileHandler.java>:[91,43] cannot find symbol [ERROR] symbol: class NullPrintStream [ERROR] location: class org.apache.poi.stress.HSSFFileHandler [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src/test/java/org/apache/poi/stress/XSSFFileHandler.java>:[188,31] cannot find symbol [ERROR] symbol: class NullPrintStream [ERROR] location: class org.apache.poi.stress.XSSFFileHandler [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 <args> -rf :integration-test Build step 'Invoke top-level Maven targets' marked build as failure Recording test results --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
