See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/214/display/redirect?page=changes>
Changes: [PJ Fanning] java 17 build issue ------------------------------------------ Started by user PJ Fanning Running as SYSTEM [EnvInject] - Loading node environment variables. [EnvInject] - Preparing an environment for the build. [EnvInject] - Keeping Jenkins system variables. [EnvInject] - Keeping Jenkins build variables. [EnvInject] - Injecting as environment variables the properties content LANG=en_US.UTF-8 FORREST_HOME=/home/jenkins/tools/forrest/latest CI_BUILD=TRUE [EnvInject] - Variables injected successfully. [EnvInject] - Injecting contributions. Building remotely on builds35 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/> [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Done Updating https://svn.apache.org/repos/asf/poi/trunk at revision '2022-02-22T01:26:18.058 +0000' U build.gradle <-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation --> Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/src/documentation'> At revision 1898298 <-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties --> Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/forrest.properties'> At revision 1898298 At revision 1898298 No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build [POI-DSL-1.17] $ /bin/sh -xe /tmp/jenkins2734249619483286222.sh + rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml + svn status X forrest.properties X src/documentation Performing status on external item at 'src/documentation': + svn revert poi-examples/src/main/java9/module-info.class poi-examples/src/main/java9/module-info.java poi-excelant/src/main/java9/module-info.class poi-excelant/src/main/java9/module-info.java poi-excelant/src/test/java9/module-info.class poi-excelant/src/test/java9/module-info.java poi-integration/src/test/java9/module-info.class poi-integration/src/test/java9/module-info.java poi-ooxml-full/src/main/java9/module-info.class poi-ooxml-full/src/main/java9/module-info.java poi-ooxml-lite-agent/src/main/java9/module-info.class poi-ooxml-lite-agent/src/main/java9/module-info.java poi-ooxml-lite/src/main/java9/module-info.class poi-ooxml-lite/src/main/java9/module-info.java poi-ooxml/src/main/java9/module-info.class poi-ooxml/src/main/java9/module-info.java poi-ooxml/src/test/java9/module-info.class poi-ooxml/src/test/java9/module-info.java poi-scratchpad/src/main/java9/module-info.class poi-scratchpad/src/main/java9/module-info.java poi-scratchpad/src/test/java9/module-info.class poi-scratchpad/src/test/java9/module-info.java poi/src/main/java9/module-info.class poi/src/main/java9/module-info.java poi/src/test/java9/module-info.class poi/src/test/java9/module-info.java + echo Java-Home: /home/jenkins/tools/java/latest17 Java-Home: /home/jenkins/tools/java/latest17 + ls -al /home/jenkins/tools/java/latest17/ total 40 drwxrwxr-x 9 root root 4096 Dec 21 18:18 . drwxr-xr-x 30 root root 4096 Dec 21 18:18 .. drwxrwxr-x 2 root root 4096 Dec 21 18:18 bin drwxrwxr-x 5 root root 4096 Dec 21 18:18 conf drwxrwxr-x 3 root root 4096 Dec 21 18:18 include drwxrwxr-x 2 root root 4096 Dec 21 18:18 jmods drwxrwxr-x 72 root root 4096 Dec 21 18:18 legal drwxrwxr-x 5 root root 4096 Dec 21 18:18 lib lrwxrwxrwx 1 root root 23 Sep 27 17:41 LICENSE -> legal/java.base/LICENSE drwxrwxr-x 3 root root 4096 Dec 21 18:18 man -rw-r--r-- 1 root root 1231 Sep 27 17:40 release + ls -al /home/jenkins/tools/java/latest17/bin total 456 drwxrwxr-x 2 root root 4096 Dec 21 18:18 . drwxrwxr-x 9 root root 4096 Dec 21 18:18 .. -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jar -rwxr-xr-x 1 root root 12392 Sep 27 17:40 jarsigner -rwxr-xr-x 1 root root 12368 Sep 27 17:40 java -rwxr-xr-x 1 root root 12416 Sep 27 17:40 javac -rwxr-xr-x 1 root root 12424 Sep 27 17:40 javadoc -rwxr-xr-x 1 root root 12384 Sep 27 17:40 javap -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jcmd -rwxr-xr-x 1 root root 12456 Sep 27 17:40 jconsole -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jdb -rwxr-xr-x 1 root root 12392 Sep 27 17:40 jdeprscan -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jdeps -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jfr -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jhsdb -rwxr-xr-x 1 root root 12392 Sep 27 17:40 jimage -rwxr-xr-x 1 root root 12416 Sep 27 17:40 jinfo -rwxr-xr-x 1 root root 12416 Sep 27 17:40 jlink -rwxr-xr-x 1 root root 12416 Sep 27 17:40 jmap -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jmod -rwxr-xr-x 1 root root 12392 Sep 27 17:40 jpackage -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jps -rwxr-xr-x 1 root root 12424 Sep 27 17:40 jrunscript -rwxr-xr-x 1 root root 12392 Sep 27 17:40 jshell -rwxr-xr-x 1 root root 12424 Sep 27 17:40 jstack -rwxr-xr-x 1 root root 12384 Sep 27 17:40 jstat -rwxr-xr-x 1 root root 12392 Sep 27 17:40 jstatd -rwxr-xr-x 1 root root 12392 Sep 27 17:40 keytool -rwxr-xr-x 1 root root 12392 Sep 27 17:40 rmiregistry -rwxr-xr-x 1 root root 12392 Sep 27 17:40 serialver + /home/jenkins/tools/java/latest17/bin/java -version java version "17.0.1" 2021-10-19 LTS Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39) Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing) + echo which java which java + which java /home/jenkins/tools/java/latest17/bin/java + java -version java version "17.0.1" 2021-10-19 LTS Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39) Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing) + echo which javac which javac + which javac /home/jenkins/tools/java/latest17/bin/javac + javac -version javac 17.0.1 + echo Ant-Home: Ant-Home: + ls -al total 520 drwxr-xr-x 22 jenkins jenkins 4096 Feb 22 01:26 . drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 17:39 .. -rw-r--r-- 1 jenkins jenkins 520 Dec 20 01:02 .asf.yaml drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 01:16 build -rw-r--r-- 1 jenkins jenkins 30088 Feb 22 01:26 build.gradle -rw-r--r-- 1 jenkins jenkins 166495 Feb 9 00:59 build.xml -rw-r--r-- 1 jenkins jenkins 6671 Jan 15 00:59 doap_POI.rdf -rw-r--r-- 1 jenkins jenkins 3014 Dec 20 01:02 file-leak-detector.exclude -rw-r--r-- 1 jenkins jenkins 6229 Dec 20 01:03 forrest.properties -rw-r--r-- 1 jenkins jenkins 53 Dec 20 01:02 .gitattributes drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 01:02 .github -rw-r--r-- 1 jenkins jenkins 334 Dec 20 01:02 .gitignore drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 01:02 gradle drwxr-xr-x 5 jenkins jenkins 4096 Feb 19 13:26 .gradle -rw-r--r-- 1 jenkins jenkins 599 Dec 20 01:02 gradle.properties -rwxr-xr-x 1 jenkins jenkins 8070 Dec 20 01:02 gradlew -rw-r--r-- 1 jenkins jenkins 2763 Dec 20 01:02 gradlew.bat drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 01:02 jenkins -rw-r--r-- 1 jenkins jenkins 167281 Dec 20 01:02 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 01:02 legal drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 01:02 lib.stored drwxr-xr-x 3 jenkins jenkins 4096 Jan 22 12:59 osgi -rw-r--r-- 1 jenkins jenkins 4813 Dec 20 01:02 patch.xml drwxr-xr-x 5 jenkins jenkins 4096 Feb 22 01:16 poi drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 01:16 poi-examples drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 01:16 poi-excelant drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 01:16 poi-integration drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 01:16 poi-ooxml drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 01:16 poi-ooxml-full drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 01:03 poi-ooxml-lite drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 01:16 poi-ooxml-lite-agent drwxr-xr-x 5 jenkins jenkins 4096 Feb 22 01:16 poi-scratchpad -rw-r--r-- 1 jenkins jenkins 4351 Dec 22 00:59 README.rst -rw-r--r-- 1 jenkins jenkins 232 Dec 20 01:02 SECURITY.md -rw-r--r-- 1 jenkins jenkins 190 Dec 20 01:02 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Dec 20 01:02 src drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 01:26 .svn drwxr-xr-x 15 jenkins jenkins 4096 Dec 20 01:02 test-data + echo which ant which ant + which ant /usr/bin/ant + ant -version Apache Ant(TM) version 1.10.5 compiled on March 28 2019 + 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.5 compiled on March 28 2019 Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build.javacheck.xml> Detected Java version: 17 in: /usr/local/asfpackages/java/oraclejdk-17.0.1 Detected OS: Linux parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build.javacheck.xml> Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/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 17/17.0.1 [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 17.0.1 BUILD SUCCESSFUL Total time: 0 seconds + exit 0 [POI-DSL-1.17] $ /bin/sh -xe /tmp/jenkins5258145847425969200.sh + touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml [Gradle] - Launching build. [POI-DSL-1.17] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/gradlew> -PjdkVersion=17 clean jenkins To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon. 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 [Fatal Error] :1:38: Invalid encoding name "UTF8". FAILURE: Build failed with an exception. * Where: Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build.gradle'> line: 91 * What went wrong: A problem occurred evaluating project ':poi'. > The new Java toolchain feature cannot be used at the project level in > combination with source and/or target compatibility * 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 BUILD FAILED in 25s 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' Archiving artifacts Recording test results ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org