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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to