See http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/3007/changes
Changes:
[lou.burnard] another typo
------------------------------------------
[...truncated 509 lines...]
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-dev/ws/P5/../../../Stylesheets... -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-dev/ws/P5/Test/antruntest.xml
validateodd:
[echo] Validate xi_testplace-kml.odd as ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/xi_testplace-km... to /dev/null
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...
[xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1264: Warning! The child axis starting at an attribute node will never select anything
[xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1283: Warning! The child axis starting at an attribute node will never select anything
[xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1302: Warning! The child axis starting at an attribute node will never select anything
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-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/xi_testplace-km... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplace-kml.o...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testplace-kml.o... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplace-kml.r...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testplace-kml.o...
BUILD SUCCESSFUL
Total time: 15 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: Fri, 28 Oct 2016 18:43:59 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-dev/ws/P5/../../../Stylesheets... -f antruntest.xml -DoddFile=testmeta2010.odd -Dtestfile=testmeta2010.xml validateodd
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml
validateodd:
[echo] Validate testmeta2010.odd as ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to /dev/null
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...
[xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1264: Warning! The child axis starting at an attribute node will never select anything
[xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1283: Warning! The child axis starting at an attribute node will never select anything
[xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1302: Warning! The child axis starting at an attribute node will never select anything
BUILD SUCCESSFUL
Total time: 4 seconds
for j in `grep "http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheets... -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-dev/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-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testmeta2010_ol... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testmeta2010_ol...
BUILD SUCCESSFUL
Total time: 12 seconds
found schemaSpec testmeta2010_old2 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/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-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testmeta2010_ol... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testmeta2010_ol...
BUILD SUCCESSFUL
Total time: 11 seconds
found schemaSpec testmeta2010_old3 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/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-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testmeta2010_ol... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testmeta2010_ol...
BUILD SUCCESSFUL
Total time: 12 seconds
for j in `grep "http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheets... -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-dev/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-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ne...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testmeta2010_ne... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ne...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/testmeta2010_ne...
BUILD SUCCESSFUL
Total time: 10 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 1318+159=1477 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-dev/ws/P5/../../../Stylesheets... -f antruntest.xml -Doutputname=detest -DoddFile=detest.odd compileodd rng isoschematron cleanup
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/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-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.odd.proc...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/detest.odd.proc... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.rng
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/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-dev/ws/P5/Test/detest.odd.proc... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.isosch
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/extract-isosch.xsl
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.isosch to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.xsl
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Utilities/iso_schema...
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.odd.proc...
BUILD SUCCESSFUL
Total time: 15 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-dev/ws/P5/../../../Stylesheets... -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
3,5d2
< [xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1264: Warning! The child axis starting at an attribute node will never select anything
< [xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1283: Warning! The child axis starting at an attribute node will never select anything
< [xslt] http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...:1302: Warning! The child axis starting at an attribute node will never select anything
112,141d108
< Warning: on line 1556 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1575 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1594 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1613 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1632 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1651 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1670 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1689 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1708 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1727 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1746 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1765 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1784 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1803 of detest.xsl:
< The child axis starting at an attribute node will never select anything
< Warning: on line 1822 of detest.xsl:
< The child axis starting at an attribute node will never select anything
make[1]: *** [detest] Error 1
make[1]: Leaving directory `http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test'
make: *** [test] Error 2
Build step 'Execute shell' marked build as failure