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

Changes:

[PJ Fanning] java 17 build issue

[PJ Fanning] java 17 build issue

[PJ Fanning] java 17 build issue

[PJ Fanning] revert java 17 change - even more build trouble

[PJ Fanning] java 17 build issue

[PJ Fanning] sonar issues

[PJ Fanning] re-enable test but make it less stressful - now goes OOM very 
easily

[PJ Fanning] add test

[PJ Fanning] disable test again

[PJ Fanning] refactor IOUtils.toByteArray

[PJ Fanning] refactor IOUtils.toByteArray

[PJ Fanning] refactor IOUtils.toByteArray

[Andreas Beeker] quote typo

[Andreas Beeker] Use gradle toolchain to specify the jdk version and vendor, 
e.g.
> gradle -no-build-cache -PjdkVersion=16 -PjdkVendor=oracle clean check

[Andreas Beeker] #65908 - XAdES-XL modifications due to specification check 
errors

[PJ Fanning] formatting

[PJ Fanning] add tests

[PJ Fanning] update changes

[PJ Fanning] update changes

[PJ Fanning] add tests

[PJ Fanning] add tests

[PJ Fanning] fix issue

[PJ Fanning] add tests

[PJ Fanning] case insensitive r1c1 refs

[PJ Fanning] remove test (added accidentally)

[PJ Fanning] add tests

[PJ Fanning] javadoc

[PJ Fanning] add disabled test case

[PJ Fanning] add test case


------------------------------------------
[...truncated 9.34 KB...]
-rwxr-xr-x 1 root root 12392 Dec  8 15:55 serialver
+ /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 22 08:43 .
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  7 jenkins jenkins   4096 Feb 20 18:05 build
-rw-r--r--  1 jenkins jenkins  30091 Feb 22 08:42 build.gradle
-rw-r--r--  1 jenkins jenkins 166495 Feb 13 17:44 build.xml
-rw-r--r--  1 jenkins jenkins   6671 Jan 16 17:44 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3014 Jan  2 17:47 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 Jan 23 17:44 osgi
-rw-r--r--  1 jenkins jenkins   4813 Jan  2 17:47 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Feb 22 08:42 poi
drwxr-xr-x  4 jenkins jenkins   4096 Feb 22 08:42 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Feb 22 08:42 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Feb 22 08:42 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Feb 22 08:42 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Feb 22 08:42 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Feb 22 08:42 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Feb 22 08:42 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Feb 22 08:42 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 22 08:43 .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: 5 seconds
+ exit 0
[POI-DSL-1.18] $ /bin/sh -xe /tmp/jenkins9150073918496115985.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-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-ooxml:clean
> Task :poi-integration:processTestResources
> Task :poi-integration:javadoc SKIPPED
> Task :poi-ooxml:fixBatik
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-ooxml:processResources
> Task :poi-ooxml:processTestResources
> Task :poi:clean
> Task :poi:generateVersionJava
> Task :poi-scratchpad:clean
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :clean
> Task :poi-excelant:clean
> Task :poi-integration:jar
> Task :poi-excelant:processResources
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :replaceVersion
> Task :poi-ooxml-lite:clean
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-ooxml-full:clean
> Task :poi-excelant:sourcesJar
> Task :poi-excelant:processTestResources
> Task :poi-ooxml-full:copy_xsds
> Task :poi-examples:sourcesJar
> Task :poi-ooxml:sourcesJar
> Task :poi-scratchpad:sourcesJar

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

> 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 build schema type system: 8.375 seconds
Time to generate code: 5.746 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 1m 50s
31 actionable tasks: 31 executed
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 86.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: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to