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

Changes:

[PJ Fanning] try to disable spotbugs for latest JDKs

[PJ Fanning] upgrade asm

[PJ Fanning] try Gradle 7.6 RC1

[PJ Fanning] latest sonarqube

[PJ Fanning] latest sonarqube (revert)

[PJ Fanning] latest sonarqube

[PJ Fanning] batik 1.16

[PJ Fanning] mockito 4.8.1

[PJ Fanning] batik 1.16

[PJ Fanning] woodstox 6.4.0


------------------------------------------
[...truncated 432.71 KB...]

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 19/19
     [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 19

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
[POI-DSL-1.19] $ /bin/sh -xe /tmp/jenkins17743944731514442890.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.19] $ 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/gradlew> 
-PjdkVersion=19 --refresh-dependencies clean jenkins
Downloading https://services.gradle.org/distributions/gradle-7.6-rc-1-bin.zip
...........10%............20%...........30%............40%............50%...........60%............70%............80%...........90%............100%

Welcome to Gradle 7.6-rc-1!

Here are the highlights of this release:
 - Added support for Java 19.
 - Introduced `--rerun` flag for individual task rerun.
 - Improved dependency block for test suites to be strongly typed.
 - Added a service provider interface for Java toolchains provisioning.

For more details see https://docs.gradle.org/7.6-rc-1/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be 
forked. See 
https://docs.gradle.org/7.6-rc-1/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

> Configure project :poi
Invalid Java installation found at '/usr/lib/jvm/openjdk-11' (Common Linux 
Locations). It will be re-checked in the next build. This might have 
performance impact if it keeps failing. Run the 'javaToolchains' task for more 
details.

> Task :poi-ooxml-full:clean UP-TO-DATE
> Task :poi-ooxml-lite-agent:clean UP-TO-DATE
> Task :poi-ooxml:clean
> Task :clean UP-TO-DATE
> Task :poi-ooxml-lite:clean UP-TO-DATE
> Task :poi-scratchpad:clean UP-TO-DATE
> Task :poi:clean UP-TO-DATE
> Task :poi-integration:clean UP-TO-DATE
> Task :poi-excelant:clean UP-TO-DATE
> Task :poi-examples:clean UP-TO-DATE
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi:generateVersionJava
> Task :poi-excelant:processResources
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-ooxml:fixBatik
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml:processResources
> Task :poi-ooxml:processTestResources
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :replaceVersion
> Task :poi-excelant:sourcesJar
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-integration:javadocJar
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-excelant:processTestResources
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:processTestResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:getDeps NO-SOURCE
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-ooxml:sourcesJar
> Task :poi-scratchpad:sourcesJar

> 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...
Time to build schema type system: 4.437 seconds

> 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: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
> 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:build
> Task :poi-ooxml-lite-agent:getDeps
> Task :poi-ooxml-lite-agent:jacocoTestReport SKIPPED

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/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.19/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) {
                      ^

> Task :poi-ooxml-full:generate_beans
Time to generate code: 8.94 seconds

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/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.19/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.19/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.19/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.19/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.19/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(
                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/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());
                                  ^
9 warnings

> 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: 
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/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.6-rc-1/userguide/validation_problems.html#implicit_dependency
 for more details about this problem.

> Task :poi:compileJava9
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/src/main/java9/module-info.java>:32:
 error: cannot access ExtractorProvider
    uses org.apache.poi.extractor.ExtractorProvider;
                                 ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/build/classes/java/main/org/apache/poi/extractor/ExtractorProvider.class>
    class file has wrong version 63.0, should be 61.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/src/main/java9/module-info.java>:33:
 error: cannot access WorkbookProvider
    uses org.apache.poi.ss.usermodel.WorkbookProvider;
                                    ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/build/classes/java/main/org/apache/poi/ss/usermodel/WorkbookProvider.class>
    class file has wrong version 63.0, should be 61.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/src/main/java9/module-info.java>:34:
 error: cannot access SlideShowProvider
    uses org.apache.poi.sl.usermodel.SlideShowProvider;
                                    ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/build/classes/java/main/org/apache/poi/sl/usermodel/SlideShowProvider.class>
    class file has wrong version 63.0, should be 61.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/src/main/java9/module-info.java>:35:
 error: cannot access ImageRenderer
    uses org.apache.poi.sl.draw.ImageRenderer;
                               ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/build/classes/java/main/org/apache/poi/sl/draw/ImageRenderer.class>
    class file has wrong version 63.0, should be 61.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/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: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/build/classes/java/main/org/apache/poi/extractor/MainExtractorFactory.class>
    class file has wrong version 63.0, should be 61.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/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: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/build/classes/java/main/org/apache/poi/hssf/usermodel/HSSFWorkbookFactory.class>
    class file has wrong version 63.0, should be 61.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/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: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.19/ws/poi/build/classes/java/main/org/apache/poi/sl/draw/BitmapImageRenderer.class>
    class file has wrong version 63.0, should be 61.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
7 errors

> Task :poi:compileJava9 FAILED
> Task :poi-ooxml-lite:processResources
> Task :poi-ooxml-full:compileJava

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.6-rc-1/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 3m 31s
40 actionable tasks: 31 executed, 9 up-to-date
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
[Fast Archiver] No prior successful build to compare, so performing full copy 
of 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.
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to