See <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/11/display/redirect?page=changes>
Changes: [PJ Fanning] upgrade saxon and javaparser [PJ Fanning] use Files.createTempFile [PJ Fanning] remove stray imports [PJ Fanning] try to use java.nio.file.Files to create temp files [PJ Fanning] improve performance of time zone lookup [PJ Fanning] rat issue [PJ Fanning] rate issue [PJ Fanning] gradle 7.4 ------------------------------------------ [...truncated 172.26 KB...] + ls -al /home/jenkins/tools/java/latest11/bin total 640 drwxrwxr-x 2 root root 4096 Dec 21 18:05 . drwxrwxr-x 9 root root 4096 Dec 21 18:05 .. -rwxr-xr-x 1 root root 12984 Jun 8 2021 jaotc -rwxr-xr-x 1 root root 12864 Jun 8 2021 jar -rwxr-xr-x 1 root root 12864 Jun 8 2021 jarsigner -rwxr-xr-x 1 root root 12848 Jun 8 2021 java -rwxr-xr-x 1 root root 12896 Jun 8 2021 javac -rwxr-xr-x 1 root root 12896 Jun 8 2021 javadoc -rwxr-xr-x 1 root root 12864 Jun 8 2021 javap -rwxr-xr-x 1 root root 12864 Jun 8 2021 jcmd -rwxr-xr-x 1 root root 12912 Jun 8 2021 jconsole -rwxr-xr-x 1 root root 12864 Jun 8 2021 jdb -rwxr-xr-x 1 root root 12864 Jun 8 2021 jdeprscan -rwxr-xr-x 1 root root 12864 Jun 8 2021 jdeps -rwxr-xr-x 1 root root 12864 Jun 8 2021 jfr -rwxr-xr-x 1 root root 12864 Jun 8 2021 jhsdb -rwxr-xr-x 1 root root 12864 Jun 8 2021 jimage -rwxr-xr-x 1 root root 12896 Jun 8 2021 jinfo -rwxr-xr-x 1 root root 12896 Jun 8 2021 jjs -rwxr-xr-x 1 root root 12896 Jun 8 2021 jlink -rwxr-xr-x 1 root root 12896 Jun 8 2021 jmap -rwxr-xr-x 1 root root 12864 Jun 8 2021 jmod -rwxr-xr-x 1 root root 12864 Jun 8 2021 jps -rwxr-xr-x 1 root root 12904 Jun 8 2021 jrunscript -rwxr-xr-x 1 root root 12864 Jun 8 2021 jshell -rwxr-xr-x 1 root root 12896 Jun 8 2021 jstack -rwxr-xr-x 1 root root 12864 Jun 8 2021 jstat -rwxr-xr-x 1 root root 12864 Jun 8 2021 jstatd -rwxr-xr-x 1 root root 12864 Jun 8 2021 keytool -rwxr-xr-x 1 root root 12864 Jun 8 2021 pack200 -rwxr-xr-x 1 root root 12864 Jun 8 2021 rmic -rwxr-xr-x 1 root root 12864 Jun 8 2021 rmid -rwxr-xr-x 1 root root 12872 Jun 8 2021 rmiregistry -rwxr-xr-x 1 root root 12864 Jun 8 2021 serialver -rwxr-xr-x 1 root root 121568 Jun 8 2021 unpack200 + /home/jenkins/tools/java/latest11/bin/java -version java version "11.0.12" 2021-07-20 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode) + echo which java which java + which java /home/jenkins/tools/java/latest11/bin/java + java -version java version "11.0.12" 2021-07-20 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode) + echo which javac which javac + which javac /home/jenkins/tools/java/latest11/bin/javac + javac -version javac 11.0.12 + echo Ant-Home: Ant-Home: + ls -al total 372 drwxr-xr-x 8 jenkins jenkins 4096 Feb 20 07:58 . drwxr-xr-x 4 jenkins jenkins 4096 Feb 20 07:58 .. -rw-r--r-- 1 jenkins jenkins 24238 Feb 20 07:58 build.gradle -rw-r--r-- 1 jenkins jenkins 53409 Feb 20 07:58 build.xml -rw-r--r-- 1 jenkins jenkins 11963 Feb 20 07:58 CHANGES.txt -rw-r--r-- 1 jenkins jenkins 14 Feb 20 07:58 .gitignore drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 07:58 gradle -rw-r--r-- 1 jenkins jenkins 1339 Feb 20 07:58 gradle.properties -rwxr-xr-x 1 jenkins jenkins 8070 Feb 20 07:58 gradlew -rw-r--r-- 1 jenkins jenkins 2763 Feb 20 07:58 gradlew.bat -rw-r--r-- 1 jenkins jenkins 175922 Feb 20 07:58 KEYS -rwxr-xr-x 1 jenkins jenkins 11358 Feb 20 07:58 LICENSE.txt -rw-r--r-- 1 jenkins jenkins 1120 Feb 20 07:58 NOTICE.txt -rw-r--r-- 1 jenkins jenkins 2200 Feb 20 07:58 README.txt -rw-r--r-- 1 jenkins jenkins 10908 Feb 20 07:58 release-guide.txt drwxr-xr-x 16 jenkins jenkins 4096 Feb 20 07:58 samples -rw-r--r-- 1 jenkins jenkins 238 Feb 20 07:58 SECURITY.md -rw-r--r-- 1 jenkins jenkins 661 Feb 20 07:58 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Feb 20 07:58 src -rw-r--r-- 1 jenkins jenkins 369 Feb 20 07:58 STATUS drwxr-xr-x 4 jenkins jenkins 4096 Feb 20 07:58 .svn drwxr-xr-x 5 jenkins jenkins 4096 Feb 20 07:58 test -rw-r--r-- 1 jenkins jenkins 122 Feb 20 07:58 .travis.yml -rw-r--r-- 1 jenkins jenkins 25 Feb 20 07:58 xbeanenv.cmd -rwxr-xr-x 1 jenkins jenkins 27 Feb 20 07:58 xbeanenv.sh drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 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/oraclejdk-11.0.12 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.12 [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.12 BUILD SUCCESSFUL Total time: 0 seconds + exit 0 [Gradle] - Launching build. [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 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.4/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 UP-TO-DATE > 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 error: cannot determine module name for /home/jenkins/.gradle/caches/modules-2/files-2.1/org.xmlresolver/xmlresolver/4.2.0/f4dbdaa83d636dcac91c9003ffa7fb173173fe8d/xmlresolver-4.2.0-data.jar > Task :cacheJava9 > Task :processResources > Task :classes > Task :jar > Task :export4anttest > Task :javadoc > Task :javadocJar > Task :sourcesJar > Task :binDistTar > Task :binDistZip > Task :forbiddenApisMain > 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 :forbiddenApisTest SKIPPED > Task :forbiddenApis > Task :rat > Task :spotbugsMain > Task :spotbugsTest > Task :test > Task :spotbugsMain 608 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build/reports/spotbugs/main/spotbugs.html,file>://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build/reports/spotbugs/main/spotbugs.xml> > Task :spotbugsTest 2544 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build/reports/spotbugs/test/spotbugs.html,file>://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build/reports/spotbugs/test/spotbugs.xml> > Task :check > Task :jacocoTestReport > Task :srcDistTar > Task :srcDistZip > Task :jenkins > Task :sonarqube > Task :sonarqube FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':sonarqube'. > Unable to execute SonarScanner analysis * 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.4/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 8m 46s 45 actionable tasks: 43 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 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? Archiving artifacts Recording test results [Checks API] No suitable checks publisher found. [SpotBugs] Skipping execution of recorder since overall result is 'FAILURE' --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org