You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2021/11/11 07:54:13 UTC

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #446

See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/446/display/redirect>

Changes:


------------------------------------------
[...truncated 57.50 KB...]
> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:170: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:214: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:285: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:340: 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-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:345: 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-SonarQube-Gradle/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-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:205: 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-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:51: warning: [deprecation] createTempFile() in SheetDataWriter has been deprecated
    public File createTempFile() throws IOException {
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:56: warning: [deprecation] createWriter(File) in SheetDataWriter has been deprecated
    public Writer createWriter(File fd) throws IOException {
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/GZIPSheetDataWriter.java>:54: warning: [deprecation] createTempFile() in SheetDataWriter has been deprecated
    public File createTempFile() throws IOException {
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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);
            ^
11 warnings

> Task :poi-ooxml:compileJava9
> Task :poi-ooxml:cacheJava9
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9
> Task :poi-excelant:classes
> Task :poi-excelant:jar
> Task :poi-examples:compileJava

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFFont.java>:20: warning: [deprecation] FontCharset in org.apache.poi.ss.usermodel has been deprecated
import static org.apache.poi.ss.usermodel.FontCharset.*;
                                         ^

> Task :poi-examples:compileJava9
> Task :poi-examples:cacheJava9
> Task :poi-examples:classes
> Task :poi-examples:jar
> Task :poi-examples:forbiddenApisMain

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:203: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(7, run.getFontSize());
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:211: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(25, run.getFontSize());
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:589: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:592: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:595: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:598: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE, run.getFontSize());
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:601: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:604: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:607: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE, run.getFontSize());
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:610: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:658: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^

> Task :poi-excelant:javadoc
> Task :poi-excelant:javadocJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain

> Task :poi-excelant:spotbugsMain
4 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/446/artifact/poi-excelant/build/reports/spotbugs/main.xml>

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:129: warning: [deprecation] getSeries() in XDDFChartData has been deprecated
        assertThrows(UnsupportedOperationException.class, () -> chartData.getSeries().remove(0));
                                                                         ^
13 warnings

> Task :poi-ooxml:compileTest9
> Task :poi-ooxml:cacheTest9
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-examples:compileTestJava
> Task :poi-examples:testClasses
> Task :poi-excelant:compileTestJava
> Task :poi-integration:compileTestJava
> Task :poi-examples:forbiddenApisTest
> Task :poi-examples:forbiddenApis
> Task :poi-excelant:compileTest9
> Task :poi-excelant:cacheTest9
> Task :poi-excelant:testClasses
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis
> Task :poi-excelant:testJar
> Task :poi-integration:compileTest9
> Task :poi-integration:cacheTest9
> Task :poi-integration:testClasses
> Task :poi-integration:testJar

> Task :poi-examples:spotbugsMain
36 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/446/artifact/poi-examples/build/reports/spotbugs/main.xml>

> Task :poi-examples:test
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports

> Task :poi-integration:forbiddenApisTest
> Task :poi-integration:forbiddenApis
> Task :poi-examples:spotbugsTest

> Task :poi-excelant:spotbugsTest
4 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/446/artifact/poi-excelant/build/reports/spotbugs/test.xml>

> Task :poi-excelant:test
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

> Task :poi-integration:spotbugsTest
6 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/446/artifact/poi-integration/build/reports/spotbugs/test.xml>

> Task :poi-integration:test
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

> Task :poi-examples:check
> Task :poi-examples:jacocoTestReport
> Task :poi-ooxml:javadoc

> Task :poi:test

7105 tests completed, 1 failed, 26 skipped

> Task :poi:test FAILED

> Task :poi-integration:test
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi:test'.
> There were failing tests. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/446/artifact/poi/build/reports/tests/test/index.html>

* 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 21m 54s
105 actionable tasks: 104 executed, 1 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.

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


Jenkins build is back to normal : POI » POI-DSL-SonarQube-Gradle #447

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/447/display/redirect?page=changes>


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