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

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

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

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

Changes:

[Andreas Beeker] #65026 - Migrate tests to Junit 5


------------------------------------------
[...truncated 81.38 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 37 root root 4096 Dec 13 16:42 ..
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 Dec 20 18:54 .
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  14594 Dec 17 21:54 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Dec 20 18:54 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 158011 Dec 24 18: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   2847 Dec  4 16:25 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 17 21: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 17 21:54 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 Dec 24 18:54 .svn
drwxr-xr-x 14 jenkins jenkins   4096 Dec  4 16:25 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 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
[ant:javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:25: error: package org.junit.platform.engine.TestDescriptor does not exist
[ant:javac] import org.junit.platform.engine.TestDescriptor.Type;
[ant:javac]                                                ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:26: error: package org.junit.platform.engine does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult;
[ant:javac]                                 ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:27: error: package org.junit.platform.engine.TestExecutionResult does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult.Status;
[ant:javac]                                                     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:28: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestExecutionListener;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:29: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestIdentifier;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:30: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestPlan;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:37: error: cannot find symbol
[ant:javac] public class Junit5Progress implements TestExecutionListener {
[ant:javac]                                        ^
[ant:javac]   symbol: class TestExecutionListener
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:56: error: cannot find symbol
[ant:javac]     public void executionStarted(TestIdentifier testIdentifier) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:64: error: cannot find symbol
[ant:javac]     public void executionSkipped(TestIdentifier testIdentifier, String reason) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                   ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                                                  ^
[ant:javac]   symbol:   class TestExecutionResult
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:111: error: cannot find symbol
[ant:javac]     public void testPlanExecutionFinished(TestPlan testPlan) {
[ant:javac]                                           ^
[ant:javac]   symbol:   class TestPlan
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:55: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:63: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:68: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:82: error: cannot find symbol
[ant:javac]         if (testIdentifier.getType() == Type.TEST) {
[ant:javac]                                         ^
[ant:javac]   symbol:   variable Type
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:83: error: cannot find symbol
[ant:javac]             if (testExecutionResult.getStatus() == Status.SUCCESSFUL) {
[ant:javac]                                                    ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:85: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.ABORTED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:88: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.FAILED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:110: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] 20 errors

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 274

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Compile failed; see the compiler error output for details.

* 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 10s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Andreas Beeker] try to fix distsourcebuild error


------------------------------------------
[...truncated 2.12 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 37 root root 4096 Dec 13 16:42 ..
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 Dec 20 18:54 .
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  14594 Dec 17 21:54 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Dec 24 18:54 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 158278 Dec 25 01: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   2847 Dec  4 16:25 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 17 21: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 17 21:54 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 Dec 25 01:54 .svn
drwxr-xr-x 14 jenkins jenkins   4096 Dec  4 16:25 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 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
[ant:javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:25: error: package org.junit.platform.engine.TestDescriptor does not exist
[ant:javac] import org.junit.platform.engine.TestDescriptor.Type;
[ant:javac]                                                ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:26: error: package org.junit.platform.engine does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult;
[ant:javac]                                 ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:27: error: package org.junit.platform.engine.TestExecutionResult does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult.Status;
[ant:javac]                                                     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:28: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestExecutionListener;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:29: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestIdentifier;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:30: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestPlan;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:37: error: cannot find symbol
[ant:javac] public class Junit5Progress implements TestExecutionListener {
[ant:javac]                                        ^
[ant:javac]   symbol: class TestExecutionListener
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:56: error: cannot find symbol
[ant:javac]     public void executionStarted(TestIdentifier testIdentifier) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:64: error: cannot find symbol
[ant:javac]     public void executionSkipped(TestIdentifier testIdentifier, String reason) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                   ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                                                  ^
[ant:javac]   symbol:   class TestExecutionResult
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:115: error: cannot find symbol
[ant:javac]     public void testPlanExecutionFinished(TestPlan testPlan) {
[ant:javac]                                           ^
[ant:javac]   symbol:   class TestPlan
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:55: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:63: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:68: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:82: error: cannot find symbol
[ant:javac]         if (testIdentifier.getType() == Type.TEST) {
[ant:javac]                                         ^
[ant:javac]   symbol:   variable Type
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:83: error: cannot find symbol
[ant:javac]             if (testExecutionResult.getStatus() == Status.SUCCESSFUL) {
[ant:javac]                                                    ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:85: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.ABORTED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:88: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.FAILED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:114: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] 20 errors

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 274

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Compile failed; see the compiler error output for details.

* 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 8s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Andreas Beeker] upgrade pdfbox and pdfbox-graphics2d


------------------------------------------
[...truncated 2.14 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 37 root root 4096 Dec 13 16:42 ..
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 Dec 20 18:54 .
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  14594 Dec 25 02:09 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Dec 25 01:54 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 158278 Dec 25 02:09 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   2847 Dec  4 16:25 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 17 21: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 Dec 25 02:09 .svn
drwxr-xr-x 14 jenkins jenkins   4096 Dec  4 16:25 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 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
[ant:javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:25: error: package org.junit.platform.engine.TestDescriptor does not exist
[ant:javac] import org.junit.platform.engine.TestDescriptor.Type;
[ant:javac]                                                ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:26: error: package org.junit.platform.engine does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult;
[ant:javac]                                 ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:27: error: package org.junit.platform.engine.TestExecutionResult does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult.Status;
[ant:javac]                                                     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:28: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestExecutionListener;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:29: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestIdentifier;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:30: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestPlan;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:37: error: cannot find symbol
[ant:javac] public class Junit5Progress implements TestExecutionListener {
[ant:javac]                                        ^
[ant:javac]   symbol: class TestExecutionListener
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:56: error: cannot find symbol
[ant:javac]     public void executionStarted(TestIdentifier testIdentifier) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:64: error: cannot find symbol
[ant:javac]     public void executionSkipped(TestIdentifier testIdentifier, String reason) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                   ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                                                  ^
[ant:javac]   symbol:   class TestExecutionResult
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:115: error: cannot find symbol
[ant:javac]     public void testPlanExecutionFinished(TestPlan testPlan) {
[ant:javac]                                           ^
[ant:javac]   symbol:   class TestPlan
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:55: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:63: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:68: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:82: error: cannot find symbol
[ant:javac]         if (testIdentifier.getType() == Type.TEST) {
[ant:javac]                                         ^
[ant:javac]   symbol:   variable Type
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:83: error: cannot find symbol
[ant:javac]             if (testExecutionResult.getStatus() == Status.SUCCESSFUL) {
[ant:javac]                                                    ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:85: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.ABORTED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:88: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.FAILED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:114: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] 20 errors

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 274

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Compile failed; see the compiler error output for details.

* 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 9s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[PJ Fanning] [bug-65023] add col bugfix. Thanks to Paula Muldoon, This closes #212


------------------------------------------
[...truncated 2.23 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 37 root root 4096 Dec 13 16:42 ..
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 Dec 20 18:54 .
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  14594 Dec 25 02:09 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Dec 25 02:09 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 158278 Dec 25 02:09 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   2847 Dec  4 16:25 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 17 21: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 Dec 25 09:54 .svn
drwxr-xr-x 14 jenkins jenkins   4096 Dec  4 16:25 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 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
[ant:javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:25: error: package org.junit.platform.engine.TestDescriptor does not exist
[ant:javac] import org.junit.platform.engine.TestDescriptor.Type;
[ant:javac]                                                ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:26: error: package org.junit.platform.engine does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult;
[ant:javac]                                 ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:27: error: package org.junit.platform.engine.TestExecutionResult does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult.Status;
[ant:javac]                                                     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:28: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestExecutionListener;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:29: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestIdentifier;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:30: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestPlan;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:37: error: cannot find symbol
[ant:javac] public class Junit5Progress implements TestExecutionListener {
[ant:javac]                                        ^
[ant:javac]   symbol: class TestExecutionListener
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:56: error: cannot find symbol
[ant:javac]     public void executionStarted(TestIdentifier testIdentifier) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:64: error: cannot find symbol
[ant:javac]     public void executionSkipped(TestIdentifier testIdentifier, String reason) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                   ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                                                  ^
[ant:javac]   symbol:   class TestExecutionResult
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:115: error: cannot find symbol
[ant:javac]     public void testPlanExecutionFinished(TestPlan testPlan) {
[ant:javac]                                           ^
[ant:javac]   symbol:   class TestPlan
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:55: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:63: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:68: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:82: error: cannot find symbol
[ant:javac]         if (testIdentifier.getType() == Type.TEST) {
[ant:javac]                                         ^
[ant:javac]   symbol:   variable Type
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:83: error: cannot find symbol
[ant:javac]             if (testExecutionResult.getStatus() == Status.SUCCESSFUL) {
[ant:javac]                                                    ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:85: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.ABORTED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:88: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.FAILED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:114: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] 20 errors

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 274

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Compile failed; see the compiler error output for details.

* 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 8s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Andreas Beeker] try to fix gradle sonarqube job


------------------------------------------
[...truncated 2.39 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 37 root root 4096 Dec 13 16:42 ..
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 Dec 20 18:54 .
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  14930 Dec 25 19:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Dec 25 09:54 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 158278 Dec 25 02:09 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   2847 Dec  4 16:25 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 25 19:24 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 Dec 25 19:24 .svn
drwxr-xr-x 14 jenkins jenkins   4096 Dec  4 16:25 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
[ant:javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:25: error: package org.junit.platform.engine.TestDescriptor does not exist
[ant:javac] import org.junit.platform.engine.TestDescriptor.Type;
[ant:javac]                                                ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:26: error: package org.junit.platform.engine does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult;
[ant:javac]                                 ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:27: error: package org.junit.platform.engine.TestExecutionResult does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult.Status;
[ant:javac]                                                     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:28: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestExecutionListener;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:29: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestIdentifier;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:30: error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestPlan;
[ant:javac]                                   ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:37: error: cannot find symbol
[ant:javac] public class Junit5Progress implements TestExecutionListener {
[ant:javac]                                        ^
[ant:javac]   symbol: class TestExecutionListener
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:56: error: cannot find symbol
[ant:javac]     public void executionStarted(TestIdentifier testIdentifier) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:64: error: cannot find symbol
[ant:javac]     public void executionSkipped(TestIdentifier testIdentifier, String reason) {
[ant:javac]                                  ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                   ^
[ant:javac]   symbol:   class TestIdentifier
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69: error: cannot find symbol
[ant:javac]     public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
[ant:javac]                                                                  ^
[ant:javac]   symbol:   class TestExecutionResult
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:115: error: cannot find symbol
[ant:javac]     public void testPlanExecutionFinished(TestPlan testPlan) {
[ant:javac]                                           ^
[ant:javac]   symbol:   class TestPlan
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:55: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:63: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:68: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:82: error: cannot find symbol
[ant:javac]         if (testIdentifier.getType() == Type.TEST) {
[ant:javac]                                         ^
[ant:javac]   symbol:   variable Type
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:83: error: cannot find symbol
[ant:javac]             if (testExecutionResult.getStatus() == Status.SUCCESSFUL) {
[ant:javac]                                                    ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:85: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.ABORTED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:88: error: cannot find symbol
[ant:javac]             } else if (testExecutionResult.getStatus() == Status.FAILED) {
[ant:javac]                                                           ^
[ant:javac]   symbol:   variable Status
[ant:javac]   location: class Junit5Progress
[ant:javac] <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:114: error: method does not override or implement a method from a supertype
[ant:javac]     @Override
[ant:javac]     ^
[ant:javac] 20 errors

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 280

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Compile failed; see the compiler error output for details.

* 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 10s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #95

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


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