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 2016/07/04 00:56:28 UTC

Build failed in Jenkins: POI-OpenJDK #154

See <https://builds.apache.org/job/POI-OpenJDK/154/changes>

Changes:

[onealj] bug 59788: move DefaultTempFileCreationStrategy from TempFile inner class to its own class

[kiwiwings] javadocs fixes (jdk8)

[onealj] whitespace

[onealj] make class attributes final; return unmodifiable lists

[onealj] revert whitespace changes to ASF license; previous commit r1751180 contributed by sebb

[onealj] bug 59786: fix NPE from winmail.dat files if message body is null

[onealj] whitespace (3 spaces and tabs to 4 spaces)

[onealj] uncomment ignored unit tests so they at least compile

[onealj] bug 59788: create temporary directories

[kiwiwings] deprecated DrawingManager

[kiwiwings] #59170 - Remove deprecated classes (POI 3.15) - o.a.p.hssf.model.*Shape classes removed

[onealj] convert to junit4

[onealj] bug 59784: add link to current KEYS file, replace 'signed' with 'signature (.asc)'; patch from Sebb

[kiwiwings] javadocs fixes (jdk8)
(eclipse) source clean ups

------------------------------------------
[...truncated 3935 lines...]
  [javadoc] Loading source files for package org.apache.poi.hmef.dev...
  [javadoc] Loading source files for package org.apache.poi.hmef.extractor...
  [javadoc] Loading source files for package org.apache.poi.hpbf...
  [javadoc] Loading source files for package org.apache.poi.hpbf.dev...
  [javadoc] Loading source files for package org.apache.poi.hpbf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hpbf.model...
  [javadoc] Loading source files for package org.apache.poi.hpbf.model.qcbits...
  [javadoc] Loading source files for package org.apache.poi.hslf.blip...
  [javadoc] Loading source files for package org.apache.poi.hslf.dev...
  [javadoc] Loading source files for package org.apache.poi.hslf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.hslf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hslf.model...
  [javadoc] Loading source files for package org.apache.poi.hslf.model.textproperties...
  [javadoc] Loading source files for package org.apache.poi.hslf.record...
  [javadoc] Loading source files for package org.apache.poi.hslf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.hslf.util...
  [javadoc] Loading source files for package org.apache.poi.hsmf...
  [javadoc] Loading source files for package org.apache.poi.hsmf.datatypes...
  [javadoc] Loading source files for package org.apache.poi.hsmf.dev...
  [javadoc] Loading source files for package org.apache.poi.hsmf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.hsmf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hsmf.parsers...
  [javadoc] Loading source files for package org.apache.poi.hssf.converter...
  [javadoc] Loading source files for package org.apache.poi.hwmf.draw...
  [javadoc] Loading source files for package org.apache.poi.hwmf.record...
  [javadoc] Loading source files for package org.apache.poi.hwmf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.hwpf...
  [javadoc] Loading source files for package org.apache.poi.hwpf.converter...
  [javadoc] Loading source files for package org.apache.poi.hwpf.dev...
  [javadoc] Loading source files for package org.apache.poi.hwpf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model.io...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model.types...
  [javadoc] Loading source files for package org.apache.poi.hwpf.sprm...
  [javadoc] Loading source files for package org.apache.poi.hwpf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.extractor...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.exceptions...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc.internal...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc.internal.marshallers...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc.internal.unmarshallers...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.util...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.agile...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.dsig...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.dsig.facets...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.dsig.services...
  [javadoc] Loading source files for package org.apache.poi.xdgf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.xdgf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xdgf.geom...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel.section...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel.section.geometry...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel.shape...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel.shape.exceptions...
  [javadoc] Loading source files for package org.apache.poi.xdgf.util...
  [javadoc] Loading source files for package org.apache.poi.xdgf.xml...
  [javadoc] Loading source files for package org.apache.poi.xslf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xslf.model...
  [javadoc] Loading source files for package org.apache.poi.xslf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.xslf.util...
  [javadoc] Loading source files for package org.apache.poi.xssf...
  [javadoc] Loading source files for package org.apache.poi.xssf.dev...
  [javadoc] Loading source files for package org.apache.poi.xssf.eventusermodel...
  [javadoc] Loading source files for package org.apache.poi.xssf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xssf.model...
  [javadoc] Loading source files for package org.apache.poi.xssf.streaming...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel.charts...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel.extensions...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel.helpers...
  [javadoc] Loading source files for package org.apache.poi.xssf.util...
  [javadoc] Loading source files for package org.apache.poi.xwpf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xwpf.model...
  [javadoc] Loading source files for package org.apache.poi.xwpf.usermodel...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.6.0_39
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...

jar-src:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven/poi/poi-3.15-beta3-sources.jar
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven/poi-scratchpad/poi-scratchpad-3.15-beta3-sources.jar
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven/poi-ooxml/poi-ooxml-3.15-beta3-sources.jar
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven/poi-examples/poi-examples-3.15-beta3-sources.jar
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven/poi-excelant/poi-excelant-3.15-beta3-sources.jar

-do-jar-check-javadocs-package-list:

-do-jar-create-javadocs-package-list:

jar-javadocs:
     [echo] Building poi javadocs from /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/src/java
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/tmp/maven-javadocs
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven/poi/poi-3.15-beta3-javadoc.jar
     [echo] Building poi-scratchpad javadocs from /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/src/scratchpad/src
   [delete] Deleting directory /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/tmp/maven-javadocs
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/tmp/maven-javadocs
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven/poi-scratchpad/poi-scratchpad-3.15-beta3-javadoc.jar
     [echo] Building poi-ooxml javadocs from /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/src/ooxml/java
   [delete] Deleting directory /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/tmp/maven-javadocs
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/tmp/maven-javadocs
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven/poi-ooxml/poi-ooxml-3.15-beta3-javadoc.jar

assemble:
      [zip] Building zip: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/poi-bin-3.15-beta3-20160704.zip
      [tar] Building tar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/poi-bin-3.15-beta3-20160704.tar.gz
      [zip] Building zip: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/poi-src-3.15-beta3-20160704.zip
      [tar] Building tar: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/poi-src-3.15-beta3-20160704.tar.gz
     [echo] Creating Maven POMs

maven-poms:
     [copy] Copying 6 files to /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist/maven
     [echo] Maven POMs are located in /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist
     [echo] Use ant dist-nexus to deploy the artifacts in the remote repository
     [echo] Distribution located in /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist
     [echo] Use "ant dist-checksum" to create md5/sha1 checksums and GPG signatures

findbugs:
      [get] Getting: http://prdownloads.sourceforge.net/findbugs/findbugs-noUpdateChecks-2.0.3.zip?download
      [get] To: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/lib/findbugs-noUpdateChecks-2.0.3.zip
      [get] http://prdownloads.sourceforge.net/findbugs/findbugs-noUpdateChecks-2.0.3.zip?download permanently moved to http://downloads.sourceforge.net/project/findbugs/findbugs/2.0.3/findbugs-noUpdateChecks-2.0.3.zip?download=
      [get] http://downloads.sourceforge.net/project/findbugs/findbugs/2.0.3/findbugs-noUpdateChecks-2.0.3.zip?download= moved to http://liquidtelecom.dl.sourceforge.net/project/findbugs/findbugs/2.0.3/findbugs-noUpdateChecks-2.0.3.zip
    [unzip] Expanding: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/lib/findbugs-noUpdateChecks-2.0.3.zip into /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/findbugs
 [findbugs] Executing findbugs FindBugsTask from ant task
 [findbugs] Running FindBugs...
 [findbugs] Warnings generated: 24
 [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 /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build
     [xslt] Processing /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/findbugs.xml to /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/findbugs.html
     [xslt] Loading stylesheet jar:file:/x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/findbugs/lib/findbugs.jar!/fancy-hist.xsl

release-notes:
     [copy] Copying 1 file to /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/dist

rat-check:
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build/rat
     [echo] 
     [echo] *****************************************************
     [echo] Summary
     [echo] -------
     [echo] Generated at: 2016-07-04T00:55:23+00:00
     [echo] 
     [echo] Notes: 1
     [echo] Binaries: 122
     [echo] Archives: 0
     [echo] Standards: 3470
     [echo] 
     [echo] Apache Licensed: 3469
     [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]   /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.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]  !????? /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java
     [echo]  
     [echo] *****************************************************
     [echo] 
     [echo]  Printing headers for text files without a valid license header...
     [echo]  
     [echo] =====================================================
     [echo] == File: /x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java
     [echo] =====================================================
     [echo] package org.apache.poi.util;
     [echo] 
     [echo] import java.io.File;
     [echo] import java.io.IOException;
     [echo] import java.security.SecureRandom;
     [echo] 
     [echo] /**
     [echo]  * Default implementation of the {@link TempFileCreationStrategy} used by {@link TempFile}:
     [echo]  * Files are collected into one directory and by default are deleted on exit from the VM.
     [echo]  * Files may be manually deleted by user prior to JVM exit.
     [echo]  * Files can be kept by defining the system property {@link #KEEP_FILES}.
     [echo]  */
     [echo] public class DefaultTempFileCreationStrategy implements TempFileCreationStrategy {
     [echo]     /** Define a constant for this property as it is sometimes mistypes as "tempdir" otherwise */
     [echo]     private static final String JAVA_IO_TMPDIR = TempFile.JAVA_IO_TMPDIR;
     [echo]     /** To keep files after JVM exit, set the <code>-Dpoi.keep.tmp.files</code> JVM property */
     [echo]     public static final String KEEP_FILES = "poi.keep.tmp.files";
     [echo]     
     [echo]     /** The directory where the temporary files will be created (<code>null</code> to use the default directory). */
     [echo]     private File dir;
     [echo]     
     [echo]     /**
     [echo]      * Creates the strategy so that it creates the temporary files in the default directory.
     [echo]      * 
     [echo]      * @see File#createTempFile(String, String)
     [echo]      */
     [echo]     public DefaultTempFileCreationStrategy() {
     [echo]         this(null);
     [echo]     }
     [echo]     
     [echo]     /**
     [echo]      * Creates the strategy allowing to set the  
     [echo]      *
     [echo]      * @param dir The directory where the temporary files will be created (<code>null</code> to use the default directory).
     [echo]      * 
     [echo]      * @see File#createTempFile(String, String, File)
     [echo]      */
     [echo]     public DefaultTempFileCreationStrategy(File dir) {
     [echo]         this.dir = dir;
     [echo]     }
     [echo]     
     [echo]     private void createPOIFilesDirectory() throws IOException {
     [echo]         // Identify and create our temp dir, if needed
     [echo]         // The directory is not deleted, even if it was created by this TempFileCreationStrategy
     [echo]         if (dir == null) {
     [echo]             String tmpDir = System.getProperty(JAVA_IO_TMPDIR);
     [echo]             if (tmpDir == null) {
     [echo]                 throw new IOException("Systems temporary directory not defined - set the -D"+JAVA_IO_TMPDIR+" jvm property!");
     [echo]             }
     [echo]             dir = new File(tmpDir, "poifiles");

BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/POI-OpenJDK/build.xml:2027: condition satisfied

Total time: 21 minutes 21 seconds
Build step 'Invoke Ant' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Compressed 144.12 MB of artifacts by 36.0% relative to #153
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-OpenJDK #155

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/POI-OpenJDK/155/changes>


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