See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/19/display/redirect?page=changes>
Changes:
[PJ Fanning] [bug-65915] possible issue in boolean function support
[PJ Fanning] [bug-65915] possible issue in boolean function support
[PJ Fanning] add index test
[PJ Fanning] [bug-65915] add test for 'OR' function
[PJ Fanning] add tests for 'OR' function
[PJ Fanning] update changes
[PJ Fanning] update changes
[PJ Fanning] remove test class as a variant of thos was added in another commit
[PJ Fanning] add space in log message
[PJ Fanning] missing licenses
[PJ Fanning] add test
[PJ Fanning] [bug-65639] add test case
[Dominik Stadler] Add/update some JavaDoc
[Dominik Stadler] Add one more exclude for file-leak-detector
[Dominik Stadler] Fix some SpotBugs reports
[Dominik Stadler] Add a test which ensures that some more classes are included
in poi-ooxml-lite
[PJ Fanning] prep v5.2.1
[Andreas Beeker] javadoc and forbiddenApis fix
[PJ Fanning] revert last github actions change
[PJ Fanning] try to fix github actions
[PJ Fanning] try to fix github actions
[Andreas Beeker] exclude files failing on windows nodes, because of limited JCE
policies
[Andreas Beeker] fix SSL->TLS and LOG typo
[PJ Fanning] remove unused param
[PJ Fanning] revert gradle memory change
[PJ Fanning] code tidyup
[PJ Fanning] try more memory due to github workflow timeouts
[PJ Fanning] standardise on poi 5.2.1
[PJ Fanning] get TestIndirectFunctionFromSpreadsheet to pass even though code
looks wrong
[PJ Fanning] java 17 build issue
[PJ Fanning] sonar issues
------------------------------------------
[...truncated 8.16 KB...]
+ /home/jenkins/tools/java/latest18/bin/java -version
openjdk version "18-ea" 2022-03-22
OpenJDK Runtime Environment (build 18-ea+27-1924)
OpenJDK 64-Bit Server VM (build 18-ea+27-1924, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest18/bin/java
+ java -version
openjdk version "18-ea" 2022-03-22
OpenJDK Runtime Environment (build 18-ea+27-1924)
OpenJDK 64-Bit Server VM (build 18-ea+27-1924, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest18/bin/javac
+ javac -version
javac 18-ea
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 22 jenkins jenkins 4096 Feb 27 17:47 .
drwxr-xr-x 4 jenkins jenkins 4096 Feb 4 12:07 ..
-rw-r--r-- 1 jenkins jenkins 520 Jan 2 17:47 .asf.yaml
drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 08:44 build
-rw-r--r-- 1 jenkins jenkins 30103 Feb 27 17:46 build.gradle
-rw-r--r-- 1 jenkins jenkins 166486 Feb 27 17:46 build.xml
-rw-r--r-- 1 jenkins jenkins 6671 Jan 16 17:44 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 5 jenkins jenkins 4096 Feb 20 18:05 .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 Feb 22 08:42 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 Feb 27 17:46 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Jan 2 17:47 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Feb 22 08:44 poi
drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 08:44 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 08:44 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 08:44 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 08:44 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 08:44 poi-ooxml-full
drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 08:44 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Feb 22 08:45 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Feb 22 08:44 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 Feb 27 17:47 .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+27
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-ea
[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-ea
BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-1.18] $ /bin/sh -xe /tmp/jenkins4012342886304151963.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/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-integration:clean
> Task :poi-ooxml-lite:clean UP-TO-DATE
> Task :poi-excelant:clean
> Task :poi-scratchpad:clean
> Task :poi-ooxml-lite-agent:clean
> Task :poi-examples:clean
> Task :poi-ooxml:clean
> Task :clean
> Task :poi:clean
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-ooxml-full:clean
> Task :poi:generateVersionJava
> Task :poi-ooxml:fixBatik
> Task :poi-excelant:processResources
> Task :poi-integration:processTestResources
> 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-ooxml:processResources
> Task :poi-ooxml-full:copy_xsds
> Task :poi-excelant:sourcesJar
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-excelant:processTestResources
> Task :poi-ooxml:processTestResources
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE
> Task :replaceVersion
> 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 :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-scratchpad:sourcesJar
> Task :poi-ooxml:sourcesJar
> Task :poi-ooxml-full:generate_beans
Time to build schema type system: 8.377 seconds
Time to generate code: 4.578 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/ss/usermodel/CellType.java>:69:
warning: [dep-ann] deprecated item is not annotated with @Deprecated
private final int code;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellType.java>:75:
warning: [dep-ann] deprecated item is not annotated with @Deprecated
private CellType(int code) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellType.java>:83:
warning: [dep-ann] deprecated item is not annotated with @Deprecated
public static CellType forInt(int code) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellType.java>:96:
warning: [dep-ann] deprecated item is not annotated with @Deprecated
public int getCode() {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/common/usermodel/HyperlinkType.java>:76:
warning: [dep-ann] deprecated item is not annotated with @Deprecated
int getCode() {
^
<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/hssf/usermodel/HSSFSheet.java>:1493:
warning: [dep-ann] deprecated item is not annotated with @Deprecated
protected void shiftMerged(int startRow, int endRow, int n, boolean isRow) {
^
<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(
^
15 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/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 44s
31 actionable tasks: 30 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 71.9% 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]