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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Dominik Stadler] FinanceLib: Simplify code and add a few more tests


------------------------------------------
[...truncated 381.91 KB...]
-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 460
drwxr-xr-x 13 jenkins jenkins   4096 Feb 19 12:40 .
drwxr-xr-x  6 jenkins jenkins   4096 Feb 19 12:37 ..
-rw-r--r--  1 jenkins jenkins  14850 Feb 19 12:40 build.gradle
-rw-r--r--  1 jenkins jenkins 157302 Feb 19 12:40 build.xml
-rw-r--r--  1 jenkins jenkins   3345 Feb 19 12:40 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 19 12:40 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 19 12:40 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 19 12:40 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 19 12:40 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 19 12:40 .github
-rw-r--r--  1 jenkins jenkins    482 Feb 19 12:40 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 19 12:40 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 19 12:40 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 19 12:40 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 19 12:40 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 19 12:40 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 19 12:40 legal
drwxr-xr-x  2 jenkins jenkins   4096 Feb 19 12:40 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 19 12:40 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 19 12:40 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 19 12:40 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 19 12:40 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 19 12:40 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 19 12:40 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 19 12:40 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 19 12:40 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 19 12:40 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 19 12:40 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 19 12:40 .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: 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 :main:processResources
> 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-122-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds

> Task :ooxml:ant-compile-ooxml-xsds
SchemaCompiler  Metadata LOAD:org/apache/xmlbeans/metadata GEN:org/apache/poi/schemas/ooxml
Time to build schema type system: 2.196 seconds
Time to generate code: 5.591 seconds
[ant:javac] Ignoring source, target and bootclasspath as release has been set

> Task :scratchpad: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 :scratchpad:processResources
> Task :scratchpad:classes
> Task :scratchpad:jar

> 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
> Task :ooxml:classes
> Task :ooxml:jar
> Task :examples:compileJava
> Task :examples:processResources NO-SOURCE
> Task :examples:classes
> 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
> Task :excelant:processResources
> Task :excelant:classes

> 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
> 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
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f1615ed9cf4, pid=3478, tid=3514
#
# JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.9+7) (build 11.0.9+7-LTS)
# Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.9+7-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# J 35431 c2 com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(Lorg/w3c/dom/Node;ZZLjava/util/Map;)Lorg/w3c/dom/Node; java.xml@11.0.9 (1032 bytes) @ 0x00007f1615ed9cf4 [0x00007f1615ed8ee0+0x0000000000000e14]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/ooxml/hs_err_pid3478.log>
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#

> Task :ooxml:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:test'.
> Process 'Gradle Test Executor 4' finished with non-zero exit value 134
  This problem might be caused by incorrect test process configuration.
  Please refer to the test execution section in the User Manual at https://docs.gradle.org/6.1/userguide/java_testing.html#sec:test_execution

* 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 10m 8s
29 actionable tasks: 29 executed
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Jenkins build is back to normal : POI » POI-DSL-SonarQube-Gradle #210

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]