You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2023/02/19 08:00:54 UTC

Build failed in Jenkins: POI » POI-XMLBeans-DSL-Sonar #32

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

Changes:

[PJ Fanning] check for fatal errors

[PJ Fanning] upgrade cyclonedx plugin


------------------------------------------
[...truncated 1.18 KB...]
U         src/main/java/org/apache/xmlbeans/GDate.java
U         src/main/java/org/apache/xmlbeans/XmlCalendar.java
U         src/main/java/org/apache/xmlbeans/XmlException.java
U         src/main/java/org/apache/xmlbeans/XmlRuntimeException.java
U         src/main/java/org/apache/xmlbeans/impl/common/DocumentHelper.java
U         src/main/java/org/apache/xmlbeans/impl/common/SAXHelper.java
U         src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeImpl.java
U         src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java
U         src/main/java/org/apache/xmlbeans/impl/store/Locale.java
U         src/main/java/org/apache/xmlbeans/impl/tool/CodeGenUtil.java
U         src/main/java/org/apache/xmlbeans/impl/tool/RunXQuery.java
U         src/main/java/org/apache/xmlbeans/impl/tool/XMLBean.java
AU        src/main/java/org/apache/xmlbeans/impl/util/ExceptionUtil.java
U         src/main/java/org/apache/xmlbeans/impl/validator/Validator.java
AU        src/test/java/misc/checkin/ExceptionUtilTest.java
U         build.gradle
At revision 1907746

ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Injecting SonarQube environment variables using the configuration: sonarcloud.io
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-XMLBeans-DSL-Sonar] $ /bin/sh -xe /tmp/jenkins14793832885450870868.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ svn status
C       src/main/java9/module-info.class
?       src/main/java9/module-info.class.r1900911
?       src/main/java9/module-info.class.r1901835
M       src/main/java9/org/apache/xmlbeans/impl/tool/MavenPluginResolver.class
Summary of conflicts:
  Text conflicts: 1
+ svn revert poi*/src/*/java9/module-info.*
svn: E155010: The node '<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 44
drwxrwxr-x  9 root root 4096 Sep 16 16:46 .
drwxr-xr-x 32 root root 4096 Feb 13 12:15 ..
drwxr-xr-x  2 root root 4096 Sep 16 16:46 bin
drwxr-xr-x  4 root root 4096 Sep 16 16:46 conf
drwxr-xr-x  3 root root 4096 Sep 16 16:46 include
drwxr-xr-x  2 root root 4096 Sep 16 16:46 jmods
drwxr-xr-x 73 root root 4096 Sep 16 16:46 legal
drwxr-xr-x  6 root root 4096 Sep 16 16:46 lib
drwxr-xr-x  4 root root 4096 Sep 16 16:46 man
-rw-r--r--  1 root root 2439 Aug 16  2022 NOTICE
-rw-r--r--  1 root root 1580 Aug 16  2022 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Sep 16 16:46 .
drwxrwxr-x 9 root root   4096 Sep 16 16:46 ..
-rwxr-xr-x 1 root root  12904 Aug 16  2022 jaotc
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jar
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jarsigner
-rwxr-xr-x 1 root root  12768 Aug 16  2022 java
-rwxr-xr-x 1 root root  12816 Aug 16  2022 javac
-rwxr-xr-x 1 root root  12816 Aug 16  2022 javadoc
-rwxr-xr-x 1 root root  12784 Aug 16  2022 javap
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jcmd
-rwxr-xr-x 1 root root  12832 Aug 16  2022 jconsole
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jdb
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jdeprscan
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jdeps
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jfr
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jhsdb
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jimage
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jinfo
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jjs
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jlink
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jmap
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jmod
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jps
-rwxr-xr-x 1 root root  12824 Aug 16  2022 jrunscript
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jshell
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jstack
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jstat
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jstatd
-rwxr-xr-x 1 root root  12784 Aug 16  2022 keytool
-rwxr-xr-x 1 root root  12784 Aug 16  2022 pack200
-rwxr-xr-x 1 root root  12784 Aug 16  2022 rmic
-rwxr-xr-x 1 root root  12784 Aug 16  2022 rmid
-rwxr-xr-x 1 root root  12792 Aug 16  2022 rmiregistry
-rwxr-xr-x 1 root root  12784 Aug 16  2022 serialver
-rwxr-xr-x 1 root root 121488 Aug 16  2022 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.16.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 392
drwxr-xr-x 12 jenkins jenkins   4096 Feb 19 07:58 .
drwxr-xr-x  5 jenkins jenkins   4096 Feb 18 19:59 ..
drwxr-xr-x 17 jenkins jenkins   4096 Jan  8 08:08 build
-rw-r--r--  1 jenkins jenkins  28367 Feb 19 07:58 build.gradle
-rw-r--r--  1 jenkins jenkins  53401 Dec 25 07:58 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Jan  8  2022 CHANGES.txt
drwxr-xr-x  3 jenkins jenkins   4096 Aug 21 07:58 .github
-rw-r--r--  1 jenkins jenkins     14 Jan  8  2022 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Jan  8  2022 gradle
drwxr-xr-x  5 jenkins jenkins   4096 Dec 25 08:15 .gradle
-rw-r--r--  1 jenkins jenkins   1338 Sep  4 07:58 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8188 Jul 24  2022 gradlew
-rw-r--r--  1 jenkins jenkins   2838 Jul 24  2022 gradlew.bat
-rw-r--r--  1 jenkins jenkins 176157 Jun 12  2022 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Jul 24  2022 legal
-rwxr-xr-x  1 jenkins jenkins  11358 Jan  8  2022 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   1273 Jun 26  2022 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2227 Jan  8 07:58 README.txt
-rw-r--r--  1 jenkins jenkins  10908 Jan  8  2022 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Jan  8  2022 samples
-rw-r--r--  1 jenkins jenkins    238 Jan  8  2022 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Jan  8  2022 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Jan  8  2022 src
-rw-r--r--  1 jenkins jenkins    369 Jan  8  2022 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Feb 19 07:58 .svn
drwxr-xr-x  5 jenkins jenkins   4096 Jan  8  2022 test
-rw-r--r--  1 jenkins jenkins     25 Jan  8  2022 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Jan  8  2022 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Jan  8  2022 xkit
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ 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.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/adoptium-jdk-11.0.16.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 11/11.0.16.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 11.0.16.1

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-Sonar] $ <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=apache_xmlbeans -Dsonar.host.url=https://sonarcloud.io -PjdkVersion=11 clean jenkins jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6/userguide/gradle_daemon.html#sec:disabling_the_daemon.
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
Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword

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

> Task :bootstrapMigrate
Note: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/store/Xobj.java> uses or overrides 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: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/store/Xobj.java> uses or overrides 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 :compileJava9
> Task :cacheJava9 UP-TO-DATE
> Task :processResources
> Task :classes
> 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/impl/util/ExceptionUtil.java>:48: error: exception not thrown: java.lang.Throwable
     * @throws Throwable the input throwable if it is an <code>Error</code> or <code>RuntimeException</code>.
               ^
1 error

> Task :javadoc FAILED

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-Sonar/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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 21s
12 actionable tasks: 10 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.
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Jenkins build is back to normal : POI » POI-XMLBeans-DSL-Sonar #34

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/34/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Build failed in Jenkins: POI » POI-XMLBeans-DSL-Sonar #33

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/33/display/redirect?page=changes>

Changes:

[PJ Fanning] small adjustment to javassist license

[PJ Fanning] update rat check

[PJ Fanning] use NOTICE-binary.txt as the notice in bin distributions

[PJ Fanning] use LICENSE-BINARY.txt as the license in bin distributions

[PJ Fanning] use LICENSE-BINARY.txt as the license in bin distributions

[PJ Fanning] gradle 8.0.1

[PJ Fanning] log4j 2.20.0 and ant 1.10.13

[PJ Fanning] build issue


------------------------------------------
[...truncated 173.48 KB...]
-rwxr-xr-x 1 root root  12784 Aug 16  2022 javap
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jcmd
-rwxr-xr-x 1 root root  12832 Aug 16  2022 jconsole
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jdb
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jdeprscan
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jdeps
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jfr
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jhsdb
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jimage
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jinfo
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jjs
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jlink
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jmap
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jmod
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jps
-rwxr-xr-x 1 root root  12824 Aug 16  2022 jrunscript
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jshell
-rwxr-xr-x 1 root root  12816 Aug 16  2022 jstack
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jstat
-rwxr-xr-x 1 root root  12784 Aug 16  2022 jstatd
-rwxr-xr-x 1 root root  12784 Aug 16  2022 keytool
-rwxr-xr-x 1 root root  12784 Aug 16  2022 pack200
-rwxr-xr-x 1 root root  12784 Aug 16  2022 rmic
-rwxr-xr-x 1 root root  12784 Aug 16  2022 rmid
-rwxr-xr-x 1 root root  12792 Aug 16  2022 rmiregistry
-rwxr-xr-x 1 root root  12784 Aug 16  2022 serialver
-rwxr-xr-x 1 root root 121488 Aug 16  2022 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.16.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 408
drwxr-xr-x 10 jenkins jenkins   4096 Feb 26 07:58 .
drwxr-xr-x  5 jenkins jenkins   4096 Feb 26 07:58 ..
-rw-r--r--  1 jenkins jenkins  28553 Feb 26 07:58 build.gradle
-rw-r--r--  1 jenkins jenkins  53481 Feb 26 07:58 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Feb 26 07:58 CHANGES.txt
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 07:58 .github
-rw-r--r--  1 jenkins jenkins     14 Feb 26 07:58 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 07:58 gradle
-rw-r--r--  1 jenkins jenkins   1338 Feb 26 07:58 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8497 Feb 26 07:58 gradlew
-rw-r--r--  1 jenkins jenkins   2868 Feb 26 07:58 gradlew.bat
-rw-r--r--  1 jenkins jenkins 176157 Feb 26 07:58 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 07:58 legal
-rwxr-xr-x  1 jenkins jenkins  12456 Feb 26 07:58 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  11358 Feb 26 07:58 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2561 Feb 26 07:58 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1273 Feb 26 07:58 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2227 Feb 26 07:58 README.txt
-rw-r--r--  1 jenkins jenkins  11087 Feb 26 07:58 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Feb 26 07:58 samples
-rw-r--r--  1 jenkins jenkins    238 Feb 26 07:58 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Feb 26 07:58 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Feb 26 07:58 src
-rw-r--r--  1 jenkins jenkins    369 Feb 26 07:58 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Feb 26 07:58 .svn
drwxr-xr-x  5 jenkins jenkins   4096 Feb 26 07:58 test
-rw-r--r--  1 jenkins jenkins     25 Feb 26 07:58 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Feb 26 07:58 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 07:58 xkit
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ 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.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/adoptium-jdk-11.0.16.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 11/11.0.16.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 11.0.16.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.login=**** -Dsonar.organization=apache -Dsonar.projectKey=apache_xmlbeans -Dsonar.host.url=https://sonarcloud.io -PjdkVersion=11 clean jenkins jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/8.0.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
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
Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword

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

> Task :bootstrapMigrate
Note: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/store/Xobj.java> uses or overrides 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: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/store/Xobj.java> uses or overrides 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 :compileJava9
> Task :cacheJava9
> Task :processResources
> Task :classes
> Task :jar
> Task :export4anttest
> Task :javadoc
> 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
> 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 :spotbugsTest
SpotBugs ended with exit code 1

> Task :check
> Task :jacocoTestReport
> Task :srcDistTar
> Task :srcDistZip
> Task :jenkins
> Task :sonarqube

FAILURE: Build failed with an exception.

* What went wrong:
'java.io.File org.gradle.api.tasks.testing.JUnitXmlReport.getDestination()'

* 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.

See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6m 20s
47 actionable tasks: 46 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.
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.
[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-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org