See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/380/display/redirect?page=changes>
Changes:
[Andreas Beeker] use gradle for windows builds
[Andreas Beeker] use gradle for windows builds
[Andreas Beeker] try to fix path issues in Windows build
[Andreas Beeker] try to fix concurrent issues in excelant
[Andreas Beeker] Bug 65501 - Use viewbox when rendering SVG images
------------------------------------------
[...truncated 9.70 KB...]
-rw-r--r-- 1 jenkins jenkins 2763 Jul 5 07:25 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Aug 21 07:24 jenkins
-rw-r--r-- 1 jenkins jenkins 167281 Jul 5 07:25 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Jul 5 07:25 legal
drwxr-xr-x 10 jenkins jenkins 4096 Jul 5 07:25 lib
drwxr-xr-x 2 jenkins jenkins 4096 Jul 5 07:25 lib.stored
drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 07:27 maven
drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 07:29 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Jul 5 07:25 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Aug 21 07:24 poi
drwxr-xr-x 4 jenkins jenkins 4096 Jul 5 07:25 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Aug 21 07:24 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Aug 21 07:24 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Aug 21 07:24 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Jul 5 07:25 poi-ooxml-full
drwxr-xr-x 4 jenkins jenkins 4096 Aug 8 07:27 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Jul 5 07:33 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Aug 21 07:24 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4328 Jul 5 07:25 README.rst
-rw-r--r-- 1 jenkins jenkins 197 Jul 5 07:25 settings.gradle
drwxr-xr-x 9 jenkins jenkins 4096 Jul 14 07:29 sonar
drwxr-xr-x 4 jenkins jenkins 4096 Jul 5 07:25 src
drwxr-xr-x 4 jenkins jenkins 4096 Aug 21 07:24 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Jul 5 07:25 test-data
-rw-r--r-- 1 jenkins jenkins 426 Aug 8 07:27 .travis.yml
+ 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-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
with URI =
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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.11
[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.11
BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>
check-jars:
fetch-jars:
check-ooxml-jars:
fetch-ooxml-jars:
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.21.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.31.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-script-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.24.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.24.jar>
[get] Destination already exists (skipping):
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.32.jar>
init:
[echo] Using Ant: Apache Ant(TM) version 1.10.10 compiled on April 12 2021
from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different
than actual Java sometimes...)
[echo] Using Java: 11.0.11/11.0.11+9-LTS-194/11.0.11+9-LTS-194/Java
HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-74-generic
[echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1, isJava8:
false
[echo] Compiling for Java 9+
BUILD SUCCESSFUL
Total time: 2 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew>
-PenableSonar -Dsonar.login=**** -Dsonar.organization=apache
-Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check
jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be
forked. See
https://docs.gradle.org/7.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit
> Task :poi:compileJava
> Task :poi:compileJava9 UP-TO-DATE
> Task :poi:cacheJava9
> Task :poi:processResources UP-TO-DATE
> Task :poi:classes
> Task :poi:compileTestJava
> Task :poi:compileTest9 UP-TO-DATE
> Task :poi:cacheTest9
> Task :poi:jar
> Task :poi-ooxml:fixBatik UP-TO-DATE
> Task :poi-ooxml-full:copy_xsds UP-TO-DATE
> Task :poi-ooxml-full:generate_beans UP-TO-DATE
> Task :poi-ooxml-full:compileJava UP-TO-DATE
> Task :poi-ooxml-full:compileJava9 UP-TO-DATE
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar
> Task :poi-ooxml:compileJava
> Task :poi-ooxml:compileJava9 UP-TO-DATE
> Task :poi-ooxml:cacheJava9
> Task :poi-ooxml:processResources UP-TO-DATE
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar
> Task :poi-scratchpad:compileJava UP-TO-DATE
> Task :poi-scratchpad:compileJava9 UP-TO-DATE
> Task :poi-scratchpad:cacheJava9
> Task :poi-scratchpad:processResources UP-TO-DATE
> Task :poi-scratchpad:classes
> Task :poi-scratchpad:jar
> Task :poi-examples:compileJava UP-TO-DATE
> Task :poi-examples:compileJava9 UP-TO-DATE
> Task :poi-examples:cacheJava9
> Task :poi-excelant:compileJava UP-TO-DATE
> Task :poi-excelant:compileJava9 UP-TO-DATE
> Task :poi-excelant:cacheJava9
> Task :poi:processTestResources UP-TO-DATE
> Task :poi:testClasses
> Task :poi:testJar
> Task :poi-excelant:processResources UP-TO-DATE
> Task :poi-excelant:classes
> Task :poi-ooxml-lite-agent:compileJava UP-TO-DATE
> Task :poi-ooxml-lite-agent:compileJava9 UP-TO-DATE
> Task :poi-ooxml-lite-agent:cacheJava9
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-scratchpad:compileTestJava UP-TO-DATE
> Task :poi-scratchpad:compileTest9 UP-TO-DATE
> Task :poi-scratchpad:cacheTest9
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-scratchpad:testClasses
> Task :poi-scratchpad:testJar
> Task :poi-ooxml:compileTestJava UP-TO-DATE
> Task :poi-ooxml:compileTest9 UP-TO-DATE
> Task :poi-ooxml:cacheTest9
> Task :poi-ooxml:processTestResources NO-SOURCE
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-excelant:compileTestJava UP-TO-DATE
> Task :poi-excelant:compileTest9 UP-TO-DATE
> Task :poi-excelant:cacheTest9
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-examples:classes
> Task :poi-examples:jar
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-integration:compileTestJava UP-TO-DATE
> Task :poi-integration:compileTest9 UP-TO-DATE
> Task :poi-integration:cacheTest9
> Task :poi-integration:processTestResources UP-TO-DATE
> Task :poi-integration:testClasses
> Task :poi-integration:testJar
> Task :poi-excelant:jar
> Task :poi-excelant:javadoc
> Task :poi-excelant:javadocJar
> Task :poi-excelant:sourcesJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain
> Task :poi-excelant:processTestResources UP-TO-DATE
> Task :poi-excelant:testClasses
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis
> Task :poi-excelant:testJar
> Task :poi-excelant:test
> Task :poi-excelant:check
> Task :poi-excelant:build
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:forbiddenApisTest
> Task :poi-integration:forbiddenApis
> Task :poi-integration:test
UnknownClass.JUnit Jupiter > UnknownClass.executionError FAILED
org.junit.platform.commons.JUnitException at
EngineExecutionOrchestrator.java:114
Caused by: org.junit.platform.commons.JUnitException at
HierarchicalTestEngine.java:54
Caused by: java.util.concurrent.ExecutionException at
ForkJoinTask.java:1006
Caused by: java.lang.OutOfMemoryError at
NativeConstructorAccessorImpl.java:-2
Caused by: java.lang.OutOfMemoryError
UnknownClass.JUnit Jupiter FAILED
5831 tests completed, 2 failed, 31 skipped
> Task :poi-integration:test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-integration:test'.
> There were failing tests. See the report at:
> file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/reports/tests/test/index.html>
* 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.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 6m 9s
68 actionable tasks: 37 executed, 31 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]