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 2018/03/05 01:17:32 UTC

Build failed in Jenkins: POI-DSL-1.8 #376

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

Changes:

[centic] Add unit test which verifies that ThresholdInputStream can be used. This currently fails with Java 10 because the reflection relies on internals of class ZipFile that were changed.

[centic] Some IntelliJ and Javadoc fixes

[centic] Fix compiling with current JDK 10 RC build, OOXML-Tests are still failing due to ThresholdInputStream, though.

[centic] Add job to build with latest available JDK 10 early access build

------------------------------------------
[...truncated 576.26 KB...]
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:74: error: bad use of '>'
  [javadoc]    &lt;t>This does not&lt;/t>
  [javadoc]                             ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:75: error: bad use of '>'
  [javadoc]  &lt;/si>
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:76: error: bad use of '>'
  [javadoc] &lt;/sst>
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:92: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if <code>num</code> < 0
  [javadoc]                                                             ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:93: error: malformed HTML
  [javadoc]      * @throws IllegalStateException if <code>num</code> < current number of data formats in the style table.
  [javadoc]                                                          ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:118: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if columnIndex < 0 or greater than the maximum number of supported columns
  [javadoc]                                                        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:135: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if columnIndex < 0 or greater than a maximum number of supported columns
  [javadoc]                                                        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:193: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if rowNum < 0
  [javadoc]                                                   ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:232: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if cellnum < 0 or the specified MissingCellPolicy is invalid
  [javadoc]                                                    ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4065: error: unterminated signature
  [javadoc]      * @deprecated Use {@link #createTable(AreaReference))} instead
  [javadoc]                        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4077: error: unknown tag: null
  [javadoc]      *            the area that the table should cover, should not be {@null}
  [javadoc]                                                                       ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:255: error: unknown tag: clrScheme
  [javadoc]      * Index into the <clrScheme> collection, referencing a particular <sysClr> or
  [javadoc]                       ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:255: error: unknown tag: sysClr
  [javadoc]      * Index into the <clrScheme> collection, referencing a particular <sysClr> or
  [javadoc]                                                                        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:256: error: unknown tag: srgbClr
  [javadoc]      *  <srgbClr> value expressed in the Theme part.
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:264: error: unknown tag: clrScheme
  [javadoc]      * Index into the <clrScheme> collection, referencing a particular <sysClr> or
  [javadoc]                       ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:264: error: unknown tag: sysClr
  [javadoc]      * Index into the <clrScheme> collection, referencing a particular <sysClr> or
  [javadoc]                                                                        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:265: error: unknown tag: srgbClr
  [javadoc]      *  <srgbClr> value expressed in the Theme part.
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDxfStyleProvider.java>:42: error: bad use of '>'
  [javadoc]      * @param stripeSize 0 for non-stripe styles, > 1 for stripes
  [javadoc]                                                   ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:146: error: tag not allowed here: <blockquote>
  [javadoc]      * <pre><blockquote>
  [javadoc]             ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:165: error: unexpected end tag: </p>
  [javadoc]     * </p>
  [javadoc]       ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:36: error: tag not allowed here: <blockquote>
  [javadoc]  * <pre><blockquote>
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:86: error: tag not allowed here: <li>
  [javadoc]      * <li> this defined name refers to a range to which an advanced filter has been
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:88: error: tag not allowed here: <li>
  [javadoc]      * <li> This defined name refers to a range to which an AutoFilter has been
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:431: error: bad use of '>'
  [javadoc]      * CTRPrElt --> CTFont adapter
  [javadoc]                   ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java>:105: error: unknown tag: Cell
  [javadoc]      * for (Iterator<Cell> it = row.cellIterator(); it.hasNext(); ) {
  [javadoc]                     ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java>:192: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if columnIndex < 0 or greater than 16384,
  [javadoc]                                                        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java>:206: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if the specified cell type is invalid, columnIndex < 0
  [javadoc]                                                                                            ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java>:379: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if rowNum < 0 or greater than 1048575
  [javadoc]                                                   ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheetConditionalFormatting.java>:70: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java>:478: error: reference not found
  [javadoc]      * @deprecated Use {@link #setTableArea} instead, which will ensure that the
  [javadoc]                               ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java>:529: error: @param name not found
  [javadoc]      * @param refs
  [javadoc]               ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTableColumn.java>:78: error: invalid use of @return
  [javadoc]      * @return the column id
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTableColumn.java>:98: error: invalid use of @return
  [javadoc]      * @return the column name
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:829: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:846: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFHeaderFooter.java>:40: error: semicolon missing
  [javadoc]  * section), and the date on the second line (center section). &CCenter
  [javadoc]                                                                ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFHeaderFooter.java>:41: error: bad HTML entity
  [javadoc]  * &"-,Bold"Bold &"-,Regular"Header_x000A_&D
  [javadoc]    ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFHeaderFooter.java>:41: error: bad HTML entity
  [javadoc]  * &"-,Bold"Bold &"-,Regular"Header_x000A_&D
  [javadoc]                  ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFHeaderFooter.java>:41: error: semicolon missing
  [javadoc]  * &"-,Bold"Bold &"-,Regular"Header_x000A_&D
  [javadoc]                                           ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFHeaderFooter.java>:48: error: semicolon missing
  [javadoc]  * <dt>&L</dt>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFHeaderFooter.java>:53: error: semicolon missing
  [javadoc]  * <dt>&P</dt>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFHeaderFooter.java>:55: error: semicolon missing
  [javadoc]  * <dt>&N</dt>
  [javadoc]        ^
  [javadoc] 100 errors
  [javadoc] 100 warnings
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist/maven/poi-ooxml/poi-ooxml-4.0.0-SNAPSHOT-javadoc.jar>

assemble:
      [zip] Building zip: <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist/poi-bin-4.0.0-SNAPSHOT-20180305.zip>
      [tar] Building tar: <https://builds.apache.org/job/POI-DSL-1.8/376/artifact/build/dist/poi-bin-4.0.0-SNAPSHOT-20180305.tar.gz>
      [zip] Building zip: <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist/poi-src-4.0.0-SNAPSHOT-20180305.zip>
      [tar] Building tar: <https://builds.apache.org/job/POI-DSL-1.8/376/artifact/build/dist/poi-src-4.0.0-SNAPSHOT-20180305.tar.gz>
     [echo] Creating Maven POMs

maven-poms:
     [copy] Copying 6 files to <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist/maven>
     [echo] Maven POMs are located in <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist>
     [echo] Use ant dist-nexus to deploy the artifacts in the remote repository
     [echo] Distribution located in <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist>
     [echo] Use "ant dist-checksum" to create md5/sha1/sha512 checksums and GPG signatures

findbugs:
      [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-1.8/ws/lib/findbugs-noUpdateChecks-3.0.1.zip>
    [unzip] Expanding: <https://builds.apache.org/job/POI-DSL-1.8/ws/lib/findbugs-noUpdateChecks-3.0.1.zip> into <https://builds.apache.org/job/POI-DSL-1.8/ws/build/findbugs>
 [findbugs] Executing findbugs FindBugsTask from ant task
 [findbugs] Running FindBugs...
 [findbugs] Warnings generated: 47
 [findbugs] Calculating exit code...
 [findbugs] Setting 'bugs found' flag (1)
 [findbugs] Exit code set to: 1
 [findbugs] Java Result: 1
 [findbugs] Output saved to build/findbugs.xml
     [xslt] Transforming into <https://builds.apache.org/job/POI-DSL-1.8/ws/build>
     [xslt] Processing <https://builds.apache.org/job/POI-DSL-1.8/ws/build/findbugs.xml> to <https://builds.apache.org/job/POI-DSL-1.8/376/artifact/build/findbugs.html>
     [xslt] Loading stylesheet jar:<https://builds.apache.org/job/POI-DSL-1.8/ws/build/findbugs/lib/findbugs.jar!/fancy-hist.xsl>

release-notes:
     [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist>

rat-check:
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-1.8/ws/build/rat>
     [echo] 
     [echo] *****************************************************
     [echo] Summary
     [echo] -------
     [echo] Generated at: 2018-03-05T01:16:36+00:00
     [echo] 
     [echo] Notes: 1
     [echo] Binaries: 121
     [echo] Archives: 0
     [echo] Standards: 3766
     [echo] 
     [echo] Apache Licensed: 3765
     [echo] Generated Documents: 0
     [echo] 
     [echo] JavaDocs are generated, thus a license header is optional.
     [echo] Generated files do not require license headers.
     [echo] 
     [echo] 1 Unknown Licenses
     [echo] 
     [echo] *****************************************************
     [echo] 
     [echo] Files with unapproved licenses:
     [echo] 
     [echo]   <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/testcases/org/apache/poi/openxml4j/util/TestZipSecureFile.java>
     [echo] 
     [echo] *****************************************************
     [echo] 
     [echo] *****************************************************
     [echo]   Files with Apache License headers will be marked AL
     [echo]   Binary files (which do not require any license headers) will be marked B
     [echo]   Compressed archives will be marked A
     [echo]   Notices, licenses etc. will be marked N
     [echo]  !????? <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/testcases/org/apache/poi/openxml4j/util/TestZipSecureFile.java>
     [echo]  
     [echo] *****************************************************
     [echo] 
     [echo]  Printing headers for text files without a valid license header...
     [echo]  
     [echo] =====================================================
     [echo] == File: <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/testcases/org/apache/poi/openxml4j/util/TestZipSecureFile.java>
     [echo] =====================================================
     [echo] package org.apache.poi.openxml4j.util;
     [echo] 
     [echo] import org.apache.poi.openxml4j.opc.internal.ZipHelper;
     [echo] import org.apache.poi.xssf.XSSFTestDataSamples;
     [echo] import org.junit.Test;
     [echo] 
     [echo] import java.io.FileInputStream;
     [echo] import java.io.InputStream;
     [echo] import java.util.Enumeration;
     [echo] import java.util.zip.ZipEntry;
     [echo] 
     [echo] import static org.junit.Assert.assertTrue;
     [echo] 
     [echo] public class TestZipSecureFile {
     [echo]     @Test
     [echo]     public void testThresholdInputStream() throws Exception {
     [echo]         // This fails in Java 10 because our reflection injection of the ThresholdInputStream causes a
     [echo]         // ClassCastException in ZipFile now
     [echo]         ZipSecureFile.ThresholdInputStream zis = ZipHelper.openZipStream(new FileInputStream(XSSFTestDataSamples.getSampleFile("template.xlsx")));
     [echo]         ZipInputStreamZipEntrySource thresholdInputStream = new ZipInputStreamZipEntrySource(zis);
     [echo] 
     [echo]         ZipSecureFile secureFile = new ZipSecureFile(XSSFTestDataSamples.getSampleFile("template.xlsx"));
     [echo] 
     [echo]         Enumeration<? extends ZipEntry> entries = thresholdInputStream.getEntries();
     [echo]         while (entries.hasMoreElements()) {
     [echo]             ZipEntry entry = entries.nextElement();
     [echo] 
     [echo]             InputStream inputStream = secureFile.getInputStream(entry);
     [echo]             assertTrue(inputStream.available() > 0);
     [echo]         }
     [echo]     }
     [echo] }

BUILD FAILED
<https://builds.apache.org/job/POI-DSL-1.8/ws/build.xml>:2093: condition satisfied

Total time: 18 minutes 3 seconds
Build step 'Invoke Ant' marked build as failure
Skipping publisher since build result is FAILURE
Archiving artifacts
[Fast Archiver] Compressed 243.52 MB of artifacts by 51.8% relative to #375
Skipping publisher since build result is FAILURE
Recording test results

---------------------------------------------------------------------
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-DSL-1.8 #377

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


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