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 2023/02/05 10:16:01 UTC

Build failed in Jenkins: POI » POI-DSL-no-scratchpad #135

See <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/135/display/redirect?page=changes>

Changes:

[PJ Fanning] fix compile issues

[PJ Fanning] [bug-65260] catch Throwable instead of error - see https://github.com/apache/poi/pull/425

[PJ Fanning] mark some variables that are used in synchronized code as volatile

[Dominik Stadler] Spotbugs: Replace \n with %n in String.format()

[Dominik Stadler] Ant build: Specify "--add-opens" to avoid byte-buddy complaining on newer JDKs

[Dominik Stadler] Use an error-handler to use logging also for XML parsing errors

Otherwise this output is done to stdout/stderr which we would like to avoid.

Keep the format as one line and do not include a full exception stacktrace
to not introduce lots of exception-stacktraces for some slightly broken input files

[Dominik Stadler] Adjust file-handle-leak exlusions

[Dominik Stadler] Bug 54373: Include alpha/transparency value when creating an XSSFColor from an AWT Color object

Use the alpha-value from Color as well

[Dominik Stadler] Bug 62272: Include alpha/transparency value when setting a color-value for a font

Use method with returns 4 bytes to use an ARGB value instead of only RGB

[PJ Fanning] junit-platform 1.9.2

[PJ Fanning] don't create format pr instance for read events


------------------------------------------
[...truncated 1.97 KB...]
U         poi/src/main/java/org/apache/poi/util/XMLHelper.java
U         build.xml
U         file-leak-detector.exclude
A         test-data/spreadsheet/62272.xlsx

<-- 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-no-scratchpad/ws/forrest.properties'>
At revision 1907405


<-- 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-no-scratchpad/ws/src/documentation'>
At revision 1907405

At revision 1907405

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.
[POI-DSL-no-scratchpad] $ /bin/sh -xe /tmp/jenkins7127768732073634127.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.java poi-excelant/src/main/java9/module-info.java poi-excelant/src/test/java9/module-info.java poi-integration/src/test/java9/module-info.java poi-ooxml-full/src/main/java9/module-info.java poi-ooxml-lite-agent/src/main/java9/module-info.java poi-ooxml-lite/src/main/java9/module-info.java poi-ooxml/src/main/java9/module-info.java poi-ooxml/src/test/java9/module-info.java poi-scratchpad/src/main/java9/module-info.java poi-scratchpad/src/test/java9/module-info.java poi/src/main/java9/module-info.java 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/latest1.8
Java-Home: /home/jenkins/tools/java/latest1.8
+ ls -al /home/jenkins/tools/java/latest1.8/
total 51604
drwxrwxr-x  8 root root     4096 Feb  1 16:19 .
drwxr-xr-x 33 root root     4096 Feb  1 16:20 ..
-r--r--r--  1 root root     1522 Jan 18 16:29 ASSEMBLY_EXCEPTION
drwxr-xr-x  2 root root     4096 Feb  1 16:19 bin
drwxr-xr-x  3 root root     4096 Feb  1 16:19 include
drwxr-xr-x  4 root root     4096 Feb  1 16:19 jre
drwxr-xr-x  3 root root     4096 Feb  1 16:19 lib
-r--r--r--  1 root root    19274 Jan 18 16:29 LICENSE
drwxr-xr-x  4 root root     4096 Feb  1 16:19 man
-rw-r--r--  1 root root     2439 Jan 18 16:30 NOTICE
-rw-r--r--  1 root root      484 Jan 18 16:29 release
drwxr-xr-x 10 root root     4096 Feb  1 16:19 sample
-rw-r--r--  1 root root 52616451 Jan 18 16:29 src.zip
-r--r--r--  1 root root   157063 Jan 18 16:29 THIRD_PARTY_README
+ ls -al /home/jenkins/tools/java/latest1.8/bin
total 700
drwxr-xr-x 2 root root   4096 Feb  1 16:19 .
drwxrwxr-x 8 root root   4096 Feb  1 16:19 ..
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 appletviewer
-rwxr-xr-x 1 root root   8776 Jan 18 16:29 clhsdb
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 extcheck
-rwxr-xr-x 1 root root   8776 Jan 18 16:29 hsdb
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 idlj
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jar
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jarsigner
-rwxr-xr-x 1 root root   8640 Jan 18 16:29 java
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 javac
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 javadoc
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 javah
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 javap
-rwxr-xr-x 1 root root   2806 Jan 18 16:29 java-rmi.cgi
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jcmd
-rwxr-xr-x 1 root root   8784 Jan 18 16:29 jconsole
-rwxr-xr-x 1 root root   8776 Jan 18 16:29 jdb
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jdeps
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jfr
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jhat
-rwxr-xr-x 1 root root   8824 Jan 18 16:29 jinfo
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jjs
-rwxr-xr-x 1 root root   8824 Jan 18 16:29 jmap
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jps
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 jrunscript
-rwxr-xr-x 1 root root   8776 Jan 18 16:29 jsadebugd
-rwxr-xr-x 1 root root   8824 Jan 18 16:29 jstack
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jstat
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jstatd
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 keytool
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 native2ascii
-rwxr-xr-x 1 root root   8832 Jan 18 16:29 orbd
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 pack200
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 policytool
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 rmic
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 rmid
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 rmiregistry
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 schemagen
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 serialver
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 servertool
-rwxr-xr-x 1 root root   8832 Jan 18 16:29 tnameserv
-rwxr-xr-x 1 root root 186888 Jan 18 16:29 unpack200
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 wsgen
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 wsimport
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-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_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_362
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 524
drwxr-xr-x 22 jenkins jenkins   4096 Feb  5 10:14 .
drwxr-xr-x  8 jenkins jenkins   4096 Jan 11 01:39 ..
-rw-r--r--  1 jenkins jenkins    520 Dec 26  2021 .asf.yaml
drwxr-xr-x  7 jenkins jenkins   4096 Jan 29 10:23 build
-rw-r--r--  1 jenkins jenkins  31774 Jan 22 15:46 build.gradle
-rw-r--r--  1 jenkins jenkins 170490 Feb  5 10:14 build.xml
-rw-r--r--  1 jenkins jenkins   7190 Sep 18 10:14 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3261 Feb  5 10:14 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Dec 26  2021 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Dec 26  2021 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 May 29  2022 .github
-rw-r--r--  1 jenkins jenkins    396 Jan  8 10:14 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Dec 26  2021 gradle
drwxr-xr-x  5 jenkins jenkins   4096 Nov 27 10:38 .gradle
-rw-r--r--  1 jenkins jenkins    599 Dec 26  2021 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8070 Nov 27 10:14 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Nov 27 10:14 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Jan  8 10:14 jenkins
-rw-r--r--  1 jenkins jenkins 167516 Jun 12  2022 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Dec 26  2021 legal
drwxr-xr-x  2 jenkins jenkins   4096 Dec 26  2021 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Sep 18 10:14 osgi
-rw-r--r--  1 jenkins jenkins   4813 Dec 26  2021 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Jan 29 10:17 poi
drwxr-xr-x  4 jenkins jenkins   4096 Jan 29 10:15 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Jan 29 10:15 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Jan 29 10:15 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Jan 29 10:15 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Jan 29 10:15 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Jan 29 10:15 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Jan 29 10:15 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Jan 29 10:15 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4351 Dec 26  2021 README.rst
-rw-r--r--  1 jenkins jenkins    232 Dec 26  2021 SECURITY.md
-rw-r--r--  1 jenkins jenkins    190 Dec 26  2021 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Dec 26  2021 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb  5 10:14 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Dec 26  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-no-scratchpad/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/adoptium-jdk-8u362-b09/jre
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/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_362
     [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_362

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-no-scratchpad] $ /bin/sh -xe /tmp/jenkins4985218524143651463.sh
+ touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-no-scratchpad] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/gradlew> -Pscratchpad.ignore=true -PjdkVersion=8 -PjdkVendor=oracle --refresh-dependencies clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6/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 :
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

> Configure project :poi
Invalid Java installation found at '/usr/lib/jvm/openjdk-11' (Common Linux Locations). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.

FAILURE: Build failed with an exception.

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

* 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 specification: {languageVersion=8, 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
[Fast Archiver] Compressed 423.69 MB of artifacts by 100.0% relative to #134
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-no-scratchpad/ws/poi-examples/build/test-results/test/TEST-org.apache.poi.integration.TestXLSX2CSV.xml> is 6 days 23 hr 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-no-scratchpad #136

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


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