See http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/2660/changes
Changes:
[martindholmes] Reversing original change to content model in s.xml from macro.phraseSeq
------------------------------------------
[...truncated 357 lines...]
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testp4compat.odd.pr... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testp4compat.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 testp4compat.xml against RELAXNG testp4compat.rng
isoschematron:
[echo] XSLT generate ISO schematron testp4compat.isosch from compiled ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testp4compat.odd.pr... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testp4compat.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/testp4compat.isosch to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testp4compat.xsl
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Utilities/iso_schematron...
validateschematron:
[echo] Validate using Schematron
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testp4compat.xml to /dev/null
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testp4compat.xsl
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testp4compat.odd.pr...
BUILD SUCCESSFUL
Total time: 18 seconds
java -jar ../Utilities/lib/trang.jar -o disable-abstract-elements testp4compat.rng testp4compat.xsd
test -f xml.xsd && mv xml.xsd testp4compat_xml.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+;s+ns1.xsd+testp4compat_ns1.xsd+;s+teix.xsd+testp4compat_teix.xsd+" testp4compat.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
test -f teix.xsd && mv teix.xsd testp4compat_teix.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+;s+ns1.xsd+testp4compat_ns1.xsd+" testp4compat_teix.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
test -f dcr.xsd && mv dcr.xsd testp4compat_dcr.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+;s+ns1.xsd+testp4compat_ns1.xsd+;s+teix.xsd+testp4compat_teix.xsd+" testp4compat_dcr.xsd && perl -p -i -e "s/dcr.xsd/testp4compat_dcr.xsd/" testp4compat.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
test -f spec.xsd && mv spec.xsd testp4compat_spec.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+;s+ns1.xsd+testp4compat_ns1.xsd+;s+teix.xsd+testp4compat_teix.xsd+" testp4compat_spec.xsd && perl -p -i -e "s/spec.xsd/testp4compat_spec.xsd/" testp4compat.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
test -f ns1.xsd && mv ns1.xsd testp4compat_ns1.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+" testp4compat_ns1.xsd && perl -p -i -e "s/ns1.xsd/testp4compat_ns1.xsd/" testp4compat.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
Validate XSD using Jing ...
java -jar ../Utilities/lib/jing.jar testp4compat.xsd testp4compat.xml
BUILD: Test schema from (special) testplace-kml.odd
xmllint --xinclude testplace-kml.odd > xi_testplace-kml.odd
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/las... -f antruntest.xml -Dtestfile=testplace-kml.xml -DoddFile=xi_testplace-kml.odd -Doutputname=testplace-kml validateodd compileodd rng validaterng cleanup
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml
validateodd:
[echo] Validate xi_testplace-kml.odd as ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/xi_testplace-kml.od... to /dev/null
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/p5odds.message.isosch.xs...
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/xi_testplace-kml.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testplace-kml.odd.p...
[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 testplace-kml.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testplace-kml.odd.p... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testplace-kml.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 testplace-kml.xml against RELAXNG testplace-kml.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testplace-kml.odd.p...
BUILD SUCCESSFUL
Total time: 18 seconds
java -jar ../Utilities/lib/trang.jar testplace-kml.rng testplace-kml.rnc
xmllint --noent --dropdtd testplace-kml.xml | rnv testplace-kml.rnc
rm xi_testplace-kml.odd
echo check that TEI web site is up and responding
check that TEI web site is up and responding
curl -s --head http://www.tei-c.org/Vault/P5/1.5.0/xml/tei/odd/p5subset.xml
HTTP/1.1 200 OK
Date: Sat, 24 Oct 2015 14:14:21 GMT
Server: Apache
Last-Modified: Mon, 09 Nov 2009 09:06:14 GMT
ETag: "15a2e26-2f5089-477ec81696d80"
Accept-Ranges: bytes
Content-Length: 3100809
X-Powered-By: PleskLin
Content-Type: text/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/las... -f antruntest.xml -DoddFile=testmeta2010.odd -Dtestfile=testmeta2010.xml validateodd
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml
validateodd:
[echo] Validate testmeta2010.odd as ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010.odd to /dev/null
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/p5odds.message.isosch.xs...
BUILD SUCCESSFUL
Total time: 5 seconds
for j in `grep "http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/las... -f antruntest.xml -DoddFile=testmeta2010.odd -Dtestfile=testmeta2010.xml -Doutputname=$j -DautoGlobal=true -Dschema=$j compileodd rng validaterng cleanup; \
done
found schemaSpec testmeta2010_old1 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml
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/testmeta2010.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old1.o...
[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 testmeta2010_old1.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old1.o... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old1.r...
[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 testmeta2010.xml against RELAXNG testmeta2010_old1.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old1.o...
BUILD SUCCESSFUL
Total time: 14 seconds
found schemaSpec testmeta2010_old2 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml
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/testmeta2010.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old2.o...
[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 testmeta2010_old2.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old2.o... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old2.r...
[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 testmeta2010.xml against RELAXNG testmeta2010_old2.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old2.o...
BUILD SUCCESSFUL
Total time: 15 seconds
found schemaSpec testmeta2010_old3 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml
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/testmeta2010.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old3.o...
[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 testmeta2010_old3.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old3.o... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old3.r...
[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 testmeta2010.xml against RELAXNG testmeta2010_old3.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_old3.o...
BUILD SUCCESSFUL
Total time: 15 seconds
for j in `grep "http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/../../../Stylesheets/las... -f antruntest.xml -DoddFile=testmeta2010.odd -Dtestfile=testmeta2010.xml -Doutputname=$j -Dschema=$j compileodd rng validaterng cleanup; \
done
found schemaSpec testmeta2010_new3 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml
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/testmeta2010.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_new3.o...
[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 testmeta2010_new3.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_new3.o... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_new3.r...
[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 testmeta2010.xml against RELAXNG testmeta2010_new3.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testmeta2010_new3.o...
BUILD SUCCESSFUL
Total time: 13 seconds
BUILD: Testing files which demonstrate user extensions
xmllint --noout --valid extns.xml
xmllint --noout --valid extns2.xml
BUILD: Testing files which exercise inclusion of fragments
java -jar ../Utilities/lib/jing.jar -t -c frag.rnc testfrag.xml
Elapsed time 1243+298=1541 milliseconds
rnv frag.rnc testfrag.xml
testfrag.xml
BUILD: Test file with deliberate mistakes
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/las... -f antruntest.xml -Doutputname=detest -DoddFile=detest.odd compileodd rng isoschematron cleanup
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml
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/detest.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/detest.odd.processe...
[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 detest.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/detest.odd.processe... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/detest.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
isoschematron:
[echo] XSLT generate ISO schematron detest.isosch from compiled ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/detest.odd.processe... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/detest.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/detest.isosch to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/detest.xsl
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Utilities/iso_schematron...
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/detest.odd.processe...
BUILD SUCCESSFUL
Total time: 21 seconds
java -jar ../Utilities/lib/trang.jar detest.rng detest.rnc
Validate ODD file using Schematron
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/las... -f antruntest.xml -Doutputname=detest -DoddFile=detest.odd validateodd > detest1.log 2>&1
Validate ODD file using RELAX NG schema
rnv detest.rnc detest.xml > detest2.log 2>&1
make[1]: [detest] Error 1 (ignored)
Validate XML file using Schematron
java -Xmx752m -jar ../Utilities/lib/saxon9he.jar -ext:on detest.xml detest.xsl > detest3.log 2>&1
grep "\[xslt\]" detest1.log | sed 's/Processing.*detest.odd//' | sed 's/Loading.*message.isosch.xsl//' > detest.log
sed 's/.*detest.xml:/detest.xml:/' detest2.log >> detest.log
sed 's/.*detest.xml:/detest.xml:/' detest3.log >> detest.log
diff detest.log expected-results/detest.log
42a43,45
detest.xml:100:5: error: element http://www.tei-c.org/ns/1.0^s not allowed
required:
after
make[1]: *** [detest] 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