See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/464/display/redirect?page=changes>
Changes:
[PJ Fanning] try not to have poi-ooxml-full in pom (still need to work out how
to add poi-ooxml-lite instead)
------------------------------------------
[...truncated 5.37 KB...]
+ ls -al /home/jenkins/tools/java/latest16/bin
total 472
drwxr-xr-x 2 root root 4096 Jun 13 17:17 .
drwxr-xr-x 8 root root 4096 Jun 13 17:17 ..
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jar
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 jarsigner
-rwxr-xr-x 1 root root 13040 Mar 26 18:20 java
-rwxr-xr-x 1 root root 13088 Mar 26 18:20 javac
-rwxr-xr-x 1 root root 13096 Mar 26 18:20 javadoc
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 javap
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jcmd
-rwxr-xr-x 1 root root 13128 Mar 26 18:20 jconsole
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jdb
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 jdeprscan
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jdeps
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jfr
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jhsdb
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 jimage
-rwxr-xr-x 1 root root 13088 Mar 26 18:20 jinfo
-rwxr-xr-x 1 root root 13088 Mar 26 18:20 jlink
-rwxr-xr-x 1 root root 13088 Mar 26 18:20 jmap
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jmod
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 jpackage
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jps
-rwxr-xr-x 1 root root 13096 Mar 26 18:20 jrunscript
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 jshell
-rwxr-xr-x 1 root root 13096 Mar 26 18:20 jstack
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 jstat
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 jstatd
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 keytool
-rwxr-xr-x 1 root root 13056 Mar 26 18:20 rmid
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 rmiregistry
-rwxr-xr-x 1 root root 13064 Mar 26 18:20 serialver
+ /home/jenkins/tools/java/latest16/bin/java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest16/bin/java
+ java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest16/bin/javac
+ javac -version
javac 16.0.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 528
drwxr-xr-x 25 jenkins jenkins 4096 Sep 5 13:16 .
drwxr-xr-x 4 jenkins jenkins 4096 Sep 1 22:48 ..
drwxr-xr-x 7 jenkins jenkins 4096 Sep 5 12:31 build
-rw-r--r-- 1 jenkins jenkins 24939 Sep 5 11:47 build.gradle
-rw-r--r-- 1 jenkins jenkins 168861 Sep 5 11:47 build.xml
-rw-r--r-- 1 jenkins jenkins 6325 Jun 14 11:00 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3014 Jun 14 11:00 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Jun 14 11:00 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Jun 14 11:00 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 Jun 14 11:00 .github
-rw-r--r-- 1 jenkins jenkins 523 Jun 14 11:00 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Jun 14 11:00 gradle
drwxr-xr-x 7 jenkins jenkins 4096 Sep 5 11:48 .gradle
-rw-r--r-- 1 jenkins jenkins 154 Jun 14 11:00 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 5766 Jun 14 11:00 gradlew
-rw-r--r-- 1 jenkins jenkins 2763 Jun 14 11:00 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 00:25 jenkins
-rw-r--r-- 1 jenkins jenkins 167281 Jun 14 11:00 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Jun 14 11:00 legal
drwxr-xr-x 10 jenkins jenkins 4096 Jun 14 11:00 lib
drwxr-xr-x 2 jenkins jenkins 4096 Jun 14 11:00 lib.stored
drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 09:43 maven
drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 11:47 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Jun 14 11:00 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Sep 5 12:25 poi
drwxr-xr-x 4 jenkins jenkins 4096 Sep 5 11:51 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Sep 5 11:54 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Sep 5 11:52 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Sep 5 13:16 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Sep 5 11:49 poi-ooxml-full
drwxr-xr-x 4 jenkins jenkins 4096 Sep 5 12:22 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Sep 5 11:52 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Sep 5 11:51 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4328 Jun 14 11:00 README.rst
-rw-r--r-- 1 jenkins jenkins 197 Jun 14 11:00 settings.gradle
drwxr-xr-x 9 jenkins jenkins 4096 Sep 4 00:25 sonar
drwxr-xr-x 4 jenkins jenkins 4096 Jun 14 11:00 src
drwxr-xr-x 4 jenkins jenkins 4096 Sep 5 13:16 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Jun 14 11:00 test-data
-rw-r--r-- 1 jenkins jenkins 426 Jul 28 09:43 .travis.yml
+ 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.16/ws/build.javacheck.xml>
Detected Java version: 16 in: /usr/local/asfpackages/java/openjdk-16-16.0.1
Detected OS: Linux
parsing buildfile
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/build.javacheck.xml>
with URI =
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/build.javacheck.xml>
Project base dir set to:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/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 16/16.0.1
[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 16.0.1
BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-1.16] $ /bin/sh -xe /tmp/jenkins1457262355057947644.sh
+ touch --no-create build/*/build/test-results/TEST-*.xml
build/*/build/test-results/test/TEST-*.xml
[Gradle] - Launching build.
[POI-DSL-1.16] $
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/gradlew> clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be
forked. See
https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
Trying to override old definition of datatype junit
> Task :clean
> Task :poi:clean
> Task :poi-examples:clean
> Task :poi-excelant:clean
> Task :poi-integration:clean
> Task :poi-ooxml:clean
> Task :poi-ooxml-full:clean
> Task :poi-ooxml-lite:clean
> Task :poi-ooxml-lite-agent:clean
> Task :poi-scratchpad:clean
> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/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.16/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:131:
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.16/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.16/ws/poi/src/main/java/org/apache/poi/ss/format/CellNumberFormatter.java>:726:
warning: [unchecked] Possible heap pollution from parameterized vararg type
List<Special>
private static boolean hasChar(char ch, List<Special>... numSpecials) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/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.16/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.16/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());
^
7 warnings
> Task :poi:compileJava9
> Task :poi:cacheJava9
> Task :poi:processResources
> Task :poi:classes
> Task :poi:jar
> Task :poi-ooxml:fixBatik
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-full:generate_beans
> Task :poi-ooxml-full:compileJava
> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171:
warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
XSSFName nm = _uBook.getNameAt(i);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215:
warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
int nameIdx = _uBook.getNameIndex(nameName);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286:
warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
XSSFName xname = _uBook.getNameAt(idx);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341:
warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
return _uBook.getNameAt(namePtg.getIndex()).getNameName();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346:
warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
return new Name(_uBook.getNameAt(ix), ix, this);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(cellType);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202:
warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext
implements getPrefixes(String) in NamespaceContext
public Iterator getPrefixes(String val) {
^
return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102:
warning: [deprecation] Provider(String,double,String) in Provider has been
deprecated
super(NAME, 1d, NAME);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESSignatureFacet.java>:284:
warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated
issuerName = certificate.getIssuerDN().getName().replace(",", ", ");
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java>:201:
warning: [deprecation] getIssuerDN() in X509CRL has been deprecated
String issuerName = crl.getIssuerDN().getName().replace(",", ",
");
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187:
warning: [deprecation] finalize() in Object has been deprecated
protected void finalize() throws Throwable {
^
11 warnings
> Task :poi-ooxml:compileJava9 FAILED
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java9/module-info.java>:20:
error: module not found: org.apache.xmlbeans
requires transitive org.apache.xmlbeans;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-ooxml/src/main/java9/module-info.java>:21:
error: module not found: org.apache.poi.ooxml.schemas
requires transitive org.apache.poi.ooxml.schemas;
^
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> Compilation failed; see the compiler error output for details.
* 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 2m 45s
21 actionable tasks: 21 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
Skipping publisher since build result is FAILURE
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]