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

Changes:

[github] count leading fraction zeros in the decimal totalDigits check (#144)

[github] replace single tab, newline and cr in applyWhiteSpaceRule collapse

[github] validate non-special xsi attributes in store-side Validate.doAttrs

[github] compare xs:duration values by value in JavaGDurationHolderEx.equal_to

[github] fold 400 year cycles into the xs:duration value hash (#157)

[github] cover xsi:type and xsi:nil in XsiAttributeValidateTest (#156)

[github] simplify the applyWhiteSpaceRule collapse fast path (#155)

[github] count the zeros of a negative scale in the decimal totalDigits check

[github] Fix typo 'occured' to 'occurred' in IDTest.java (#159)

[github] XMLBEANS-616: break the static initialization ring between XmlBeans and

[github] honour xsi:type and xsi:nil on the root in ValidatingXMLStreamReader

[github] test that root xsi:type and xsi:nil errors are still reported by


------------------------------------------
[...truncated 6.19 KiB...]
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest21/bin/javac
+ javac -version
javac 21.0.12.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 428
drwxr-xr-x 13 jenkins jenkins   4096 Nov  8 07:58 .
drwxr-xr-x  6 jenkins jenkins   4096 Jul 29 07:24 ..
-rw-r--r--  1 jenkins jenkins   1786 Aug  8 05:25 .asf.yaml
drwxr-xr-x 18 jenkins jenkins   4096 Nov  1 08:06 build
-rw-r--r--  1 jenkins jenkins  30027 Nov  1 07:58 build.gradle
-rw-r--r--  1 jenkins jenkins  53664 Nov  1 07:58 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Jul 19 07:58 CHANGES.txt
drwxr-xr-x  8 jenkins jenkins   4096 Nov  8 07:58 .git
drwxr-xr-x  3 jenkins jenkins   4096 Jul 19 07:58 .github
-rw-r--r--  1 jenkins jenkins     69 Jul 19 07:58 .gitignore
drwxr-xr-x  5 jenkins jenkins   4096 Jul 19 07:59 .gradle
drwxr-xr-x  3 jenkins jenkins   4096 Jul 19 07:58 gradle
-rw-r--r--  1 jenkins jenkins   1338 Sep 27 07:58 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   9219 Jul 19 07:58 gradlew
-rw-r--r--  1 jenkins jenkins 177772 Jul 19 07:58 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Jul 19 07:58 legal
-rwxr-xr-x  1 jenkins jenkins  12245 Nov  1 07:58 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  15242 Jul 19 07:58 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2310 Jul 19 07:58 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1592 Jul 19 07:58 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2480 Jul 19 07:58 README.md
-rw-r--r--  1 jenkins jenkins  11210 Sep 27 07:58 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Jul 19 07:58 samples
-rw-r--r--  1 jenkins jenkins    484 Jul 26 07:58 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Jul 19 07:58 settings.gradle
drwxr-xr-x  2 jenkins jenkins   4096 Oct 25 08:16 .sonar
drwxr-xr-x  4 jenkins jenkins   4096 Jul 19 07:58 src
-rw-r--r--  1 jenkins jenkins    359 Jul 19 07:58 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Jul 19 07:58 test
-rw-r--r--  1 jenkins jenkins   3803 Jul 19 07:58 wrapper.gradle
-rw-r--r--  1 jenkins jenkins     25 Jul 19 07:58 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Jul 19 07:58 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Oct 11 07:58 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-Sonar/ws/build.javacheck.xml>
Detected Java version: 21 in: 
/usr/local/asfpackages/java/adoptium-jdk-21.0.12.1+1
Detected OS: Linux
parsing buildfile 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build.javacheck.xml>
 with URI = 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build.javacheck.xml>
Project base dir set to: 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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.12.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 21.0.12.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-Sonar] $ 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/gradlew> 
-PenableSonar -Dsonar.token=**** -Dsonar.organization=apache 
-Dsonar.projectKey=apache_xmlbeans -Dsonar.host.url=https://sonarcloud.io 
-PjdkVersion=21 clean jenkins jacocoTestReport sonar
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.

> Configure project :
Enabling Sonar support

> Task :clean
> Task :cyclonedxBom
> Task :bootstrap_SchemaGen FROM-CACHE

> Task :bootstrapMigrate
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/values/TypeStore.java>:322:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    Object get_root_object();
           ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/config/BindingConfigImpl.java>:302:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public String lookupJavanameForQName(QName qname) {
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/SchemaCodeGenerator.java>:44:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static void saveTypeSystem(SchemaTypeSystem system, File classesDir,
                       ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java>:90:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static boolean externalCompile(List<File> srcFiles, File outdir, 
File[] cp, boolean debug) {
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java>:103:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static boolean externalCompile(List<File> srcFiles, File outdir, 
File[] cp, boolean debug, String javacPath, String memStart, String memMax,
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java>:116:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static boolean externalCompile(List<File> srcFiles, File outdir, 
File[] cp, boolean debug, String javacPath, String memStart, String memMax,
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java>:129:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static boolean externalCompile(List<File> srcFiles, File outdir, 
File[] cp, boolean debug, String javacPath, String genver, String memStart, 
String memMax,
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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.
8 warnings

> Task :base_SchemaGen FROM-CACHE

> Task :compileJava
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/values/TypeStore.java>:322:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    Object get_root_object();
           ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/config/BindingConfigImpl.java>:302:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public String lookupJavanameForQName(QName qname) {
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/SchemaCodeGenerator.java>:44:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static void saveTypeSystem(SchemaTypeSystem system, File classesDir,
                       ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java>:90:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static boolean externalCompile(List<File> srcFiles, File outdir, 
File[] cp, boolean debug) {
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java>:103:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static boolean externalCompile(List<File> srcFiles, File outdir, 
File[] cp, boolean debug, String javacPath, String memStart, String memMax,
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java>:116:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static boolean externalCompile(List<File> srcFiles, File outdir, 
File[] cp, boolean debug, String javacPath, String memStart, String memMax,
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java>:129:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static boolean externalCompile(List<File> srcFiles, File outdir, 
File[] cp, boolean debug, String javacPath, String genver, String memStart, 
String memMax,
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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.
8 warnings

> Task :processResources
> Task :classes
> Task :compileModuleInfo FROM-CACHE
> Task :writeBuildInfo
> Task :jar
> Task :export4anttest

> Task :javadoc
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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-Sonar/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-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/soap/SOAPElement.java>:147:
 warning: empty <p> tag
     * <p>
       ^
3 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
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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.
1 warning

> Task :processTestResources
> Task :testClasses

> Task :animalsnifferTest FAILED

[Undefined reference] misc.detailed.(StaticInitializationRingTest.java:56)
  >> ClassLoader ClassLoader.getPlatformClassLoader()


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

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':animalsnifferTest'.
> 1 AnimalSniffer violations were found in 1 files. See the report at: 
> file:///<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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 2m 39s
39 actionable tasks: 18 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.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner 
succeed?
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]

Reply via email to