See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/3/display/redirect>

Changes:


------------------------------------------
[...truncated 3.84 KB...]
-rwxr-xr-x 1 root root   9065 Apr  6  2020 javadoc
-rwxr-xr-x 1 root root   9057 Apr  6  2020 javah
-rwxr-xr-x 1 root root   9057 Apr  6  2020 javap
-rwxrwxr-x 1 root root   2806 Apr  6  2020 java-rmi.cgi
-rwxr-xr-x 1 root root   9057 Apr  6  2020 jcmd
-rwxr-xr-x 1 root root   9089 Apr  6  2020 jconsole
-rwxr-xr-x 1 root root   9065 Apr  6  2020 jdb
-rwxr-xr-x 1 root root   9057 Apr  6  2020 jdeps
-rwxr-xr-x 1 root root   9057 Apr  6  2020 jhat
-rwxr-xr-x 1 root root   9097 Apr  6  2020 jinfo
-rwxr-xr-x 1 root root   9057 Apr  6  2020 jjs
-rwxr-xr-x 1 root root   9097 Apr  6  2020 jmap
-rwxr-xr-x 1 root root   9057 Apr  6  2020 jps
-rwxr-xr-x 1 root root   9065 Apr  6  2020 jrunscript
-rwxr-xr-x 1 root root   9073 Apr  6  2020 jsadebugd
-rwxr-xr-x 1 root root   9105 Apr  6  2020 jstack
-rwxr-xr-x 1 root root   9057 Apr  6  2020 jstat
-rwxr-xr-x 1 root root   9065 Apr  6  2020 jstatd
-rwxr-xr-x 1 root root   9065 Apr  6  2020 keytool
-rwxr-xr-x 1 root root   9065 Apr  6  2020 native2ascii
-rwxr-xr-x 1 root root   9105 Apr  6  2020 orbd
-rwxr-xr-x 1 root root   9065 Apr  6  2020 pack200
-rwxr-xr-x 1 root root   9065 Apr  6  2020 policytool
-rwxr-xr-x 1 root root   9057 Apr  6  2020 rmic
-rwxr-xr-x 1 root root   9057 Apr  6  2020 rmid
-rwxr-xr-x 1 root root   9065 Apr  6  2020 rmiregistry
-rwxr-xr-x 1 root root   9065 Apr  6  2020 schemagen
-rwxr-xr-x 1 root root   9065 Apr  6  2020 serialver
-rwxr-xr-x 1 root root   9065 Apr  6  2020 servertool
-rwxr-xr-x 1 root root   9113 Apr  6  2020 tnameserv
-rwxr-xr-x 1 root root 245802 Apr  6  2020 unpack200
-rwxr-xr-x 1 root root   9057 Apr  6  2020 wsgen
-rwxr-xr-x 1 root root   9065 Apr  6  2020 wsimport
-rwxr-xr-x 1 root root   9057 Apr  6  2020 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_252
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 448
drwxr-xr-x 12 jenkins jenkins   4096 Sep 28 16:32 .
drwxr-xr-x  4 jenkins jenkins   4096 Oct  2 19:09 ..
-rw-r--r--  1 jenkins jenkins  14131 Sep 28 16:31 build.gradle
-rw-r--r--  1 jenkins jenkins 149016 Sep 28 16:31 build.xml
-rw-r--r--  1 jenkins jenkins   3341 Sep 28 16:31 .classpath
-rw-r--r--  1 jenkins jenkins   6160 Sep 28 16:31 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2847 Sep 28 16:31 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Sep 28 16:32 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Sep 28 16:31 .gitattributes
-rw-r--r--  1 jenkins jenkins    493 Sep 28 16:31 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Sep 28 16:31 gradle
-rwxr-xr-x  1 jenkins jenkins   5917 Sep 28 16:31 gradlew
-rw-r--r--  1 jenkins jenkins   2842 Sep 28 16:31 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Sep 28 16:31 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Sep 28 16:31 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Sep 28 16:31 legal
drwxr-xr-x  2 jenkins jenkins   4096 Sep 28 16:31 maven
drwxr-xr-x  3 jenkins jenkins   4096 Sep 28 16:31 osgi
-rw-r--r--  1 jenkins jenkins   4813 Sep 28 16:31 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Sep 28 16:31 .project
-rw-r--r--  1 jenkins jenkins   4266 Sep 28 16:31 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Sep 28 16:31 .settings
-rw-r--r--  1 jenkins jenkins    556 Sep 28 16:31 settings.gradle
drwxr-xr-x 11 jenkins jenkins   4096 Sep 28 16:31 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Sep 28 16:32 src
drwxr-xr-x  4 jenkins jenkins   4096 Oct  7 19:24 .svn
drwxr-xr-x 14 jenkins jenkins   4096 Sep 28 16:31 test-data
-rw-r--r--  1 jenkins jenkins    136 Sep 28 16:31 .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: 1.8 in: /usr/local/asfpackages/java/openjdk-8u252-b09/jre
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 1.8/1.8.0_252
     [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 1.8.0_252

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -PenableSonar 
-Dsonar.login=${POI_SONAR_TOKEN} sonarqube
To honour the JVM settings for this build a new JVM will be forked. Please 
consider using the daemon: 
https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit
[ant:javac] : warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

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

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 
2019 from ${ant.home}, Ant detected Java 1.8 (may be different than actual Java 
sometimes...)
[ant:echo] Using Java: 1.8.0_252/1.8.0_252-b09/25.252-b09/OpenJDK 64-Bit Server 
VM from Oracle Corporation on Linux: 4.15.0-76-generic
[ant:echo] Building Apache POI version 5.0.0-SNAPSHOT and RC: RC1

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

> Task :ooxml:ant-compile-ooxml-xsds
SchemaCompiler  Metadata LOAD:org/apache/xmlbeans/metadata 
GEN:org/apache/poi/schemas/ooxml
Time to build schema type system: 3.395 seconds
Time to generate code: 9.878 seconds

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

> Task :scratchpad:processResources
> Task :scratchpad:classes
> Task :scratchpad:jar

> Task :ooxml:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/draw/SVGImageRenderer.java>
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :ooxml:processResources
> Task :ooxml:classes
> Task :ooxml:jar

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

> Task :examples:processResources NO-SOURCE
> Task :examples:classes
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :excelant:compileJava
> Task :excelant:processResources
> Task :excelant:classes

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

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

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

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

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

> Task :scratchpad:processTestResources NO-SOURCE
> Task :scratchpad:testClasses
> Task :scratchpad:test
> Task :sonarqube FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sonarqube'.
> Not authorized. Please check the properties sonar.login and sonar.password.

* 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 16m 57s
32 actionable tasks: 32 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner 
succeeded?

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

Reply via email to