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 #82
Date Wed, 09 May 2018 15:08:27 GMT
See <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/82/display/redirect?page=changes>

Changes:

[ssteiner] FOP-2772: NPE where pdf used as background image

------------------------------------------
[...truncated 25.54 KB...]
  1300K .......... .......... .......... .......... .......... 22%  117M 1s
  1350K .......... .......... .......... .......... .......... 23% 51.0M 1s
  1400K .......... .......... .......... .......... .......... 24%  122M 0s
  1450K .......... .......... .......... .......... .......... 25% 80.2M 0s
  1500K .......... .......... .......... .......... .......... 26%  136M 0s
  1550K .......... .......... .......... .......... .......... 26% 81.9M 0s
  1600K .......... .......... .......... .......... .......... 27%  104M 0s
  1650K .......... .......... .......... .......... .......... 28% 91.8M 0s
  1700K .......... .......... .......... .......... .......... 29%  107M 0s
  1750K .......... .......... .......... .......... .......... 30% 78.4M 0s
  1800K .......... .......... .......... .......... .......... 31% 65.5M 0s
  1850K .......... .......... .......... .......... .......... 31%  118M 0s
  1900K .......... .......... .......... .......... .......... 32%  113M 0s
  1950K .......... .......... .......... .......... .......... 33% 72.7M 0s
  2000K .......... .......... .......... .......... .......... 34%  104M 0s
  2050K .......... .......... .......... .......... .......... 35% 92.0M 0s
  2100K .......... .......... .......... .......... .......... 36% 99.1M 0s
  2150K .......... .......... .......... .......... .......... 36% 95.8M 0s
  2200K .......... .......... .......... .......... .......... 37% 98.1M 0s
  2250K .......... .......... .......... .......... .......... 38%  106M 0s
  2300K .......... .......... .......... .......... .......... 39%  105M 0s
  2350K .......... .......... .......... .......... .......... 40% 73.9M 0s
  2400K .......... .......... .......... .......... .......... 41% 57.6M 0s
  2450K .......... .......... .......... .......... .......... 41%  125M 0s
  2500K .......... .......... .......... .......... .......... 42%  113M 0s
  2550K .......... .......... .......... .......... .......... 43%  104M 0s
  2600K .......... .......... .......... .......... .......... 44%  113M 0s
  2650K .......... .......... .......... .......... .......... 45% 98.0M 0s
  2700K .......... .......... .......... .......... .......... 46%  135M 0s
  2750K .......... .......... .......... .......... .......... 46% 87.2M 0s
  2800K .......... .......... .......... .......... .......... 47% 87.1M 0s
  2850K .......... .......... .......... .......... .......... 48% 90.8M 0s
  2900K .......... .......... .......... .......... .......... 49%  124M 0s
  2950K .......... .......... .......... .......... .......... 50% 44.5M 0s
  3000K .......... .......... .......... .......... .......... 51%  102M 0s
  3050K .......... .......... .......... .......... .......... 52% 92.5M 0s
  3100K .......... .......... .......... .......... .......... 52% 61.8M 0s
  3150K .......... .......... .......... .......... .......... 53% 85.3M 0s
  3200K .......... .......... .......... .......... .......... 54%  124M 0s
  3250K .......... .......... .......... .......... .......... 55% 99.5M 0s
  3300K .......... .......... .......... .......... .......... 56% 71.8M 0s
  3350K .......... .......... .......... .......... .......... 57% 73.4M 0s
  3400K .......... .......... .......... .......... .......... 57%  110M 0s
  3450K .......... .......... .......... .......... .......... 58% 77.8M 0s
  3500K .......... .......... .......... .......... .......... 59% 58.4M 0s
  3550K .......... .......... .......... .......... .......... 60% 94.3M 0s
  3600K .......... .......... .......... .......... .......... 61% 86.8M 0s
  3650K .......... .......... .......... .......... .......... 62%  107M 0s
  3700K .......... .......... .......... .......... .......... 62% 97.4M 0s
  3750K .......... .......... .......... .......... .......... 63%  107M 0s
  3800K .......... .......... .......... .......... .......... 64% 48.3M 0s
  3850K .......... .......... .......... .......... .......... 65%  123M 0s
  3900K .......... .......... .......... .......... .......... 66%  118M 0s
  3950K .......... .......... .......... .......... .......... 67% 99.8M 0s
  4000K .......... .......... .......... .......... .......... 67%  127M 0s
  4050K .......... .......... .......... .......... .......... 68% 20.6M 0s
  4100K .......... .......... .......... .......... .......... 69% 23.7M 0s
  4150K .......... .......... .......... .......... .......... 70% 24.1M 0s
  4200K .......... .......... .......... .......... .......... 71% 49.0M 0s
  4250K .......... .......... .......... .......... .......... 72%  141M 0s
  4300K .......... .......... .......... .......... .......... 72%  129M 0s
  4350K .......... .......... .......... .......... .......... 73%  106M 0s
  4400K .......... .......... .......... .......... .......... 74%  130M 0s
  4450K .......... .......... .......... .......... .......... 75%  130M 0s
  4500K .......... .......... .......... .......... .......... 76%  130M 0s
  4550K .......... .......... .......... .......... .......... 77%  121M 0s
  4600K .......... .......... .......... .......... .......... 78%  130M 0s
  4650K .......... .......... .......... .......... .......... 78%  131M 0s
  4700K .......... .......... .......... .......... .......... 79%  135M 0s
  4750K .......... .......... .......... .......... .......... 80%  110M 0s
  4800K .......... .......... .......... .......... .......... 81%  134M 0s
  4850K .......... .......... .......... .......... .......... 82%  134M 0s
  4900K .......... .......... .......... .......... .......... 83%  137M 0s
  4950K .......... .......... .......... .......... .......... 83%  123M 0s
  5000K .......... .......... .......... .......... .......... 84%  134M 0s
  5050K .......... .......... .......... .......... .......... 85%  133M 0s
  5100K .......... .......... .......... .......... .......... 86%  132M 0s
  5150K .......... .......... .......... .......... .......... 87%  111M 0s
  5200K .......... .......... .......... .......... .......... 88%  133M 0s
  5250K .......... .......... .......... .......... .......... 88%  130M 0s
  5300K .......... .......... .......... .......... .......... 89%  128M 0s
  5350K .......... .......... .......... .......... .......... 90%  121M 0s
  5400K .......... .......... .......... .......... .......... 91%  137M 0s
  5450K .......... .......... .......... .......... .......... 92%  123M 0s
  5500K .......... .......... .......... .......... .......... 93%  130M 0s
  5550K .......... .......... .......... .......... .......... 93%  103M 0s
  5600K .......... .......... .......... .......... .......... 94%  129M 0s
  5650K .......... .......... .......... .......... .......... 95%  123M 0s
  5700K .......... .......... .......... .......... .......... 96%  125M 0s
  5750K .......... .......... .......... .......... .......... 97%  108M 0s
  5800K .......... .......... .......... .......... .......... 98%  122M 0s
  5850K .......... .......... .......... .......... .......... 98%  115M 0s
  5900K .......... .......... .......... .......... .......... 99%  127M 0s
  5950K ..........                                            100% 88.6M=0.2s

2018-05-09 15:08:16 (28.6 MB/s) - 'download' saved [6103199/6103199]

+ unzip -q download
+ mv checkstyle-5.5/checkstyle-5.5-all.jar lib/build
+ 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.3.0.SNAPSHOT [2007-2017]
----------------
     [echo] See build.properties and build-local.properties for additional build settings
     [echo] Apache Ant(TM) version 1.9.6 compiled on July 8 2015
     [echo] VM: 16.3-b01, Sun Microsystems Inc.
     [echo] JAVA_HOME: /home/jenkins/tools/java/jdk1.6.0_20-32-unlimited-security

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 37 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/PDFBoxAdapter.java>:272:
warning: [deprecation] getUnfilteredStream() in org.apache.pdfbox.cos.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/PDFBoxAdapter.java>:276:
warning: [deprecation] getFilteredStream() in org.apache.pdfbox.cos.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/FontContainer.java>:77:
warning: [deprecation] getUnfilteredStream() in org.apache.pdfbox.cos.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 org.apache.fontbox.ttf.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(java.lang.String,org.apache.xmlgraphics.image.loader.ImageFlavor)
in org.apache.xmlgraphics.image.loader.impl.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/PDFWriter.java>:55:
warning: [deprecation] PDFStreamParser(org.apache.pdfbox.pdmodel.common.PDStream) in org.apache.pdfbox.pdfparser.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 org.apache.pdfbox.cos.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/PSPDFGraphics2D.java>:246:
warning: [deprecation] getUnfilteredStream() in org.apache.pdfbox.cos.COSStream has been deprecated
    [javac]             byte[] x = IOUtils.toByteArray(stream.getUnfilteredStream());
    [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(javax.xml.transform.Source) in org.apache.xmlgraphics.image.loader.util.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(javax.xml.transform.Source) in org.apache.xmlgraphics.image.loader.util.ImageUtil
has been deprecated
    [javac]                     ImageUtil.closeQuietly(src);
    [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.3.0.SNAPSHOT.jar>
      [jar] Building jar: <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build/fop-pdf-images-2.3.0.SNAPSHOT-res.jar>

package:

info:
     [echo] ------------------- PDF image support for Apache FOP 2.3.0.SNAPSHOT [2007-2017]
----------------
     [echo] See build.properties and build-local.properties for additional build settings
     [echo] Apache Ant(TM) version 1.9.6 compiled on July 8 2015
     [echo] VM: 16.3-b01, Sun Microsystems Inc.
     [echo] JAVA_HOME: /home/jenkins/tools/java/jdk1.6.0_20-32-unlimited-security

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: 0.617 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.FOPPDFSingleMultiByteFontTestCase
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.377 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] May 9, 2018 3:08:23 PM org.apache.pdfbox.cos.COSDocument finalize
    [junit] WARNING: Warning: You did not close a PDF Document
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.132 sec
    [junit] 
    [junit] Testcase: testFontsNotEmbedded(org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase):
Caused an ERROR
    [junit] unable to create new native thread
    [junit] java.lang.OutOfMemoryError: unable to create new native thread
    [junit] 	at java.lang.Thread.start0(Native Method)
    [junit] 	at java.lang.Thread.start(Thread.java:597)
    [junit] 	at sun.java2d.Disposer$1.run(Disposer.java:70)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at sun.java2d.Disposer.<clinit>(Disposer.java:55)
    [junit] 	at sun.font.StrikeCache.<clinit>(StrikeCache.java:49)
    [junit] 	at sun.font.FontManager$1.run(FontManager.java:236)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at sun.font.FontManager.<clinit>(FontManager.java:223)
    [junit] 	at sun.java2d.SunGraphicsEnvironment.addDirFonts(SunGraphicsEnvironment.java:959)
    [junit] 	at sun.java2d.SunGraphicsEnvironment.registerFontsInDir(SunGraphicsEnvironment.java:839)
    [junit] 	at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:63)
    [junit] 	at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:214)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:129)
    [junit] 	at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:204)
    [junit] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    [junit] 	at java.lang.Class.newInstance0(Class.java:355)
    [junit] 	at java.lang.Class.newInstance(Class.java:308)
    [junit] 	at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
    [junit] 	at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1135)
    [junit] 	at org.apache.xmlgraphics.java2d.ps.PSGraphics2D.<init>(PSGraphics2D.java:873)
    [junit] 	at org.apache.xmlgraphics.java2d.ps.PSGraphics2D.<init>(PSGraphics2D.java:116)
    [junit] 	at org.apache.fop.render.pdf.pdfbox.PSPDFGraphics2D.<init>(PSPDFGraphics2D.java:96)
    [junit] 	at org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D$Graphics2DImagePainterPDF.getGraphics(ImageConverterPDF2G2D.java:232)
    [junit] 	at org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase.pdfToPS(ImageConverterPDF2G2DTestCase.java:70)
    [junit] 	at org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase.testFontsNotEmbedded(ImageConverterPDF2G2DTestCase.java:53)
    [junit] 
    [junit] 

BUILD FAILED
<https://builds.apache.org/job/xmlgraphics-fop-pdf-images/ws/build.xml>:117: Tests failed

Total time: 8 seconds
Build step 'Execute shell' marked build as failure

Mime
View raw message