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 2021/01/03 17:13:49 UTC

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #114

See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/114/display/redirect?page=changes>

Changes:

[Dominik Stadler] Enable XML result files for Gradle build to make them available for Jenkins CI

[Dominik Stadler] Allow JUnit 5 access to the parmaeters also on newer JDKs

[Dominik Stadler] Ignore Font-issue with JDK 8 on Windows in another test

[Dominik Stadler] Apply some IDE suggestions

[Dominik Stadler] Fix file-leak-detector excludes


------------------------------------------
[...truncated 2.59 KB...]

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 39 root root 4096 Jan  2 19:08 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 476
drwxr-xr-x 16 jenkins jenkins   4096 Jan  3 17:09 .
drwxr-xr-x  4 jenkins jenkins   4096 Dec 16 07:54 ..
drwxr-xr-x 31 jenkins jenkins   4096 Dec  4 16:36 build
-rw-r--r--  1 jenkins jenkins  15237 Jan  3 17:09 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Jan  3 12:09 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 156671 Jan  1 15:54 build.xml
-rw-r--r--  1 jenkins jenkins   3345 Dec 17 21:54 .classpath
-rw-r--r--  1 jenkins jenkins   6160 Dec  4 16:25 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2846 Jan  3 17:09 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Dec  4 16:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Dec  4 16:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Dec 20 18:54 .github
-rw-r--r--  1 jenkins jenkins    482 Dec 17 21:54 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Dec  4 16:25 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Dec  4 16:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5917 Dec  4 16:25 gradlew
-rw-r--r--  1 jenkins jenkins   2842 Dec  4 16:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Dec 28 10:54 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Dec  4 16:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Dec  4 16:25 legal
drwxr-xr-x  9 jenkins jenkins   4096 Dec  4 16:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Dec 25 02:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Dec 17 21:54 osgi
-rw-r--r--  1 jenkins jenkins   4813 Dec  4 16:25 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Dec  4 16:25 .project
-rw-r--r--  1 jenkins jenkins   4278 Dec 17 21:54 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Dec  4 16:25 .settings
-rw-r--r--  1 jenkins jenkins    556 Dec  4 16:25 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Dec 24 18:54 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Dec  4 16:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Jan  3 17:09 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Jan  1 15:54 test-data
-rw-r--r--  1 jenkins jenkins    419 Dec  6 22:09 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :main:compileJava UP-TO-DATE
> Task :main:processResources UP-TO-DATE
> Task :main:classes UP-TO-DATE
> Task :main:jar UP-TO-DATE
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
[ant:echo] Building Apache POI version 5.0.0-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds
> Task :scratchpad:compileJava UP-TO-DATE
> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes UP-TO-DATE
> Task :scratchpad:jar UP-TO-DATE

> Task :ooxml:compileJava
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 :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes
> Task :ooxml:jar
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE
> Task :main:compileTestJava UP-TO-DATE
> Task :main:processTestResources NO-SOURCE
> Task :main:testClasses UP-TO-DATE
> Task :main:testJar UP-TO-DATE
> Task :excelant:compileTestJava
> Task :excelant:processTestResources NO-SOURCE
> Task :excelant:testClasses
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :ooxml:processTestResources NO-SOURCE
> Task :ooxml:testClasses
> Task :integrationtest:compileTestJava
> Task :integrationtest:processTestResources NO-SOURCE
> Task :integrationtest:testClasses
> Task :integrationtest:test
> Task :integrationtest:check
> Task :main:test

BaseTestMissingWorkbook > testExistingWorkbook() FAILED
    org.junit.platform.commons.PreconditionViolationException at Preconditions.java:296

BaseTestMissingWorkbook > testMissingWorkbookMissing() FAILED
    org.junit.platform.commons.PreconditionViolationException at Preconditions.java:296

BaseTestMissingWorkbook > testMissingWorkbookMissingOverride() FAILED
    org.junit.platform.commons.PreconditionViolationException at Preconditions.java:296

6680 tests completed, 3 failed, 35 skipped

> Task :main:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':main:test'.
> There were failing tests. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/main/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 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 14s
28 actionable tasks: 15 executed, 13 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?

---------------------------------------------------------------------
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-DSL-SonarQube-Gradle #117

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/117/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-DSL-SonarQube-Gradle #116

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

Changes:

[Dominik Stadler] Bug 64132: Fix regression introduced by changing factories

We need to return EscherBlipRecord for all types in the defined range of recordId,
not UnknownEscherRecord.


------------------------------------------
[...truncated 2.34 KB...]
Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 39 root root 4096 Jan  2 19:08 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 476
drwxr-xr-x 16 jenkins jenkins   4096 Jan  3 17:09 .
drwxr-xr-x  4 jenkins jenkins   4096 Dec 16 07:54 ..
drwxr-xr-x 31 jenkins jenkins   4096 Dec  4 16:36 build
-rw-r--r--  1 jenkins jenkins  14850 Jan  3 18:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Jan  3 18:24 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 156671 Jan  1 15:54 build.xml
-rw-r--r--  1 jenkins jenkins   3345 Dec 17 21:54 .classpath
-rw-r--r--  1 jenkins jenkins   6160 Dec  4 16:25 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2846 Jan  3 17:09 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Dec  4 16:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Dec  4 16:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Dec 20 18:54 .github
-rw-r--r--  1 jenkins jenkins    482 Dec 17 21:54 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Dec  4 16:25 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Dec  4 16:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5917 Dec  4 16:25 gradlew
-rw-r--r--  1 jenkins jenkins   2842 Dec  4 16:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Dec 28 10:54 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Dec  4 16:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Dec  4 16:25 legal
drwxr-xr-x  9 jenkins jenkins   4096 Dec  4 16:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Dec 25 02:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Dec 17 21:54 osgi
-rw-r--r--  1 jenkins jenkins   4813 Dec  4 16:25 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Dec  4 16:25 .project
-rw-r--r--  1 jenkins jenkins   4278 Dec 17 21:54 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Dec  4 16:25 .settings
-rw-r--r--  1 jenkins jenkins    556 Dec  4 16:25 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Dec 24 18:54 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Dec  4 16:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Jan  4 05:54 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Jan  1 15:54 test-data
-rw-r--r--  1 jenkins jenkins    419 Dec  6 22:09 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :main:compileJava
Note: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java> uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
[ant:echo] Building Apache POI version 5.0.0-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds
> Task :scratchpad:compileJava UP-TO-DATE
> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes UP-TO-DATE
> Task :scratchpad:jar UP-TO-DATE
> Task :ooxml:compileJava UP-TO-DATE
> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes UP-TO-DATE
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE
> Task :main:compileTestJava UP-TO-DATE
> Task :main:processTestResources NO-SOURCE
> Task :main:testClasses UP-TO-DATE
> Task :main:testJar UP-TO-DATE
> Task :excelant:compileTestJava UP-TO-DATE
> Task :excelant:processTestResources NO-SOURCE
> Task :excelant:testClasses UP-TO-DATE
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE
> Task :ooxml:compileTestJava UP-TO-DATE
> Task :ooxml:processTestResources NO-SOURCE
> Task :ooxml:testClasses UP-TO-DATE
> Task :integrationtest:compileTestJava UP-TO-DATE
> Task :integrationtest:processTestResources NO-SOURCE
> Task :integrationtest:testClasses UP-TO-DATE
> Task :integrationtest:test
> Task :integrationtest:check
> Task :main:test
> Task :main:check
> Task :ooxml:test
> Task :ooxml:check

> Task :scratchpad:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :scratchpad:processTestResources NO-SOURCE
> Task :scratchpad:testClasses
> Task :scratchpad:test
> Task :scratchpad:check
> Task :examples:jacocoTestReport SKIPPED
> Task :excelant:jacocoTestReport
> Task :integrationtest:jacocoTestReport
> Task :main:jacocoTestReport
> Task :ooxml:jacocoTestReport
> Task :scratchpad:jacocoTestReport

> Task :sonarqube FAILED
SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sonarqube'.
> Issue exclusions are misconfigured. File pattern is mandatory for each entry of 'sonar.issue.ignore.multicriteria'

* 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 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 13m 42s
37 actionable tasks: 21 executed, 16 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?

---------------------------------------------------------------------
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-DSL-SonarQube-Gradle #115

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

Changes:

[Dominik Stadler] Try to make Gradle build work

Add a dependency that is reported as missing locally with JDK 11
Combine common test-dependencies
Avoid running base-class BaseTestMissingWorkbook, only the derived class is actually a unit-test


------------------------------------------
[...truncated 2.25 KB...]
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 39 root root 4096 Jan  2 19:08 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 476
drwxr-xr-x 16 jenkins jenkins   4096 Jan  3 17:09 .
drwxr-xr-x  4 jenkins jenkins   4096 Dec 16 07:54 ..
drwxr-xr-x 31 jenkins jenkins   4096 Dec  4 16:36 build
-rw-r--r--  1 jenkins jenkins  14850 Jan  3 18:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Jan  3 17:09 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 156671 Jan  1 15:54 build.xml
-rw-r--r--  1 jenkins jenkins   3345 Dec 17 21:54 .classpath
-rw-r--r--  1 jenkins jenkins   6160 Dec  4 16:25 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2846 Jan  3 17:09 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Dec  4 16:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Dec  4 16:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Dec 20 18:54 .github
-rw-r--r--  1 jenkins jenkins    482 Dec 17 21:54 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Dec  4 16:25 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Dec  4 16:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5917 Dec  4 16:25 gradlew
-rw-r--r--  1 jenkins jenkins   2842 Dec  4 16:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Dec 28 10:54 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Dec  4 16:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Dec  4 16:25 legal
drwxr-xr-x  9 jenkins jenkins   4096 Dec  4 16:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Dec 25 02:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Dec 17 21:54 osgi
-rw-r--r--  1 jenkins jenkins   4813 Dec  4 16:25 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Dec  4 16:25 .project
-rw-r--r--  1 jenkins jenkins   4278 Dec 17 21:54 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Dec  4 16:25 .settings
-rw-r--r--  1 jenkins jenkins    556 Dec  4 16:25 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Dec 24 18:54 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Dec  4 16:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Jan  3 18:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Jan  1 15:54 test-data
-rw-r--r--  1 jenkins jenkins    419 Dec  6 22:09 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :main:compileJava UP-TO-DATE
> Task :main:processResources UP-TO-DATE
> Task :main:classes UP-TO-DATE
> Task :main:jar UP-TO-DATE
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
[ant:echo] Building Apache POI version 5.0.0-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds
> Task :scratchpad:compileJava UP-TO-DATE
> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes UP-TO-DATE
> Task :scratchpad:jar UP-TO-DATE
> Task :ooxml:compileJava UP-TO-DATE
> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes UP-TO-DATE
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE

> Task :main:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShow.java> uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processTestResources NO-SOURCE
> Task :main:testClasses
> Task :main:testJar
> Task :excelant:compileTestJava
> Task :excelant:processTestResources NO-SOURCE
> Task :excelant:testClasses
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :ooxml:processTestResources NO-SOURCE
> Task :ooxml:testClasses
> Task :integrationtest:compileTestJava
> Task :integrationtest:processTestResources NO-SOURCE
> Task :integrationtest:testClasses
> Task :integrationtest:test
> Task :integrationtest:check
> Task :main:test
> Task :main:check
> Task :ooxml:test
> Task :ooxml:check
> Task :scratchpad:compileTestJava UP-TO-DATE
> Task :scratchpad:processTestResources NO-SOURCE
> Task :scratchpad:testClasses UP-TO-DATE
> Task :scratchpad:test
> Task :scratchpad:check
> Task :examples:jacocoTestReport SKIPPED
> Task :excelant:jacocoTestReport
> Task :integrationtest:jacocoTestReport
> Task :main:jacocoTestReport
> Task :ooxml:jacocoTestReport
> Task :scratchpad:jacocoTestReport

> Task :sonarqube FAILED
SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sonarqube'.
> Issue exclusions are misconfigured. File pattern is mandatory for each entry of 'sonar.issue.ignore.multicriteria'

* 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 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 9m 23s
37 actionable tasks: 23 executed, 14 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?

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