See <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/152/display/redirect?page=changes>
Changes: [PJ Fanning] [github-692] D* functions are incompatible with the diamond operator. Thanks to Luk Spiewak. This closes #692 [PJ Fanning] gradle 8.10.1 [PJ Fanning] try to add more chart related classes to poi-ooxml-lite [PJ Fanning] commons-io 2.17.0 [PJ Fanning] commons-io 2.17.0 [PJ Fanning] fix typo [PJ Fanning] back to ant [PJ Fanning] back to ant [PJ Fanning] use gradle for java 22 builds [PJ Fanning] try jupiter junit 5.11.0 again [PJ Fanning] upgrade spotbugs [PJ Fanning] revert junit upgrade due to CI issues ------------------------------------------ [...truncated 9.40 KB...] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 07:17 osgi -rw-r--r-- 1 jenkins jenkins 4813 Aug 11 07:17 patch.xml drwxr-xr-x 5 jenkins jenkins 4096 Sep 8 07:20 poi drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 07:20 poi-examples drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 07:20 poi-excelant drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 07:20 poi-integration drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 07:20 poi-ooxml drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 07:20 poi-ooxml-full drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 07:22 poi-ooxml-lite drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 07:20 poi-ooxml-lite-agent drwxr-xr-x 5 jenkins jenkins 4096 Sep 8 07:20 poi-scratchpad -rw-r--r-- 1 jenkins jenkins 4354 Aug 11 07:17 README.rst -rw-r--r-- 1 jenkins jenkins 428 Aug 11 07:17 SECURITY.md -rw-r--r-- 1 jenkins jenkins 190 Aug 11 07:17 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Aug 11 07:17 src drwxr-xr-x 4 jenkins jenkins 4096 Sep 22 07:17 .svn drwxr-xr-x 15 jenkins jenkins 4096 Aug 11 07:16 test-data -rw-r--r-- 1 jenkins jenkins 3803 Aug 11 07:17 wrapper.gradle + echo which ant which ant + which ant /usr/bin/ant + ant -version Apache Ant(TM) version 1.10.12 compiled on January 17 1970 + echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project> + ant -f build.javacheck.xml -v Apache Ant(TM) version 1.10.12 compiled on January 17 1970 Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/build.javacheck.xml> Detected Java version: 1.8 in: /usr/local/asfpackages/java/adoptium-jdk-8u362-b09/jre Detected OS: Linux parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/build.javacheck.xml> Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/> Build sequence for target(s) `test' is [test] Complete build sequence is [test, ] test: parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file [echo] Java 1.8/1.8.0_362 [exec] Current OS is Linux [exec] Executing 'javac' with arguments: [exec] '-version' [exec] [exec] The ' characters around the executable and arguments are [exec] not part of the command. [exec] javac 1.8.0_362 BUILD SUCCESSFUL Total time: 2 seconds + exit 0 ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [POI-DSL-saxon-test] $ /bin/sh -xe /tmp/jenkins1537340484167925558.sh + touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml [Gradle] - Launching build. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [POI-DSL-saxon-test] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/gradlew> -Psaxon.test=true -PjdkVersion=8 --refresh-dependencies clean jenkins To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.10.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation. Daemon will be stopped at the end of the build Configuration on demand is an incubating feature. > Configure project : Trying to override old definition of datatype junit Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Invalid Java installation found at '/usr/local/asfpackages/java/oraclejdk-j2sdk1.4.2-19' (Maven Toolchains) auto-detected. It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details. > Task :poi-integration:clean > Task :poi-excelant:clean > Task :poi-examples:clean > Task :poi-integration:compileJava NO-SOURCE > Task :poi-examples:processResources NO-SOURCE > Task :poi-integration:processResources NO-SOURCE > Task :poi-integration:classes UP-TO-DATE > Task :poi-integration:javadoc SKIPPED > Task :poi-ooxml-lite-agent:clean > Task :poi-examples:processTestResources NO-SOURCE > Task :poi-integration:forbiddenApisMain NO-SOURCE > Task :poi-integration:processTestResources > Task :poi-integration:spotbugsMain NO-SOURCE > Task :poi-excelant:processResources > Task :poi-integration:getDeps NO-SOURCE > Task :poi-excelant:processTestResources > Task :poi-ooxml:clean > Task :poi-ooxml:cleanupBatik UP-TO-DATE > Task :clean > Task :poi-ooxml:fixBatik > Task :poi:clean > Task :replaceVersion > Task :poi:generateVersionJava > Task :poi-integration:jar > Task :poi-integration:javadocJar > Task :poi-integration:sourcesJar SKIPPED > Task :poi-integration:assemble > Task :poi-ooxml-lite-agent:compileJava FROM-CACHE > Task :poi-ooxml:processResources > Task :poi-ooxml-lite-agent:compileJava9 FROM-CACHE > Task :poi-ooxml-lite-agent:processResources NO-SOURCE > Task :poi-ooxml-lite-agent:classes UP-TO-DATE > Task :poi-ooxml:processTestResources > Task :poi-scratchpad:clean > Task :poi-ooxml-lite-agent:jar > Task :poi-ooxml-lite-agent:javadoc SKIPPED > Task :poi-ooxml-lite-agent:javadocJar SKIPPED > Task :poi-excelant:sourcesJar > Task :poi-scratchpad:processResources > Task :poi-scratchpad:processTestResources NO-SOURCE > Task :poi-ooxml-lite-agent:sourcesJar > Task :poi-ooxml-lite-agent:assemble > Task :poi-ooxml-full:clean > Task :poi-ooxml-lite-agent:forbiddenApisMain > Task :poi-ooxml-lite-agent:compileTestJava NO-SOURCE > Task :poi-ooxml-lite-agent:processTestResources NO-SOURCE > Task :poi-ooxml-lite-agent:testClasses UP-TO-DATE > Task :poi-ooxml-lite-agent:forbiddenApisTest NO-SOURCE > Task :poi-ooxml-lite-agent:forbiddenApis > Task :poi-ooxml-lite-agent:spotbugsMain SKIPPED > Task :poi-ooxml-lite-agent:spotbugsTest NO-SOURCE > Task :poi-ooxml-lite-agent:test NO-SOURCE > Task :poi-ooxml-lite-agent:check > Task :poi-ooxml-lite-agent:build > Task :poi-ooxml-lite:clean > Task :poi-ooxml-full:copy_xsds > Task :poi-ooxml-lite:generateModuleInfo > Task :poi-ooxml-lite:processTestResources NO-SOURCE > Task :poi-ooxml-lite-agent:getDeps > Task :poi-ooxml-lite-agent:jacocoTestReport SKIPPED > Task :poi-examples:sourcesJar > Task :poi-ooxml-full:generate_beans Time to build schema type system: 5.833 seconds > Task :poi-scratchpad:sourcesJar > Task :poi-ooxml-full:generate_beans Time to generate code: 19.582 seconds > Task :poi:compileJava > Task :poi-ooxml:sourcesJar > Task :poi:compileJava FROM-CACHE > Task :poi-ooxml-full:compileJava FROM-CACHE > Task :poi:compileJava9 > Task :poi-ooxml-full:compileJava9 > Task :poi-ooxml-full:processResources NO-SOURCE > Task :poi-ooxml-full:classes > Task :poi:processResources > Task :poi:classes > Task :poi-ooxml-full:sourceJar > Task :poi-ooxml-full:jar > Task :poi-ooxml-full:javadoc SKIPPED > Task :poi-ooxml-full:javadocJar SKIPPED > Task :poi-ooxml-lite:compileOoxmlLite > Task :poi:compileTestJava FROM-CACHE > Task :poi:compileTest9 > Task :poi:jar > Task :poi-ooxml-full:sourcesJar > Task :poi-ooxml-full:assemble > Task :poi:processTestResources > Task :poi:testClasses > Task :poi-scratchpad:compileJava FROM-CACHE > Task :poi:testJar > Task :poi-scratchpad:compileJava9 > Task :poi-scratchpad:classes > Task :poi:sourcesJar > Task :poi-scratchpad:jar > Task :poi-ooxml:compileJava > Task :poi:forbiddenApisMain > Task :poi-ooxml-lite:compileJava > Task :poi:forbiddenApisTest > Task :poi:forbiddenApis > Task :poi-ooxml:compileJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:170: warning: [deprecation] getNameAt(int) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated XSSFName nm = _uBook.getNameAt(i); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:214: warning: [deprecation] getNameIndex(java.lang.String) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated int nameIdx = _uBook.getNameIndex(nameName); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:285: warning: [deprecation] getNameAt(int) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated XSSFName xname = _uBook.getNameAt(idx); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:340: warning: [deprecation] getNameAt(int) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated return _uBook.getNameAt(namePtg.getIndex()).getNameName(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:345: warning: [deprecation] getNameAt(int) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated return new Name(_uBook.getNameAt(ix), ix, this); ^ > Task :poi:spotbugsMain FROM-CACHE > Task :poi:spotbugsTest FROM-CACHE > Task :poi:test FAILED > Task :poi-scratchpad:compileTestJava FROM-CACHE > Task :poi-ooxml:compileJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:173: warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in org.apache.poi.ss.usermodel.Cell has been deprecated cell.setCellType(cellType); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java>:211: warning: [deprecation] ZipFile(java.io.File) in org.apache.commons.compress.archivers.zip.ZipFile has been deprecated super(file); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java>:221: warning: [deprecation] ZipFile(java.lang.String) in org.apache.commons.compress.archivers.zip.ZipFile has been deprecated super(name); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:53: warning: [deprecation] createTempFile() in org.apache.poi.xssf.streaming.SheetDataWriter has been deprecated public File createTempFile() throws IOException { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-saxon-test/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:58: warning: [deprecation] createWriter(java.io.File) in org.apache.poi.xssf.streaming.SheetDataWriter has been deprecated public Writer createWriter(File fd) throws IOException { ^ 10 warnings > Task :poi-ooxml-full:forbiddenApisMain FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi:test'. > Could not resolve all dependencies for configuration ':poi:jacocoAgent'. > Could not load module metadata from /home/jenkins/.gradle/caches/modules-2/metadata-2.106/descriptors/org.jacoco/org.jacoco.agent/0.8.11/26c913274550a0b2221f47a0fe2d2358/descriptor.bin * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.10.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 5m 8s 62 actionable tasks: 52 executed, 9 from cache, 1 up-to-date Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' 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. ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org