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

Changes:

[PJ Fanning] some tests

[PJ Fanning] some tests

[PJ Fanning] some tests

[Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz

Fix one expected exception-text which is different
on newer Java versions

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63142

[Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz

Fix one expected exception-text which is different
on newer Java versions

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63143

[Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz

Fix one expected exception-text which is different
on newer Java versions

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63266

[PJ Fanning] [bug-67579] test OPCPackage

[PJ Fanning] [bug-67579] add new XmlVisioDocument constructor

[PJ Fanning] [bug-67579] add new XWPFDocument/XMLSlideShow constructor

[PJ Fanning] [bug-67579] add new XSSFWorkbook constructor

[PJ Fanning] [bug-67579] add new XSSFWorkbook constructor

[PJ Fanning] [bug-67579] add new XSSFWorkbook constructor

[PJ Fanning] [bug-67579] revert changes - POI will again close the InputStream

[PJ Fanning] [bug-67579] revert changes - POI will again close the InputStream

[PJ Fanning] [bug-67579] test that we close input stream

[PJ Fanning] try to close streams in HSSF tests

[PJ Fanning] [bug-67579] test that we do not close input stream

[PJ Fanning] revert change to github-321.xlsx

[PJ Fanning] commons-io 2.15.0

[PJ Fanning] undo test change

[PJ Fanning] commons-io 2.15.0

[PJ Fanning] revert test change

[PJ Fanning] update test

[PJ Fanning] security docs

[PJ Fanning] security docs

[PJ Fanning] bytebuddy 1.14.9

[PJ Fanning] log4j 2.21.1

[PJ Fanning] log4j 2.21.1

[PJ Fanning] [bug-67778] add more null checks to BaseXSSFFormulaEvaluator

[Dominik Stadler] Add new section "secure processing"

This tries to provide some basic instructions related to secure processing when 
using Apache POI

Also apply some missing changes from .xml files


------------------------------------------
[...truncated 23 B...]
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 builds26 (ubuntu) in workspace 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/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 
'2023-10-29T03:36:11.821 +0000'
AU        
poi-ooxml/src/test/java/org/apache/poi/xdgf/usermodel/section/TestXmlVisioDocument.java
U         
poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFDocument.java
AU        poi-ooxml/src/test/java/org/apache/poi/ooxml/TrackingInputStream.java
AU        poi-ooxml/src/test/java/org/apache/poi/openxml4j/TestOPCPackage.java
U         
poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXMLSlideShow.java
U         
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java
U         poi-ooxml/src/test/java/org/apache/poi/xssf/XSSFTestDataSamples.java
U         
poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/section/geometry/Ellipse.java
U         
poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XmlVisioDocument.java
U         
poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFTextParagraph.java
U         
poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java
U         
poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java
U         poi-ooxml/src/main/java/org/apache/poi/ooxml/util/PackageHelper.java
U         
poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
U         
poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java
U         poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/OPCPackage.java
U         poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java
D         
poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/NoCloseInputStream.java
AU        
poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/NoCloseInputStream.java
U         
poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/ZipHelper.java
A         
test-data/diagram/clusterfuzz-testcase-minimized-POIVisioFuzzer-4537225637134336.vsd
U         test-data/spreadsheet/stress.xls
A         
test-data/spreadsheet/clusterfuzz-testcase-minimized-POIXSSFFuzzer-6419366255919104.xlsx
A         
test-data/slideshow/clusterfuzz-testcase-minimized-POIHSLFFuzzer-4624961081573376.ppt
U         
poi/src/main/java/org/apache/poi/poifs/crypt/agile/AgileEncryptionHeader.java
U         poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java
U         poi/src/test/java/org/apache/poi/hssf/HSSFTestDataSamples.java
U         
poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java
U         
poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/TestPPTXMLDump.java
U         build.gradle
U         build.xml
U         SECURITY.md
U         poi-ooxml-lite-agent/build.gradle
U         osgi/pom.xml

<-- 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-1.22/ws/forrest.properties'>
At revision 1913410


<-- 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-1.22/ws/src/documentation'>
U         src/documentation/content/xdocs/changes.xml
U         src/documentation/content/xdocs/components/index.xml
A         src/documentation/content/xdocs/security.xml
U         src/documentation/content/xdocs/site.xml
At revision 1913410

At revision 1913410

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties 
since the previous build
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
[POI-DSL-1.22] $ /bin/sh -xe /tmp/jenkins14051580839950289923.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/latest22
Java-Home: /home/jenkins/tools/java/latest22
+ ls -al /home/jenkins/tools/java/latest22/
total 36
drwxr-xr-x  8 root root 4096 Oct 24 15:40 .
drwxr-xr-x 37 root root 4096 Oct 24 15:40 ..
drwxr-xr-x  2 root root 4096 Oct 24 15:40 bin
drwxr-xr-x  5 root root 4096 Oct 24 15:40 conf
drwxr-xr-x  3 root root 4096 Oct 24 15:40 include
drwxr-xr-x  2 root root 4096 Oct 24 15:40 jmods
drwxr-xr-x 71 root root 4096 Oct 24 15:40 legal
drwxr-xr-x  5 root root 4096 Oct 24 15:40 lib
-rw-r--r--  1 root root 1220 Oct 18 14:34 release
+ ls -al /home/jenkins/tools/java/latest22/bin
total 472
drwxr-xr-x 2 root root  4096 Oct 24 15:40 .
drwxr-xr-x 8 root root  4096 Oct 24 15:40 ..
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jar
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 jarsigner
-rwxr-xr-x 1 root root 12328 Oct 18 14:34 java
-rwxr-xr-x 1 root root 12416 Oct 18 14:34 javac
-rwxr-xr-x 1 root root 12424 Oct 18 14:34 javadoc
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 javap
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jcmd
-rwxr-xr-x 1 root root 12456 Oct 18 14:34 jconsole
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jdb
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 jdeprscan
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jdeps
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jfr
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jhsdb
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 jimage
-rwxr-xr-x 1 root root 12416 Oct 18 14:34 jinfo
-rwxr-xr-x 1 root root 12416 Oct 18 14:34 jlink
-rwxr-xr-x 1 root root 12416 Oct 18 14:34 jmap
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jmod
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 jpackage
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jps
-rwxr-xr-x 1 root root 12424 Oct 18 14:34 jrunscript
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 jshell
-rwxr-xr-x 1 root root 12424 Oct 18 14:34 jstack
-rwxr-xr-x 1 root root 12384 Oct 18 14:34 jstat
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 jstatd
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 jwebserver
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 keytool
-rwxr-xr-x 1 root root 12416 Oct 18 14:34 rmiregistry
-rwxr-xr-x 1 root root 12392 Oct 18 14:34 serialver
+ /home/jenkins/tools/java/latest22/bin/java -version
openjdk version "22-ea" 2024-03-19
OpenJDK Runtime Environment (build 22-ea+20-1570)
OpenJDK 64-Bit Server VM (build 22-ea+20-1570, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest22/bin/java
+ java -version
openjdk version "22-ea" 2024-03-19
OpenJDK Runtime Environment (build 22-ea+20-1570)
OpenJDK 64-Bit Server VM (build 22-ea+20-1570, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest22/bin/javac
+ javac -version
javac 22-ea
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 532
drwxr-xr-x 22 jenkins jenkins   4096 Oct 29 03:39 .
drwxr-xr-x  6 jenkins jenkins   4096 Oct 12 04:31 ..
-rw-r--r--  1 jenkins jenkins    520 Aug 13 03:36 .asf.yaml
drwxr-xr-x  3 jenkins jenkins   4096 Oct  8 03:37 build
-rw-r--r--  1 jenkins jenkins  30453 Oct 29 03:38 build.gradle
-rw-r--r--  1 jenkins jenkins 168668 Oct 29 03:38 build.xml
-rw-r--r--  1 jenkins jenkins   7363 Oct  1 03:36 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3261 Aug 13 03:36 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug 13 03:36 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug 13 03:36 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug 13 03:36 .github
-rw-r--r--  1 jenkins jenkins    396 Aug 13 03:36 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug 13 03:36 gradle
drwxr-xr-x  5 jenkins jenkins   4096 Oct  8 03:37 .gradle
-rw-r--r--  1 jenkins jenkins    599 Aug 13 03:36 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   9125 Oct  1 03:36 gradlew
-rw-r--r--  1 jenkins jenkins   2868 Aug 13 03:36 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Aug 13 03:36 jenkins
-rw-r--r--  1 jenkins jenkins 167516 Aug 13 03:36 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 13 03:36 legal
drwxr-xr-x  2 jenkins jenkins   4096 Aug 13 03:36 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Oct 29 03:38 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug 13 03:36 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Oct  8 03:37 poi
drwxr-xr-x  4 jenkins jenkins   4096 Oct  8 03:37 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Oct  8 03:37 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Oct  8 03:37 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Oct 22 03:36 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Oct  8 03:37 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Oct  8 03:36 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Oct 29 03:38 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Oct  8 03:37 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4351 Aug 13 03:36 README.rst
-rw-r--r--  1 jenkins jenkins    428 Oct 29 03:38 SECURITY.md
-rw-r--r--  1 jenkins jenkins    190 Aug 13 03:36 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug 13 03:37 src
drwxr-xr-x  4 jenkins jenkins   4096 Oct 29 03:39 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Aug 13 03:36 test-data
-rw-r--r--  1 jenkins jenkins   3803 Aug 13 03:36 wrapper.gradle
+ 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.22/ws/build.javacheck.xml>
Detected Java version: 22 in: /usr/local/asfpackages/java/openjdk-22-ea+20
Detected OS: Linux
parsing buildfile 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/build.javacheck.xml> 
with URI = 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/build.javacheck.xml>
Project base dir set to: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/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 22/22-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 22-ea

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-1.22] $ /bin/sh -xe /tmp/jenkins16649609759060932134.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-1.22] $ 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/gradlew> 
-PjdkVersion=22 --refresh-dependencies clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be 
forked. For more on this, please refer to 
https://docs.gradle.org/8.3/userguide/gradle_daemon.html#sec:disabling_the_daemon
 in the Gradle documentation.
Daemon will be stopped at the end of the build 
Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'poi'.
> Could not open cp_proj generic class cache for build file 
> '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/build.gradle'> 
> (/home/jenkins/.gradle/caches/8.3/scripts/wa4444w6ec2sp7l9sn9ksd4u).
   > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' 
Unsupported class file major version 66

* 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 13s
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.
Archiving artifacts
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: No test report files 
were found. Configuration error?
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.

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

Reply via email to