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

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

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

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

Changes:

[Andreas Beeker] 65206 - Migrate ant / maven to gradle build
update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build
remove eclipse IDE project files
remove obsolete record generator files


------------------------------------------
[...truncated 399.33 KB...]
A         src/documentation/sitemap.xmap
A         src/documentation/cli.xconf
AU        src/documentation/RELEASE-NOTES.txt
AU        src/documentation/README.txt
A         src/documentation/classes
A         src/documentation/classes/CatalogManager.properties
At revision 1888112

At revision 1888112

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins6097385927929976771.sh
+ svn status
    X   forrest.properties
X       src/documentation

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 43 root root 4096 Feb 16 14:44 ..
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  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 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  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 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 19 jenkins jenkins   4096 Mar 27 14:09 .
drwxr-xr-x  5 jenkins jenkins   4096 Mar 27 14:09 ..
-rw-r--r--  1 jenkins jenkins   7301 Mar 27 14:09 build.gradle
-rw-r--r--  1 jenkins jenkins 165626 Mar 27 14:09 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Mar 27 14:09 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 examples
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 excelant
-rw-r--r--  1 jenkins jenkins   2934 Mar 27 14:09 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Mar 27 14:09 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Mar 27 14:09 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 .github
-rw-r--r--  1 jenkins jenkins    475 Mar 27 14:09 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Mar 27 14:09 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Mar 27 14:09 gradlew.bat
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 integrationtest
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 14:09 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Mar 27 14:09 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 14:09 legal
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 14:09 main
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 14:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 ooxml-schema
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 osgi
-rw-r--r--  1 jenkins jenkins   4813 Mar 27 14:09 patch.xml
-rw-r--r--  1 jenkins jenkins   4278 Mar 27 14:09 README.rst
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 14:09 scratchpad
-rw-r--r--  1 jenkins jenkins    122 Mar 27 14:09 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Mar 27 14:09 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 14:09 src
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 14:10 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Mar 27 14:09 test-data
-rw-r--r--  1 jenkins jenkins    419 Mar 27 14: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

> Configure project :ooxml-schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:21: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:22: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:24: error: cannot find symbol
public class Bytes2Mega extends Task {
                                ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:21: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:22: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:25: error: cannot find symbol
public class NextRelease extends Task {
                                 ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:18: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:19: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:21: error: cannot find symbol
public class PropertyReset extends Task {
                                   ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:38: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class Bytes2Mega
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:38: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class Bytes2Mega
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:39: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class NextRelease
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:39: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class NextRelease
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:34: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class PropertyReset
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:34: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class PropertyReset
15 errors

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating project ':ooxml-schema'.
> Could not import Ant build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml'.>

* 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 12s
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
|

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

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

Changes:

[Andreas Beeker] 65206 - Migrate ant / maven to gradle build
try to fix Java 16 build


------------------------------------------
[...truncated 395.10 KB...]
AU        src/documentation/resources/images/POIFSWriteArchive.gif
AU        src/documentation/resources/images/logoRandyStanard03.png
AU        src/documentation/resources/images/logoRandyStanard04.png
AU        src/documentation/resources/images/logoRandyStanard05.png
AU        src/documentation/resources/images/POIFSWriteFilesystem.gif
AU        src/documentation/resources/images/logoRandyStanard06.png
AU        src/documentation/resources/images/logoRandyStanard07.png
AU        src/documentation/resources/images/built-with-forrest-button.png
AU        src/documentation/resources/images/logoRandyStanard08.png
AU        src/documentation/resources/images/timesheet.jpg
AU        src/documentation/resources/images/poi-logo.png
AU        src/documentation/resources/images/unknown.jpg
AU        src/documentation/resources/images/logoKarmokar1s.png
AU        src/documentation/resources/images/POIFSRootPropertyPreWrite.gif
AU        src/documentation/resources/images/logoWendyWise.png
AU        src/documentation/resources/images/POIFSPropertyTablePreWrite.gif
AU        src/documentation/resources/images/logoKarmokar5s.png
AU        src/documentation/resources/images/ss-features.png
AU        src/documentation/resources/images/businessplan.jpg
AU        src/documentation/resources/images/logoJanssen1.png
AU        src/documentation/resources/images/logoJanssen2.png
AU        src/documentation/resources/images/calendar.jpg
AU        src/documentation/resources/images/loancalc.jpg
AU        src/documentation/resources/images/usermodel.gif
AU        src/documentation/resources/images/logoLoicLefevre.png
AU        src/documentation/resources/images/simple-xls-with-function.jpg
AU        src/documentation/resources/images/logoRaPiGmbH1.png
AU        src/documentation/resources/images/PropertySet.jpg
AU        src/documentation/resources/images/logoRaPiGmbH2.png
AU        src/documentation/resources/images/vba-example.jpg
AU        src/documentation/resources/images/logoKarmokar2s.png
AU        src/documentation/resources/images/logoRaPiGmbH5.png
AU        src/documentation/resources/images/logoRaPiGmbH6.png
AU        src/documentation/resources/images/logoKarmokar6s.png
AU        src/documentation/resources/images/logoRaPiGmbH7.png
AU        src/documentation/resources/images/logoRaPiGmbH8.png
AU        src/documentation/resources/images/logoRaPiGmbH9.png
AU        src/documentation/resources/images/logoDanielFernandez.png
AU        src/documentation/resources/images/logoAndrewClements2.png
AU        src/documentation/resources/images/hslf_shapes.gif
AU        src/documentation/resources/images/logoWendyWise2.png
AU        src/documentation/resources/images/POIFSLifeCycle.gif
AU        src/documentation/resources/images/logoAdria1.png
AU        src/documentation/resources/images/logoAdria2.png
AU        src/documentation/resources/images/logoAdria3.png
AU        src/documentation/resources/images/remove.jpg
AU        src/documentation/resources/images/logoKarmokar3s.png
AU        src/documentation/resources/images/logoGlenStampoutlzis.png
AU        src/documentation/resources/images/logoKarmokar1.png
AU        src/documentation/resources/images/POIFSInitialization.gif
AU        src/documentation/resources/images/logoKarmokar2.png
AU        src/documentation/resources/images/logoRaPiGmbH10.png
AU        src/documentation/resources/images/logoKarmokar3.png
AU        src/documentation/resources/images/logoRaPiGmbH11.png
AU        src/documentation/resources/images/logoMichaelMosmann.png
AU        src/documentation/resources/images/logoKarmokar4.png
AU        src/documentation/resources/images/logoRaPiGmbH12.png
AU        src/documentation/resources/images/logoKarmokar5.png
AU        src/documentation/resources/images/logoKarmokar6.png
AU        src/documentation/resources/images/ApacheConEu08.jpg
AU        src/documentation/resources/images/BlockClassDiagram.gif
AU        src/documentation/resources/images/calculatePayment.jpg
AU        src/documentation/resources/images/PropertyTableClassDiagram.gif
AU        src/documentation/resources/images/logoRussellBeattie1.png
AU        src/documentation/resources/images/logoRussellBeattie2.png
AU        src/documentation/resources/images/logoRussellBeattie3.png
A         src/documentation/sitemap.xmap
A         src/documentation/cli.xconf
AU        src/documentation/RELEASE-NOTES.txt
AU        src/documentation/README.txt
A         src/documentation/classes
A         src/documentation/classes/CatalogManager.properties
At revision 1888119

At revision 1888119

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins9205335481597774375.sh
+ svn status
    X   forrest.properties
X       src/documentation

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 22:56 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 22:56 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:56 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:56 include
drwxr-xr-x  2 root root 4096 Dec  7 22:56 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:56 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:56 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:56 .
drwxr-xr-x 8 root root   4096 Dec  7 22:56 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 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 19 jenkins jenkins   4096 Mar 27 23:24 .
drwxr-xr-x  8 jenkins jenkins   4096 Mar 27 23:24 ..
-rw-r--r--  1 jenkins jenkins   7301 Mar 27 23:24 build.gradle
-rw-r--r--  1 jenkins jenkins 165626 Mar 27 23:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Mar 27 23:24 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 23:24 examples
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 23:24 excelant
-rw-r--r--  1 jenkins jenkins   2934 Mar 27 23:24 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Mar 27 23:24 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Mar 27 23:24 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 23:24 .github
-rw-r--r--  1 jenkins jenkins    475 Mar 27 23:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 23:24 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Mar 27 23:24 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Mar 27 23:24 gradlew.bat
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 23:24 integrationtest
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 23:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Mar 27 23:24 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 23:24 legal
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 23:24 main
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 23:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 23:24 ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 23:24 ooxml-schema
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 23:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Mar 27 23:24 patch.xml
-rw-r--r--  1 jenkins jenkins   4278 Mar 27 23:24 README.rst
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 23:24 scratchpad
-rw-r--r--  1 jenkins jenkins    122 Mar 27 23:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Mar 27 23:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 23:24 src
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 23:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Mar 27 23:24 test-data
-rw-r--r--  1 jenkins jenkins    419 Mar 27 23:24 .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/5.6/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

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating project ':ooxml-schema'.
> Could not set unknown property 'destinationDirectory' for task ':ooxml-schema:compileContrib' of type org.gradle.api.tasks.compile.JavaCompile.

* 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

BUILD FAILED in 12s
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
|

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

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

Changes:

[Andreas Beeker] 65206 - Migrate ant / maven to gradle build
fix distsourcebuild


------------------------------------------
[...truncated 312.28 KB...]
AU        scratchpad/src/test/java/org/apache/poi/hmef/attribute/TestTNEFAttributes.java
AU        scratchpad/src/test/java/org/apache/poi/hmef/TestAttachments.java
AU        scratchpad/src/test/java/org/apache/poi/hmef/TestCompressedRTF.java
AU        scratchpad/src/test/java/org/apache/poi/hmef/TestHMEFMessage.java
A         scratchpad/src/test/java/org/apache/poi/hmef/extractor
AU        scratchpad/src/test/java/org/apache/poi/hmef/extractor/TestHMEFContentsExtractor.java
A         scratchpad/src/test/java/org/apache/poi/hemf
A         scratchpad/src/test/java/org/apache/poi/hemf/usermodel
AU        scratchpad/src/test/java/org/apache/poi/hemf/usermodel/TestHemfPicture.java
A         scratchpad/src/test/java/org/apache/poi/hemf/hemfplus
A         scratchpad/src/test/java/org/apache/poi/hemf/hemfplus/extractor
AU        scratchpad/src/test/java/org/apache/poi/hemf/hemfplus/extractor/TestHemfPlusExtractor.java
A         scratchpad/src/test/java/org/apache/poi/hwmf
AU        scratchpad/src/test/java/org/apache/poi/hwmf/TestHwmfParsing.java
AU        scratchpad/src/test/java/org/apache/poi/hwmf/TestRasterOp.java
A         scratchpad/src/test/java/org/apache/poi/hpbf
AU        scratchpad/src/test/java/org/apache/poi/hpbf/TestHPBFDocument.java
A         scratchpad/src/test/java/org/apache/poi/hpbf/extractor
AU        scratchpad/src/test/java/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java
A         scratchpad/src/test/java/org/apache/poi/hpbf/model
AU        scratchpad/src/test/java/org/apache/poi/hpbf/model/TestEscherParts.java
AU        scratchpad/src/test/java/org/apache/poi/hpbf/model/TestQuillContents.java
A         scratchpad/src/test/java/org/apache/poi/hssf
A         scratchpad/src/test/java/org/apache/poi/hssf/converter
AU        scratchpad/src/test/java/org/apache/poi/hssf/converter/TestExcelConverterSuite.java
A         scratchpad/src/test/java9
AU        scratchpad/src/test/java9/module-info.class
AU        scratchpad/src/test/java9/module-info.java
U         settings.gradle
U         sonar/excelant/pom.xml
U         sonar/integration-test/pom.xml
U         sonar/main/pom.xml
U         sonar/ooxml/pom.xml
U         sonar/ooxml-full/pom.xml
U         sonar/scratchpad/pom.xml
U         sonar/pom.xml
D         src/java
D         src/integrationtest
D         src/contrib
D         src/examples
D         src/ooxml
D         src/excelant
D         src/multimodule
D         src/scratchpad
D         src/records
D         src/testcases
D         src/models
D         src/types
D         src/resources/main
D         src/resources/version
D         src/resources/integrationtest
D         src/resources/ooxml
D         src/resources/scratchpad
D         src/resources/test
U         maven/poi-ooxml.pom
U         test-data/spreadsheet/FormatConditionTests.xlsx
U         test-data/spreadsheet/FormulaEvalTestData.xls
 U        .

<-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/forrest.properties'>
At revision 1888122


<-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/documentation'>
U         src/documentation/content/xdocs/changes.xml
At revision 1888122

At revision 1888122

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins6388848025750157299.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

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 22:57 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 22:57 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:57 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:57 include
drwxr-xr-x  2 root root 4096 Dec  7 22:57 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:57 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:57 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:57 .
drwxr-xr-x 8 root root   4096 Dec  7 22:57 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 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 484
drwxr-xr-x 20 jenkins jenkins   4096 Mar 28 01:24 .
drwxr-xr-x  9 jenkins jenkins   4096 Mar 27 14:00 ..
-rw-r--r--  1 jenkins jenkins   7301 Mar 28 01:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Mar 14 20:44 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165626 Mar 28 01:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Feb 26 22:25 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 01:24 examples
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 01:24 excelant
-rw-r--r--  1 jenkins jenkins   2934 Feb 26 22:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 26 22:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 26 22:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:24 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 26 22:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:25 gradle
drwxr-xr-x  4 jenkins jenkins   4096 Feb 26 22:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 26 22:25 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 26 22:25 gradlew.bat
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 01:24 integrationtest
drwxr-xr-x  2 jenkins jenkins   4096 Mar 28 01:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Mar 14 20:44 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:24 legal
drwxr-xr-x  4 jenkins jenkins   4096 Mar 28 01:24 main
drwxr-xr-x  2 jenkins jenkins   4096 Mar 28 01:25 maven
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 01:24 ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 01:24 ooxml-schema
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 26 22:25 patch.xml
-rw-r--r--  1 jenkins jenkins   4278 Feb 26 22:25 README.rst
drwxr-xr-x  4 jenkins jenkins   4096 Mar 28 01:24 scratchpad
-rw-r--r--  1 jenkins jenkins    122 Mar 28 01:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Mar 28 01:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Mar 28 01:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Mar 28 01:25 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 26 22:25 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 26 22:25 .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
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/lib/gradle/4.10.3/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

> Configure project :
Enabling Sonar support

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: 45

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Could not get unknown property 'Bundling' for {} of type org.gradle.api.internal.attributes.DefaultMutableAttributeContainer.

* 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

BUILD FAILED in 6s
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
|

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

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

Changes:

[Dominik Stadler] Ignore new "build" and "out" directories

[Dominik Stadler] Gradle: Add support for rat-check and initial target "jenkins"

[Dominik Stadler] Remove support for japicmp from Gradle build

I now spent a few hours trying to make it work and the Gradle support is
simply not production-ready and also not maintained, it triggers various
strange errors and does not supporting the usual Gradle conventions.

So I do not want to spend more time on it, feel free to revive it if you know how
to make this work properly.


------------------------------------------
[...truncated 399.38 KB...]
A         src/documentation/cli.xconf
AU        src/documentation/RELEASE-NOTES.txt
AU        src/documentation/README.txt
A         src/documentation/classes
A         src/documentation/classes/CatalogManager.properties
At revision 1888140

At revision 1888140

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins4316608347548272907.sh
+ svn status
    X   forrest.properties
X       src/documentation

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:10 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:10 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:10 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:10 include
drwxr-xr-x  2 root root 4096 Dec  7 23:10 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:10 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:10 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:10 .
drwxr-xr-x 8 root root   4096 Dec  7 23:10 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 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 480
drwxr-xr-x 19 jenkins jenkins   4096 Mar 28 20:10 .
drwxr-xr-x  6 jenkins jenkins   4096 Mar 28 20:09 ..
-rw-r--r--  1 jenkins jenkins   8712 Mar 28 20:09 build.gradle
-rw-r--r--  1 jenkins jenkins 165518 Mar 28 20:09 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Mar 28 20:10 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 20:09 examples
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 20:09 excelant
-rw-r--r--  1 jenkins jenkins   2934 Mar 28 20:10 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Mar 28 20:10 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Mar 28 20:10 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 20:10 .github
-rw-r--r--  1 jenkins jenkins    495 Mar 28 20:09 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 20:10 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Mar 28 20:10 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Mar 28 20:10 gradlew.bat
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 20:09 integrationtest
drwxr-xr-x  2 jenkins jenkins   4096 Mar 28 20:09 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Mar 28 20:10 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Mar 28 20:10 legal
drwxr-xr-x  4 jenkins jenkins   4096 Mar 28 20:09 main
drwxr-xr-x  2 jenkins jenkins   4096 Mar 28 20:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 20:09 ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 20:09 ooxml-schema
drwxr-xr-x  3 jenkins jenkins   4096 Mar 28 20:10 osgi
-rw-r--r--  1 jenkins jenkins   4813 Mar 28 20:10 patch.xml
-rw-r--r--  1 jenkins jenkins   4278 Mar 28 20:10 README.rst
drwxr-xr-x  4 jenkins jenkins   4096 Mar 28 20:09 scratchpad
-rw-r--r--  1 jenkins jenkins    122 Mar 28 20:09 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Mar 28 20:09 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Mar 28 20:10 src
drwxr-xr-x  4 jenkins jenkins   4096 Mar 28 20:10 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Mar 28 20:10 test-data
-rw-r--r--  1 jenkins jenkins    419 Mar 28 20:10 .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: 2 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

> Configure project :ooxml-schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:21: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:22: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:24: error: cannot find symbol
public class Bytes2Mega extends Task {
                                ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:21: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:22: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:25: error: cannot find symbol
public class NextRelease extends Task {
                                 ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:18: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:19: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:21: error: cannot find symbol
public class PropertyReset extends Task {
                                   ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:38: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class Bytes2Mega
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:38: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class Bytes2Mega
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:39: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class NextRelease
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:39: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class NextRelease
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:34: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class PropertyReset
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:34: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class PropertyReset
15 errors

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating project ':ooxml-schema'.
> Could not import Ant build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml'.>

* 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 1m 15s
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
|

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

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

Changes:

[Dominik Stadler] Switch the Ant-build to separate folders under "build/classes"

This avoids colliding in strange ways with the default Gradle location "build/classes/main/java"

This caused very strange error messages about invalid package names when compiling with Gradle and Ant in one source checkout

[Dominik Stadler] Add a Gradle target "allJavaDoc" for an initial combined JavaDoc run

[Dominik Stadler] Adjust JavaDoc target to act similar as the one in the build.xml

Set memory and set "lint:non" on Java 8 to not be stricter than the Ant-build

[Dominik Stadler] Adjust some JavaDoc

[Dominik Stadler] XSLX2CSV: Do not double-encode if the value is already having quotes and escape double-quotes

Most CSV formats use "" (two quotes) to escape a "-character, we should do this in this
example as well to produce files that can be parsed by other CSV processors correctly.

Also cases where the value is already enclosed in quotes should not lead to additional quotes

Add a simple initial test to module "examples" verify basic functionality of XSLX2CSV
as I often rely on it for converting some very large xlsx-files to csv

[Dominik Stadler] Also look for test-data in ../test-data for Gradle build

This is needed when running tests in the IDE via the Gradle project import

[Dominik Stadler] Update JUnit to 5.7.1 and junit-platform to 1.7.1

[Dominik Stadler] Apply some IDE suggestions, improve exception message, add some JavaDoc


------------------------------------------
[...truncated 394.64 KB...]
AU        src/documentation/resources/images/old-project-logo.gif
AU        src/documentation/resources/images/logoLoicLefevre2.png
AU        src/documentation/resources/images/POIFSAddDocument.gif
AU        src/documentation/resources/images/utilClasses.gif
AU        src/documentation/resources/images/POIFSClassDiagram.gif
AU        src/documentation/resources/images/logoRandyStanard01.png
AU        src/documentation/resources/images/logoRandyStanard02.png
AU        src/documentation/resources/images/POIFSWriteArchive.gif
AU        src/documentation/resources/images/logoRandyStanard03.png
AU        src/documentation/resources/images/logoRandyStanard04.png
AU        src/documentation/resources/images/logoRandyStanard05.png
AU        src/documentation/resources/images/POIFSWriteFilesystem.gif
AU        src/documentation/resources/images/logoRandyStanard06.png
AU        src/documentation/resources/images/logoRandyStanard07.png
AU        src/documentation/resources/images/built-with-forrest-button.png
AU        src/documentation/resources/images/logoRandyStanard08.png
AU        src/documentation/resources/images/timesheet.jpg
AU        src/documentation/resources/images/poi-logo.png
AU        src/documentation/resources/images/unknown.jpg
AU        src/documentation/resources/images/logoKarmokar1s.png
AU        src/documentation/resources/images/POIFSRootPropertyPreWrite.gif
AU        src/documentation/resources/images/logoWendyWise.png
AU        src/documentation/resources/images/POIFSPropertyTablePreWrite.gif
AU        src/documentation/resources/images/logoKarmokar5s.png
AU        src/documentation/resources/images/ss-features.png
AU        src/documentation/resources/images/businessplan.jpg
AU        src/documentation/resources/images/logoJanssen1.png
AU        src/documentation/resources/images/logoJanssen2.png
AU        src/documentation/resources/images/calendar.jpg
AU        src/documentation/resources/images/loancalc.jpg
AU        src/documentation/resources/images/usermodel.gif
AU        src/documentation/resources/images/logoLoicLefevre.png
AU        src/documentation/resources/images/simple-xls-with-function.jpg
AU        src/documentation/resources/images/logoRaPiGmbH1.png
AU        src/documentation/resources/images/PropertySet.jpg
AU        src/documentation/resources/images/logoRaPiGmbH2.png
AU        src/documentation/resources/images/vba-example.jpg
AU        src/documentation/resources/images/logoKarmokar2s.png
AU        src/documentation/resources/images/logoRaPiGmbH5.png
AU        src/documentation/resources/images/logoRaPiGmbH6.png
AU        src/documentation/resources/images/logoKarmokar6s.png
AU        src/documentation/resources/images/logoRaPiGmbH7.png
AU        src/documentation/resources/images/logoRaPiGmbH8.png
AU        src/documentation/resources/images/logoRaPiGmbH9.png
AU        src/documentation/resources/images/logoDanielFernandez.png
AU        src/documentation/resources/images/logoAndrewClements2.png
AU        src/documentation/resources/images/hslf_shapes.gif
AU        src/documentation/resources/images/logoWendyWise2.png
AU        src/documentation/resources/images/POIFSLifeCycle.gif
AU        src/documentation/resources/images/logoAdria1.png
AU        src/documentation/resources/images/logoAdria2.png
AU        src/documentation/resources/images/logoAdria3.png
AU        src/documentation/resources/images/remove.jpg
AU        src/documentation/resources/images/logoKarmokar3s.png
AU        src/documentation/resources/images/logoGlenStampoutlzis.png
AU        src/documentation/resources/images/logoKarmokar1.png
AU        src/documentation/resources/images/POIFSInitialization.gif
AU        src/documentation/resources/images/logoKarmokar2.png
AU        src/documentation/resources/images/logoRaPiGmbH10.png
AU        src/documentation/resources/images/logoKarmokar3.png
AU        src/documentation/resources/images/logoRaPiGmbH11.png
AU        src/documentation/resources/images/logoMichaelMosmann.png
AU        src/documentation/resources/images/logoKarmokar4.png
AU        src/documentation/resources/images/logoRaPiGmbH12.png
AU        src/documentation/resources/images/logoKarmokar5.png
AU        src/documentation/resources/images/logoKarmokar6.png
AU        src/documentation/resources/images/ApacheConEu08.jpg
AU        src/documentation/resources/images/BlockClassDiagram.gif
AU        src/documentation/resources/images/calculatePayment.jpg
AU        src/documentation/resources/images/PropertyTableClassDiagram.gif
AU        src/documentation/resources/images/logoRussellBeattie1.png
AU        src/documentation/resources/images/logoRussellBeattie2.png
AU        src/documentation/resources/images/logoRussellBeattie3.png
A         src/documentation/sitemap.xmap
A         src/documentation/cli.xconf
AU        src/documentation/RELEASE-NOTES.txt
AU        src/documentation/README.txt
A         src/documentation/classes
A         src/documentation/classes/CatalogManager.properties
At revision 1888423

At revision 1888423

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins4994087365963234167.sh
+ svn status
    X   forrest.properties
X       src/documentation

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 Jan  4 22:13 .
drwxr-xr-x 44 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Jan  4 22:13 bin
drwxr-xr-x  4 root root 4096 Jan  4 22:13 conf
drwxr-xr-x  3 root root 4096 Jan  4 22:13 include
drwxr-xr-x  2 root root 4096 Jan  4 22:13 jmods
drwxr-xr-x 73 root root 4096 Jan  4 22:13 legal
drwxr-xr-x  6 root root 4096 Jan  4 22:13 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Jan  4 22:13 .
drwxr-xr-x 8 root root   4096 Jan  4 22:13 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 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 480
drwxr-xr-x 19 jenkins jenkins   4096 Apr  6 06:25 .
drwxr-xr-x  8 jenkins jenkins   4096 Apr  6 06:24 ..
-rw-r--r--  1 jenkins jenkins  11357 Apr  6 06:24 build.gradle
-rw-r--r--  1 jenkins jenkins 165572 Apr  6 06:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Apr  6 06:25 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 examples
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 excelant
-rw-r--r--  1 jenkins jenkins   2934 Apr  6 06:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Apr  6 06:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Apr  6 06:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 .github
-rw-r--r--  1 jenkins jenkins    495 Apr  6 06:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Apr  6 06:25 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Apr  6 06:25 gradlew.bat
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 integrationtest
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 06:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Apr  6 06:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 06:25 legal
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:24 main
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 06:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 ooxml-schema
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 osgi
-rw-r--r--  1 jenkins jenkins   4813 Apr  6 06:25 patch.xml
-rw-r--r--  1 jenkins jenkins   4278 Apr  6 06:25 README.rst
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:24 scratchpad
-rw-r--r--  1 jenkins jenkins    122 Apr  6 06:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Apr  6 06:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:25 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Apr  6 06:25 test-data
-rw-r--r--  1 jenkins jenkins    419 Apr  6 06:25 .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/5.5.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* What went wrong:
org/gradle/kotlin/dsl/precompile/v1/PrecompiledProjectScript
> org.gradle.kotlin.dsl.precompile.v1.PrecompiledProjectScript

* 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

BUILD FAILED in 32s
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
|

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

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

Changes:

[Dominik Stadler] Add a simple test-case for XLSX2CSV

[Dominik Stadler] Add one more directory from Maven build to .gitignore

[Dominik Stadler] Fix directory for examples-sources to make Maven build work again


------------------------------------------
[...truncated 394.96 KB...]
AU        src/documentation/resources/images/old-project-logo.gif
AU        src/documentation/resources/images/logoLoicLefevre2.png
AU        src/documentation/resources/images/POIFSAddDocument.gif
AU        src/documentation/resources/images/utilClasses.gif
AU        src/documentation/resources/images/POIFSClassDiagram.gif
AU        src/documentation/resources/images/logoRandyStanard01.png
AU        src/documentation/resources/images/logoRandyStanard02.png
AU        src/documentation/resources/images/POIFSWriteArchive.gif
AU        src/documentation/resources/images/logoRandyStanard03.png
AU        src/documentation/resources/images/logoRandyStanard04.png
AU        src/documentation/resources/images/logoRandyStanard05.png
AU        src/documentation/resources/images/POIFSWriteFilesystem.gif
AU        src/documentation/resources/images/logoRandyStanard06.png
AU        src/documentation/resources/images/logoRandyStanard07.png
AU        src/documentation/resources/images/built-with-forrest-button.png
AU        src/documentation/resources/images/logoRandyStanard08.png
AU        src/documentation/resources/images/timesheet.jpg
AU        src/documentation/resources/images/poi-logo.png
AU        src/documentation/resources/images/unknown.jpg
AU        src/documentation/resources/images/logoKarmokar1s.png
AU        src/documentation/resources/images/POIFSRootPropertyPreWrite.gif
AU        src/documentation/resources/images/logoWendyWise.png
AU        src/documentation/resources/images/POIFSPropertyTablePreWrite.gif
AU        src/documentation/resources/images/logoKarmokar5s.png
AU        src/documentation/resources/images/ss-features.png
AU        src/documentation/resources/images/businessplan.jpg
AU        src/documentation/resources/images/logoJanssen1.png
AU        src/documentation/resources/images/logoJanssen2.png
AU        src/documentation/resources/images/calendar.jpg
AU        src/documentation/resources/images/loancalc.jpg
AU        src/documentation/resources/images/usermodel.gif
AU        src/documentation/resources/images/logoLoicLefevre.png
AU        src/documentation/resources/images/simple-xls-with-function.jpg
AU        src/documentation/resources/images/logoRaPiGmbH1.png
AU        src/documentation/resources/images/PropertySet.jpg
AU        src/documentation/resources/images/logoRaPiGmbH2.png
AU        src/documentation/resources/images/vba-example.jpg
AU        src/documentation/resources/images/logoKarmokar2s.png
AU        src/documentation/resources/images/logoRaPiGmbH5.png
AU        src/documentation/resources/images/logoRaPiGmbH6.png
AU        src/documentation/resources/images/logoKarmokar6s.png
AU        src/documentation/resources/images/logoRaPiGmbH7.png
AU        src/documentation/resources/images/logoRaPiGmbH8.png
AU        src/documentation/resources/images/logoRaPiGmbH9.png
AU        src/documentation/resources/images/logoDanielFernandez.png
AU        src/documentation/resources/images/logoAndrewClements2.png
AU        src/documentation/resources/images/hslf_shapes.gif
AU        src/documentation/resources/images/logoWendyWise2.png
AU        src/documentation/resources/images/POIFSLifeCycle.gif
AU        src/documentation/resources/images/logoAdria1.png
AU        src/documentation/resources/images/logoAdria2.png
AU        src/documentation/resources/images/logoAdria3.png
AU        src/documentation/resources/images/remove.jpg
AU        src/documentation/resources/images/logoKarmokar3s.png
AU        src/documentation/resources/images/logoGlenStampoutlzis.png
AU        src/documentation/resources/images/logoKarmokar1.png
AU        src/documentation/resources/images/POIFSInitialization.gif
AU        src/documentation/resources/images/logoKarmokar2.png
AU        src/documentation/resources/images/logoRaPiGmbH10.png
AU        src/documentation/resources/images/logoKarmokar3.png
AU        src/documentation/resources/images/logoRaPiGmbH11.png
AU        src/documentation/resources/images/logoMichaelMosmann.png
AU        src/documentation/resources/images/logoKarmokar4.png
AU        src/documentation/resources/images/logoRaPiGmbH12.png
AU        src/documentation/resources/images/logoKarmokar5.png
AU        src/documentation/resources/images/logoKarmokar6.png
AU        src/documentation/resources/images/ApacheConEu08.jpg
AU        src/documentation/resources/images/BlockClassDiagram.gif
AU        src/documentation/resources/images/calculatePayment.jpg
AU        src/documentation/resources/images/PropertyTableClassDiagram.gif
AU        src/documentation/resources/images/logoRussellBeattie1.png
AU        src/documentation/resources/images/logoRussellBeattie2.png
AU        src/documentation/resources/images/logoRussellBeattie3.png
A         src/documentation/sitemap.xmap
A         src/documentation/cli.xconf
AU        src/documentation/RELEASE-NOTES.txt
AU        src/documentation/README.txt
A         src/documentation/classes
A         src/documentation/classes/CatalogManager.properties
At revision 1888432

At revision 1888432

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins2894861704300625399.sh
+ svn status
    X   forrest.properties
X       src/documentation

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:05 .
drwxr-xr-x 43 root root 4096 Feb 16 14:30 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:05 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:05 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:05 include
drwxr-xr-x  2 root root 4096 Dec  7 23:05 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:05 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:05 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:05 .
drwxr-xr-x 8 root root   4096 Dec  7 23:05 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 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 480
drwxr-xr-x 19 jenkins jenkins   4096 Apr  6 12:55 .
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 12:54 ..
-rw-r--r--  1 jenkins jenkins  11357 Apr  6 12:54 build.gradle
-rw-r--r--  1 jenkins jenkins 165572 Apr  6 12:54 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Apr  6 12:54 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 12:54 examples
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 12:54 excelant
-rw-r--r--  1 jenkins jenkins   2934 Apr  6 12:54 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Apr  6 12:55 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Apr  6 12:54 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 12:54 .github
-rw-r--r--  1 jenkins jenkins    523 Apr  6 12:54 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 12:54 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Apr  6 12:54 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Apr  6 12:54 gradlew.bat
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 12:54 integrationtest
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 12:54 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Apr  6 12:54 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 12:54 legal
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 12:54 main
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 12:54 maven
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 12:54 ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 12:54 ooxml-schema
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 12:54 osgi
-rw-r--r--  1 jenkins jenkins   4813 Apr  6 12:54 patch.xml
-rw-r--r--  1 jenkins jenkins   4278 Apr  6 12:54 README.rst
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 12:54 scratchpad
-rw-r--r--  1 jenkins jenkins    122 Apr  6 12:54 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Apr  6 12:54 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 12:55 src
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 12:55 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Apr  6 12:54 test-data
-rw-r--r--  1 jenkins jenkins    419 Apr  6 12:54 .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/5.6/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* What went wrong:
org/gradle/kotlin/dsl/precompile/v1/PrecompiledProjectScript
> org.gradle.kotlin.dsl.precompile.v1.PrecompiledProjectScript

* 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

BUILD FAILED in 14s
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
|

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

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

Changes:

[Dominik Stadler] Enable Gradle Wrapper to avoid running with an unsupported local version

This may cause the strange "PrecompiledProjectScript" failures that we see currently


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content
LANG=en_US.UTF-8
FORREST_HOME=/home/jenkins/tools/forrest/latest

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on H44 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Updating https://svn.apache.org/repos/asf/poi/trunk at revision '2021-04-06T20:24:11.556 +0000'
U         jenkins/create_jobs.groovy
A         examples/src/test
A         examples/src/test/java
A         examples/src/test/java/org
A         examples/src/test/java/org/apache
A         examples/src/test/java/org/apache/poi
A         examples/src/test/java/org/apache/poi/integration
A         examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java
U         .gitignore
U         sonar/examples/pom.xml

<-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/forrest.properties'>
At revision 1888449


<-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/documentation'>
At revision 1888449

At revision 1888449

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins8090965605672841650.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

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 Jan  4 22:13 .
drwxr-xr-x 44 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Jan  4 22:13 bin
drwxr-xr-x  4 root root 4096 Jan  4 22:13 conf
drwxr-xr-x  3 root root 4096 Jan  4 22:13 include
drwxr-xr-x  2 root root 4096 Jan  4 22:13 jmods
drwxr-xr-x 73 root root 4096 Jan  4 22:13 legal
drwxr-xr-x  6 root root 4096 Jan  4 22:13 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Jan  4 22:13 .
drwxr-xr-x 8 root root   4096 Jan  4 22:13 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 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 488
drwxr-xr-x 20 jenkins jenkins   4096 Apr  6 20:24 .
drwxr-xr-x  8 jenkins jenkins   4096 Apr  6 06:24 ..
-rw-r--r--  1 jenkins jenkins  11357 Apr  6 06:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Apr  6 06:25 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165572 Apr  6 06:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Apr  6 06:25 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 examples
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 excelant
-rw-r--r--  1 jenkins jenkins   2934 Apr  6 06:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Apr  6 06:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Apr  6 06:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 .github
-rw-r--r--  1 jenkins jenkins    523 Apr  6 20:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 gradle
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Apr  6 06:25 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Apr  6 06:25 gradlew.bat
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 integrationtest
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 20:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Apr  6 06:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 06:25 legal
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:24 main
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 06:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 ooxml-schema
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 osgi
-rw-r--r--  1 jenkins jenkins   4813 Apr  6 06:25 patch.xml
-rw-r--r--  1 jenkins jenkins   4278 Apr  6 06:25 README.rst
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:24 scratchpad
-rw-r--r--  1 jenkins jenkins    122 Apr  6 06:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Apr  6 06:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 20:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Apr  6 06:25 test-data
-rw-r--r--  1 jenkins jenkins    419 Apr  6 06:25 .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: 1 second
+ 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/5.5.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* What went wrong:
org/gradle/kotlin/dsl/precompile/v1/PrecompiledProjectScript
> org.gradle.kotlin.dsl.precompile.v1.PrecompiledProjectScript

* 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

BUILD FAILED in 8s
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
|

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

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/286/display/redirect>

Changes:


------------------------------------------
[...truncated 1.79 KB...]

At revision 1888449

No changes for https://svn.apache.org/repos/asf/poi/trunk since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins7700219554459029170.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

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 Jan  4 22:13 .
drwxr-xr-x 44 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Jan  4 22:13 bin
drwxr-xr-x  4 root root 4096 Jan  4 22:13 conf
drwxr-xr-x  3 root root 4096 Jan  4 22:13 include
drwxr-xr-x  2 root root 4096 Jan  4 22:13 jmods
drwxr-xr-x 73 root root 4096 Jan  4 22:13 legal
drwxr-xr-x  6 root root 4096 Jan  4 22:13 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Jan  4 22:13 .
drwxr-xr-x 8 root root   4096 Jan  4 22:13 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 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 488
drwxr-xr-x 20 jenkins jenkins   4096 Apr  6 20:24 .
drwxr-xr-x  8 jenkins jenkins   4096 Apr  6 06:24 ..
-rw-r--r--  1 jenkins jenkins  11357 Apr  6 06:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Apr  6 20:24 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165572 Apr  6 06:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Apr  6 06:25 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 examples
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 excelant
-rw-r--r--  1 jenkins jenkins   2934 Apr  6 06:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Apr  6 06:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Apr  6 06:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 .github
-rw-r--r--  1 jenkins jenkins    523 Apr  6 20:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 gradle
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Apr  6 06:25 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Apr  6 06:25 gradlew.bat
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 integrationtest
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 20:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Apr  6 06:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 06:25 legal
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:24 main
drwxr-xr-x  2 jenkins jenkins   4096 Apr  6 06:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:24 ooxml-schema
drwxr-xr-x  3 jenkins jenkins   4096 Apr  6 06:25 osgi
-rw-r--r--  1 jenkins jenkins   4813 Apr  6 06:25 patch.xml
-rw-r--r--  1 jenkins jenkins   4278 Apr  6 06:25 README.rst
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:24 scratchpad
-rw-r--r--  1 jenkins jenkins    122 Apr  6 06:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Apr  6 06:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 06:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Apr  6 20:28 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Apr  6 06:25 test-data
-rw-r--r--  1 jenkins jenkins    419 Apr  6 06:25 .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] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
Downloading https://services.gradle.org/distributions/gradle-6.8-bin.zip
..........10%..........20%..........30%...........40%..........50%..........60%..........70%...........80%..........90%..........100%
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

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

> Configure project :ooxml-schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:21: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:22: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:24: error: cannot find symbol
public class Bytes2Mega extends Task {
                                ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:21: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:22: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:25: error: cannot find symbol
public class NextRelease extends Task {
                                 ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:18: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:19: error: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:21: error: cannot find symbol
public class PropertyReset extends Task {
                                   ^
  symbol: class Task
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:38: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class Bytes2Mega
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/Bytes2Mega.java>:38: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class Bytes2Mega
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:39: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class NextRelease
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/NextRelease.java>:39: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class NextRelease
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:34: error: cannot find symbol
        Project project = getProject();
        ^
  symbol:   class Project
  location: class PropertyReset
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/excelant/src/poi-ant-contrib/java/PropertyReset.java>:34: error: cannot find symbol
        Project project = getProject();
                          ^
  symbol:   method getProject()
  location: class PropertyReset
15 errors

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating project ':ooxml-schema'.
> Could not import Ant build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml'.>

* 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.8/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 19s
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 #287

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


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