xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: xmlgraphics-fop-pdf-images #125
Date Tue, 30 Jun 2020 12:45:44 GMT
See <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/125/display/redirect?page=changes>

Changes:

[ssteiner] FOP-2951: Add uniquename to xobj form


------------------------------------------
[...truncated 29.02 KB...]
  2500K .......... .......... .......... .......... .......... 76% 75.1M 0s
  2550K .......... .......... .......... .......... .......... 77% 97.1M 0s
  2600K .......... .......... .......... .......... .......... 79%  134M 0s
  2650K .......... .......... .......... .......... .......... 80%  128M 0s
  2700K .......... .......... .......... .......... .......... 82%  133M 0s
  2750K .......... .......... .......... .......... .......... 83%  107M 0s
  2800K .......... .......... .......... .......... .......... 85%  116M 0s
  2850K .......... .......... .......... .......... .......... 86%  126M 0s
  2900K .......... .......... .......... .......... .......... 88% 96.6M 0s
  2950K .......... .......... .......... .......... .......... 89% 87.6M 0s
  3000K .......... .......... .......... .......... .......... 91% 93.4M 0s
  3050K .......... .......... .......... .......... .......... 92% 96.8M 0s
  3100K .......... .......... .......... .......... .......... 94% 98.6M 0s
  3150K .......... .......... .......... .......... .......... 95% 79.6M 0s
  3200K .......... .......... .......... .......... .......... 97% 97.8M 0s
  3250K .......... .......... .......... .......... .......... 98%  100M 0s
  3300K .......... .......... .......... .......... .         100%  105M=0.5s

2020-06-30 12:44:24 (6.73 MB/s) - 'checkstyle-5.7-all.jar' saved [3421346/3421346]

+ mv checkstyle-5.7-all.jar lib/build/checkstyle-5.5-all.jar
+ export PATH=/home/jenkins/tools/ant/latest1.9/bin:/home/jenkins/tools/java/latest1.7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ PATH=/home/jenkins/tools/ant/latest1.9/bin:/home/jenkins/tools/java/latest1.7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ ant clean package junit checkstyle findbugs -Dfindbugs.home.dir findbugs-2.0.3
Buildfile: <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build.xml>

clean:

info:
     [echo] ------------------- PDF image support for Apache FOP 2.5.0.SNAPSHOT [2007-2020]
----------------
     [echo] See build.properties and build-local.properties for additional build settings
     [echo] Apache Ant(TM) version 1.9.14 compiled on March 12 2019
     [echo] VM: 24.80-b11, Oracle Corporation
     [echo] JAVA_HOME: /home/jenkins/tools/java/latest1.7

init-avail:

init:

compile-java:
    [mkdir] Created dir: <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/classes>
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build.xml>:181:
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds
    [javac] Compiling 39 source files to <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/classes>
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/FontContainer.java>:77:
warning: [deprecation] getUnfilteredStream() in COSStream has been deprecated
    [javac]                 input = ((COSStream)base).getUnfilteredStream();
    [javac]                                          ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/FOPPDFMultiByteFont.java>:118:
warning: [deprecation] getCharacterCode(int) in CmapSubtable has been deprecated
    [javac]                 String mappedChar = mapping.get(cmap.getCharacterCode(i));
    [javac]                                                     ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/ImageLoaderFactoryPDF.java>:54:
warning: [deprecation] getUsagePenalty(String,ImageFlavor) in AbstractImageLoaderFactory has
been deprecated
    [javac]     public int getUsagePenalty(String mime, ImageFlavor flavor) {
    [javac]                ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/PreloaderPDF.java>:175:
warning: [deprecation] needInputStream(Source) in ImageUtil has been deprecated
    [javac]                 final InputStream in = ImageUtil.needInputStream(src);
    [javac]                                                 ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/PreloaderPDF.java>:180:
warning: [deprecation] closeQuietly(Source) in ImageUtil has been deprecated
    [javac]                     ImageUtil.closeQuietly(src);
    [javac]                              ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/PDFWriter.java>:58:
warning: [deprecation] PDFStreamParser(PDStream) in PDFStreamParser has been deprecated
    [javac]         PDFStreamParser pdfStreamParser = new PDFStreamParser(pdStream);
    [javac]                                           ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/PDFBoxAdapterUtil.java>:73:
warning: [deprecation] getFilteredStream() in COSStream has been deprecated
    [javac]                 InputStream stream = ((COSStream)base).getFilteredStream();
    [javac]                                                       ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/PDFCloner.java>:179:
warning: [deprecation] getUnfilteredStream() in COSStream has been deprecated
    [javac]             in = originalStream.getUnfilteredStream();
    [javac]                                ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/PDFCloner.java>:183:
warning: [deprecation] getFilteredStream() in COSStream has been deprecated
    [javac]             in = originalStream.getFilteredStream();
    [javac]                                ^
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/src/java/org/apache/fop/render/pdf/pdfbox/PSPDFGraphics2D.java>:238:
warning: [deprecation] getUnfilteredStream() in COSStream has been deprecated
    [javac]             byte[] x = IOUtils.toByteArray(stream.getUnfilteredStream());
    [javac]                                                  ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 10 warnings
     [copy] Copying 5 files to <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/classes>

resourcegen:
[generateEventResources] Event model written to <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/classes/org/apache/fop/render/pdf/pdfbox/event-model.xml>
     [copy] Copying 1 file to <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/classes>

uptodate-jar-main:

jar-main:
      [jar] Building jar: <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/fop-pdf-images-2.5.0.SNAPSHOT.jar>
      [jar] Building jar: <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/fop-pdf-images-2.5.0.SNAPSHOT-res.jar>

package:

info:
     [echo] ------------------- PDF image support for Apache FOP 2.5.0.SNAPSHOT [2007-2020]
----------------
     [echo] See build.properties and build-local.properties for additional build settings
     [echo] Apache Ant(TM) version 1.9.14 compiled on March 12 2019
     [echo] VM: 24.80-b11, Oracle Corporation
     [echo] JAVA_HOME: /home/jenkins/tools/java/latest1.7

init-avail:

init:

compile-java:
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build.xml>:181:
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds

resourcegen:

uptodate-jar-main:

jar-main:

package:

junit-compile-java:
    [mkdir] Created dir: <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/test-classes>
    [javac] <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build.xml>:98:
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds
    [javac] Compiling 12 source files to <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/test-classes>
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

junit:
    [mkdir] Created dir: <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/test-reports>
[jacoco:coverage] Enhancing junit with coverage
    [junit] Testsuite: org.apache.fop.render.pdf.DocumentRootModifierTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.606 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.FOPPDFSingleMultiByteFontTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.633 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.539 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] Jun 30, 2020 12:44:45 PM org.apache.pdfbox.pdmodel.font.PDCIDFontType0 <init>
    [junit] WARNING: Using fallback DroidSansFallback for CID-keyed font NewsMinIWA-Th
    [junit] Jun 30, 2020 12:44:47 PM org.apache.pdfbox.rendering.CIDType0Glyph2D getPathForCharacterCode
    [junit] WARNING: No glyph for 672 (CID 02a0) in font NewsMinIWA-Th
    [junit] Jun 30, 2020 12:44:47 PM org.apache.pdfbox.rendering.CIDType0Glyph2D getPathForCharacterCode
    [junit] WARNING: No glyph for 673 (CID 02a1) in font NewsMinIWA-Th
    [junit] Jun 30, 2020 12:44:48 PM org.apache.pdfbox.cos.COSDocument finalize
    [junit] WARNING: Warning: You did not close a PDF Document
    [junit] Jun 30, 2020 12:44:48 PM org.apache.fop.fonts.LazyFont load
    [junit] SEVERE: Failed to read font file <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/pom.xml>
Reached EOF, file size=5159
    [junit] java.io.EOFException: Reached EOF, file size=5159
    [junit] 	at org.apache.fop.fonts.truetype.FontFileReader.read(FontFileReader.java:100)
    [junit] 	at org.apache.fop.fonts.truetype.FontFileReader.readTTFUByte(FontFileReader.java:124)
    [junit] 	at org.apache.fop.fonts.truetype.FontFileReader.readTTFULong(FontFileReader.java:229)
    [junit] 	at org.apache.fop.fonts.truetype.OFDirTabEntry.read(OFDirTabEntry.java:58)
    [junit] 	at org.apache.fop.fonts.truetype.OpenFont.readDirTabs(OpenFont.java:1258)
    [junit] 	at org.apache.fop.fonts.truetype.OpenFont.readFont(OpenFont.java:830)
    [junit] 	at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:117)
    [junit] 	at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:101)
    [junit] 	at org.apache.fop.fonts.FontLoader.getFont(FontLoader.java:126)
    [junit] 	at org.apache.fop.fonts.FontLoader.loadFont(FontLoader.java:110)
    [junit] 	at org.apache.fop.fonts.LazyFont.load(LazyFont.java:119)
    [junit] 	at org.apache.fop.fonts.LazyFont.getEncodingName(LazyFont.java:152)
    [junit] 	at org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D$FopFontProvider.getFont(ImageConverterPDF2G2D.java:327)
    [junit] 	at org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D$FopFontProvider.getTrueTypeFont(ImageConverterPDF2G2D.java:340)
    [junit] 	at org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D$FopFontMapper.getTrueTypeFont(ImageConverterPDF2G2D.java:368)
    [junit] 	at org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D$FopFontMapper.getCIDFont(ImageConverterPDF2G2D.java:391)
    [junit] 	at org.apache.pdfbox.pdmodel.font.PDCIDFontType0.<init>(PDCIDFontType0.java:131)
    [junit] 	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:135)
    [junit] 	at org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:192)
    [junit] 	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:97)
    [junit] 	at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:146)
    [junit] 	at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:61)
    [junit] 	at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:869)
    [junit] 	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:505)
    [junit] 	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:479)
    [junit] 	at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:152)
    [junit] 	at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:263)
    [junit] 	at org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:408)
    [junit] 	at org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:377)
    [junit] 	at org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:362)
    [junit] 	at org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:349)
    [junit] 	at org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D$Graphics2DImagePainterPDF.paint(ImageConverterPDF2G2D.java:176)
    [junit] 	at org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase.pdfToPS(ImageConverterPDF2G2DTestCase.java:94)
    [junit] 	at org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase.pdfToPS(ImageConverterPDF2G2DTestCase.java:77)
    [junit] 	at org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase.testPDFToPSFontError(ImageConverterPDF2G2DTestCase.java:161)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:606)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:536)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1178)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1005)
    [junit] 
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.fop.render.pdf.PDFBoxAdapterTestCase
    [junit] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.727 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PDFRotateTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PDFWriterTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PSPDFGraphics2DTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PageParentTreeFinderTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PreloaderPDFTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.StructureTreeMergerTestCase
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.StructureTreeMergerUtilTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.TaggedPDFConductorTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.244 sec
    [junit] 
[jacoco:report] Loading execution data file <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/coverage/jacoco.exec>
[jacoco:report] Writing bundle 'Apache FOP' with 56 classes

checkstyle:
[checkstyle] Running Checkstyle 5.7 on 51 files

findbugs:
 [findbugs] Executing findbugs FindBugsTask from ant task
 [findbugs] Running FindBugs...
 [findbugs] L P UPM: Private method org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.updateMergeFontInfo(PDFDictionary,
FontInfo) is never called  At PDFBoxAdapter.java:[lines 303-317]Warnings generated: 1
 [findbugs] Calculating exit code...
 [findbugs] 
 [findbugs] Setting 'bugs found' flag (1)
 [findbugs] Exit code set to: 1
 [findbugs] Java Result: 1

BUILD FAILED
<https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build.xml>:452: if=findbugs.warnings

Total time: 1 minute 18 seconds
Build step 'Execute shell' marked build as failure

Mime
View raw message