See
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.21/129/display/redirect?page=changes>
Changes:
[github] Close the .xsb stream when XsbReader rejects a header (#107)
[github] Close the XsbReader when resolveHandle meets an unhandled file type
[github] Close the .xsb stream when XsbDumper fails part-way through a file
[github] Close the javac pipes and join the drain threads in externalCompile
[github] Release the classpath ResourceLoader when scomp fails (#111)
[github] Release the connection for each redirect hop in parse(URL) (#113)
[github] Close the .xsb output when a save is abandoned part-way through (#112)
[github] Close the caller's stream when writeInputStreamToFile can't open the
------------------------------------------
[...truncated 7.18 KiB...]
-rw-r--r-- 1 jenkins jenkins 2480 Sep 7 12:47 README.md
-rw-r--r-- 1 jenkins jenkins 11208 Sep 7 12:47 release-guide.txt
drwxr-xr-x 16 jenkins jenkins 4096 Sep 7 12:47 samples
-rw-r--r-- 1 jenkins jenkins 484 Sep 7 12:47 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 661 Sep 7 12:47 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Sep 7 12:47 src
-rw-r--r-- 1 jenkins jenkins 359 Sep 7 12:47 STATUS
drwxr-xr-x 4 jenkins jenkins 4096 Sep 7 12:47 test
-rw-r--r-- 1 jenkins jenkins 3803 Sep 7 12:47 wrapper.gradle
-rw-r--r-- 1 jenkins jenkins 25 Sep 7 12:47 xbeanenv.cmd
-rwxr-xr-x 1 jenkins jenkins 27 Sep 7 12:47 xbeanenv.sh
drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 12:47 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.21/ws/build.javacheck.xml>
Detected Java version: 21 in: /usr/local/asfpackages/java/adoptium-jdk-21.0.4+7
Detected OS: Linux
parsing buildfile
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.21/ws/build.javacheck.xml>
with URI =
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.21/ws/build.javacheck.xml>
Project base dir set to:
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.21/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 21/21.0.4
[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 21.0.4
BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for
similarly-named environment variables.
[POI-XMLBeans-DSL-1.21] $
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.21/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 UP-TO-DATE
> 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.21/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.21/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
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.21/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.21/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.21/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
> 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 FROM-CACHE
> 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
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.21/ws/src/test/java/misc/checkin/ExceptionUtilTest.java>:49:
warning: [removal] ThreadDeath in java.lang has been deprecated and marked for
removal
assertTrue(ExceptionUtil.isFatal(new 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 :processTestResources
> Task :testClasses
> Task :animalsnifferTest
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:38)
>> com.sun.net.httpserver.HttpServer
com.sun.net.httpserver.HttpServer.create(java.net.InetSocketAddress, int)
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:41)
>> java.net.InetSocketAddress com.sun.net.httpserver.HttpServer.getAddress()
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:46)
>> com.sun.net.httpserver.HttpHandler
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:46)
>> com.sun.net.httpserver.HttpContext
com.sun.net.httpserver.HttpServer.createContext(String,
com.sun.net.httpserver.HttpHandler)
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:54)
>> com.sun.net.httpserver.HttpHandler
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:54)
>> com.sun.net.httpserver.HttpContext
com.sun.net.httpserver.HttpServer.createContext(String,
com.sun.net.httpserver.HttpHandler)
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:62)
>> void com.sun.net.httpserver.HttpServer.start()
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:64)
>> java.net.InetSocketAddress com.sun.net.httpserver.HttpServer.getAddress()
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:68)
>> void com.sun.net.httpserver.HttpServer.stop(int)
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:56)
>> com.sun.net.httpserver.Headers
com.sun.net.httpserver.HttpExchange.getResponseHeaders()
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:56)
>> void com.sun.net.httpserver.Headers.add(String, String)
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:57)
>> void com.sun.net.httpserver.HttpExchange.sendResponseHeaders(int, long)
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:58)
>> java.io.OutputStream com.sun.net.httpserver.HttpExchange.getResponseBody()
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:59)
>> void com.sun.net.httpserver.HttpExchange.close()
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:47)
>> com.sun.net.httpserver.Headers
com.sun.net.httpserver.HttpExchange.getResponseHeaders()
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:48)
>> java.net.InetSocketAddress com.sun.net.httpserver.HttpServer.getAddress()
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:47)
>> void com.sun.net.httpserver.Headers.add(String, String)
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:49)
>> void com.sun.net.httpserver.HttpExchange.sendResponseHeaders(int, long)
[Undefined reference]
org.apache.xmlbeans.impl.schema.(ParseUrlRedirectTest.java:50)
>> void com.sun.net.httpserver.HttpExchange.close()
> Task :animalsnifferTest FAILED
[Incubating] Problems report is available at:
file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.21/ws/build/reports/problems/problems-report.html>
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':animalsnifferTest'.
> 19 AnimalSniffer violations were found in 1 files. See the report at:
> file:///<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.21/ws/build/reports/animalsniffer/test.text>
* 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 3m 22s
39 actionable tasks: 36 executed, 2 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.
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]