See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/1/display/redirect>
Changes: ------------------------------------------ [...truncated 437.02 KB...] -rwxr-xr-x 1 root root 12392 Dec 7 17:21 jwebserver -rwxr-xr-x 1 root root 12392 Dec 7 17:21 keytool -rwxr-xr-x 1 root root 12416 Dec 7 17:21 rmiregistry -rwxr-xr-x 1 root root 12392 Dec 7 17:21 serialver + /home/jenkins/tools/java/latest23/bin/java -version openjdk version "23-ea" 2024-09-17 OpenJDK Runtime Environment (build 23-ea+1-1) OpenJDK 64-Bit Server VM (build 23-ea+1-1, mixed mode, sharing) + echo which java which java + which java /home/jenkins/tools/java/latest23/bin/java + java -version openjdk version "23-ea" 2024-09-17 OpenJDK Runtime Environment (build 23-ea+1-1) OpenJDK 64-Bit Server VM (build 23-ea+1-1, mixed mode, sharing) + echo which javac which javac + which javac /home/jenkins/tools/java/latest23/bin/javac + javac -version javac 23-ea + echo Ant-Home: Ant-Home: + ls -al total 524 drwxr-xr-x 20 jenkins jenkins 4096 Dec 31 23:45 . drwxr-xr-x 7 jenkins jenkins 4096 Dec 31 23:45 .. -rw-r--r-- 1 jenkins jenkins 520 Dec 31 23:45 .asf.yaml -rw-r--r-- 1 jenkins jenkins 30456 Dec 31 23:45 build.gradle -rw-r--r-- 1 jenkins jenkins 169141 Dec 31 23:45 build.xml -rw-r--r-- 1 jenkins jenkins 7536 Dec 31 23:45 doap_POI.rdf -rw-r--r-- 1 jenkins jenkins 3261 Dec 31 23:45 file-leak-detector.exclude -rw-r--r-- 1 jenkins jenkins 6229 Dec 31 23:45 forrest.properties -rw-r--r-- 1 jenkins jenkins 53 Dec 31 23:45 .gitattributes drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 .github -rw-r--r-- 1 jenkins jenkins 396 Dec 31 23:45 .gitignore drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 gradle -rw-r--r-- 1 jenkins jenkins 599 Dec 31 23:45 gradle.properties -rwxr-xr-x 1 jenkins jenkins 8639 Dec 31 23:45 gradlew -rw-r--r-- 1 jenkins jenkins 2868 Dec 31 23:45 gradlew.bat drwxr-xr-x 2 jenkins jenkins 4096 Dec 31 23:45 jenkins -rw-r--r-- 1 jenkins jenkins 167516 Dec 31 23:45 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Dec 31 23:45 legal drwxr-xr-x 2 jenkins jenkins 4096 Dec 31 23:45 lib.stored drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 osgi -rw-r--r-- 1 jenkins jenkins 4813 Dec 31 23:45 patch.xml drwxr-xr-x 4 jenkins jenkins 4096 Dec 31 23:45 poi drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 poi-examples drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 poi-excelant drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 poi-integration drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 poi-ooxml drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 poi-ooxml-full drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 poi-ooxml-lite drwxr-xr-x 3 jenkins jenkins 4096 Dec 31 23:45 poi-ooxml-lite-agent drwxr-xr-x 4 jenkins jenkins 4096 Dec 31 23:45 poi-scratchpad -rw-r--r-- 1 jenkins jenkins 4351 Dec 31 23:45 README.rst -rw-r--r-- 1 jenkins jenkins 428 Dec 31 23:45 SECURITY.md -rw-r--r-- 1 jenkins jenkins 190 Dec 31 23:45 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Dec 31 23:45 src drwxr-xr-x 4 jenkins jenkins 4096 Dec 31 23:45 .svn drwxr-xr-x 15 jenkins jenkins 4096 Dec 31 23:45 test-data -rw-r--r-- 1 jenkins jenkins 3803 Dec 31 23:45 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-1.23/ws/build.javacheck.xml> Detected Java version: 23 in: /usr/local/asfpackages/java/openjdk-23-ea+1 Detected OS: Linux parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/build.javacheck.xml> Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/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 23/23-ea [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 23-ea BUILD SUCCESSFUL Total time: 0 seconds + exit 0 ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [POI-DSL-1.23] $ /bin/sh -xe /tmp/jenkins12485903857503466879.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-1.23] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/gradlew> -PjdkVersion=23 --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.5/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 Path for java installation '/usr/lib/jvm/openjdk-11' (Common Linux Locations) does not contain a java executable Invalid Java installation found at '/usr/local/asfpackages/java/oraclejdk-j2sdk1.4.2-19' (Maven Toolchains). 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-ooxml-lite:clean UP-TO-DATE > Task :poi-integration:clean UP-TO-DATE > Task :poi-ooxml:clean > Task :poi:clean UP-TO-DATE > Task :poi-ooxml-lite-agent:clean UP-TO-DATE > Task :poi-examples:clean UP-TO-DATE > Task :poi-excelant:clean UP-TO-DATE > Task :clean UP-TO-DATE > Task :poi-scratchpad:clean UP-TO-DATE > Task :poi-ooxml-full:clean > Task :poi-integration:compileJava NO-SOURCE > Task :poi-examples:processResources NO-SOURCE > Task :poi-ooxml:cleanupBatik UP-TO-DATE > Task :poi-integration:processResources NO-SOURCE > Task :poi-integration:classes UP-TO-DATE > Task :poi-excelant:processResources > Task :poi-scratchpad:processResources > Task :poi:generateVersionJava > Task :poi-scratchpad:processTestResources NO-SOURCE > Task :poi-ooxml:fixBatik > Task :replaceVersion > Task :poi-integration:jar > Task :poi-integration:javadoc SKIPPED > Task :poi-integration:javadocJar > Task :poi-integration:sourcesJar SKIPPED > Task :poi-integration:assemble > Task :poi-integration:forbiddenApisMain NO-SOURCE > Task :poi-ooxml-full:copy_xsds > Task :poi-ooxml:processResources > Task :poi-integration:processTestResources > Task :poi-integration:spotbugsMain NO-SOURCE > Task :poi-ooxml:processTestResources > Task :poi-integration:getDeps NO-SOURCE > Task :poi-ooxml-lite:generateModuleInfo > Task :poi-ooxml-lite:processTestResources NO-SOURCE > Task :poi-excelant:sourcesJar > Task :poi-excelant:processTestResources > Task :poi-examples:sourcesJar > Task :poi-examples:processTestResources NO-SOURCE > Task :poi-scratchpad:sourcesJar > Task :poi-ooxml:sourcesJar > Task :poi-ooxml-lite-agent:compileJava > Task :poi-ooxml-lite-agent:compileJava9 > Task :poi-ooxml-lite-agent:processResources NO-SOURCE > Task :poi-ooxml-lite-agent:classes > Task :poi-ooxml-lite-agent:jar > Task :poi-ooxml-lite-agent:javadoc SKIPPED > Task :poi-ooxml-lite-agent:javadocJar SKIPPED > Task :poi-ooxml-lite-agent:sourcesJar > Task :poi-ooxml-lite-agent:assemble > Task :poi-ooxml-lite-agent:forbiddenApisMain FAILED > Task :poi-ooxml-full:generate_beans SchemaCompiler Metadata LOAD:org/apache/xmlbeans/metadata GEN:org/apache/poi/schemas/ooxml ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... Time to build schema type system: 1.696 seconds Time to generate code: 3.75 seconds > Task :poi:compileJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132: warning: [unchecked] unchecked cast m.putAll((Map<String,Supplier<?>>)baseMap); ^ required: Map<String,Supplier<?>> found: Object <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java>:38: warning: [removal] ThreadDeath in java.lang has been deprecated and marked for removal || throwable instanceof ThreadDeath ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated byte[] data = in.readAllContinuedRemainder(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated _lastDrawingRecord.processContinueRecord(contRec.getData()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1141: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal } catch (AccessControlException e) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated byte[] remainder = ris.readAllContinuedRemainder(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated public final void setCellType(CellType cellType) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(cellType); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:79: warning: [removal] AccessController in java.security has been deprecated and marked for removal final Object hack = AccessController.doPrivileged( ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:179: warning: [removal] AccessController in java.security has been deprecated and marked for removal final Throwable error = AccessController.doPrivileged( ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/ss/util/SheetUtil.java>:122: warning: [dep-ann] deprecated item is not annotated with @Deprecated public static double getCellWidth(Cell cell, int defaultCharWidth, DataFormatter formatter, boolean useMergedCells) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/ss/util/SheetUtil.java>:157: warning: [dep-ann] deprecated item is not annotated with @Deprecated public static double getCellWidth(Cell cell, int defaultCharWidth, DataFormatter formatter, boolean useMergedCells, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi/src/main/java/org/apache/poi/ss/util/SheetUtil.java>:333: warning: [dep-ann] deprecated item is not annotated with @Deprecated public static int getDefaultCharWidth(final Workbook wb) { ^ 13 warnings FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi-ooxml-lite-agent:forbiddenApisMain'. > The class file format of > '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.23/ws/poi-ooxml-lite-agent/build/classes/java/main/org/apache/poi/ooxml/lite/OOXMLLiteAgent.class'> > is too recent to be parsed by ASM. * 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.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 54s 35 actionable tasks: 26 executed, 9 up-to-date Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as 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