See <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/display/redirect?page=changes>
Changes: [Dominik Stadler] Switch from "gradle: true" to "useAnt: true" to make it clear which jobs still run with the Ant-build Github-PR-Job should use Gradle now [Dominik Stadler] Ant: Update spotbugs to 4.7.1 Update/add dependencies Fix icu4j jar-version log4j is actually still 2.17.x for spotbugs Add xmlresolver for xlst transformation [Dominik Stadler] Ant: Remove temporary files [PJ Fanning] [bug-66189] add test case [Dominik Stadler] Change test to make it work with JDK 19+ This way of mocking does not work any more with JDK 19+ [Dominik Stadler] Add module for stax2 to Ant-build to make poi-integration java9-compile work [Dominik Stadler] Add workaround for bcpkix-module which is not loaded automatically for some reason [Dominik Stadler] Update Junit Platform to 1.8.2 [Dominik Stadler] Add one more exclude for the file-leak-detector [Dominik Stadler] Adjust some tests for Java 19 and Java 20 [Dominik Stadler] Fix issues found when fuzzing Apache POI via Jazzer Replace RuntimeException with a more specific types [Dominik Stadler] Also look for test-data in parent-directory When using the IDE to run tests in one of the sub-modules uses the poi-* sub-directory, so looking for the test-data in ../test-data is useful to make executing tests work out-of-the-box [PJ Fanning] saxon 11.4 [PJ Fanning] code to handle smart art rotations [PJ Fanning] disable test on java 19 [PJ Fanning] try java 19 build [PJ Fanning] try java 19 build [PJ Fanning] try java 19 build [PJ Fanning] try java 19 build [PJ Fanning] try java 19 build [PJ Fanning] try java 19 build [PJ Fanning] upgrade asm jar [PJ Fanning] issue with junit upgrade [PJ Fanning] try to fix jaav 17 build [PJ Fanning] try to fix jaav 17 build [PJ Fanning] junit 5.9.0 [PJ Fanning] revert accidental changes [PJ Fanning] [bug-66176] rework text box support [PJ Fanning] add tests [PJ Fanning] try to fix issue where java9 module-info compiles don't happen [PJ Fanning] [bug-65562] derive sheet dimensions when outputting SXSSFSheets [PJ Fanning] update module-info [PJ Fanning] update some module-info classes [PJ Fanning] gradle version [PJ Fanning] module-info [PJ Fanning] refactor smart art code [PJ Fanning] ant builds need to match gradle builds (poi-ooxml-full schemas) [PJ Fanning] ant builds need to match gradle builds (poi-ooxml-full schemas) ------------------------------------------ [...truncated 511.85 KB...] [javadoc] <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/PackageProperties.java>:218: warning: no @param for lastModifiedBy [javadoc] void setLastModifiedByProperty(String lastModifiedBy); [javadoc] ^ [javadoc] <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/PackageProperties.java>:224: warning: no @param for lastModifiedBy [javadoc] void setLastModifiedByProperty(Optional<String> lastModifiedBy); [javadoc] ^ [javadoc] 100 warnings [jar] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/maven/poi-ooxml/poi-ooxml-5.2.3-SNAPSHOT-javadoc.jar> assemble: [zip] Building zip: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/poi-bin-5.2.3-SNAPSHOT-20220730.zip> [tar] Building tar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/poi-bin-5.2.3-SNAPSHOT-20220730.tar.gz> [zip] Building zip: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/poi-src-5.2.3-SNAPSHOT-20220730.zip> [tar] Building tar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/poi-src-5.2.3-SNAPSHOT-20220730.tar.gz> [echo] Distribution located in <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist> [echo] Use "ant dist-checksum" to create sha256/sha512 checksums and GPG signatures findbugs: release-notes: [copy] Copying 1 file to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist> rat-check: [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/rat> [echo] [echo] ***************************************************** [echo] Summary [echo] ------- [echo] Generated at: 2022-07-30T15:37:44+00:00 [echo] [echo] Notes: 0 [echo] Binaries: 113 [echo] Archives: 0 [echo] Standards: 3823 [echo] [echo] Apache Licensed: 3823 [echo] Generated Documents: 0 [echo] [echo] JavaDocs are generated, thus a license header is optional. [echo] Generated files do not require license headers. [echo] [echo] 0 Unknown Licenses [echo] [echo] ***************************************************** [echo] Files with Apache License headers will be marked AL [echo] Binary files (which do not require any license headers) will be marked B [echo] Compressed archives will be marked A [echo] Notices, licenses etc. will be marked N [echo] [echo] ***************************************************** forbidden-apis-check: [forbiddenapis] Reading bundled API signatures: jdk-unsafe-1.8 [forbiddenapis] Reading bundled API signatures: jdk-deprecated-1.8 [forbiddenapis] Reading bundled API signatures: jdk-internal-1.8 [forbiddenapis] Reading bundled API signatures: jdk-non-portable [forbiddenapis] Reading bundled API signatures: jdk-reflection [forbiddenapis] Reading API signatures: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/src/resources/devtools/forbidden-signatures.txt> [forbiddenapis] Loading classes to check... [forbiddenapis] Scanning classes for violations... [forbiddenapis] Scanned 4963 class file(s) for forbidden API invocations (in 12.00s), 0 error(s). [forbiddenapis] Reading API signatures: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/src/resources/devtools/forbidden-signatures-prod.txt> [forbiddenapis] Loading classes to check... [forbiddenapis] Scanning classes for violations... [forbiddenapis] Scanned 3549 class file(s) for forbidden API invocations (in 2.22s), 0 error(s). help: [echo] [echo] This is POI 5.2.3-SNAPSHOT [echo] Java Version 1.8/1.8.0_261, isJava8: true [echo] Timestamp 20220730 [echo] The main targets of interest are: [echo] - clean Erase all build work products (ie. everything in the build directory) [echo] - compile Compile all files from main, ooxml and scratchpad [echo] - test Run all unit tests from main, ooxml and scratchpad [echo] - jar Produce jar files [echo] - assemble Produce the zipped distribution files [echo] - site Generate all documentation (Requires Apache Forrest) [echo] - dist Create a distribution (Requires Apache Forrest) [echo] check-svn-jars: fetch-svn-jars: [copy] Copying 4 files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/util> [get] Getting: https://repo1.maven.org/maven2/org/tmatesoft/svnkit/svnkit/1.10.1/svnkit-1.10.1.jar [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/util/svnkit-1.10.1.jar> [get] Getting: https://repo1.maven.org/maven2/org/tmatesoft/svnkit/svnkit-javahl16/1.10.1/svnkit-javahl16-1.10.1.jar [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/util/svnkit-javahl16-1.10.1.jar> [get] Getting: https://repo1.maven.org/maven2/org/tmatesoft/sqljet/sqljet/1.1.13/sqljet-1.1.13.jar [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/util/sqljet-1.1.13.jar> [get] Getting: https://repo1.maven.org/maven2/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.jar [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/util/antlr-runtime-3.5.2.jar> [get] Getting: https://repo1.maven.org/maven2/de/regnis/q/sequence/sequence-library/1.0.4/sequence-library-1.0.4.jar [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/util/sequence-library-1.0.4.jar> [get] Getting: https://repo1.maven.org/maven2/org/lz4/lz4-java/1.7.1/lz4-java-1.7.1.jar [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/util/lz4-java-1.7.1.jar> maventask: [get] Getting: https://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/util/maven-ant-tasks-2.1.3.jar> jenkins: BUILD SUCCESSFUL Total time: 26 minutes 36 seconds ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [poi-integration] $ /home/jenkins/tools/ant/latest1.10/bin/ant -file build.xml run Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-integration/build.xml> init: runSourceBuild: [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild> [echo] Found source package at <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/poi-src-5.2.3-SNAPSHOT-20220730.zip> [unzip] Expanding: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/poi-src-5.2.3-SNAPSHOT-20220730.zip> into <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild> [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild/poi-5.2.3-SNAPSHOT/lib> [copy] Copying 87 files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild/poi-5.2.3-SNAPSHOT/lib> [echo] Building in temporary dir <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild/poi-5.2.3-SNAPSHOT/> [exec] To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon. [exec] Daemon will be stopped at the end of the build [exec] Configuration on demand is an incubating feature. [exec] [exec] > Configure project : [exec] Trying to override old definition of datatype junit [exec] Run with reduced parallelism for CI build [exec] Run with reduced parallelism for CI build [exec] Run with reduced parallelism for CI build [exec] Run with reduced parallelism for CI build [exec] Run with reduced parallelism for CI build [exec] Run with reduced parallelism for CI build [exec] Run with reduced parallelism for CI build [exec] Run with reduced parallelism for CI build [exec] Run with reduced parallelism for CI build [exec] [Fatal Error] :1:38: Invalid encoding name "UTF8". [exec] [exec] > Task :poi-integration:compileJava NO-SOURCE [exec] > Task :poi-integration:processResources NO-SOURCE [exec] > Task :poi-integration:classes UP-TO-DATE [exec] > Task :poi-integration:jar [exec] > Task :poi-integration:javadoc SKIPPED [exec] > Task :poi-integration:javadocJar SKIPPED [exec] > Task :poi-integration:sourcesJar SKIPPED [exec] > Task :poi-integration:assemble [exec] [exec] BUILD SUCCESSFUL in 17s [exec] 1 actionable task: 1 executed runCompileTest: [delete] Deleting directory <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild> [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild> [echo] Found jar packages at <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/maven/poi-ooxml-lite/poi-ooxml-lite-5.2.3-SNAPSHOT.jar>:<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/maven/poi-ooxml-tests/poi-ooxml-5.2.3-SNAPSHOT-tests.jar>:<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/maven/poi-ooxml/poi-ooxml-5.2.3-SNAPSHOT.jar>:<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/113/artifact/build/dist/maven/poi-tests/poi-5.2.3-SNAPSHOT-tests.jar>:<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/maven/poi/poi-5.2.3-SNAPSHOT.jar,> dist: ../build/dist [echo] Compiling examples without linking to scratchpad.jar to ensure that only some specific ones require this jar [javac] Compiling 123 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild> [javac] Creating empty <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild/org/apache/poi/examples/ss/html/package-info.class> [echo] Compiling all examples with the additional scratchpad.jar [javac] Compiling 16 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/distsourcebuild> run: BUILD SUCCESSFUL Total time: 32 seconds [SpotBugs] [-ERROR-] No files found for pattern '*/build/reports/spotbugs/*.xml'. Configuration error? [SpotBugs] Searching for all files in '<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/'> that match the pattern '*/build/reports/spotbugs/*.xml' [SpotBugs] Skipping post processing [SpotBugs] No filter has been set, publishing all 0 issues [SpotBugs] Repository miner is not configured, skipping repository mining [SpotBugs] Reference build recorder is not configured [SpotBugs] Obtaining reference build from same job (POI-DSL-IBM-JDK) [SpotBugs] Using reference build 'POI/POI-DSL-IBM-JDK #92' to compute new, fixed, and outstanding issues [SpotBugs] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 1902 [SpotBugs] No quality gates have been set - skipping [SpotBugs] Health report is disabled - skipping [SpotBugs] Created analysis result for 0 issues (found 0 new issues, fixed 1902 issues) [SpotBugs] Attaching ResultAction with ID 'spotbugs' to build 'POI/POI-DSL-IBM-JDK #113'. [Checks API] No suitable checks publisher found. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. Archiving artifacts [Fast Archiver] Compressed 301.33 MB of artifacts by 32.8% relative to #92 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. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] */build/*.exec,*/build/jacoco/*.exec;*/build/classes;*/src/main/java; locations are configured ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [JaCoCo plugin] Number of found exec files for pattern */build/*.exec,*/build/jacoco/*.exec: 0 [JaCoCo plugin] Saving matched execfiles: [JaCoCo plugin] Saving matched class directories for class-pattern: */build/classes: [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-examples/build/classes> 161 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/build/classes> 14 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/classes> 5566 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-lite-agent/build/classes> 6 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-lite/build/classes> 5483 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/build/classes> 875 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-scratchpad/build/classes> 951 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes> 1709 files [JaCoCo plugin] Saving matched source directories for source-pattern: */src/main/java: [JaCoCo plugin] Source Inclusions: null [JaCoCo plugin] Source Exclusions: null [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/osgi/src/main/java> 6 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-examples/src/main/java> 174 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/src/main/java> 21 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-lite-agent/src/main/java> 7 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/src/main/java> 698 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-scratchpad/src/main/java> 577 files [JaCoCo plugin] - <https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/src/main/java> 1303 files [JaCoCo plugin] Loading inclusions files.. [JaCoCo plugin] inclusions: [**/*.class] [JaCoCo plugin] exclusions: [com/microsoft/**, org/openxmlformats/**, org/etsi/**, org/w3/**, schemaorg*/**, schemasMicrosoft*/**, org/apache/poi/hdf/model/hdftypes/definitions/*.class, org/apache/poi/hwpf/model/types/*.class, org/apache/poi/hssf/usermodel/DummyGraphics2d.class, org/apache/poi/sl/draw/binding/*.class] ERROR: Step ?Record JaCoCo coverage report? aborted due to exception: java.lang.IllegalStateException: Can't add different class with same name: com/microsoft/schemas/office/visio/x2012/main/impl/SectionTypeImpl at org.jacoco.core.analysis.CoverageBuilder.visitCoverage(CoverageBuilder.java:106) at org.jacoco.core.analysis.Analyzer$1.visitEnd(Analyzer.java:99) at org.objectweb.asm.ClassVisitor.visitEnd(ClassVisitor.java:377) at org.jacoco.core.internal.flow.ClassProbesAdapter.visitEnd(ClassProbesAdapter.java:100) at org.objectweb.asm.ClassReader.accept(ClassReader.java:725) at org.objectweb.asm.ClassReader.accept(ClassReader.java:401) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:116) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:132) Caused: java.io.IOException: Error while analyzing /home/jenkins/jenkins-home/jobs/POI/jobs/POI-DSL-IBM-JDK/builds/113/jacoco/classes/java/main/com/microsoft/schemas/office/visio/x2012/main/impl/SectionTypeImpl.class. at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:162) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:134) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:157) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:193) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:226) at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:127) Caused: java.io.IOException: While reading class directory: /home/jenkins/jenkins-home/jobs/POI/jobs/POI-DSL-IBM-JDK/builds/113/jacoco/classes at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:130) at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:138) at hudson.plugins.jacoco.JacocoReportDir.parse(JacocoReportDir.java:110) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:331) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:321) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:675) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:763) at hudson.model.Build$BuildExecution.post2(Build.java:179) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707) at hudson.model.Run.execute(Run.java:1921) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) 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]
