See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/24/display/redirect?page=changes>
Changes:
[PJ Fanning] [github-314] Add equals and hashcode to PaneInformation. Thanks to
Daniel Shuy. This closes #314
[Dominik Stadler] Update description of logging some more
[Dominik Stadler] Fix small typo
[PJ Fanning] logging
[Dominik Stadler] Avoid intermittent failure of srcDistZip with parallel
builds/tests
[Dominik Stadler] Fix issues found when fuzzing Apache POI via Jazzer
Do not assert when the next line will throw a proper exception anyway
[Dominik Stadler] Add a target to extract all third-party libraries into
directory build/runtime
This is used when testing with latest Apache POI locally, e.g.
when running mass-regression-testing
[Dominik Stadler] poi-ooxml-lite: Check in list of classes and xsb-files to
avoid the jar-to-test dependency
Avoid running all tests whenever building jars as tests take a long time now
and also cause large memory allocations.
It is nice if the target "jar" is as fast as possible and the list of included
items for ooxml-lite only changes rarely anyway.
[Dominik Stadler] OOXMLLiteAgent: Some smaller adjustments
Print unexpected exceptions to stdout instead of silently ignoring them
Don't include classes created via Mockito
[PJ Fanning] [bug-65973] fix for removing hyperlinks that span multiple cells
[PJ Fanning] [bug-65973] fix for removing hyperlinks that span multiple cells
[PJ Fanning] [bug-65973] fix for removing hyperlinks that span multiple cells
[PJ Fanning] [bug-65973] partial fix for removing hyperlinks that span multiple
cells
[PJ Fanning] [bug-65973] partial fix for removing hyperlinks that span multiple
cells
[PJ Fanning] increase max size of hwmf picture
[PJ Fanning] small refactor
[PJ Fanning] [bug-65973] partial fix for removing hyperlinks that span multiple
cells
[PJ Fanning] spelling
[PJ Fanning] spelling
[PJ Fanning] [bug-65973] partial fix for removing hyperlinks that span multiple
cells
[PJ Fanning] [bug-65973] partial fix for removing hyperlinks that span multiple
cells
[PJ Fanning] [bug-64536] add another test
[PJ Fanning] [bug-64536] add getDimension on XSSFSheet
------------------------------------------
[...truncated 6.11 KB...]
-rwxr-xr-x 1 root root 12416 Feb 15 09:39 jlink
-rwxr-xr-x 1 root root 12416 Feb 15 09:39 jmap
-rwxr-xr-x 1 root root 12384 Feb 15 09:39 jmod
-rwxr-xr-x 1 root root 12392 Feb 15 09:39 jpackage
-rwxr-xr-x 1 root root 12384 Feb 15 09:39 jps
-rwxr-xr-x 1 root root 12424 Feb 15 09:39 jrunscript
-rwxr-xr-x 1 root root 12392 Feb 15 09:39 jshell
-rwxr-xr-x 1 root root 12424 Feb 15 09:39 jstack
-rwxr-xr-x 1 root root 12384 Feb 15 09:39 jstat
-rwxr-xr-x 1 root root 12416 Feb 15 09:39 jstatd
-rwxr-xr-x 1 root root 12392 Feb 15 09:39 jwebserver
-rwxr-xr-x 1 root root 12392 Feb 15 09:39 keytool
-rwxr-xr-x 1 root root 12416 Feb 15 09:39 rmiregistry
-rwxr-xr-x 1 root root 12392 Feb 15 09:39 serialver
+ /home/jenkins/tools/java/latest18/bin/java -version
openjdk version "18" 2022-03-22
OpenJDK Runtime Environment (build 18+36-2087)
OpenJDK 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest18/bin/java
+ java -version
openjdk version "18" 2022-03-22
OpenJDK Runtime Environment (build 18+36-2087)
OpenJDK 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest18/bin/javac
+ javac -version
javac 18
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 22 jenkins jenkins 4096 Mar 27 17:44 .
drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 03:17 ..
-rw-r--r-- 1 jenkins jenkins 520 Jan 2 17:47 .asf.yaml
drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 17:48 build
-rw-r--r-- 1 jenkins jenkins 31521 Mar 27 17:44 build.gradle
-rw-r--r-- 1 jenkins jenkins 166501 Mar 27 17:44 build.xml
-rw-r--r-- 1 jenkins jenkins 7017 Mar 20 17:47 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3057 Feb 27 17:46 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Jan 2 17:47 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Jan 2 17:47 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:47 .github
-rw-r--r-- 1 jenkins jenkins 334 Jan 2 17:47 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:47 gradle
drwxr-xr-x 6 jenkins jenkins 4096 Mar 20 17:47 .gradle
-rw-r--r-- 1 jenkins jenkins 599 Jan 2 17:47 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 8070 Jan 2 17:47 gradlew
-rw-r--r-- 1 jenkins jenkins 2763 Jan 2 17:47 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Mar 27 17:44 jenkins
-rw-r--r-- 1 jenkins jenkins 167281 Jan 2 17:47 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Jan 2 17:47 legal
drwxr-xr-x 2 jenkins jenkins 4096 Jan 2 17:47 lib.stored
drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 17:47 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Jan 2 17:47 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Mar 20 17:48 poi
drwxr-xr-x 4 jenkins jenkins 4096 Mar 20 17:48 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Mar 27 17:44 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Mar 27 17:44 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Mar 27 17:44 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Mar 20 17:48 poi-ooxml-full
drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 17:44 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Mar 20 17:48 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Mar 20 17:48 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4351 Jan 2 17:47 README.rst
-rw-r--r-- 1 jenkins jenkins 232 Jan 2 17:47 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 190 Jan 2 17:47 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Jan 2 17:47 src
drwxr-xr-x 4 jenkins jenkins 4096 Mar 27 17:44 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Jan 2 17:47 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-1.18/ws/build.javacheck.xml>
Detected Java version: 18 in: /usr/local/asfpackages/java/openjdk-18-ea+36
Detected OS: Linux
parsing buildfile
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/build.javacheck.xml>
with URI =
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/build.javacheck.xml>
Project base dir set to:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/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 18/18
[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 18
BUILD SUCCESSFUL
Total time: 2 seconds
+ exit 0
[POI-DSL-1.18] $ /bin/sh -xe /tmp/jenkins8269445244164897441.sh
+ touch --no-create build/*/build/test-results/TEST-*.xml
build/*/build/test-results/test/TEST-*.xml
[Gradle] - Launching build.
[POI-DSL-1.18] $
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/gradlew>
-PjdkVersion=18 clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be
forked. See
https://docs.gradle.org/7.4.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 :
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
[Fatal Error] :1:38: Invalid encoding name "UTF8".
> Task :poi-scratchpad:clean
> Task :poi-ooxml-lite:clean UP-TO-DATE
> Task :poi-examples:clean
> Task :poi-integration:clean
> Task :poi-excelant:clean
> Task :poi-ooxml-lite-agent:clean
> Task :poi-ooxml:clean
> Task :clean
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi:clean
> Task :poi-ooxml-full:clean
> Task :poi:generateVersionJava
> Task :poi-ooxml:fixBatik
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-excelant:processResources
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-ooxml-full:copy_xsds
> Task :poi-excelant:sourcesJar
> Task :poi-integration:processTestResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-excelant:processTestResources
> Task :poi-ooxml:processResources
> Task :poi-ooxml:processTestResources
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-ooxml-full:generate_beans
SchemaCompiler Metadata LOAD:org/apache/xmlbeans/metadata
GEN:org/apache/poi/schemas/ooxml
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add
log4j-core to the classpath. Using SimpleLogger to log to the console...
> Task :replaceVersion
> Task :poi-ooxml:sourcesJar
> Task :poi-scratchpad:sourcesJar
> Task :poi-ooxml-full:generate_beans
Time to build schema type system: 8.74 seconds
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:compileJava9 SKIPPED
> Task :poi-ooxml-lite-agent:cacheJava9 NO-SOURCE
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-ooxml-lite-agent:javadoc SKIPPED
> Task :poi-ooxml-lite-agent:javadocJar SKIPPED
> Task :poi-ooxml-lite-agent:sourcesJar
> Task :poi-ooxml-lite-agent:assemble
> Task :poi-ooxml-lite-agent:forbiddenApisMain FAILED
> Task :poi-ooxml-full:generate_beans
Time to generate code: 4.863 seconds
> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/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-1.18/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1120:
warning: [removal] AccessControlException in java.security has been deprecated
and marked for removal
} catch (AccessControlException e) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/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-1.18/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-1.18/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-1.18/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-1.18/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());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:78:
warning: [removal] AccessController in java.security has been deprecated and
marked for removal
final Object hack = AccessController.doPrivileged(
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:178:
warning: [removal] AccessController in java.security has been deprecated and
marked for removal
final Throwable error = AccessController.doPrivileged(
^
9 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml-lite-agent:forbiddenApisMain'.
> IO problem while reading files with API signatures.
* 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.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 54s
32 actionable tasks: 31 executed, 1 up-to-date
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'
Archiving artifacts
[Fast Archiver] Compressed 2.91 MB of artifacts by 54.7% relative to #17
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files
were found. Configuration error?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]