Hi,

 

I updated the job to delete the cache.

 

http://wiki.apache.org/general/Jenkins#How_do_I_get_an_account

 

Thanks

 

From: Luis Bernardo [mailto:lmpmberna...@gmail.com] 
Sent: 10 November 2014 14:25
To: fop-dev@xmlgraphics.apache.org
Subject: Re: Build failed in Jenkins: xmlgraphics-fop #47

 

I think this is caused by a stale FOP cache. I do not seem to have admin rights 
to configure the Jenkins job... I believe that adding a step to remove the .fop 
cache will fix problems like these.

 

Simon, how did you get admin rights?

 

On Mon, Nov 10, 2014 at 11:28 AM, Apache Jenkins Server 
<jenk...@builds.apache.org <mailto:jenk...@builds.apache.org> > wrote:

See <https://builds.apache.org/job/xmlgraphics-fop/47/changes>

Changes:

[lbernardo] updated type1 info regarding pfm and afm file locations

------------------------------------------
Started by an SCM change
Building remotely on ubuntu-1 (docker Ubuntu ubuntu) in workspace 
<https://builds.apache.org/job/xmlgraphics-fop/ws/>
Updating http://svn.eu.apache.org/repos/asf/xmlgraphics/fop/trunk at revision 
'2014-11-10T11:28:18.543 +0000'
Fetching 'http://svn.apache.org/repos/asf/xmlgraphics/site/trunk/content/fop' 
at -1 into '<https://builds.apache.org/job/xmlgraphics-fop/ws/docs'>
U         docs/trunk/fonts.mdtext
At revision 1637819
At revision 1637819
no change for http://svn.eu.apache.org/repos/asf/xmlgraphics/fop/trunk since 
the previous build
[xmlgraphics-fop] $ /bin/bash -xe /tmp/hudson4815371603271106704.sh
+ '[' '!' -f junit-4.10.jar ']'
+ '[' '!' -f lib/build/checkstyle-5.5-all.jar ']'
+ '[' '!' -f lib/fop-hyph.jar ']'
+ ant clean package junit checkstyle findbugs -Dfindbugs.home.dir 
/home/hudson/tools/findbugs/findbugs-2.0.3
Buildfile: <https://builds.apache.org/job/xmlgraphics-fop/ws/build.xml>
Trying to override old definition of task javac
Trying to override old definition of task junit

clean:
   [delete] Deleting directory 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build>

init-avail:
     [echo] ------------------- Apache FOP svn-trunk [1999-2012] 
----------------
     [echo] See build.properties and build-local.properties for additional 
build settings
     [echo] Apache Ant(TM) version 1.9.3 compiled on April 8 2014
     [echo] VM: 16.3-b01, Sun Microsystems Inc.
     [echo] JAVA_HOME: 
/home/jenkins/tools/java/jdk1.6.0_20-32-unlimited-security
     [echo] JAI Support NOT Present
     [echo] JCE Support PRESENT
     [echo] JUnit Support PRESENT
     [echo] XMLUnit Support PRESENT

init:

codegen:
     [echo] Generating the java files from xml resources
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc>
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/encodings.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/CodePointMapping.java>
     [xslt] Loading stylesheet 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/code-point-mapping.xsl>
     [xslt] Transforming into 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/Courier.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/Courier.java>
     [xslt] Loading stylesheet 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/font-file.xsl>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/CourierBold.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/CourierBold.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/CourierBoldOblique.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/CourierBoldOblique.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/CourierOblique.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/CourierOblique.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/Helvetica.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/Helvetica.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/HelveticaBold.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/HelveticaBold.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/HelveticaBoldOblique.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/HelveticaBoldOblique.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/HelveticaOblique.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/HelveticaOblique.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/TimesBold.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/TimesBold.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/TimesBoldItalic.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/TimesBoldItalic.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/TimesItalic.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/TimesItalic.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/TimesRoman.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/TimesRoman.java>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/Symbol.xml> 
to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/Symbol.java>
     [xslt] Loading stylesheet 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/font-file.xsl>
     [xslt] Processing 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/ZapfDingbats.xml>
 to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14/ZapfDingbats.java>
     [xslt] Loading stylesheet 
<https://builds.apache.org/job/xmlgraphics-fop/ws/src/codegen/fonts/font-file.xsl>

compile-java:
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/classes>
    [javac] Compiling 1514 source files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/classes>
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/sandbox-classes>
    [javac] Compiling 22 source files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/sandbox-classes>
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

resourcegen:
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/codegen-classes>
    [javac] Compiling 3 source files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/codegen-classes>
     [copy] Copying 2 files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/codegen-classes>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/accessibility/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/afp/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/area/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fo/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fo/flow/table/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/layoutmgr/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/layoutmgr/inline/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/render/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/render/bitmap/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/render/pcl/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/render/pdf/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/render/pdf/extensions/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/render/ps/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/render/rtf/event-model.xml>
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/svg/event-model.xml>

compile-copy-resources:
     [copy] Copying 55 files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/classes/org/apache/fop/render/awt/viewer/resources>
     [copy] Copying 10 files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/classes/org/apache/fop/render/awt/viewer/resources>
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/classes/org/apache/fop/render/awt/viewer/images>
     [copy] Copying 9 files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/classes/org/apache/fop/render/awt/viewer/images>
     [copy] Copying 5 files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/sandbox-classes>

compile:

uptodate-jar-main:

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

compile-hyphenation:
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/classes/hyph>
     [echo] Hyphenation successful

uptodate-jar-hyphenation:

jar-hyphenation:
      [jar] Building MANIFEST-only jar: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/fop-hyph.jar>

uptodate-jar-sandbox:

jar-sandbox:
      [jar] Building jar: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/fop-sandbox.jar>

package:

init-avail:
     [echo] ------------------- Apache FOP svn-trunk [1999-2012] 
----------------
     [echo] See build.properties and build-local.properties for additional 
build settings
     [echo] Apache Ant(TM) version 1.9.3 compiled on April 8 2014
     [echo] VM: 16.3-b01, Sun Microsystems Inc.
     [echo] JAVA_HOME: 
/home/jenkins/tools/java/jdk1.6.0_20-32-unlimited-security
     [echo] JAI Support NOT Present
     [echo] JCE Support PRESENT
     [echo] JUnit Support PRESENT
     [echo] XMLUnit Support PRESENT

init:

codegen:
     [echo] Generating the java files from xml resources
     [xslt] Transforming into 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/gensrc/org/apache/fop/fonts/base14>

compile-java:

resourcegen:

compile-copy-resources:

compile:

uptodate-jar-main:

jar-main:

compile-hyphenation:
     [echo] Hyphenation successful

uptodate-jar-hyphenation:

jar-hyphenation:

uptodate-jar-sandbox:

jar-sandbox:

package:

uptodate-transcoder-pkg:

transcoder-pkg:
     [echo] Creating the jar file 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/fop-transcoder.jar>
      [jar] Building jar: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/fop-transcoder.jar>
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/transcoder-dependencies>
    [unjar] Expanding: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/lib/avalon-framework-4.2.0.jar>
 into 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/transcoder-dependencies>
    [unjar] Expanding: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/lib/commons-io-1.3.1.jar> 
into 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/transcoder-dependencies>
    [unjar] Expanding: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/lib/commons-logging-1.0.4.jar>
 into 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/transcoder-dependencies>
    [unjar] Expanding: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/lib/xmlgraphics-commons-svn-trunk.jar>
 into 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/transcoder-dependencies>
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/transcoder-dependencies/legal>
     [copy] Copying 2 files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/transcoder-dependencies/legal>
      [jar] Building jar: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/fop-transcoder-allinone.jar>

junit-init:

junit-with-xmlunit:

junit-without-xmlunit:

junit-compile-java:
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/test-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/test-gensrc>
    [mkdir] Created dir: 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/test-reports>
    [javac] Compiling 354 source files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/test-classes>
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Creating empty 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/test-classes/org/apache/fop/check/package-info.class>
     [copy] Copying 25 files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/test-classes>

junit-compile-copy-resources:
[eventResourceGenerator] Event model written to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/test-gensrc/org/apache/fop/events/event-model.xml>
     [copy] Copying 655 files to 
<https://builds.apache.org/job/xmlgraphics-fop/ws/build/test-classes>

junit-compile:

junit-transcoder:
     [echo] Running basic functionality for fop-transcoder.jar tests...
    [junit] Testsuite: org.apache.fop.BasicTranscoderTestSuite
    [junit] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
1.627 sec
    [junit]
    [junit] Testcase: 
testGenericPDFTranscoder(org.apache.fop.BasicPDFTranscoderTestCase):      
Caused an ERROR
    [junit] Error while setting up PDFDocumentGraphics2D
    [junit] Enclosed Exception:
    [junit] null
    [junit] org.apache.batik.transcoder.TranscoderException: Error while 
setting up PDFDocumentGraphics2D
    [junit] Enclosed Exception:
    [junit] null
    [junit]     at 
org.apache.fop.svg.PDFTranscoder.transcode(PDFTranscoder.java:137)
    [junit]     at 
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
    [junit]     at 
org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
    [junit]     at 
org.apache.fop.AbstractBasicTranscoderTest.testGenericPDFTranscoder(AbstractBasicTranscoderTest.java:71)
    [junit]
    [junit]

BUILD FAILED
<https://builds.apache.org/job/xmlgraphics-fop/ws/build.xml>:757: The following 
error occurred while executing this line:
<https://builds.apache.org/job/xmlgraphics-fop/ws/build.xml>:814: Test 
org.apache.fop.BasicTranscoderTestSuite failed

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

 

Reply via email to