14 Oct
2015
14 Oct
'15
6:02 p.m.
See <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/2649/changes>
Changes:
[philomousos] Fixed another app content model typo.
------------------------------------------
[...truncated 13 lines...]
> git rev-list 41d4e7847cf2c3158bbe63cb43d9e4f8ae552746 # timeout=10
[workspace] $ /bin/bash -xe /tmp/hudson9017354772763615003.sh
+ cd P5
++ pwd
+ make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> clean validate test
(cd Exemplars; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Exemplars'>
mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak
rm -f *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-examples*
mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl
rm -f exnames.xml
rm -f enrich.rng isofs.rng
rm -f names.xml *properties
rm -f [A-Z]*xml
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Exemplars'>
(cd Test; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test'>
rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch
rm -rf LOG *~ *.xsd Schema RomaResults DTD
rm -rf *.doc.*
rm -f detest.log detest.log.all
rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd
rm -f detest.rnc detest.rng detest.dtd detest.isosch
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test'>
rm -rf release Guidelines Guidelines-web Schema DTD dtd Split
rm -rf Guidelines.??? Guidelines-*
rm -f *.isosch.xsl
rm -f *.stamp
rm -f *.xsd
rm -f Exemplars/stdout
rm -f Test/*.isosch
rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl
rm -f Test/stdout
rm -f Utilities/guidelines.xsl
rm -f anything buildweb.xml
rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js
rm -f p5attlist.txt
rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch
rm -f pdfbuild.log
rm -f stripspace.xsl.model
rm -f tei-*.zip
rm -f tei-p5-*_*build
rm -f tei-p5-*_*changes
rm -f tei-p5-*_*deb
rm -f teiwebsiteguidelines.zip
rm -rf FASC-*
rm -rf catalogue.* modList
rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml
Checking you have running XML tools and Perl before trying to run transform...
Ant:/usr/bin/ant
Perl:/usr/bin/perl
Java:/usr/bin/java
xmllint:/usr/bin/xmllint
touch check.stamp
get latest date:
VCS is git
if [ "git" = "svn" ] ; \
then \
if [ true = "true" ] ; \
then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 ; \
else svn info --xml ; \
fi > repodate.xml ; \
fi
if [ git = "git" ] ; \
then \
git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \
fi
BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> -DDRIVER=Source/guidelines-en.xml base subset outputs
[echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files
[echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> for XSL stylesheets
[echo] Do ODD processing for p5odds.odd
[echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL
Total time: 1 minute 0 seconds
BUILD: Generate modular RELAX NG (compact) schemas using trang
(cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done)
touch schemas.stamp
BUILD: Check validity with rnv if we have it
command -v rnv && rnv -v p5odds.rnc p5.xml
/usr/local/bin/rnv
rnv version 1.7.10
p5.xml
BUILD: Check validity with special-purpose XSL code, looking for bad links etc
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> validators
[echo] Run Schematron script (normal part of Guidelines)
[echo] Run Schematron script (Examples in Guidelines marked as valid)
[echo] Run ad hoc XSLT validators
BUILD SUCCESSFUL
Total time: 30 seconds
<Messages>
<WARNING>Schematron warning: WARNING: use of deprecated method — the use of the altIdentifier element as a direct child of the msPart element will be removed from the TEI on 2016-09-09 [Test: child::tei:altIdentifier] Location: /TEI[1]/text[1]/body[1]/div[10]/div[10]/specGrp[1]/elementSpec[1]/exemplum[2]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/msDesc[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/msPart[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
</Messages>
(grep -q "<ERROR>" ValidatorLog.xml;if [ $? -ne 1 ] ; then echo "Oh dear me. ERROR found";diff ValidatorLog.xml expected-results/ValidatorLog.xml;false; fi)
sh graphics.sh
BUILD: Check validity with nvdl, first examples with feasible validity, and then the valid ones
./run-onvdl p5.nvdl p5.xml
/usr/bin/onvdl
./run-onvdl p5valid.nvdl v.xml
/usr/bin/onvdl
BUILD Run test cases for P5
(cd Test; make XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> VCS=git)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test'>
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -lib ../Utilities/lib/saxon9he.jar:../Utilities/lib/jing.jar -Dtrang=../Utilities/lib/trang.jar -DdefaultSource=`pwd`/../p5subset.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> -f antruntest.xml -Doutputname=testbare -Dtestfile=testbare.xml -DoddFile=testbare.odd validateodd compileodd dtd rng validaterng cleanup
Buildfile: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml>
validateodd:
[echo] Validate testbare.odd as ODD
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbare.odd> to /dev/null
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/p5odds.message.isosch.xsl>
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/../p5subset.xml>
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbare.odd> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbare.odd.processed>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
dtd:
[echo] XSLT generate DTD testbare.dtd
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbare.odd.processed> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbare.dtd>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/dtd/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testbare.rng
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbare.odd.processed> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbare.rng>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
validaterng:
[echo] Validate testbare.xml against RELAXNG testbare.rng
cleanup:
[delete] Deleting: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbare.odd.processed>
BUILD SUCCESSFUL
Total time: 17 seconds
Check file using DOCTYPE in instance
xmllint --noout --valid testbare.xml
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -lib ../Utilities/lib/saxon9he.jar:../Utilities/lib/jing.jar -Dtrang=../Utilities/lib/trang.jar -DdefaultSource=`pwd`/../p5subset.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> -f antruntest.xml -Doutputname=testbasic -Dtestfile=testbasic.xml -DoddFile=testbasic.odd validateodd compileodd rng validaterng isoschematron validateschematron cleanup
Buildfile: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml>
validateodd:
[echo] Validate testbasic.odd as ODD
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.odd> to /dev/null
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/p5odds.message.isosch.xsl>
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/../p5subset.xml>
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.odd> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.odd.processed>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testbasic.rng
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.odd.processed> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.rng>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
validaterng:
[echo] Validate testbasic.xml against RELAXNG testbasic.rng
isoschematron:
[echo] XSLT generate ISO schematron testbasic.isosch from compiled ODD
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.odd.processed> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.isosch>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/extract-isosch.xsl
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.isosch> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.xsl>
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Utilities/iso_schematron_message_xslt2.xsl>
validateschematron:
[echo] Validate using Schematron
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.xml> to /dev/null
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.xsl>
cleanup:
[delete] Deleting: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.odd.processed>
BUILD SUCCESSFUL
Total time: 21 seconds
java -jar ../Utilities/lib/trang.jar -o disable-abstract-elements testbasic.rng testbasic.xsd
test -f xml.xsd && mv xml.xsd testbasic_xml.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+;s+ns1.xsd+testbasic_ns1.xsd+;s+examples.xsd+testbasic_examples.xsd+" testbasic.xsd
test -f examples.xsd && mv examples.xsd testbasic_examples.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+;s+ns1.xsd+testbasic_ns1.xsd+" testbasic_examples.xsd && perl -p -i -e "s/examples.xsd/testbasic_examples.xsd/" testbasic.xsd
make[1]: [testbasic.xsd] Error 1 (ignored)
test -f dcr.xsd && mv dcr.xsd testbasic_dcr.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+;s+ns1.xsd+testbasic_ns1.xsd+;s+examples.xsd+testbasic_examples.xsd+" testbasic_dcr.xsd && perl -p -i -e "s/dcr.xsd/testbasic_dcr.xsd/" testbasic.xsd
test -f spec.xsd && mv spec.xsd testbasic_spec.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+;s+ns1.xsd+testbasic_ns1.xsd+;s+examples.xsd+testbasic_examples.xsd+" testbasic_spec.xsd && perl -p -i -e "s/spec.xsd/testbasic_spec.xsd/" testbasic.xsd
make[1]: [testbasic.xsd] Error 1 (ignored)
test -f ns1.xsd && mv ns1.xsd testbasic_ns1.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+" testbasic_ns1.xsd && perl -p -i -e "s/ns1.xsd/testbasic_ns1.xsd/" testbasic.xsd
Validate XSD using Jing ...
java -jar ../Utilities/lib/jing.jar testbasic.xsd testbasic.xml
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -lib ../Utilities/lib/saxon9he.jar:../Utilities/lib/jing.jar -Dtrang=../Utilities/lib/trang.jar -DdefaultSource=`pwd`/../p5subset.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> -f antruntest.xml -Doutputname=testall -Dtestfile=testall.xml -DoddFile=testall.odd validateodd compileodd rng validaterng isoschematron validateschematron cleanup
Buildfile: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml>
validateodd:
[echo] Validate testall.odd as ODD
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.odd> to /dev/null
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/p5odds.message.isosch.xsl>
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/../p5subset.xml>
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.odd> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.odd.processed>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testall.rng
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.odd.processed> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.rng>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
validaterng:
[echo] Validate testall.xml against RELAXNG testall.rng
isoschematron:
[echo] XSLT generate ISO schematron testall.isosch from compiled ODD
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.odd.processed> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.isosch>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/extract-isosch.xsl
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.isosch> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.xsl>
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Utilities/iso_schematron_message_xslt2.xsl>
validateschematron:
[echo] Validate using Schematron
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.xml> to /dev/null
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.xsl>
[xslt]
[xslt] The element dimensions may appear once only
[xslt] (count(tei:width)> 1)
cleanup:
[delete] Deleting: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.odd.processed>
BUILD SUCCESSFUL
Total time: 23 seconds
java -jar ../Utilities/lib/trang.jar -o disable-abstract-elements testall.rng testall.xsd
test -f xml.xsd && mv xml.xsd testall_xml.xsd && perl -p -i -e "s+xml.xsd+testall_xml.xsd+;s+ns1.xsd+testall_ns1.xsd+;s+examples.xsd+testall_examples.xsd+" testall.xsd
test -f examples.xsd && mv examples.xsd testall_examples.xsd && perl -p -i -e "s+xml.xsd+testall_xml.xsd+;s+ns1.xsd+testall_ns1.xsd+" testall_examples.xsd && perl -p -i -e "s/examples.xsd/testall_examples.xsd/" testall.xsd
test -f dcr.xsd && mv dcr.xsd testall_dcr.xsd && perl -p -i -e "s+xml.xsd+testall_xml.xsd+;s+ns1.xsd+testall_ns1.xsd+;s+examples.xsd+testall_examples.xsd+" testall_dcr.xsd && perl -p -i -e "s/dcr.xsd/testall_dcr.xsd/" testall.xsd
test -f spec.xsd && mv spec.xsd testall_spec.xsd && perl -p -i -e "s+xml.xsd+testall_xml.xsd+;s+ns1.xsd+testall_ns1.xsd+;s+examples.xsd+testall_examples.xsd+" testall_spec.xsd && perl -p -i -e "s/spec.xsd/testall_spec.xsd/" testall.xsd
make[1]: [testall.xsd] Error 1 (ignored)
test -f ns1.xsd && mv ns1.xsd testall_ns1.xsd && perl -p -i -e "s+xml.xsd+testall_xml.xsd+" testall_ns1.xsd && perl -p -i -e "s/ns1.xsd/testall_ns1.xsd/" testall.xsd
make[1]: [testall.xsd] Error 1 (ignored)
Validate XSD using Jing ...
java -jar ../Utilities/lib/jing.jar testall.xsd testall.xml
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testall.xsd>:15314:21: error: http://www.w3.org/TR/xml-schema-1#cos-nonambig?"http://www.tei-c.org/ns/1.0":note&"http://www.tei-c.org/ns/1.0":note
make[1]: *** [testall.xsd] Error 1
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test'>
make: *** [test] Error 2
Build step 'Execute shell' marked build as failure