See <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/284/display/redirect?page=changes>
Changes: [Dominik Stadler] Use different link for JavaDoc with JDK 23+ Otherwise building JavaDoc fails on newer JDKs [Dominik Stadler] Update forbiddenapis, junit ------------------------------------------ [...truncated 175.43 KiB...] -rwxr-xr-x 1 root root 8760 Jan 18 2023 wsgen -rwxr-xr-x 1 root root 8760 Jan 18 2023 wsimport -rwxr-xr-x 1 root root 8760 Jan 18 2023 xjc + /home/jenkins/tools/java/latest1.8/bin/java -version openjdk version "1.8.0_362" OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09) OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode) + echo which java which java + which java /home/jenkins/tools/java/latest1.8/bin/java + java -version openjdk version "1.8.0_362" OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09) OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode) + echo which javac which javac + which javac /home/jenkins/tools/java/latest1.8/bin/javac + javac -version javac 1.8.0_362 + echo Ant-Home: Ant-Home: + ls -al total 412 drwxr-xr-x 10 jenkins jenkins 4096 Apr 21 09:07 . drwxr-xr-x 4 jenkins jenkins 4096 Apr 21 09:06 .. -rw-r--r-- 1 jenkins jenkins 28123 Apr 21 09:06 build.gradle -rw-r--r-- 1 jenkins jenkins 54159 Apr 21 09:07 build.xml -rw-r--r-- 1 jenkins jenkins 11963 Apr 21 09:07 CHANGES.txt drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 09:07 .github -rw-r--r-- 1 jenkins jenkins 21 Apr 21 09:07 .gitignore drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 09:06 gradle -rw-r--r-- 1 jenkins jenkins 1338 Apr 21 09:07 gradle.properties -rwxr-xr-x 1 jenkins jenkins 9177 Apr 21 09:07 gradlew -rw-r--r-- 1 jenkins jenkins 176588 Apr 21 09:07 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 09:07 legal -rwxr-xr-x 1 jenkins jenkins 12458 Apr 21 09:07 LICENSE-binary.txt -rwxr-xr-x 1 jenkins jenkins 15242 Apr 21 09:07 LICENSE.txt -rw-r--r-- 1 jenkins jenkins 2561 Apr 21 09:07 NOTICE-binary.txt -rw-r--r-- 1 jenkins jenkins 1592 Apr 21 09:07 NOTICE.txt -rw-r--r-- 1 jenkins jenkins 2480 Apr 21 09:07 README.md -rw-r--r-- 1 jenkins jenkins 11208 Apr 21 09:07 release-guide.txt drwxr-xr-x 16 jenkins jenkins 4096 Apr 21 09:07 samples -rw-r--r-- 1 jenkins jenkins 238 Apr 21 09:07 SECURITY.md -rw-r--r-- 1 jenkins jenkins 661 Apr 21 09:07 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Apr 21 09:07 src -rw-r--r-- 1 jenkins jenkins 359 Apr 21 09:07 STATUS drwxr-xr-x 4 jenkins jenkins 4096 Apr 21 09:07 .svn drwxr-xr-x 4 jenkins jenkins 4096 Apr 21 09:07 test -rw-r--r-- 1 jenkins jenkins 3803 Apr 21 09:07 wrapper.gradle -rw-r--r-- 1 jenkins jenkins 25 Apr 21 09:07 xbeanenv.cmd -rwxr-xr-x 1 jenkins jenkins 27 Apr 21 09:07 xbeanenv.sh drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 09:07 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.8/ws/build.javacheck.xml> Detected Java version: 1.8 in: /usr/local/asfpackages/java/adoptium-jdk-8u362-b09/jre Detected OS: Linux parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build.javacheck.xml> Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/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 1.8/1.8.0_362 [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 1.8.0_362 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.8] $ <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/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.13/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 UP-TO-DATE > Task :cyclonedxBom > Task :bootstrap_SchemaGen XMLSchema.xsd:1318:111: warning: Schema <notation> is not yet supported for this release. > 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 > Task :writeBuildInfo > Task :jar > Task :export4anttest > Task :javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ 1 warning > Task :javadocJar > Task :sourcesJar > Task :binDistTar > Task :binDistZip > Task :animalsnifferMain > Task :sDOM_SchemaGen > Task :sEXT0_SchemaGen > Task :sEXT1_SchemaGen > Task :sEXT2_SchemaGen > Task :sEXT3_SchemaGen > Task :sEXT4_SchemaGen > Task :sEXT5_SchemaGen > Task :sJIRA_SchemaGen warning: SchemaType Enumeration found with too many enumeration values to create a Java enumeration. The base SchemaType "T=MoreThanAllowedEnumType@http://XMLBEANS-307" will be used instead > Task :sLAX_SchemaGen > Task :sSCOMP_SchemaGen > Task :sSIMPLE_SchemaGen > Task :sTOKENSOURCE_SchemaGen > Task :sTOOLS_SchemaGen Could not find any xsd or wsdl files to process. > Task :unpackTranXml > Task :sTRANXML_SchemaGen > Task :sUSERTYPE_SchemaGen > Task :sVALIDATE_SchemaGen > Task :sXMLCURSOR_SchemaGen xstypes/person.xsd:23:43: warning: Schema <notation> is not yet supported for this release. xstypes/person.xsd:98:33: warning: notation-facets: The use of length on datatypes derived from NOTATION ('NOTATION@http://www.w3.org/2001/XMLSchema') is deprecated. xstypes/person.xsd:93:37: warning: notation-targetns-attr: For compatibility, NOTATION should only be used in schemas with no target namespace (attribute 'notationAtt'). xstypes/person.xsd:46:34: warning: notation-targetns-elem: For compatibility, NOTATION should only be used in schemas with no target namespace (element 'notation@http://openuri.org/xstypes/test'). warning: id-idref-idrefs-entity-entities-notation: For compatibility, type 'NOTATION' should only be used for attributes (used for element 'notation@http://openuri.org/xstypes/test'). warning: id-idref-idrefs-entity-entities-notation: For compatibility, type 'IDREF' should only be used for attributes (used for element 'input-file'). xstypes/person.xsd:93:37: warning: notation-targetns-attr: For compatibility, NOTATION should only be used in schemas with no target namespace (attribute 'notationAtt'). xstypes/person.xsd:46:34: warning: notation-targetns-elem: For compatibility, NOTATION should only be used in schemas with no target namespace (element 'notation@http://openuri.org/xstypes/test'). warning: id-idref-idrefs-entity-entities-notation: For compatibility, type 'NOTATION' should only be used for attributes (used for element 'notation@http://openuri.org/xstypes/test'). > Task :sXMLOBJECT_SchemaGen > 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 > Task :forbiddenApisTest SKIPPED > Task :forbiddenApis > Task :rat > Task :spotbugsMain > Task :spotbugsTest > Task :test > Task :spotbugsMain SpotBugs ended with exit code 1 > Task :test AttributeSyncTest > testSetNodeValue() FAILED org.opentest4j.AssertionFailedError at NodeWithChildrenTest.java:361 AttributeTest > testSetNodeValue() FAILED org.opentest4j.AssertionFailedError at NodeWithChildrenTest.java:361 DocumentSyncTest > testReplaceChildFront() FAILED org.apache.xmlbeans.impl.store.DomImpl$HierarchyRequestErr at DomImpl.java:299 DocumentSyncTest > testNormalize() FAILED org.apache.xmlbeans.impl.store.DomImpl$HierarchyRequestErr at DomImpl.java:299 DocumentSyncTest > testReplaceChildEnd() FAILED org.apache.xmlbeans.impl.store.DomImpl$HierarchyRequestErr at DomImpl.java:299 DocumentTest > testReplaceChildFront() FAILED org.apache.xmlbeans.impl.store.DomImpl$HierarchyRequestErr at DomImpl.java:299 DocumentTest > testNormalize() FAILED org.apache.xmlbeans.impl.store.DomImpl$HierarchyRequestErr at DomImpl.java:299 DocumentTest > testReplaceChildEnd() FAILED org.apache.xmlbeans.impl.store.DomImpl$HierarchyRequestErr at DomImpl.java:299 > Task :spotbugsTest SpotBugs ended with exit code 1 > Task :test 2964 tests completed, 8 failed, 169 skipped > Task :test FAILED [Incubating] Problems report is available at: file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build/reports/problems/problems-report.html> FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test'. > There were failing tests. See the report at: > file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build/reports/tests/test/index.html> * Try: > Run with --scan to get full insights. 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.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 8m 1s 44 actionable tasks: 42 executed, 1 from cache, 1 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. [Checks API] No suitable checks publisher found. [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