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 #123
Date Mon, 29 Jun 2020 14:34:18 GMT
See <https://builds.apache.org/job/xmlgraphics-fop-pdf-images/123/display/redirect?page=changes>

Changes:

[ssteiner] Bump fop version

[ssteiner] FOP-2950: Display font error at top level exception


------------------------------------------
[...truncated 35.20 KB...]
    [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.568 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.FOPPDFSingleMultiByteFontTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.008 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.ImageConverterPDF2G2DTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.878 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] Jun 29, 2020 2:33:10 PM org.apache.pdfbox.pdmodel.font.PDCIDFontType0 <init>
    [junit] WARNING: Using fallback DroidSansFallback for CID-keyed font NewsMinIWA-Th
    [junit] Jun 29, 2020 2:33:11 PM org.apache.pdfbox.rendering.CIDType0Glyph2D getPathForCharacterCode
    [junit] WARNING: No glyph for 672 (CID 02a0) in font NewsMinIWA-Th
    [junit] Jun 29, 2020 2:33:11 PM org.apache.pdfbox.rendering.CIDType0Glyph2D getPathForCharacterCode
    [junit] WARNING: No glyph for 673 (CID 02a1) in font NewsMinIWA-Th
    [junit] Jun 29, 2020 2:33:12 PM org.apache.pdfbox.cos.COSDocument finalize
    [junit] WARNING: Warning: You did not close a PDF Document
    [junit] Jun 29, 2020 2:33:13 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=4545
    [junit] java.io.EOFException: Reached EOF, file size=4545
    [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.readTTFLong(FontFileReader.java:212)
    [junit] 	at org.apache.fop.fonts.truetype.OFDirTabEntry.read(OFDirTabEntry.java:57)
    [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: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.379 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PDFRotateTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PDFWriterTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PSPDFGraphics2DTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PageParentTreeFinderTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.PreloaderPDFTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.133 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.StructureTreeMergerTestCase
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.StructureTreeMergerUtilTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
    [junit] 
    [junit] Testsuite: org.apache.fop.render.pdf.TaggedPDFConductorTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183 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] Calculating exit code...
 [findbugs] Exit code set to: 0

BUILD SUCCESSFUL
Total time: 1 minute 17 seconds
[xmlgraphics-fop-pdf-images] $ /home/jenkins/tools/maven/apache-maven-3.3.9/bin/mvn clean
install checkstyle:checkstyle findbugs:findbugs -B -U -e -fae -V -Djdk.path=/home/jenkins/tools/java/jdk1.7.0_79-unlimited-security
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /home/jenkins/tools/maven/apache-maven-3.3.9
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.7.0_80/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "4.15.0-101-generic", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.11/maven-checkstyle-plugin-2.11.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.11/maven-checkstyle-plugin-2.11.pom
(12 KB at 13.5 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.11/maven-checkstyle-plugin-2.11.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.11/maven-checkstyle-plugin-2.11.jar
(93 KB at 1009.5 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
(20 KB at 571.2 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
(14 KB at 244.5 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/maven-metadata.xml
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/maven-metadata.xml
(2 KB at 45.2 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building org.apache.fop.render.pdf.pdfbox:fop-pdf-images 2.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.xmlgraphics:fop:jar:2.5.0-SNAPSHOT is missing, no dependency
information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.266 s
[INFO] Finished at: 2020-06-29T14:34:15+00:00
[INFO] Final Memory: 27M/1447M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fop-pdf-images: Could not resolve dependencies for
project org.apache.fop.render.pdf.pdfbox:fop-pdf-images:jar:2.5.0-SNAPSHOT: Could not find
artifact org.apache.xmlgraphics:fop:jar:2.5.0-SNAPSHOT -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project
fop-pdf-images: Could not resolve dependencies for project org.apache.fop.render.pdf.pdfbox:fop-pdf-images:jar:2.5.0-SNAPSHOT:
Could not find artifact org.apache.xmlgraphics:fop:jar:2.5.0-SNAPSHOT
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
	at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies
for project org.apache.fop.render.pdf.pdfbox:fop-pdf-images:jar:2.5.0-SNAPSHOT: Could not
find artifact org.apache.xmlgraphics:fop:jar:2.5.0-SNAPSHOT
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
	... 23 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact
org.apache.xmlgraphics:fop:jar:2.5.0-SNAPSHOT
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
	... 24 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact
org.apache.xmlgraphics:fop:jar:2.5.0-SNAPSHOT
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
	... 25 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact
org.apache.xmlgraphics:fop:jar:2.5.0-SNAPSHOT
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:434)
	... 27 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Build step 'Invoke top-level Maven targets' marked build as failure

Mime
View raw message