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/09/30 07:31:55 UTC

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

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

Changes:

[PJ Fanning] pdfbox 2.0.27

[PJ Fanning] pptx test


------------------------------------------
Started by an SCM change
Running as SYSTEM
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[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 
FORREST_HOME=/home/jenkins/tools/forrest/latest
LANG=en_US.UTF-8
CI_BUILD=TRUE

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on builds33 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Updating https://svn.apache.org/repos/asf/poi/trunk at revision '2022-09-30T07:24:15.101 +0000'
U         build.gradle
U         build.xml
U         poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java
U         poi-ooxml/build.gradle
AU        test-data/slideshow/ArtisticEffectSample.pptx
U         poi-excelant/build.gradle
U         poi-integration/build.gradle

<-- 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 1904342


<-- 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 1904342

At revision 1904342

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
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Injecting SonarQube environment variables using the configuration: sonarcloud.io
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins13331729105389168567.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ svn status
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ svn revert poi-examples/src/main/java9/module-info.class poi-examples/src/main/java9/module-info.java poi-excelant/src/main/java9/module-info.class poi-excelant/src/main/java9/module-info.java poi-excelant/src/test/java9/module-info.class poi-excelant/src/test/java9/module-info.java poi-integration/src/test/java9/module-info.class poi-integration/src/test/java9/module-info.java poi-ooxml-full/src/main/java9/module-info.class poi-ooxml-full/src/main/java9/module-info.java poi-ooxml-lite-agent/src/main/java9/module-info.class poi-ooxml-lite-agent/src/main/java9/module-info.java poi-ooxml-lite/src/main/java9/module-info.class poi-ooxml-lite/src/main/java9/module-info.java poi-ooxml/src/main/java9/module-info.class poi-ooxml/src/main/java9/module-info.java poi-ooxml/src/test/java9/module-info.class poi-ooxml/src/test/java9/module-info.java poi-scratchpad/src/main/java9/module-info.class poi-scratchpad/src/main/java9/module-info.java poi-scratchpad/src/test/java9/module-info.class poi-scratchpad/src/test/java9/module-info.java poi/src/main/java9/module-info.class poi/src/main/java9/module-info.java poi/src/test/java9/module-info.class poi/src/test/java9/module-info.java
+ svn revert src/resources/ooxml-lite-report.clazz src/resources/ooxml-lite-report.xsb
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 44
drwxrwxr-x  9 root root 4096 Sep 16 16:46 .
drwxr-xr-x 32 root root 4096 Sep 20 03:17 ..
drwxr-xr-x  2 root root 4096 Sep 16 16:46 bin
drwxr-xr-x  4 root root 4096 Sep 16 16:46 conf
drwxr-xr-x  3 root root 4096 Sep 16 16:46 include
drwxr-xr-x  2 root root 4096 Sep 16 16:46 jmods
drwxr-xr-x 73 root root 4096 Sep 16 16:46 legal
drwxr-xr-x  6 root root 4096 Sep 16 16:46 lib
drwxr-xr-x  4 root root 4096 Sep 16 16:46 man
-rw-r--r--  1 root root 2439 Aug 16 07:26 NOTICE
-rw-r--r--  1 root root 1580 Aug 16 07:26 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Sep 16 16:46 .
drwxrwxr-x 9 root root   4096 Sep 16 16:46 ..
-rwxr-xr-x 1 root root  12904 Aug 16 07:26 jaotc
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jar
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jarsigner
-rwxr-xr-x 1 root root  12768 Aug 16 07:26 java
-rwxr-xr-x 1 root root  12816 Aug 16 07:26 javac
-rwxr-xr-x 1 root root  12816 Aug 16 07:26 javadoc
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 javap
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jcmd
-rwxr-xr-x 1 root root  12832 Aug 16 07:26 jconsole
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jdb
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jdeprscan
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jdeps
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jfr
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jhsdb
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jimage
-rwxr-xr-x 1 root root  12816 Aug 16 07:26 jinfo
-rwxr-xr-x 1 root root  12816 Aug 16 07:26 jjs
-rwxr-xr-x 1 root root  12816 Aug 16 07:26 jlink
-rwxr-xr-x 1 root root  12816 Aug 16 07:26 jmap
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jmod
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jps
-rwxr-xr-x 1 root root  12824 Aug 16 07:26 jrunscript
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jshell
-rwxr-xr-x 1 root root  12816 Aug 16 07:26 jstack
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jstat
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 jstatd
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 keytool
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 pack200
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 rmic
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 rmid
-rwxr-xr-x 1 root root  12792 Aug 16 07:26 rmiregistry
-rwxr-xr-x 1 root root  12784 Aug 16 07:26 serialver
-rwxr-xr-x 1 root root 121488 Aug 16 07:26 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.16.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 528
drwxr-xr-x 22 jenkins jenkins   4096 Sep 30 07:28 .
drwxr-xr-x  5 jenkins jenkins   4096 Sep 17 06:05 ..
-rw-r--r--  1 jenkins jenkins    520 Dec 14  2021 .asf.yaml
drwxr-xr-x  6 jenkins jenkins   4096 Sep 17 07:52 build
-rw-r--r--  1 jenkins jenkins  33191 Sep 30 07:27 build.gradle
-rw-r--r--  1 jenkins jenkins 168951 Sep 30 07:27 build.xml
-rw-r--r--  1 jenkins jenkins   7190 Sep 17 07:24 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3114 Aug 15 07:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Dec 14  2021 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Dec 14  2021 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 May 25 07:24 .github
-rw-r--r--  1 jenkins jenkins    334 Dec 14  2021 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Dec 14  2021 gradle
drwxr-xr-x  5 jenkins jenkins   4096 Sep  3 08:04 .gradle
-rw-r--r--  1 jenkins jenkins    599 Dec 14  2021 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8188 Jul 23 07:24 gradlew
-rw-r--r--  1 jenkins jenkins   2838 Jul 23 07:24 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Sep  1 07:25 jenkins
-rw-r--r--  1 jenkins jenkins 167516 Jun  9 07:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Dec 14  2021 legal
drwxr-xr-x  2 jenkins jenkins   4096 Dec 14  2021 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Sep 17 07:25 osgi
-rw-r--r--  1 jenkins jenkins   4813 Dec 14  2021 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Sep 17 07:30 poi
drwxr-xr-x  4 jenkins jenkins   4096 Sep 17 07:35 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Sep 30 07:27 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Sep 30 07:27 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Sep 30 07:27 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Sep 17 07:27 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Sep 17 07:28 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Sep 22 07:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Sep 17 07:27 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4351 Dec 28  2021 README.rst
-rw-r--r--  1 jenkins jenkins    232 Dec 14  2021 SECURITY.md
-rw-r--r--  1 jenkins jenkins    190 Dec 14  2021 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Dec 14  2021 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep 30 07:28 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Dec 14  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/adoptium-jdk-11.0.16.1+1
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.16.1
     [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.16.1

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.1/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

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating project ':poi'.
> Failed to calculate the value of task ':poi:compileTestJava' property 'javaCompiler'.
   > No compatible toolchains found for request filter: {languageVersion=11, vendor=matching('oracle'), implementation=vendor-specific} (auto-detect true, auto-download true)

* 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 36s
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.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
[Fast Archiver] Compressed 481.10 MB of artifacts by 100.0% relative to #656
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: Test reports were found but none of them are new. Did leafNodes run? 
For example, <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-examples/build/test-results/test/TEST-org.apache.poi.integration.TestXLSX2CSV.xml> is 12 days old

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

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


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