See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/282/display/redirect?page=changes>
Changes:
[PJ Fanning] add tests
[PJ Fanning] try to fix issue where java9 module-info compiles don't happen
[PJ Fanning] [bug-65562] derive sheet dimensions when outputting SXSSFSheets
------------------------------------------
[...truncated 26.20 KB...]
C poi-scratchpad\src\main\java9\module-info.class
? poi-scratchpad\src\main\java9\module-info.class.r1895195
? poi-scratchpad\src\main\java9\module-info.class.r1895480
C poi-scratchpad\src\test\java9\module-info.class
? poi-scratchpad\src\test\java9\module-info.class.r1895195
? poi-scratchpad\src\test\java9\module-info.class.r1895480
X src\documentation
Performing status on external item at 'src\documentation':
Summary of conflicts:
Text conflicts: 12
svn: E155010: The node
'F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi*\src\*'
was not found.
Java-Home: f:\\jenkins\\tools\\java\\latest17
Volume in drive F is data
Volume Serial Number is FEB9-6BE4
Directory of f:\jenkins\tools\java\latest17
06/28/2021 11:53 AM <DIR> .
06/28/2021 11:53 AM <DIR> ..
06/28/2021 11:53 AM <DIR> bin
06/28/2021 11:53 AM <DIR> conf
06/28/2021 11:53 AM <DIR> include
06/28/2021 11:53 AM <DIR> jmods
06/28/2021 11:53 AM <DIR> legal
06/28/2021 11:53 AM <DIR> lib
06/23/2021 02:05 PM 1,237 release
1 File(s) 1,237 bytes
8 Dir(s) 1,317,420,568,576 bytes free
openjdk version "17-ea" 2021-09-14
OpenJDK Runtime Environment (build 17-ea+28-2534)
OpenJDK 64-Bit Server VM (build 17-ea+28-2534, mixed mode, sharing)
[Gradle] - Launching build.
[POI-DSL-Windows-1.17] $ cmd.exe /C
"<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/ws/gradlew.bat>
-PjdkVersion=17 clean jenkins && exit %%ERRORLEVEL%%"
Downloading https://services.gradle.org/distributions/gradle-7.5-bin.zip
...........10%............20%...........30%............40%...........50%............60%...........70%............80%...........90%............100%
Welcome to Gradle 7.5!
Here are the highlights of this release:
- Support for Java 18
- Support for building with Groovy 4
- Much more responsive continuous builds
- Improved diagnostics for dependency resolution
For more details see https://docs.gradle.org/7.5/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
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
> Task :poi-integration:clean
> Task :poi-ooxml-lite-agent:clean
> Task :poi-excelant:clean
> Task :poi-excelant:processResources
> Task :poi-examples: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-examples:processTestResources NO-SOURCE
> Task :poi-excelant:processTestResources
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:processTestResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:getDeps NO-SOURCE
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:compileJava9
> Task :poi-ooxml-lite-agent:cacheJava9
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:javadoc SKIPPED
> Task :poi-ooxml-lite-agent:forbiddenApisMain
> Task :poi-ooxml-lite-agent:compileTestJava NO-SOURCE
> Task :poi-ooxml-lite-agent:processTestResources NO-SOURCE
> Task :poi-ooxml-lite-agent:testClasses UP-TO-DATE
> Task :poi-ooxml-lite-agent:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-lite-agent:forbiddenApis
> Task :poi-ooxml-lite-agent:spotbugsMain SKIPPED
> Task :poi-ooxml-lite-agent:spotbugsTest NO-SOURCE
> Task :poi-ooxml-lite-agent:test NO-SOURCE
> Task :poi-ooxml-lite-agent:check
> Task :poi-ooxml-lite-agent:getDeps
> Task :poi-ooxml-lite-agent:jacocoTestReport SKIPPED
> Task :clean
> Task :replaceVersion
> Task :poi-ooxml:clean
> Task :poi-ooxml-lite-agent:jar
> Task :poi-integration:jar
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-ooxml-lite-agent:javadocJar SKIPPED
> Task :poi-ooxml:fixBatik
> Task :poi-scratchpad:clean
> Task :poi-ooxml-lite-agent:sourcesJar
> Task :poi-ooxml-lite-agent:assemble
> Task :poi-ooxml-lite-agent:build
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-excelant:sourcesJar
> Task :poi-ooxml:processResources
> Task :poi-ooxml:processTestResources
> Task :poi:clean
> Task :poi-ooxml-lite:clean
> Task :poi-ooxml-full:clean
> Task :poi:generateVersionJava
> Task :poi-examples:sourcesJar
> Task :poi-scratchpad:sourcesJar
> Task :poi-ooxml:sourcesJar
> Task :poi-ooxml-full:copy_xsds
> 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:compileJava
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-full:generate_beans
Time to generate code: 72.628 seconds
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi:compileJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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) {
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\hssf\record\NameRecord.java:466:
warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has
been deprecated
byte[] remainder = ris.readAllContinuedRemainder();
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\hssf\record\AbstractEscherHolderRecord.java:62:
warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has
been deprecated
byte[] data = in.readAllContinuedRemainder();
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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) {
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\ss\formula\BaseFormulaEvaluator.java:225:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(cellType);
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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(
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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
> Task :poi-ooxml-lite:compileOoxmlLite
> Task :poi-ooxml-full:compileJava
> Task :poi:compileJava9 FAILED
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java9\module-info.java:32:
error: cannot access ExtractorProvider
uses org.apache.poi.extractor.ExtractorProvider;
^
bad class file:
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\build\classes\java\main\org\apache\poi\extractor\ExtractorProvider.class
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java9\module-info.java:33:
error: cannot access WorkbookProvider
uses org.apache.poi.ss.usermodel.WorkbookProvider;
^
bad class file:
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\build\classes\java\main\org\apache\poi\ss\usermodel\WorkbookProvider.class
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java9\module-info.java:34:
error: cannot access SlideShowProvider
uses org.apache.poi.sl.usermodel.SlideShowProvider;
^
bad class file:
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\build\classes\java\main\org\apache\poi\sl\usermodel\SlideShowProvider.class
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java9\module-info.java:35:
error: cannot access ImageRenderer
uses org.apache.poi.sl.draw.ImageRenderer;
^
bad class file:
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\build\classes\java\main\org\apache\poi\sl\draw\ImageRenderer.class
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java9\module-info.java:37:
error: cannot access MainExtractorFactory
provides org.apache.poi.extractor.ExtractorProvider with
org.apache.poi.extractor.MainExtractorFactory;
^
bad class file:
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\build\classes\java\main\org\apache\poi\extractor\MainExtractorFactory.class
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java9\module-info.java:38:
error: cannot access HSSFWorkbookFactory
provides org.apache.poi.ss.usermodel.WorkbookProvider with
org.apache.poi.hssf.usermodel.HSSFWorkbookFactory;
^
bad class file:
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\build\classes\java\main\org\apache\poi\hssf\usermodel\HSSFWorkbookFactory.class
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java9\module-info.java:39:
error: cannot access BitmapImageRenderer
provides org.apache.poi.sl.draw.ImageRenderer with
org.apache.poi.sl.draw.BitmapImageRenderer;
^
bad class file:
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\build\classes\java\main\org\apache\poi\sl\draw\BitmapImageRenderer.class
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
7 errors
> Task :poi-ooxml-lite:compileOoxmlLite
Execution optimizations have been disabled for task
':poi-ooxml-lite:compileOoxmlLite' to ensure correctness due to the following
reasons:
- Gradle detected a problem with the following location:
'F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-full\build'.
Reason: Task ':poi-ooxml-lite:compileOoxmlLite' uses this output of task
':poi-ooxml-full:compileJava' without declaring an explicit or implicit
dependency. This can lead to incorrect results being produced, depending on
what order the tasks are executed. Please refer to
https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency
for more details about this problem.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi: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
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.5/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during
this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 7m 24s
38 actionable tasks: 38 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
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]