See 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/35/display/redirect?page=changes>

Changes:

[Dominik Stadler] Update forbidden-api, xmlbeans, JaCoCo

Also remove some obsolete property-file sorting, 
Gradle itself produces a stable file since some releases

[Dominik Stadler] Add more assertions to investigate strange test failure when 
using JUnit 5.11.*

It seems JUnit 5.11.x introduces a regression, these
changes add a bit more output for this failure.

Also apply a few IDE suggestions.


------------------------------------------
[...truncated 311 B...]
[EnvInject] - Injecting as environment variables the properties content 
FORREST_HOME=/home/jenkins/tools/forrest/latest
LANG=en_US.UTF-8

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on builds59 (ubuntu ubuntu-avx) in workspace 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/ws/>
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
Updating https://svn.apache.org/repos/asf/xmlbeans/trunk at revision 
'2025-01-12T01:10:11.117 +0000'
U         build.gradle
U         src/test/java/dom/common/NodeWithChildrenTest.java
At revision 1923085

ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
[POI-XMLBeans-DSL-1.23] $ /bin/sh -xe /tmp/jenkins15720684503845837131.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad 
build.javacheck.xml
+ svn status
+ svn revert poi*/src/*/java9/module-info.*
svn: E155010: The node 
'<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/ws/poi*/src/*'>
 was not found.
+ true
+ svn revert src/resources/ooxml-lite-report.*
Skipped 'src/resources/ooxml-lite-report.*'
+ echo Java-Home: /home/jenkins/tools/java/latest23
Java-Home: /home/jenkins/tools/java/latest23
+ ls -al /home/jenkins/tools/java/latest23/
total 44
drwxr-xr-x  9 root root 4096 Oct 21 14:02 .
drwxrwxr-x 37 root root 4096 Oct 21 14:02 ..
drwxr-xr-x  2 root root 4096 Oct 21 14:02 bin
drwxr-xr-x  5 root root 4096 Oct 21 14:02 conf
drwxr-xr-x  3 root root 4096 Oct 21 14:02 include
drwxr-xr-x  2 root root 4096 Oct 21 14:02 jmods
drwxr-xr-x 71 root root 4096 Oct 21 14:02 legal
drwxr-xr-x  5 root root 4096 Oct 21 14:02 lib
drwxr-xr-x  3 root root 4096 Oct 21 14:02 man
-rw-r--r--  1 root root 2400 Oct 16 15:43 NOTICE
-rw-r--r--  1 root root 1596 Oct 16 15:43 release
+ ls -al /home/jenkins/tools/java/latest23/bin
total 468
drwxr-xr-x 2 root root  4096 Oct 21 14:02 .
drwxr-xr-x 9 root root  4096 Oct 21 14:02 ..
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jar
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jarsigner
-rwxr-xr-x 1 root root 12248 Oct 16 15:39 java
-rwxr-xr-x 1 root root 12336 Oct 16 15:39 javac
-rwxr-xr-x 1 root root 12336 Oct 16 15:39 javadoc
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 javap
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jcmd
-rwxr-xr-x 1 root root 12368 Oct 16 15:39 jconsole
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jdb
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jdeprscan
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jdeps
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jfr
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jhsdb
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jimage
-rwxr-xr-x 1 root root 12336 Oct 16 15:39 jinfo
-rwxr-xr-x 1 root root 12336 Oct 16 15:39 jlink
-rwxr-xr-x 1 root root 12336 Oct 16 15:39 jmap
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jmod
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jpackage
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jps
-rwxr-xr-x 1 root root 12344 Oct 16 15:39 jrunscript
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jshell
-rwxr-xr-x 1 root root 12336 Oct 16 15:39 jstack
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jstat
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 jstatd
-rwxr-xr-x 1 root root 12312 Oct 16 15:39 jwebserver
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 keytool
-rwxr-xr-x 1 root root 12336 Oct 16 15:39 rmiregistry
-rwxr-xr-x 1 root root 12304 Oct 16 15:39 serialver
+ /home/jenkins/tools/java/latest23/bin/java -version
openjdk version "23.0.1" 2024-10-15
OpenJDK Runtime Environment Temurin-23.0.1+11 (build 23.0.1+11)
OpenJDK 64-Bit Server VM Temurin-23.0.1+11 (build 23.0.1+11, mixed mode, 
sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest23/bin/java
+ java -version
openjdk version "23.0.1" 2024-10-15
OpenJDK Runtime Environment Temurin-23.0.1+11 (build 23.0.1+11)
OpenJDK 64-Bit Server VM Temurin-23.0.1+11 (build 23.0.1+11, mixed mode, 
sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest23/bin/javac
+ javac -version
javac 23.0.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 420
drwxr-xr-x 12 jenkins jenkins   4096 Jan 12 01:10 .
drwxr-xr-x  5 jenkins jenkins   4096 Dec 14 18:47 ..
drwxr-xr-x 10 jenkins jenkins   4096 Dec 24 08:52 build
-rw-r--r--  1 jenkins jenkins  27982 Jan 12 01:10 build.gradle
-rw-r--r--  1 jenkins jenkins  54159 Dec 24 08:51 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Oct  6 01:10 CHANGES.txt
drwxr-xr-x  3 jenkins jenkins   4096 Oct  6 01:10 .github
-rw-r--r--  1 jenkins jenkins     21 Oct  6 01:10 .gitignore
drwxr-xr-x  5 jenkins jenkins   4096 Dec 24 08:52 .gradle
drwxr-xr-x  3 jenkins jenkins   4096 Oct  6 01:10 gradle
-rw-r--r--  1 jenkins jenkins   1338 Dec 24 08:51 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   9177 Oct  6 01:10 gradlew
-rw-r--r--  1 jenkins jenkins 176588 Oct  6 01:10 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Oct  6 01:10 legal
-rwxr-xr-x  1 jenkins jenkins  12458 Dec 24 08:51 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  15242 Oct  6 01:10 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2561 Oct  6 01:10 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1592 Oct  6 01:10 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2480 Oct  6 01:10 README.md
-rw-r--r--  1 jenkins jenkins  11208 Oct  6 01:10 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Oct  6 01:10 samples
-rw-r--r--  1 jenkins jenkins    238 Oct  6 01:10 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Oct  6 01:10 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Oct  6 01:10 src
-rw-r--r--  1 jenkins jenkins    359 Oct  6 01:10 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Jan 12 01:10 .svn
drwxr-xr-x  4 jenkins jenkins   4096 Oct  6 01:10 test
-rw-r--r--  1 jenkins jenkins   3803 Oct  6 01:10 wrapper.gradle
-rw-r--r--  1 jenkins jenkins     25 Oct  6 01:10 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Oct  6 01:10 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Oct  6 01:10 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.23/ws/build.javacheck.xml>
Detected Java version: 23 in: /usr/local/asfpackages/java/adoptium-jdk-23.0.1+11
Detected OS: Linux
parsing buildfile 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/ws/build.javacheck.xml>
 with URI = 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/ws/build.javacheck.xml>
Project base dir set to: 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-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.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 23.0.1

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.23] $ 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/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.12/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.
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 :clean
> Task :cyclonedxBom

> Task :bootstrap_SchemaGen
XMLSchema.xsd:1318:111: warning: Schema <notation> is not yet supported for 
this release.

> Task :bootstrapMigrate
warning: [options] source value 8 is obsolete and will be removed in a future 
release
warning: [options] To suppress warnings about obsolete options, use 
-Xlint:-options.
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/ws/src/main/java/org/apache/xmlbeans/impl/util/ExceptionUtil.java>:38:
 warning: [removal] ThreadDeath in java.lang has been deprecated and marked for 
removal
                || throwable instanceof ThreadDeath
                                        ^
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.
3 warnings

> Task :base_SchemaGen FROM-CACHE

> Task :compileJava
warning: [options] source value 8 is obsolete and will be removed in a future 
release
warning: [options] To suppress warnings about obsolete options, use 
-Xlint:-options.
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/ws/src/main/java/org/apache/xmlbeans/impl/util/ExceptionUtil.java>:38:
 warning: [removal] ThreadDeath in java.lang has been deprecated and marked for 
removal
                || throwable instanceof ThreadDeath
                                        ^
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.
3 warnings

> Task :processResources
> Task :classes
> Task :compileJava9
> Task :writeBuildInfo
> Task :jar
> Task :export4anttest

> Task :javadoc
error: Unexpected redirection for URL 
https://docs.oracle.com/javase/8/docs/api/element-list to 
https://docs.oracle.com/javase/8/docs/api/
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/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.23/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.23/ws/src/main/java/org/apache/xmlbeans/impl/soap/SOAPElement.java>:147:
 warning: empty <p> tag
     * <p>
       ^
1 error
3 warnings

> Task :javadoc FAILED

[Incubating] Problems report is available at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/ws/build/reports/problems/problems-report.html>

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for 
> troubleshooting): 
> '<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.23/ws/build/tmp/javadoc/javadoc.options'>

* 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.12/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 51s
12 actionable tasks: 11 executed, 1 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: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to