8 Jan
2016
8 Jan
'16
3:49 p.m.
See <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/2733/changes>
Changes:
[philomousos] This commit resets the master branch to its state as of v2.9.1.
[lou] Update PH-PrimarySources.xml
[lou] last pass through brett's tickets
[lou.burnard] rerun of pure odd scripts
[lou.burnard] Remove redundant files
[lou.burnard] Utilities should also check for dataSpec
[lou.burnard] add two missing dataspecs
[lou.burnard] re-apply documentation for datatypes
[lou.burnard] embarasssing typos
[lou.burnard] make valList a member of model.contentPart
[lou.burnard] erroneous example
[lou.burnard] correcting examples
[lou.burnard] correct example
[lou.burnard] make dtd tests use doctored subset
[lou.burnard] simplify content model to avoid dtd problem
[lou.burnard] fix content model
[lou.burnard] update expected results from detest
[lou.burnard] add draft spec for anyxml element
[lou.burnard] add test alien files
[philomousos] Made certainty valList closed.
------------------------------------------
Started by an SCM change
Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/TEIC/TEI.git # timeout=10
Fetching upstream changes from https://github.com/TEIC/TEI.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://github.com/TEIC/TEI.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10
Checking out Revision 0392749931ba55966509aba8ec171123f6b32bf2 (refs/remotes/origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0392749931ba55966509aba8ec171123f6b32bf2
> git rev-list 393e06e6b19996f786c4726943884e830e5a6ae1 # timeout=10
[workspace] $ /bin/bash -xe /tmp/hudson6946311737836246759.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 19 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: 33 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'][2]</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 using ../p5subsetDoctored.xml (first pass)
[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
[echo] XSLT generate DTD testbare.dtd using ../p5subsetDoctored.xml (second pass)
[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: 26 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
[runjing] <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/testbasic.rng>:76:16: error: conflicting ID-types for attribute "id" from namespace "http://www.w3.org/XML/1998/namespace" of element "Menu" from namespace "http://www.oucs.ox.ac.uk/ns"
BUILD FAILED
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test/ws/P5/Test/antruntest.xml>:152: Validation failed, messages should have been provided.
Total time: 26 seconds
make[1]: *** [testbasic.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
ERROR: Unable to send to address: lou@psammead.(none)
javax.mail.internet.AddressException: Domain ends with dot in string ``lou@psammead.''
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1277)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1091)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:633)
at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:111)
at hudson.tasks.Mailer.stringToAddress(Mailer.java:206)
at jenkins.plugins.mailer.tasks.MimeMessageBuilder.toNormalizedAddress(MimeMessageBuilder.java:262)
at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:141)
at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:133)
at hudson.tasks.MailSender.createEmptyMail(MailSender.java:388)
at hudson.tasks.MailSender.createFailureMail(MailSender.java:262)
at hudson.tasks.MailSender.createMail(MailSender.java:180)
at hudson.tasks.MailSender.run(MailSender.java:109)
at hudson.tasks.Mailer.perform(Mailer.java:145)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
at hudson.model.Run.execute(Run.java:1763)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)