See
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.17/153/display/redirect?page=changes>
Changes:
[PJ Fanning] make number pasring more robust
------------------------------------------
[...truncated 3.05 KiB...]
+ echo Java-Home: /home/jenkins/tools/java/latest17
Java-Home: /home/jenkins/tools/java/latest17
+ ls -al /home/jenkins/tools/java/latest17/
total 44
drwxr-xr-x 9 root root 4096 Sep 29 2024 .
drwxrwxr-x 25 root root 4096 May 28 10:16 ..
drwxr-xr-x 2 root root 4096 Sep 29 2024 bin
drwxr-xr-x 5 root root 4096 Sep 29 2024 conf
drwxr-xr-x 3 root root 4096 Sep 29 2024 include
drwxr-xr-x 2 root root 4096 Sep 29 2024 jmods
drwxr-xr-x 72 root root 4096 Sep 29 2024 legal
drwxr-xr-x 5 root root 4096 Sep 29 2024 lib
drwxr-xr-x 3 root root 4096 Sep 29 2024 man
-rw-r--r-- 1 root root 2400 Jul 16 2024 NOTICE
-rw-r--r-- 1 root root 1626 Jul 16 2024 release
+ ls -al /home/jenkins/tools/java/latest17/bin
total 460
drwxr-xr-x 2 root root 4096 Sep 29 2024 .
drwxr-xr-x 9 root root 4096 Sep 29 2024 ..
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jar
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jarsigner
-rwxr-xr-x 1 root root 16320 Jul 16 2024 java
-rwxr-xr-x 1 root root 16368 Jul 16 2024 javac
-rwxr-xr-x 1 root root 16368 Jul 16 2024 javadoc
-rwxr-xr-x 1 root root 16336 Jul 16 2024 javap
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jcmd
-rwxr-xr-x 1 root root 16400 Jul 16 2024 jconsole
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jdb
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jdeprscan
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jdeps
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jfr
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jhsdb
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jimage
-rwxr-xr-x 1 root root 16368 Jul 16 2024 jinfo
-rwxr-xr-x 1 root root 16368 Jul 16 2024 jlink
-rwxr-xr-x 1 root root 16368 Jul 16 2024 jmap
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jmod
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jpackage
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jps
-rwxr-xr-x 1 root root 16376 Jul 16 2024 jrunscript
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jshell
-rwxr-xr-x 1 root root 16368 Jul 16 2024 jstack
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jstat
-rwxr-xr-x 1 root root 16336 Jul 16 2024 jstatd
-rwxr-xr-x 1 root root 16336 Jul 16 2024 keytool
-rwxr-xr-x 1 root root 16344 Jul 16 2024 rmiregistry
-rwxr-xr-x 1 root root 16336 Jul 16 2024 serialver
+ /home/jenkins/tools/java/latest17/bin/java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment Temurin-17.0.12+7 (build 17.0.12+7)
OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode,
sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest17/bin/java
+ java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment Temurin-17.0.12+7 (build 17.0.12+7)
OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode,
sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest17/bin/javac
+ javac -version
javac 17.0.12
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 416
drwxr-xr-x 12 jenkins jenkins 4096 Jun 19 12:21 .
drwxr-xr-x 7 jenkins jenkins 4096 Jun 15 05:22 ..
drwxr-xr-x 17 jenkins jenkins 4096 Jun 19 00:28 build
-rw-r--r-- 1 jenkins jenkins 28325 Jun 17 00:21 build.gradle
-rw-r--r-- 1 jenkins jenkins 54156 Jun 16 12:21 build.xml
-rw-r--r-- 1 jenkins jenkins 11963 Jul 7 2025 CHANGES.txt
drwxr-xr-x 8 jenkins jenkins 4096 Jun 19 12:21 .git
drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 2025 .github
-rw-r--r-- 1 jenkins jenkins 69 Jun 16 00:21 .gitignore
drwxr-xr-x 6 jenkins jenkins 4096 Jun 17 00:21 .gradle
drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 2025 gradle
-rw-r--r-- 1 jenkins jenkins 1326 Jun 16 12:21 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 9219 Jun 17 00:21 gradlew
-rw-r--r-- 1 jenkins jenkins 176588 Jul 7 2025 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 2025 legal
-rwxr-xr-x 1 jenkins jenkins 12245 Jun 16 12:21 LICENSE-binary.txt
-rwxr-xr-x 1 jenkins jenkins 15242 Jul 7 2025 LICENSE.txt
-rw-r--r-- 1 jenkins jenkins 2310 Jun 8 07:32 NOTICE-binary.txt
-rw-r--r-- 1 jenkins jenkins 1592 Jul 7 2025 NOTICE.txt
-rw-r--r-- 1 jenkins jenkins 2480 Jul 7 2025 README.md
-rw-r--r-- 1 jenkins jenkins 11208 Jul 7 2025 release-guide.txt
drwxr-xr-x 16 jenkins jenkins 4096 Jul 7 2025 samples
-rw-r--r-- 1 jenkins jenkins 238 Jul 7 2025 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 661 Jul 7 2025 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Jul 7 2025 src
-rw-r--r-- 1 jenkins jenkins 359 Jul 7 2025 STATUS
drwxr-xr-x 4 jenkins jenkins 4096 Jul 7 2025 test
-rw-r--r-- 1 jenkins jenkins 3803 Jul 7 2025 wrapper.gradle
-rw-r--r-- 1 jenkins jenkins 25 Jul 7 2025 xbeanenv.cmd
-rwxr-xr-x 1 jenkins jenkins 27 Jul 7 2025 xbeanenv.sh
drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 2025 xkit
+ 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-XMLBeans-DSL-1.17/ws/build.javacheck.xml>
Detected Java version: 17 in: /usr/local/asfpackages/java/adoptium-jdk-17.0.12+7
Detected OS: Linux
parsing buildfile
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.17/ws/build.javacheck.xml>
with URI =
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.17/ws/build.javacheck.xml>
Project base dir set to:
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-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.12
[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.12
BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for
similarly-named environment variables.
[POI-XMLBeans-DSL-1.17] $
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.17/ws/gradlew>
clean jenkins jacocoTestReport
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.14.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.
> Task :clean
> Task :cyclonedxBom
> Task :bootstrap_SchemaGen FROM-CACHE
> Task :bootstrapMigrate
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :base_SchemaGen FROM-CACHE
> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :processResources
> Task :classes
> Task :compileJava9 FROM-CACHE
> Task :writeBuildInfo
> Task :jar
> Task :export4anttest
> Task :javadoc
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was
redirected to https://docs.oracle.com/en/java/javase/26/ -- Update the
command-line options to suppress this warning.
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.17/ws/src/main/java/org/apache/xmlbeans/XmlObject.java>:260:
warning: empty <p> tag
* <p>
^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.17/ws/src/main/java/org/apache/xmlbeans/impl/soap/SOAPElement.java>:133:
warning: empty <p> tag
* <p>
^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.17/ws/src/main/java/org/apache/xmlbeans/impl/soap/SOAPElement.java>:147:
warning: empty <p> tag
* <p>
^
4 warnings
> Task :javadocJar
> Task :sourcesJar
> Task :binDistTar
> Task :binDistZip
> Task :animalsnifferMain
> Task :sDOM_SchemaGen FROM-CACHE
> Task :sEXT0_SchemaGen FROM-CACHE
> Task :sEXT1_SchemaGen FROM-CACHE
> Task :sEXT2_SchemaGen FROM-CACHE
> Task :sEXT3_SchemaGen FROM-CACHE
> Task :sEXT4_SchemaGen FROM-CACHE
> Task :sEXT5_SchemaGen FROM-CACHE
> Task :sJIRA_SchemaGen FROM-CACHE
> Task :sLAX_SchemaGen FROM-CACHE
> Task :sSCOMP_SchemaGen FROM-CACHE
> Task :sSIMPLE_SchemaGen FROM-CACHE
> Task :sTOKENSOURCE_SchemaGen FROM-CACHE
> Task :sTOOLS_SchemaGen FROM-CACHE
> Task :unpackTranXml
> Task :sTRANXML_SchemaGen FROM-CACHE
> Task :sUSERTYPE_SchemaGen FROM-CACHE
> Task :sVALIDATE_SchemaGen FROM-CACHE
> Task :sXMLCURSOR_SchemaGen FROM-CACHE
> Task :sXMLOBJECT_SchemaGen FROM-CACHE
> Task :compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :processTestResources
> Task :testClasses
> Task :animalsnifferTest
> Task :forbiddenApisMain
Forbidden method invocation:
java.lang.String#format(java.lang.String,java.lang.Object[]) [Uses default
locale]
in org.apache.xmlbeans.impl.util.XsTypeConverter (XsTypeConverter.java:698)
Scanned 1016 class file(s) for forbidden API invocations (in 4.42s), 1 error(s).
> Task :forbiddenApisMain FAILED
[Incubating] Problems report is available at:
file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.17/ws/build/reports/problems/problems-report.html>
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':forbiddenApisMain'.
> de.thetaphi.forbiddenapis.ForbiddenApiException: Check for forbidden API
> calls failed, see log.
* 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.14.5/userguide/command_line_interface.html#sec:command_line_warnings
in the Gradle documentation.
BUILD FAILED in 2m 54s
40 actionable tasks: 19 executed, 21 from cache
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?
[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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]