See <https://builds.apache.org/job/POI-DSL-1.6/66/changes>
Changes:
[centic] Cover some dev-tools with a few simple tests, close resources correctly
------------------------------------------
[...truncated 4462 lines...]
[tar] Building tar:
<https://builds.apache.org/job/POI-DSL-1.6/66/artifact/build/dist/poi-bin-3.16-beta2-20161231.tar.gz>
[zip] Building zip:
<https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/poi-src-3.16-beta2-20161231.zip>
[tar] Building tar:
<https://builds.apache.org/job/POI-DSL-1.6/66/artifact/build/dist/poi-src-3.16-beta2-20161231.tar.gz>
[echo] Creating Maven POMs
maven-poms:
[copy] Copying 6 files to
<https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven>
[echo] Maven POMs are located in
<https://builds.apache.org/job/POI-DSL-1.6/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.6/ws/build/dist>
[echo] Use "ant dist-checksum" to create md5/sha1 checksums and GPG
signatures
findbugs:
[get] Destination already exists (skipping):
<https://builds.apache.org/job/POI-DSL-1.6/ws/lib/findbugs-noUpdateChecks-2.0.3.zip>
[unzip] Expanding:
<https://builds.apache.org/job/POI-DSL-1.6/ws/lib/findbugs-noUpdateChecks-2.0.3.zip>
into <https://builds.apache.org/job/POI-DSL-1.6/ws/build/findbugs>
[findbugs] Executing findbugs FindBugsTask from ant task
[findbugs] Running FindBugs...
[findbugs] Warnings generated: 13
[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.6/ws/build>
[xslt] Processing
<https://builds.apache.org/job/POI-DSL-1.6/ws/build/findbugs.xml> to
<https://builds.apache.org/job/POI-DSL-1.6/66/artifact/build/findbugs.html>
[xslt] Loading stylesheet
jar:<https://builds.apache.org/job/POI-DSL-1.6/ws/build/findbugs/lib/findbugs.jar!/fancy-hist.xsl>
release-notes:
[copy] Copying 1 file to
<https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist>
rat-check:
[mkdir] Created dir:
<https://builds.apache.org/job/POI-DSL-1.6/ws/build/rat>
[echo]
[echo] *****************************************************
[echo] Summary
[echo] -------
[echo] Generated at: 2016-12-31T17:42:18+00:00
[echo]
[echo] Notes: 1
[echo] Binaries: 118
[echo] Archives: 0
[echo] Standards: 3519
[echo]
[echo] Apache Licensed: 3514
[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] 5 Unknown Licenses
[echo]
[echo] *****************************************************
[echo]
[echo] Files with unapproved licenses:
[echo]
[echo]
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestOOXMLLister.java>
[echo]
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestOOXMLPrettyPrint.java>
[echo]
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestRecordGenerator.java>
[echo]
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/scratchpad/testcases/org/apache/poi/hdgf/dev/TestVSDDumper.java>
[echo]
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/scratchpad/testcases/org/apache/poi/hmef/dev/TestHMEFDumper.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.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestOOXMLLister.java>
[echo] !?????
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestOOXMLPrettyPrint.java>
[echo] !?????
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestRecordGenerator.java>
[echo] !?????
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/scratchpad/testcases/org/apache/poi/hdgf/dev/TestVSDDumper.java>
[echo] !?????
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/scratchpad/testcases/org/apache/poi/hmef/dev/TestHMEFDumper.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.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestOOXMLLister.java>
[echo] =====================================================
[echo] package org.apache.poi.dev;
[echo]
[echo] import org.apache.poi.openxml4j.opc.OPCPackage;
[echo] import org.apache.poi.openxml4j.opc.PackageAccess;
[echo] import org.apache.poi.util.NullOutputStream;
[echo] import org.apache.poi.xssf.XSSFTestDataSamples;
[echo] import org.junit.Test;
[echo]
[echo] import java.io.File;
[echo] import java.io.PrintStream;
[echo]
[echo] public class TestOOXMLLister {
[echo] @Test
[echo] public void testMain() throws Exception {
[echo] File file =
XSSFTestDataSamples.getSampleFile("Formatting.xlsx");
[echo] OOXMLLister.main(new String[] {file.getAbsolutePath()});
[echo] }
[echo]
[echo] @Test
[echo] public void testWithPrintStream() throws Exception {
[echo] File file =
XSSFTestDataSamples.getSampleFile("Formatting.xlsx");
[echo] OOXMLLister lister = new
OOXMLLister(OPCPackage.open(file.getAbsolutePath(), PackageAccess.READ), new
PrintStream(new NullOutputStream()));
[echo] lister.displayParts();
[echo] lister.displayRelations();
[echo] lister.close();
[echo] }
[echo] }
[echo]
[echo] =====================================================
[echo] == File:
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestOOXMLPrettyPrint.java>
[echo] =====================================================
[echo] package org.apache.poi.dev;
[echo]
[echo] import org.apache.poi.util.TempFile;
[echo] import org.apache.poi.xssf.XSSFTestDataSamples;
[echo] import org.junit.Test;
[echo]
[echo] import java.io.File;
[echo]
[echo] import static org.junit.Assert.assertFalse;
[echo] import static org.junit.Assert.assertTrue;
[echo]
[echo] public class TestOOXMLPrettyPrint {
[echo] @Test
[echo] public void testMain() throws Exception {
[echo] File file =
XSSFTestDataSamples.getSampleFile("Formatting.xlsx");
[echo] File outFile = TempFile.createTempFile("Formatting",
"-pretty.xlsx");
[echo]
[echo] assertTrue(outFile.delete());
[echo] assertFalse(outFile.exists());
[echo]
[echo] OOXMLPrettyPrint.main(new String[] {
[echo] file.getAbsolutePath(), outFile.getAbsolutePath()
[echo] });
[echo]
[echo] assertTrue(outFile.exists());
[echo] assertTrue(outFile.delete());
[echo] }
[echo] }
[echo]
[echo] =====================================================
[echo] == File:
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/ooxml/testcases/org/apache/poi/dev/TestRecordGenerator.java>
[echo] =====================================================
[echo] package org.apache.poi.dev;
[echo]
[echo] import org.apache.poi.util.TempFile;
[echo] import org.junit.Ignore;
[echo] import org.junit.Test;
[echo]
[echo] import java.io.File;
[echo]
[echo] public class TestRecordGenerator {
[echo] @Ignore("Could not get this to run, probably the
dev-application does not work any more at all")
[echo] @Test
[echo] public void testNotEnoughArgs() throws Exception {
[echo] RecordGenerator.main(new String[] {});
[echo] }
[echo]
[echo] @Ignore("Could not get this to run, probably the
dev-application does not work any more at all")
[echo] @Test
[echo] public void testMainRecords() throws Exception {
[echo] File dir =
TempFile.createTempDirectory("TestRecordGenerator");
[echo]
[echo] RecordGenerator.main(new String[] {
[echo] "src/records/definitions/",
[echo] "src/records/styles/",
[echo] dir.getAbsolutePath(),
[echo] dir.getAbsolutePath(),
[echo] });
[echo] }
[echo]
[echo] @Ignore("Could not get this to run, probably the
dev-application does not work any more at all")
[echo] @Test
[echo] public void testMainTypes() throws Exception {
[echo] File dir =
TempFile.createTempDirectory("TestRecordGenerator");
[echo]
[echo] RecordGenerator.main(new String[] {
[echo] "src/types/definitions/",
[echo] "src/types/styles/",
[echo] dir.getAbsolutePath(),
[echo] dir.getAbsolutePath(),
[echo] });
[echo] }
[echo] }
[echo]
[echo] =====================================================
[echo] == File:
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/scratchpad/testcases/org/apache/poi/hdgf/dev/TestVSDDumper.java>
[echo] =====================================================
[echo] package org.apache.poi.hdgf.dev;
[echo]
[echo] import org.apache.poi.POIDataSamples;
[echo] import org.junit.Test;
[echo]
[echo] import java.io.File;
[echo]
[echo] public class TestVSDDumper {
[echo] @Test
[echo] public void main() throws Exception {
[echo] File file =
POIDataSamples.getDiagramInstance().getFile("Test_Visio-Some_Random_Text.vsd");
[echo] VSDDumper.main(new String[] { file.getAbsolutePath() });
[echo] }
[echo] }
[echo]
[echo] =====================================================
[echo] == File:
<https://builds.apache.org/job/POI-DSL-1.6/ws/src/scratchpad/testcases/org/apache/poi/hmef/dev/TestHMEFDumper.java>
[echo] =====================================================
[echo] package org.apache.poi.hmef.dev;
[echo]
[echo] import org.apache.poi.POIDataSamples;
[echo] import org.junit.Test;
[echo]
[echo] import java.io.File;
[echo]
[echo] public class TestHMEFDumper {
[echo] @Test(expected = IllegalArgumentException.class)
[echo] public void noArguments() throws Exception {
[echo] HMEFDumper.main(new String[] {});
[echo] }
[echo]
[echo] @Test
[echo] public void main() throws Exception {
[echo] File file =
POIDataSamples.getHMEFInstance().getFile("quick-winmail.dat");
[echo] HMEFDumper.main(new String[] {
[echo] file.getAbsolutePath()
[echo] });
[echo] }
[echo]
[echo] @Test
[echo] public void mainFull() throws Exception {
[echo] File file =
POIDataSamples.getHMEFInstance().getFile("quick-winmail.dat");
[echo] HMEFDumper.main(new String[] {
[echo] "--full",
[echo] file.getAbsolutePath()
[echo] });
[echo] }
[echo] }
BUILD FAILED
<https://builds.apache.org/job/POI-DSL-1.6/ws/build.xml>:2157: condition
satisfied
Total time: 22 minutes 50 seconds
Build step 'Invoke Ant' marked build as failure
Skipping publisher since build result is FAILURE
Archiving artifacts
Compressed 216.69 MB of artifacts by 58.9% relative to #65
Skipping publisher since build result is FAILURE
Recording test results
Found 12700 test results
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]