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

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

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

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

Changes:

[Andreas Beeker] Sonar fixes
JUnit5 test classes and methods should have default package visibility


------------------------------------------
[...truncated 375.22 KB...]
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
AU        src/documentation/skinconf.xml
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 1885281

At revision 1885281

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

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


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