on jenkins.plone.org collective.xmltestreport fails

"Jens W. Klein" <jens-/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Organization Klein & Partner KG
Message-ID <[email protected]>
Looks like test-setup is a never ending story. I'am a bit puzzled that 
we count so much on testing and jenkins and all the setup is so fragile.

http://jenkins.plone.org/job/plone-5.0-python-2.7/2593/console

collective.xmltestreport fails. We may need tests for it ;)

https://github.com/collective/collective.xmltestreport/tree/master/collective/xmltestreport 
-> test free

Traceback (most recent call last):
   File "/home/jenkins/workspace/plone-5.0-python-2.7/bin/jenkins-test", 
line 491, in <module>
     '--test-path', 
'/home/jenkins/.buildout/eggs/zope.globalrequest-1.0-py2.7.egg',
   File 
"/home/jenkins/.buildout/eggs/collective.xmltestreport-1.3.1-py2.7.egg/collective/xmltestreport/runner.py", 
line 60, in run
     failed = run_internal(defaults, args, script_parts=script_parts)
   File 
"/home/jenkins/.buildout/eggs/collective.xmltestreport-1.3.1-py2.7.egg/collective/xmltestreport/runner.py", 
line 77, in run_internal
     runner.options.output.writeXMLReports()
   File 
"/home/jenkins/.buildout/eggs/collective.xmltestreport-1.3.1-py2.7.egg/collective/xmltestreport/formatter.py", 
line 284, in writeXMLReports
     outputFile.write(prettyXML(testSuiteNode))
   File 
"/home/jenkins/.buildout/eggs/collective.xmltestreport-1.3.1-py2.7.egg/collective/xmltestreport/utils.py", 
line 42, in prettyXML
     return ElementTree.tostring(tree)
   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1127, in 
tostring
     ElementTree(element).write(file, encoding, method=method)
   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 821, in write
     serialize(write, self._root, encoding, qnames, namespaces)
   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 940, in 
_serialize_xml
     _serialize_xml(write, e, encoding, qnames, None)
   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 940, in 
_serialize_xml
     _serialize_xml(write, e, encoding, qnames, None)
   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 938, in 
_serialize_xml
     write(_escape_cdata(text, encoding))
   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1074, in 
_escape_cdata
     return text.encode(encoding, "xmlcharrefreplace")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 
12613: ordinal not in range(128)



------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.