See <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/982/display/redirect?page=changes>
Changes: [PJ Fanning] [github-672] Support removing XWPF Styles. Thanks to fangd1997. This closes #672 ------------------------------------------ Started by an SCM change Running as SYSTEM ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [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 FORREST_HOME=/home/jenkins/tools/forrest/latest LANG=en_US.UTF-8 CI_BUILD=TRUE [EnvInject] - Variables injected successfully. [EnvInject] - Injecting contributions. Building remotely on builds46 (tmp-22 ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/> [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Done ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found Updating https://svn.apache.org/repos/asf/poi/trunk at revision '2024-08-16T00:07:13.282 +0000' U poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFStyles.java U poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java U poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFStyles.java U poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java U poi-ooxml/build.gradle U build.gradle U build.xml U poi-excelant/build.gradle U poi-integration/build.gradle <-- 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-OpenJDK/ws/forrest.properties'> At revision 1919921 <-- 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-OpenJDK/ws/src/documentation'> U src/documentation/content/xdocs/changes.xml U src/documentation/content/xdocs/components/index.xml At revision 1919921 At revision 1919921 No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [POI-DSL-OpenJDK] $ /bin/sh -xe /tmp/jenkins11898870907154654692.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.java poi-excelant/src/main/java9/module-info.java poi-excelant/src/test/java9/module-info.java poi-integration/src/test/java9/module-info.java poi-ooxml-full/src/main/java9/module-info.java poi-ooxml-lite-agent/src/main/java9/module-info.java poi-ooxml-lite/src/main/java9/module-info.java poi-ooxml/src/main/java9/module-info.java poi-ooxml/src/test/java9/module-info.java poi-scratchpad/src/main/java9/module-info.java poi-scratchpad/src/test/java9/module-info.java poi/src/main/java9/module-info.java poi/src/test/java9/module-info.java + svn revert src/resources/ooxml-lite-report.clazz src/resources/ooxml-lite-report.xsb + echo Java-Home: Java-Home: + ls -al / total 8390660 drwxr-xr-x 19 root root 4096 Jul 25 04:43 . drwxr-xr-x 19 root root 4096 Jul 25 04:43 .. lrwxrwxrwx 1 root root 7 Aug 23 2023 bin -> usr/bin drwxr-xr-x 4 root root 4096 Feb 10 2024 boot drwxr-xr-x 20 root root 4220 May 25 10:26 dev drwxr-xr-x 142 root root 12288 May 25 10:27 etc drwxr-xr-x 10 root root 4096 Feb 2 2024 home lrwxrwxrwx 1 root root 7 Aug 23 2023 lib -> usr/lib lrwxrwxrwx 1 root root 9 Aug 23 2023 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Aug 23 2023 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Aug 23 2023 libx32 -> usr/libx32 drwx------ 2 root root 16384 Nov 9 2023 lost+found drwxr-xr-x 2 root root 4096 Aug 23 2023 media drwxr-xr-x 2 root root 4096 Aug 23 2023 mnt drwxr-xr-x 15 root root 4096 Apr 19 21:03 opt dr-xr-xr-x 327 root root 0 May 25 10:23 proc -rw-r--r-- 1 root root 11304 May 17 2023 puppet-release-jammy.deb drwx------ 11 root root 4096 May 25 10:27 root drwxr-xr-x 40 root root 1140 Jul 25 04:42 run lrwxrwxrwx 1 root root 8 Aug 23 2023 sbin -> usr/sbin drwxr-xr-x 11 root root 4096 Nov 9 2023 snap drwxr-xr-x 2 root root 4096 May 25 10:27 srv -rw------- 1 root root 8589934592 Nov 9 2023 swap.img dr-xr-xr-x 13 root root 0 May 25 10:23 sys drwxrwxrwt 234 root root 1998848 Aug 16 00:07 tmp drwxr-xr-x 17 root root 4096 Nov 17 2023 usr drwxr-xr-x 13 root root 4096 Aug 23 2023 var + ls -al /bin lrwxrwxrwx 1 root root 7 Aug 23 2023 /bin -> usr/bin + /bin/java -version openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu122.04, mixed mode, sharing) + echo which java which java + which java /usr/bin/java + java -version openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu122.04, mixed mode, sharing) + echo which javac which javac + which javac /usr/bin/javac + javac -version javac 11.0.21 + echo Ant-Home: Ant-Home: + ls -al total 520 drwxr-xr-x 22 jenkins jenkins 4096 Aug 16 00:07 . drwxr-xr-x 4 jenkins jenkins 4096 Jul 18 00:59 .. -rw-r--r-- 1 jenkins jenkins 520 Jun 2 12:08 .asf.yaml drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 00:09 build -rw-r--r-- 1 jenkins jenkins 33426 Aug 16 00:07 build.gradle -rw-r--r-- 1 jenkins jenkins 151462 Aug 16 00:07 build.xml -rw-r--r-- 1 jenkins jenkins 7709 Jul 10 00:08 doap_POI.rdf -rw-r--r-- 1 jenkins jenkins 3261 Jun 2 12:08 file-leak-detector.exclude -rw-r--r-- 1 jenkins jenkins 6229 Jun 2 12:08 forrest.properties -rw-r--r-- 1 jenkins jenkins 53 Jun 2 12:08 .gitattributes drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 12:08 .github -rw-r--r-- 1 jenkins jenkins 396 Jun 2 12:08 .gitignore drwxr-xr-x 5 jenkins jenkins 4096 Aug 2 00:27 .gradle drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 12:08 gradle -rw-r--r-- 1 jenkins jenkins 494 Jun 2 12:08 gradle.properties -rwxr-xr-x 1 jenkins jenkins 8692 Jun 2 12:08 gradlew -rw-r--r-- 1 jenkins jenkins 2868 Jun 2 12:08 gradlew.bat drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 12:08 jenkins -rw-r--r-- 1 jenkins jenkins 167947 Jun 2 12:08 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 12:08 legal drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 12:08 lib.stored drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 00:08 osgi -rw-r--r-- 1 jenkins jenkins 4813 Jun 2 12:08 patch.xml drwxr-xr-x 5 jenkins jenkins 4096 Aug 2 00:12 poi drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:09 poi-examples drwxr-xr-x 4 jenkins jenkins 4096 Aug 16 00:07 poi-excelant drwxr-xr-x 4 jenkins jenkins 4096 Aug 16 00:07 poi-integration drwxr-xr-x 4 jenkins jenkins 4096 Aug 16 00:07 poi-ooxml drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:09 poi-ooxml-full drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:10 poi-ooxml-lite drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:09 poi-ooxml-lite-agent drwxr-xr-x 5 jenkins jenkins 4096 Aug 2 00:09 poi-scratchpad -rw-r--r-- 1 jenkins jenkins 4354 Jul 17 00:07 README.rst -rw-r--r-- 1 jenkins jenkins 428 Jun 2 12:08 SECURITY.md -rw-r--r-- 1 jenkins jenkins 190 Jun 2 12:08 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Jun 2 12:08 src drwxr-xr-x 4 jenkins jenkins 4096 Aug 16 00:07 .svn drwxr-xr-x 15 jenkins jenkins 4096 Jun 2 12:07 test-data -rw-r--r-- 1 jenkins jenkins 3803 Jun 2 12:08 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-OpenJDK/ws/build.javacheck.xml> Detected Java version: 11 in: /usr/lib/jvm/java-11-openjdk-amd64 Detected OS: Linux parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/build.javacheck.xml> Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/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 11/11.0.21 [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 11.0.21 BUILD SUCCESSFUL Total time: 0 seconds + exit 0 ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [POI-DSL-OpenJDK] $ /bin/sh -xe /tmp/jenkins11325476431309116361.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. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [POI-DSL-OpenJDK] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/gradlew> -PjdkVersion=8 -PjdkVendor=adoptopenjdk --refresh-dependencies clean jenkinsLite 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.9/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. FAILURE: Build failed with an exception. * Where: Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/poi/build.gradle'> line: 82 * What went wrong: A problem occurred evaluating project ':poi'. > Could not resolve all dependencies for configuration > ':poi:testRuntimeClasspath'. > Failed to calculate the value of task ':poi:compileTestJava' property 'javaCompiler'. > Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=8, vendor=matching('adoptopenjdk'), implementation=vendor-specific} for LINUX on x86_64. > No locally installed toolchains match and toolchain download repositories have not been configured. * Try: > Learn more about toolchain auto-detection at > https://docs.gradle.org/8.9/userguide/toolchains.html#sec:auto_detection. > Learn more about toolchain repositories at > https://docs.gradle.org/8.9/userguide/toolchains.html#sub:download_repositories. > 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.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 59s 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. No JDK named ‘adoptopenjdk_hotspot_8u282’ found Archiving artifacts ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found Recording test results ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [Checks API] No suitable checks publisher found. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org