You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/08/03 07:26:35 UTC
Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #622
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/622/display/redirect?page=changes>
Changes:
[PJ Fanning] upgrade byte-buddy
------------------------------------------
[...truncated 5.74 KB...]
drwxrwxr-x 6 root root 4096 Aug 1 06:27 lib
drwxrwxr-x 3 root root 4096 Dec 21 2021 man
-r--r--r-- 1 root root 160 Jun 8 2021 README.html
-rw-r--r-- 1 root root 1281 Jun 8 2021 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxrwxr-x 2 root root 4096 Aug 1 06:27 .
drwxrwxr-x 9 root root 4096 Aug 1 06:27 ..
-rwxr-xr-x 1 root root 12984 Jun 8 2021 jaotc
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jar
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jarsigner
-rwxr-xr-x 1 root root 12848 Jun 8 2021 java
-rwxr-xr-x 1 root root 12896 Jun 8 2021 javac
-rwxr-xr-x 1 root root 12896 Jun 8 2021 javadoc
-rwxr-xr-x 1 root root 12864 Jun 8 2021 javap
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jcmd
-rwxr-xr-x 1 root root 12912 Jun 8 2021 jconsole
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jdb
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jdeprscan
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jdeps
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jfr
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jhsdb
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jimage
-rwxr-xr-x 1 root root 12896 Jun 8 2021 jinfo
-rwxr-xr-x 1 root root 12896 Jun 8 2021 jjs
-rwxr-xr-x 1 root root 12896 Jun 8 2021 jlink
-rwxr-xr-x 1 root root 12896 Jun 8 2021 jmap
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jmod
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jps
-rwxr-xr-x 1 root root 12904 Jun 8 2021 jrunscript
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jshell
-rwxr-xr-x 1 root root 12896 Jun 8 2021 jstack
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jstat
-rwxr-xr-x 1 root root 12864 Jun 8 2021 jstatd
-rwxr-xr-x 1 root root 12864 Jun 8 2021 keytool
-rwxr-xr-x 1 root root 12864 Jun 8 2021 pack200
-rwxr-xr-x 1 root root 12864 Jun 8 2021 rmic
-rwxr-xr-x 1 root root 12864 Jun 8 2021 rmid
-rwxr-xr-x 1 root root 12872 Jun 8 2021 rmiregistry
-rwxr-xr-x 1 root root 12864 Jun 8 2021 serialver
-rwxr-xr-x 1 root root 121568 Jun 8 2021 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.12" 2021-07-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.12" 2021-07-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.12
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 524
drwxr-xr-x 22 jenkins jenkins 4096 Aug 3 07:24 .
drwxr-xr-x 5 jenkins jenkins 4096 Aug 2 17:08 ..
-rw-r--r-- 1 jenkins jenkins 520 Dec 21 2021 .asf.yaml
drwxr-xr-x 6 jenkins jenkins 4096 Aug 2 07:46 build
-rw-r--r-- 1 jenkins jenkins 32147 Jul 30 07:23 build.gradle
-rw-r--r-- 1 jenkins jenkins 168400 Aug 3 07:24 build.xml
-rw-r--r-- 1 jenkins jenkins 7017 Mar 21 07:28 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3114 Jul 30 07:23 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Dec 21 2021 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Dec 21 2021 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 May 26 07:24 .github
-rw-r--r-- 1 jenkins jenkins 334 Dec 21 2021 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Dec 21 2021 gradle
drwxr-xr-x 5 jenkins jenkins 4096 Jul 22 08:00 .gradle
-rw-r--r-- 1 jenkins jenkins 599 Dec 21 2021 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 8188 Jul 22 07:23 gradlew
-rw-r--r-- 1 jenkins jenkins 2838 Jul 22 07:23 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 07:23 jenkins
-rw-r--r-- 1 jenkins jenkins 167516 Jun 13 07:24 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Dec 21 2021 legal
drwxr-xr-x 2 jenkins jenkins 4096 Dec 21 2021 lib.stored
drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 07:23 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Dec 21 2021 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Aug 2 07:27 poi
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 07:29 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 07:25 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 07:25 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 07:25 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 07:25 poi-ooxml-full
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 07:25 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Aug 3 07:24 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Aug 2 07:25 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4351 Dec 22 2021 README.rst
-rw-r--r-- 1 jenkins jenkins 232 Dec 21 2021 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 190 Dec 21 2021 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Dec 21 2021 src
drwxr-xr-x 4 jenkins jenkins 4096 Aug 3 07:24 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Dec 21 2021 test-data
+ 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.12
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.12
[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.12
BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[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 -PjdkVersion=11 -PjdkVendor=oracle clean check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
Configuration on demand is an incubating feature.
> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
> Task :poi-ooxml-lite-agent:clean
> Task :poi-examples:clean
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-integration:clean
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-ooxml:clean
> Task :poi-integration:processTestResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-ooxml:fixBatik
> Task :poi-excelant:clean
> Task :poi-ooxml:processResources
> Task :poi-ooxml:processTestResources
> Task :poi-excelant:processResources
> Task :poi-excelant:processTestResources
> Task :poi-scratchpad:clean
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi:clean
> Task :poi:generateVersionJava
> Task :poi-ooxml-full:clean
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-lite-agent:compileJava FAILED
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-lite-agent/src/main/java/org/apache/poi/ooxml/lite/OOXMLLiteAgent.java>:62: error: incompatible types: incompatible parameter types in lambda expression
.transform((builder, type, cl, m) ->
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
> Task :poi-ooxml-lite:clean
> Task :poi-ooxml-full:generate_beans
[ant:xmlbean] ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
Time to build schema type system: 4.18 seconds
> Task :clean
> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132: warning: [unchecked] unchecked cast
m.putAll((Map<String,Supplier<?>>)baseMap);
^
required: Map<String,Supplier<?>>
found: Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
byte[] remainder = ris.readAllContinuedRemainder();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
byte[] data = in.readAllContinuedRemainder();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
public final void setCellType(CellType cellType) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(cellType);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated
_lastDrawingRecord.processContinueRecord(contRec.getData());
^
> Task :poi-ooxml-full:generate_beans
Time to generate code: 10.211 seconds
> Task :poi:compileJava
6 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml-lite-agent:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 1s
22 actionable tasks: 22 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Jenkins build is back to normal : POI » POI-DSL-SonarQube-Gradle #623
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/623/display/redirect?page=changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org