-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.3.12: pytest is failing #216
Comments
I'm not sure but it maybe because I'm using relatively fresh + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-xmlsec-1.3.12-4.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-xmlsec-1.3.12-4.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12
plugins: requests-mock-1.9.3, anyio-3.6.1, asyncio-0.19.0, httpx-0.21.0, hypothesis-6.41.0
asyncio: mode=strict
collected 171 items / 1 skipped
tests/test_xmlsec.py . [ 0%]
tests/test_constants.py .... [ 2%]
tests/test_doc_examples.py .FF.F. [ 6%]
tests/test_ds.py .........FE.FE.............FEFEFEFEFEFE...FEFEFEFEFEFE [ 29%]
tests/test_enc.py FEFE.FE.FE..FE..FE............ [ 43%]
tests/test_keys.py ......................................... [ 67%]
tests/test_main.py .....FE.FEFEFEFEFEFE [ 75%]
tests/test_templates.py FE.FE.FEFE.FE...FE.FE.FE.FE.FE.FE..FE.....FE... [ 95%]
tests/test_tree.py FE.FE.FE.FE. [100%]
================================================================================== ERRORS ==================================================================================
__________________________________________________________ ERROR at teardown of TestSignContext.test_register_id ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_register_id>
def test_register_id(self):
ctx = xmlsec.SignatureContext()
> root = self.load_xml("sign_template.xml")
tests/test_ds.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
__________________________________________ ERROR at teardown of TestSignContext.test_register_id_with_namespace_without_attribute __________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_register_id_with_namespace_without_attribute>
def test_register_id_with_namespace_without_attribute(self):
ctx = xmlsec.SignatureContext()
> root = self.load_xml("sign_template.xml")
tests/test_ds.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_case1 ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case1>
def test_sign_case1(self):
"""Should sign a pre-constructed template file using a key from a PEM file."""
> root = self.load_xml("sign1-in.xml")
tests/test_ds.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_case2 ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case2>
def test_sign_case2(self):
"""Should sign a dynamicaly constructed template file using a key from a PEM file."""
> root = self.load_xml("sign2-in.xml")
tests/test_ds.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
[..]
_____________________________________________________________ TestTemplates.test_x509_issuer_serial_add_issuer _____________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_x509_issuer_serial_add_issuer>
def test_x509_issuer_serial_add_issuer(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________________________________ TestTree.test_add_ids ___________________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_add_ids>
def test_add_ids(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:40:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
_________________________________________________________________________ TestTree.test_find_child _________________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_child>
def test_find_child(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:9:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
_________________________________________________________________________ TestTree.test_find_node __________________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_node>
def test_find_node(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
________________________________________________________________________ TestTree.test_find_parent _________________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_parent>
def test_find_parent(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_type_stubs.py:10: could not import 'black': No module named 'black'
ERROR tests/test_ds.py::TestSignContext::test_register_id - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_register_id_with_namespace_without_attribute - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign...
ERROR tests/test_ds.py::TestSignContext::test_sign_case1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_case2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_case3 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_case4 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_case5 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_fail - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_3 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_4 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_5 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_fail - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_decrypt1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_decrypt2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_decrypt_key - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_encrypt_binary - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_encrypt_uri - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_encrypt_xml - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'", line 0
ERROR tests/test_main.py::TestCallbacks::test_failed_sign_because_default_callbacks - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", ...
ERROR tests/test_main.py::TestCallbacks::test_sign_data_from_callbacks - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_main.py::TestCallbacks::test_sign_data_not_first_callback - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_main.py::TestCallbacks::test_sign_external_data_default_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xm...
ERROR tests/test_main.py::TestCallbacks::test_sign_external_data_fails_on_read_callback_wrong_returns - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/test...
ERROR tests/test_main.py::TestCallbacks::test_sign_external_data_no_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", ...
ERROR tests/test_main.py::TestCallbacks::test_sign_external_data_no_matching_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/do...
ERROR tests/test_templates.py::TestTemplates::test_add_encrypted_key - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_key_name - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_key_name_none - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_key_value - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_reference - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_x509_data - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_create - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_encrypt_data_create - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_encrypted_data_ensure_cipher_value - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'"...
ERROR tests/test_templates.py::TestTemplates::test_encrypted_data_ensure_key_info - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", li...
ERROR tests/test_templates.py::TestTemplates::test_ensure_key_info - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_transform_add_c14n_inclusive_namespaces - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc....
ERROR tests/test_templates.py::TestTemplates::test_x509_issuer_serial_add_issuer - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_tree.py::TestTree::test_add_ids - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
ERROR tests/test_tree.py::TestTree::test_find_child - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
ERROR tests/test_tree.py::TestTree::test_find_node - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
ERROR tests/test_tree.py::TestTree::test_find_parent - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_doc_examples.py::test_doc_example[encrypt.py] - File "b'enc1-doc.xml'", line 0
FAILED tests/test_doc_examples.py::test_doc_example[sign.py] - File "b'sign1-tmpl.xml'", line 0
FAILED tests/test_doc_examples.py::test_doc_example[verify.py] - File "b'sign1-res.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_register_id - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_register_id_with_namespace_without_attribute - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sig...
FAILED tests/test_ds.py::TestSignContext::test_sign_case1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_case2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_case3 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_case4 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_case5 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_fail - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_3 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_4 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_5 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_fail - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_decrypt1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_decrypt2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_decrypt_key - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_encrypt_binary - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_encrypt_uri - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_encrypt_xml - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'", line 0
FAILED tests/test_main.py::TestCallbacks::test_failed_sign_because_default_callbacks - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'",...
FAILED tests/test_main.py::TestCallbacks::test_sign_data_from_callbacks - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_main.py::TestCallbacks::test_sign_data_not_first_callback - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_main.py::TestCallbacks::test_sign_external_data_default_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.x...
FAILED tests/test_main.py::TestCallbacks::test_sign_external_data_fails_on_read_callback_wrong_returns - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tes...
FAILED tests/test_main.py::TestCallbacks::test_sign_external_data_no_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'",...
FAILED tests/test_main.py::TestCallbacks::test_sign_external_data_no_matching_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/d...
FAILED tests/test_templates.py::TestTemplates::test_add_encrypted_key - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_key_name - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_key_name_none - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_key_value - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_reference - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_x509_data - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_create - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_encrypt_data_create - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_encrypted_data_ensure_cipher_value - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'...
FAILED tests/test_templates.py::TestTemplates::test_encrypted_data_ensure_key_info - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", l...
FAILED tests/test_templates.py::TestTemplates::test_ensure_key_info - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_transform_add_c14n_inclusive_namespaces - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc...
FAILED tests/test_templates.py::TestTemplates::test_x509_issuer_serial_add_issuer - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", li...
FAILED tests/test_tree.py::TestTree::test_add_ids - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_tree.py::TestTree::test_find_child - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_tree.py::TestTree::test_find_node - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_tree.py::TestTree::test_find_parent - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
=========================================================== 47 failed, 124 passed, 1 skipped, 44 errors in 8.88s =========================================================== |
OK .. one sec 😄 |
With all master commits: Source: %{VCS}/archive/%{version}/%{name}-%{version}.tar.gz
Patch: %{VCS}/commit/cf38b52c.patch#/%{name}-exclude-lxml-4.7-because-the-wheels-are-missing-the-.patch
Patch: %{VCS}/commit/9acc1538.patch#/%{name}-remove-pkgconfig-as-it-s-only-a-build-system-require.patch
Patch: %{VCS}/commit/154c51df.patch#/%{name}-use-build-to-build-wheels.patch
Patch: %{VCS}/commit/a65be810.patch#/%{name}-Switch-on-modern-headers-lxml.patch
Patch: %{VCS}/commit/bf6984a5.patch#/%{name}-setup.py-Fix-typo-in-PYXMLSEC_LIBXSLT_VERSION.patch
Patch: %{VCS}/commit/5c6bbdb8.patch#/%{name}-renew-sources-for-source-dists.patch
Patch: %{VCS}/commit/811c5cca.patch#/%{name}-remove-libxml2-pin-in-manylinux2010-sdist-jobs.patch
Patch: %{VCS}/commit/1858a467.patch#/%{name}-bump-github-actions-versions.patch
Patch: %{VCS}/commit/8393c7a9.patch#/%{name}-workaround-for-https-github.com-actions-runner-issue.patch
Patch: %{VCS}/commit/8551a4f4.patch#/%{name}-bump-gcc-5-symlink-in-linuxbrew-job.patch
Patch: %{VCS}/commit/3ebbed8f.patch#/%{name}-bump-python-3.9-to-latest-patch-in-appveyor-ci.patch
Patch: %{VCS}/commit/bc30efd4.patch#/%{name}-Resolve-key-loading-issue-on-big-endian-systems.patch
Patch: %{VCS}/commit/b04a7628.patch#/%{name}-xmlsec-workaround-for-gh-mehcode-python-xmlsec-84.patch
Patch: %{VCS}/commit/ceaea9c9.patch#/%{name}-regenerate-stubs-amend-according-to-flake8-pyi-ensur.patch
Patch: %{VCS}/commit/7d139b39.patch#/%{name}-fix-unwanted-replacement-with-sed.patch
Patch: %{VCS}/commit/d5f53064.patch#/%{name}-drop-unused-imports-in-stub-generation-test.patch
Patch: %{VCS}/commit/ca566bbf.patch#/%{name}-mark-constants-with-no-href-with-special-type-in-stu.patch
Patch: %{VCS}/commit/20be5766.patch#/%{name}-add-explicit-export-for-constants-module.patch
Patch: %{VCS}/commit/e8ec6535.patch#/%{name}-skip-stub-generation-test-on-windows.patch
Patch: %{VCS}/commit/40620366.patch#/%{name}-introduce-pre-commit.patch
Patch: %{VCS}/commit/e2a369c9.patch#/%{name}-fix-libxml2-libxslt-version-parsing-in-setup-script.patch
Patch: %{VCS}/commit/370b250a.patch#/%{name}-use-python-3.9-in-rtd-docs-builds.patch Now is way better but still I see 3 units failing + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-xmlsec-1.3.12-4.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-xmlsec-1.3.12-4.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12
plugins: hypothesis-6.41.0
collected 171 items / 1 skipped
tests/test_xmlsec.py . [ 0%]
tests/test_constants.py .... [ 2%]
tests/test_doc_examples.py .FF.F. [ 6%]
tests/test_ds.py ........................................ [ 29%]
tests/test_enc.py ........................ [ 43%]
tests/test_keys.py ......................................... [ 67%]
tests/test_main.py ............. [ 75%]
tests/test_templates.py .................................. [ 95%]
tests/test_tree.py ........ [100%]
================================================================================= FAILURES =================================================================================
_______________________________________________________________________ test_doc_example[encrypt.py] _______________________________________________________________________
example = PosixPath('/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/examples/encrypt.py')
@pytest.mark.parametrize('example', examples, ids=lambda p: p.name)
def test_doc_example(example):
"""
Verify example scripts included in the docs are up to date.
Execute each script in :file:`docs/source/examples`,
not raising any errors is good enough.
"""
with cd(example.parent):
> runpy.run_path(str(example))
tests/test_doc_examples.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/runpy.py:265: in run_path
return _run_module_code(code, init_globals, run_name,
/usr/lib64/python3.8/runpy.py:97: in _run_module_code
_run_code(code, mod_globals, init_globals,
/usr/lib64/python3.8/runpy.py:87: in _run_code
exec(code, run_globals)
doc/source/examples/encrypt.py:8: in <module>
template = etree.parse('enc1-doc.xml').getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'enc1-doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='enc1-doc.xml'; xml error: 0: NULL
________________________________________________________________________ test_doc_example[sign.py] _________________________________________________________________________
example = PosixPath('/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/examples/sign.py')
@pytest.mark.parametrize('example', examples, ids=lambda p: p.name)
def test_doc_example(example):
"""
Verify example scripts included in the docs are up to date.
Execute each script in :file:`docs/source/examples`,
not raising any errors is good enough.
"""
with cd(example.parent):
> runpy.run_path(str(example))
tests/test_doc_examples.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/runpy.py:265: in run_path
return _run_module_code(code, init_globals, run_name,
/usr/lib64/python3.8/runpy.py:97: in _run_module_code
_run_code(code, mod_globals, init_globals,
/usr/lib64/python3.8/runpy.py:87: in _run_code
exec(code, run_globals)
doc/source/examples/sign.py:5: in <module>
template = etree.parse('sign1-tmpl.xml').getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'sign1-tmpl.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='sign1-tmpl.xml'; xml error: 0: NULL
_______________________________________________________________________ test_doc_example[verify.py] ________________________________________________________________________
example = PosixPath('/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/examples/verify.py')
@pytest.mark.parametrize('example', examples, ids=lambda p: p.name)
def test_doc_example(example):
"""
Verify example scripts included in the docs are up to date.
Execute each script in :file:`docs/source/examples`,
not raising any errors is good enough.
"""
with cd(example.parent):
> runpy.run_path(str(example))
tests/test_doc_examples.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/runpy.py:265: in run_path
return _run_module_code(code, init_globals, run_name,
/usr/lib64/python3.8/runpy.py:97: in _run_module_code
_run_code(code, mod_globals, init_globals,
/usr/lib64/python3.8/runpy.py:87: in _run_code
exec(code, run_globals)
doc/source/examples/verify.py:5: in <module>
template = etree.parse('sign1-res.xml').getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'sign1-res.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='sign1-res.xml'; xml error: 0: NULL
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_type_stubs.py:9: could not import 'black': No module named 'black'
FAILED tests/test_doc_examples.py::test_doc_example[encrypt.py] - File "b'enc1-doc.xml'", line 0
FAILED tests/test_doc_examples.py::test_doc_example[sign.py] - File "b'sign1-tmpl.xml'", line 0
FAILED tests/test_doc_examples.py::test_doc_example[verify.py] - File "b'sign1-res.xml'", line 0
================================================================= 3 failed, 168 passed, 1 skipped in 9.42s ================================================================= |
So in my spm sepc file I'll keep those there units still deselected 😄 %check
%pytest %{!?with_failing_tests: \
--deselect tests/test_doc_examples.py::test_doc_example[encrypt.py] \
--deselect tests/test_doc_examples.py::test_doc_example[sign.py] \
--deselect tests/test_doc_examples.py::test_doc_example[verify.py] \
} I found another issue related to documentation. + /usr/bin/sphinx-build -n -T -b man doc/source build/sphinx/man
Running Sphinx v5.1.1
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 347, in eval_config_file
exec(code, namespace)
File "/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/conf.py", line 39, in <module>
exclude_patterns: list[str] = []
TypeError: 'type' object is not subscriptable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/cmd/build.py", line 272, in build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
File "/usr/lib/python3.8/site-packages/sphinx/application.py", line 201, in __init__
self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 169, in read
namespace = eval_config_file(filename, tags)
File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 360, in eval_config_file
raise ConfigError(msg % traceback.format_exc()) from exc
sphinx.errors.ConfigError: There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 347, in eval_config_file
exec(code, namespace)
File "/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/conf.py", line 39, in <module>
exclude_patterns: list[str] = []
TypeError: 'type' object is not subscriptable
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 347, in eval_config_file
exec(code, namespace)
File "/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/conf.py", line 39, in <module>
exclude_patterns: list[str] = []
TypeError: 'type' object is not subscriptable |
Forgot about one datail. To be able straight use call it like below: |
@kloczek are you using python 3.8 or less in doc build? |
Yes 3.8.13. |
Ah, I missed a |
Just tested new version ++ cd build
++ ls -d1 lib.linux-x86_64-cpython-38
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/build/lib.linux-x86_64-cpython-38
+ PBR_VERSION=1.3.12
+ PDM_PEP517_SCM_VERSION=1.3.12
+ SETUPTOOLS_SCM_PRETEND_VERSION=1.3.12
+ /usr/bin/sphinx-build -n -T -b man doc/source build/sphinx/man
Running Sphinx v5.1.1
WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English).
making output directory... done
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 8 added, 0 changed, 0 removed
reading sources... [100%] modules/xmlsec
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-xmlsec.3 { install api modules/xmlsec modules/constants modules/template modules/tree examples } /home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/docstring of xmlsec.register_callbacks:1: WARNING: py:class reference target not found: callable
/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/docstring of xmlsec.register_callbacks:1: WARNING: py:class reference target not found: callable
/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/docstring of xmlsec.register_callbacks:1: WARNING: py:class reference target not found: callable
/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/docstring of xmlsec.register_callbacks:1: WARNING: py:class reference target not found: callable
done
build succeeded, 5 warnings. You can peak on fixes that kind of issues in other projects |
And pytest is failing again + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-xmlsec-1.3.12-4.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-xmlsec-1.3.12-4.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12
plugins: hypothesis-6.41.0
collected 171 items / 1 skipped
tests/test_xmlsec.py . [ 0%]
tests/test_constants.py .... [ 2%]
tests/test_doc_examples.py .FF.F. [ 6%]
tests/test_ds.py .........FE.FE.............FEFEFEFEFEFE...FEFEFEFEFEFE [ 29%]
tests/test_enc.py FEFE.FE.FE..FE..FE............ [ 43%]
tests/test_keys.py ......................................... [ 67%]
tests/test_main.py .....FE.FEFEFEFEFEFE [ 75%]
tests/test_templates.py FE.FE.FEFE.FE...FE.FE.FE.FE.FE.FE..FE.....FE... [ 95%]
tests/test_tree.py FE.FE.FE.FE. [100%]
================================================================================== ERRORS ==================================================================================
__________________________________________________________ ERROR at teardown of TestSignContext.test_register_id ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_register_id>
def test_register_id(self):
ctx = xmlsec.SignatureContext()
> root = self.load_xml("sign_template.xml")
tests/test_ds.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
__________________________________________ ERROR at teardown of TestSignContext.test_register_id_with_namespace_without_attribute __________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_register_id_with_namespace_without_attribute>
def test_register_id_with_namespace_without_attribute(self):
ctx = xmlsec.SignatureContext()
> root = self.load_xml("sign_template.xml")
tests/test_ds.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_case1 ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case1>
def test_sign_case1(self):
"""Should sign a pre-constructed template file using a key from a PEM file."""
> root = self.load_xml("sign1-in.xml")
tests/test_ds.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_case2 ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case2>
def test_sign_case2(self):
"""Should sign a dynamicaly constructed template file using a key from a PEM file."""
> root = self.load_xml("sign2-in.xml")
tests/test_ds.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_case3 ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case3>
def test_sign_case3(self):
"""Should sign a file using a dynamicaly created template, key from PEM and an X509 cert."""
> root = self.load_xml("sign3-in.xml")
tests/test_ds.py:114:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_case4 ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case4>
def test_sign_case4(self):
"""Should sign a file using a dynamically created template, key from PEM and an X509 cert with custom ns."""
> root = self.load_xml("sign4-in.xml")
tests/test_ds.py:136:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_case5 ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case5>
def test_sign_case5(self):
"""Should sign a file using a dynamicaly created template, key from PEM file and an X509 certificate."""
> root = self.load_xml("sign5-in.xml")
tests/test_ds.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_fail ____________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_fail>
def test_sign_fail(self):
ctx = xmlsec.SignatureContext()
ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem)
with self.assertRaisesRegex(xmlsec.Error, 'failed to sign'):
> ctx.sign(self.load_xml('sign1-in.xml'))
tests/test_ds.py:75:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
_________________________________________________________ ERROR at teardown of TestSignContext.test_verify_case_1 __________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_1>
def test_verify_case_1(self):
> self.check_verify(1)
tests/test_ds.py:237:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
_________________________________________________________ ERROR at teardown of TestSignContext.test_verify_case_2 __________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_2>
def test_verify_case_2(self):
> self.check_verify(2)
tests/test_ds.py:240:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
_________________________________________________________ ERROR at teardown of TestSignContext.test_verify_case_3 __________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_3>
def test_verify_case_3(self):
> self.check_verify(3)
tests/test_ds.py:243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
_________________________________________________________ ERROR at teardown of TestSignContext.test_verify_case_4 __________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_4>
def test_verify_case_4(self):
> self.check_verify(4)
tests/test_ds.py:246:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
_________________________________________________________ ERROR at teardown of TestSignContext.test_verify_case_5 __________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_5>
def test_verify_case_5(self):
> self.check_verify(5)
tests/test_ds.py:249:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
__________________________________________________________ ERROR at teardown of TestSignContext.test_verify_fail ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_fail>
def test_verify_fail(self):
ctx = xmlsec.SignatureContext()
ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem)
with self.assertRaisesRegex(xmlsec.Error, 'failed to verify'):
> ctx.verify(self.load_xml('sign1-in.xml'))
tests/test_ds.py:234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
_________________________________________________________ ERROR at teardown of TestEncryptionContext.test_decrypt1 _________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_decrypt1>
def test_decrypt1(self):
> self.check_decrypt(1)
tests/test_enc.py:198:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_enc.py:222: in check_decrypt
root = self.load_xml('enc%d-out.xml' % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
_________________________________________________________ ERROR at teardown of TestEncryptionContext.test_decrypt2 _________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_decrypt2>
def test_decrypt2(self):
> self.check_decrypt(2)
tests/test_enc.py:201:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_enc.py:222: in check_decrypt
root = self.load_xml('enc%d-out.xml' % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
_______________________________________________________ ERROR at teardown of TestEncryptionContext.test_decrypt_key ________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_decrypt_key>
def test_decrypt_key(self):
> root = self.load_xml('enc3-out.xml')
tests/test_enc.py:204:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
______________________________________________________ ERROR at teardown of TestEncryptionContext.test_encrypt_binary ______________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_encrypt_binary>
def test_encrypt_binary(self):
> root = self.load_xml('enc2-in.xml')
tests/test_enc.py:111:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
_______________________________________________________ ERROR at teardown of TestEncryptionContext.test_encrypt_uri ________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_encrypt_uri>
def test_encrypt_uri(self):
> root = self.load_xml('enc2-in.xml')
tests/test_enc.py:153:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
_______________________________________________________ ERROR at teardown of TestEncryptionContext.test_encrypt_xml ________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_encrypt_xml>
def test_encrypt_xml(self):
> root = self.load_xml('enc1-in.xml')
tests/test_enc.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
______________________________________________ ERROR at teardown of TestCallbacks.test_failed_sign_because_default_callbacks _______________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_failed_sign_because_default_callbacks>
@skipIf(sys.platform == "win32", "unclear behaviour on windows")
def test_failed_sign_because_default_callbacks(self):
mismatch_calls = 0
def mismatch_cb(filename):
nonlocal mismatch_calls
mismatch_calls += 1
False
# NB: These first two sets of callbacks should never get called,
# because the default callbacks always match beforehand:
self._register_match_callbacks()
self._register_mismatch_callbacks(mismatch_cb)
xmlsec.register_default_callbacks()
self._register_mismatch_callbacks(mismatch_cb)
self._register_mismatch_callbacks(mismatch_cb)
> self._expect_sign_failure()
tests/test_main.py:144:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________________________ ERROR at teardown of TestCallbacks.test_sign_data_from_callbacks _____________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_data_from_callbacks>
def test_sign_data_from_callbacks(self):
self._register_match_callbacks()
> self._verify_external_data_signature()
tests/test_main.py:107:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:90: in _verify_external_data_signature
signature = self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
___________________________________________________ ERROR at teardown of TestCallbacks.test_sign_data_not_first_callback ___________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_data_not_first_callback>
def test_sign_data_not_first_callback(self):
bad_match_calls = 0
def match_cb(filename):
nonlocal bad_match_calls
bad_match_calls += 1
False
for _ in range(2):
self._register_mismatch_callbacks(match_cb)
self._register_match_callbacks()
for _ in range(2):
self._register_mismatch_callbacks()
> self._verify_external_data_signature()
tests/test_main.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:90: in _verify_external_data_signature
signature = self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
____________________________________________ ERROR at teardown of TestCallbacks.test_sign_external_data_default_callbacks_fails ____________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_external_data_default_callbacks_fails>
def test_sign_external_data_default_callbacks_fails(self):
xmlsec.register_default_callbacks()
> self._expect_sign_failure()
tests/test_main.py:99:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________ ERROR at teardown of TestCallbacks.test_sign_external_data_fails_on_read_callback_wrong_returns ______________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_external_data_fails_on_read_callback_wrong_returns>
def test_sign_external_data_fails_on_read_callback_wrong_returns(self):
xmlsec.register_callbacks(
lambda filename: filename == b'cid:123456',
lambda filename: BytesIO(b'<html><head/><body/></html>'),
lambda bio, buf: None,
lambda bio: bio.close(),
)
> self._expect_sign_failure()
tests/test_main.py:160:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
______________________________________________ ERROR at teardown of TestCallbacks.test_sign_external_data_no_callbacks_fails _______________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_external_data_no_callbacks_fails>
def test_sign_external_data_no_callbacks_fails(self):
> self._expect_sign_failure()
tests/test_main.py:95:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________ ERROR at teardown of TestCallbacks.test_sign_external_data_no_matching_callbacks_fails __________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_external_data_no_matching_callbacks_fails>
def test_sign_external_data_no_matching_callbacks_fails(self):
self._register_mismatch_callbacks()
> self._expect_sign_failure()
tests/test_main.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
________________________________________________________ ERROR at teardown of TestTemplates.test_add_encrypted_key _________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_encrypted_key>
def test_add_encrypted_key(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:48:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
___________________________________________________________ ERROR at teardown of TestTemplates.test_add_key_name ___________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_key_name>
def test_add_key_name(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
________________________________________________________ ERROR at teardown of TestTemplates.test_add_key_name_none _________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_key_name_none>
def test_add_key_name_none(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________________ ERROR at teardown of TestTemplates.test_add_key_value ___________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_key_value>
def test_add_key_value(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________________ ERROR at teardown of TestTemplates.test_add_reference ___________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_reference>
def test_add_reference(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________________ ERROR at teardown of TestTemplates.test_add_x509_data ___________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_x509_data>
def test_add_x509_data(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
______________________________________________________________ ERROR at teardown of TestTemplates.test_create ______________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_create>
def test_create(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_______________________________________________________ ERROR at teardown of TestTemplates.test_encrypt_data_create ________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_encrypt_data_create>
def test_encrypt_data_create(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
________________________________________________ ERROR at teardown of TestTemplates.test_encrypted_data_ensure_cipher_value ________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_encrypted_data_ensure_cipher_value>
def test_encrypted_data_ensure_cipher_value(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:178:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________ ERROR at teardown of TestTemplates.test_encrypted_data_ensure_key_info __________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_encrypted_data_ensure_key_info>
def test_encrypted_data_ensure_key_info(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:188:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_________________________________________________________ ERROR at teardown of TestTemplates.test_ensure_key_info __________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_ensure_key_info>
def test_ensure_key_info(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________________ ERROR at teardown of TestTemplates.test_transform_add_c14n_inclusive_namespaces ______________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_transform_add_c14n_inclusive_namespaces>
@unittest.skipIf(not hasattr(consts, 'TransformXslt'), reason='XSLT transformations not enabled')
def test_transform_add_c14n_inclusive_namespaces(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:202:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________ ERROR at teardown of TestTemplates.test_x509_issuer_serial_add_issuer ___________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_x509_issuer_serial_add_issuer>
def test_x509_issuer_serial_add_issuer(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
________________________________________________________________ ERROR at teardown of TestTree.test_add_ids ________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_add_ids>
def test_add_ids(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:40:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
______________________________________________________________ ERROR at teardown of TestTree.test_find_child _______________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_child>
def test_find_child(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:9: |
Second part of the log _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
_______________________________________________________________ ERROR at teardown of TestTree.test_find_node _______________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_node>
def test_find_node(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
______________________________________________________________ ERROR at teardown of TestTree.test_find_parent ______________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_parent>
def test_find_parent(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
================================================================================= FAILURES =================================================================================
_______________________________________________________________________ test_doc_example[encrypt.py] _______________________________________________________________________
example = PosixPath('/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/examples/encrypt.py')
@pytest.mark.parametrize('example', examples, ids=lambda p: p.name)
def test_doc_example(example):
"""
Verify example scripts included in the docs are up to date.
Execute each script in :file:`docs/source/examples`,
not raising any errors is good enough.
"""
with cd(example.parent):
> runpy.run_path(str(example))
tests/test_doc_examples.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/runpy.py:265: in run_path
return _run_module_code(code, init_globals, run_name,
/usr/lib64/python3.8/runpy.py:97: in _run_module_code
_run_code(code, mod_globals, init_globals,
/usr/lib64/python3.8/runpy.py:87: in _run_code
exec(code, run_globals)
doc/source/examples/encrypt.py:8: in <module>
template = etree.parse('enc1-doc.xml').getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'enc1-doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='enc1-doc.xml'; xml error: 0: NULL
________________________________________________________________________ test_doc_example[sign.py] _________________________________________________________________________
example = PosixPath('/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/examples/sign.py')
@pytest.mark.parametrize('example', examples, ids=lambda p: p.name)
def test_doc_example(example):
"""
Verify example scripts included in the docs are up to date.
Execute each script in :file:`docs/source/examples`,
not raising any errors is good enough.
"""
with cd(example.parent):
> runpy.run_path(str(example))
tests/test_doc_examples.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/runpy.py:265: in run_path
return _run_module_code(code, init_globals, run_name,
/usr/lib64/python3.8/runpy.py:97: in _run_module_code
_run_code(code, mod_globals, init_globals,
/usr/lib64/python3.8/runpy.py:87: in _run_code
exec(code, run_globals)
doc/source/examples/sign.py:5: in <module>
template = etree.parse('sign1-tmpl.xml').getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'sign1-tmpl.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='sign1-tmpl.xml'; xml error: 0: NULL
_______________________________________________________________________ test_doc_example[verify.py] ________________________________________________________________________
example = PosixPath('/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/doc/source/examples/verify.py')
@pytest.mark.parametrize('example', examples, ids=lambda p: p.name)
def test_doc_example(example):
"""
Verify example scripts included in the docs are up to date.
Execute each script in :file:`docs/source/examples`,
not raising any errors is good enough.
"""
with cd(example.parent):
> runpy.run_path(str(example))
tests/test_doc_examples.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/runpy.py:265: in run_path
return _run_module_code(code, init_globals, run_name,
/usr/lib64/python3.8/runpy.py:97: in _run_module_code
_run_code(code, mod_globals, init_globals,
/usr/lib64/python3.8/runpy.py:87: in _run_code
exec(code, run_globals)
doc/source/examples/verify.py:5: in <module>
template = etree.parse('sign1-res.xml').getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'sign1-res.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='sign1-res.xml'; xml error: 0: NULL
_____________________________________________________________________ TestSignContext.test_register_id _____________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_register_id>
def test_register_id(self):
ctx = xmlsec.SignatureContext()
> root = self.load_xml("sign_template.xml")
tests/test_ds.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
____________________________________________________ TestSignContext.test_register_id_with_namespace_without_attribute _____________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_register_id_with_namespace_without_attribute>
def test_register_id_with_namespace_without_attribute(self):
ctx = xmlsec.SignatureContext()
> root = self.load_xml("sign_template.xml")
tests/test_ds.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
_____________________________________________________________________ TestSignContext.test_sign_case1 ______________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case1>
def test_sign_case1(self):
"""Should sign a pre-constructed template file using a key from a PEM file."""
> root = self.load_xml("sign1-in.xml")
tests/test_ds.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
_____________________________________________________________________ TestSignContext.test_sign_case2 ______________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case2>
def test_sign_case2(self):
"""Should sign a dynamicaly constructed template file using a key from a PEM file."""
> root = self.load_xml("sign2-in.xml")
tests/test_ds.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'; xml error: 0: NULL
_____________________________________________________________________ TestSignContext.test_sign_case3 ______________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case3>
def test_sign_case3(self):
"""Should sign a file using a dynamicaly created template, key from PEM and an X509 cert."""
> root = self.load_xml("sign3-in.xml")
tests/test_ds.py:114:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'; xml error: 0: NULL
_____________________________________________________________________ TestSignContext.test_sign_case4 ______________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case4>
def test_sign_case4(self):
"""Should sign a file using a dynamically created template, key from PEM and an X509 cert with custom ns."""
> root = self.load_xml("sign4-in.xml")
tests/test_ds.py:136:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'; xml error: 0: NULL
_____________________________________________________________________ TestSignContext.test_sign_case5 ______________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case5>
def test_sign_case5(self):
"""Should sign a file using a dynamicaly created template, key from PEM file and an X509 certificate."""
> root = self.load_xml("sign5-in.xml")
tests/test_ds.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'; xml error: 0: NULL
______________________________________________________________________ TestSignContext.test_sign_fail ______________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_fail>
def test_sign_fail(self):
ctx = xmlsec.SignatureContext()
ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem)
with self.assertRaisesRegex(xmlsec.Error, 'failed to sign'):
> ctx.sign(self.load_xml('sign1-in.xml'))
tests/test_ds.py:75:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
____________________________________________________________________ TestSignContext.test_verify_case_1 ____________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_1>
def test_verify_case_1(self):
> self.check_verify(1)
tests/test_ds.py:237:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'; xml error: 0: NULL
____________________________________________________________________ TestSignContext.test_verify_case_2 ____________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_2>
def test_verify_case_2(self):
> self.check_verify(2)
tests/test_ds.py:240:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'; xml error: 0: NULL
____________________________________________________________________ TestSignContext.test_verify_case_3 ____________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_3>
def test_verify_case_3(self):
> self.check_verify(3)
tests/test_ds.py:243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'; xml error: 0: NULL
____________________________________________________________________ TestSignContext.test_verify_case_4 ____________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_4>
def test_verify_case_4(self):
> self.check_verify(4)
tests/test_ds.py:246:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'; xml error: 0: NULL
____________________________________________________________________ TestSignContext.test_verify_case_5 ____________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_case_5>
def test_verify_case_5(self):
> self.check_verify(5)
tests/test_ds.py:249:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_ds.py:252: in check_verify
root = self.load_xml("sign%d-out.xml" % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'; xml error: 0: NULL
_____________________________________________________________________ TestSignContext.test_verify_fail _____________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_verify_fail>
def test_verify_fail(self):
ctx = xmlsec.SignatureContext()
ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem)
with self.assertRaisesRegex(xmlsec.Error, 'failed to verify'):
> ctx.verify(self.load_xml('sign1-in.xml'))
tests/test_ds.py:234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'; xml error: 0: NULL
___________________________________________________________________ TestEncryptionContext.test_decrypt1 ____________________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_decrypt1>
def test_decrypt1(self):
> self.check_decrypt(1)
tests/test_enc.py:198:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_enc.py:222: in check_decrypt
root = self.load_xml('enc%d-out.xml' % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'; xml error: 0: NULL
___________________________________________________________________ TestEncryptionContext.test_decrypt2 ____________________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_decrypt2>
def test_decrypt2(self):
> self.check_decrypt(2)
tests/test_enc.py:201:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_enc.py:222: in check_decrypt
root = self.load_xml('enc%d-out.xml' % i)
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'; xml error: 0: NULL
__________________________________________________________________ TestEncryptionContext.test_decrypt_key __________________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_decrypt_key>
def test_decrypt_key(self):
> root = self.load_xml('enc3-out.xml')
tests/test_enc.py:204:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'; xml error: 0: NULL
________________________________________________________________ TestEncryptionContext.test_encrypt_binary _________________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_encrypt_binary>
def test_encrypt_binary(self):
> root = self.load_xml('enc2-in.xml')
tests/test_enc.py:111:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
__________________________________________________________________ TestEncryptionContext.test_encrypt_uri __________________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_encrypt_uri>
def test_encrypt_uri(self):
> root = self.load_xml('enc2-in.xml')
tests/test_enc.py:153:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'; xml error: 0: NULL
__________________________________________________________________ TestEncryptionContext.test_encrypt_xml __________________________________________________________________
self = <tests.test_enc.TestEncryptionContext testMethod=test_encrypt_xml>
def test_encrypt_xml(self):
> root = self.load_xml('enc1-in.xml')
tests/test_enc.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'; xml error: 0: NULL
_________________________________________________________ TestCallbacks.test_failed_sign_because_default_callbacks _________________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_failed_sign_because_default_callbacks>
@skipIf(sys.platform == "win32", "unclear behaviour on windows")
def test_failed_sign_because_default_callbacks(self):
mismatch_calls = 0
def mismatch_cb(filename):
nonlocal mismatch_calls
mismatch_calls += 1
False
# NB: These first two sets of callbacks should never get called,
# because the default callbacks always match beforehand:
self._register_match_callbacks()
self._register_mismatch_callbacks(mismatch_cb)
xmlsec.register_default_callbacks()
self._register_mismatch_callbacks(mismatch_cb)
self._register_mismatch_callbacks(mismatch_cb)
> self._expect_sign_failure()
tests/test_main.py:144:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_______________________________________________________________ TestCallbacks.test_sign_data_from_callbacks ________________________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_data_from_callbacks>
def test_sign_data_from_callbacks(self):
self._register_match_callbacks()
> self._verify_external_data_signature()
tests/test_main.py:107:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:90: in _verify_external_data_signature
signature = self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________________________________ TestCallbacks.test_sign_data_not_first_callback ______________________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_data_not_first_callback>
def test_sign_data_not_first_callback(self):
bad_match_calls = 0
def match_cb(filename):
nonlocal bad_match_calls
bad_match_calls += 1
False
for _ in range(2):
self._register_mismatch_callbacks(match_cb)
self._register_match_callbacks()
for _ in range(2):
self._register_mismatch_callbacks()
> self._verify_external_data_signature()
tests/test_main.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:90: in _verify_external_data_signature
signature = self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
______________________________________________________ TestCallbacks.test_sign_external_data_default_callbacks_fails _______________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_external_data_default_callbacks_fails>
def test_sign_external_data_default_callbacks_fails(self):
xmlsec.register_default_callbacks()
> self._expect_sign_failure()
tests/test_main.py:99:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
________________________________________________ TestCallbacks.test_sign_external_data_fails_on_read_callback_wrong_returns ________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_external_data_fails_on_read_callback_wrong_returns>
def test_sign_external_data_fails_on_read_callback_wrong_returns(self):
xmlsec.register_callbacks(
lambda filename: filename == b'cid:123456',
lambda filename: BytesIO(b'<html><head/><body/></html>'),
lambda bio, buf: None,
lambda bio: bio.close(),
)
> self._expect_sign_failure()
tests/test_main.py:160:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_________________________________________________________ TestCallbacks.test_sign_external_data_no_callbacks_fails _________________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_external_data_no_callbacks_fails>
def test_sign_external_data_no_callbacks_fails(self):
> self._expect_sign_failure()
tests/test_main.py:95:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
____________________________________________________ TestCallbacks.test_sign_external_data_no_matching_callbacks_fails _____________________________________________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_external_data_no_matching_callbacks_fails>
def test_sign_external_data_no_matching_callbacks_fails(self):
self._register_mismatch_callbacks()
> self._expect_sign_failure()
tests/test_main.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_main.py:57: in _expect_sign_failure
self._sign_doc()
tests/test_main.py:46: in _sign_doc
root = self.load_xml("doc.xml")
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
___________________________________________________________________ TestTemplates.test_add_encrypted_key ___________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_encrypted_key>
def test_add_encrypted_key(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:48:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________________________________________ TestTemplates.test_add_key_name ______________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_key_name>
def test_add_key_name(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
___________________________________________________________________ TestTemplates.test_add_key_name_none ___________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_key_name_none>
def test_add_key_name_none(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________________________________________ TestTemplates.test_add_key_value _____________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_key_value>
def test_add_key_value(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________________________________________ TestTemplates.test_add_reference _____________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_reference>
def test_add_reference(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________________________________________ TestTemplates.test_add_x509_data _____________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_add_x509_data>
def test_add_x509_data(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
________________________________________________________________________ TestTemplates.test_create _________________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_create>
def test_create(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________________________ TestTemplates.test_encrypt_data_create __________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_encrypt_data_create>
def test_encrypt_data_create(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________________ TestTemplates.test_encrypted_data_ensure_cipher_value ___________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_encrypted_data_ensure_cipher_value>
def test_encrypted_data_ensure_cipher_value(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:178:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
____________________________________________________________ TestTemplates.test_encrypted_data_ensure_key_info _____________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_encrypted_data_ensure_key_info>
def test_encrypted_data_ensure_key_info(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:188:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
____________________________________________________________________ TestTemplates.test_ensure_key_info ____________________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_ensure_key_info>
def test_ensure_key_info(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
________________________________________________________ TestTemplates.test_transform_add_c14n_inclusive_namespaces ________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_transform_add_c14n_inclusive_namespaces>
@unittest.skipIf(not hasattr(consts, 'TransformXslt'), reason='XSLT transformations not enabled')
def test_transform_add_c14n_inclusive_namespaces(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:202:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
_____________________________________________________________ TestTemplates.test_x509_issuer_serial_add_issuer _____________________________________________________________
self = <tests.test_templates.TestTemplates testMethod=test_x509_issuer_serial_add_issuer>
def test_x509_issuer_serial_add_issuer(self):
> root = self.load_xml("doc.xml")
tests/test_templates.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'; xml error: 0: NULL
__________________________________________________________________________ TestTree.test_add_ids ___________________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_add_ids>
def test_add_ids(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:40:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
_________________________________________________________________________ TestTree.test_find_child _________________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_child>
def test_find_child(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:9:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
_________________________________________________________________________ TestTree.test_find_node __________________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_node>
def test_find_node(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
________________________________________________________________________ TestTree.test_find_parent _________________________________________________________________________
self = <tests.test_tree.TestTree testMethod=test_find_parent>
def test_find_parent(self):
> root = self.load_xml("sign_template.xml")
tests/test_tree.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:102: in load_xml
root = etree.parse(self.path(name)).getroot()
src/lxml/etree.pyx:3538: in lxml.etree.parse
???
src/lxml/parser.pxi:1876: in lxml.etree._parseDocument
???
src/lxml/parser.pxi:1902: in lxml.etree._parseDocumentFromURL
???
src/lxml/parser.pxi:1805: in lxml.etree._parseDocFromFile
???
src/lxml/parser.pxi:1177: in lxml.etree._BaseParser._parseDocFromFile
???
src/lxml/parser.pxi:615: in lxml.etree._ParserContext._handleParseResultDoc
???
src/lxml/parser.pxi:725: in lxml.etree._handleParseResult
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
E lxml.etree.XMLSyntaxError: <no detail available>
src/lxml/parser.pxi:665: XMLSyntaxError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
func=xmlSecNoXxeExternalEntityLoader:file=xmlsec.c:line=58:obj=unknown:subj=xmlSecNoXxeExternalEntityLoader:error=5:libxml2 library function failed:illegal external entity='/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'; xml error: 0: NULL
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_type_stubs.py:10: could not import 'black': No module named 'black'
ERROR tests/test_ds.py::TestSignContext::test_register_id - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_register_id_with_namespace_without_attribute - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign...
ERROR tests/test_ds.py::TestSignContext::test_sign_case1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_case2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_case3 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_case4 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_case5 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_sign_fail - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_3 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_4 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_case_5 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'", line 0
ERROR tests/test_ds.py::TestSignContext::test_verify_fail - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_decrypt1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_decrypt2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_decrypt_key - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_encrypt_binary - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_encrypt_uri - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
ERROR tests/test_enc.py::TestEncryptionContext::test_encrypt_xml - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'", line 0
ERROR tests/test_main.py::TestCallbacks::test_failed_sign_because_default_callbacks - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", ...
ERROR tests/test_main.py::TestCallbacks::test_sign_data_from_callbacks - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_main.py::TestCallbacks::test_sign_data_not_first_callback - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_main.py::TestCallbacks::test_sign_external_data_default_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xm...
ERROR tests/test_main.py::TestCallbacks::test_sign_external_data_fails_on_read_callback_wrong_returns - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/test...
ERROR tests/test_main.py::TestCallbacks::test_sign_external_data_no_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", ...
ERROR tests/test_main.py::TestCallbacks::test_sign_external_data_no_matching_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/do...
ERROR tests/test_templates.py::TestTemplates::test_add_encrypted_key - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_key_name - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_key_name_none - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_key_value - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_reference - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_add_x509_data - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_create - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_encrypt_data_create - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_encrypted_data_ensure_cipher_value - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'"...
ERROR tests/test_templates.py::TestTemplates::test_encrypted_data_ensure_key_info - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", li...
ERROR tests/test_templates.py::TestTemplates::test_ensure_key_info - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_templates.py::TestTemplates::test_transform_add_c14n_inclusive_namespaces - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc....
ERROR tests/test_templates.py::TestTemplates::test_x509_issuer_serial_add_issuer - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
ERROR tests/test_tree.py::TestTree::test_add_ids - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
ERROR tests/test_tree.py::TestTree::test_find_child - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
ERROR tests/test_tree.py::TestTree::test_find_node - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
ERROR tests/test_tree.py::TestTree::test_find_parent - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_doc_examples.py::test_doc_example[encrypt.py] - File "b'enc1-doc.xml'", line 0
FAILED tests/test_doc_examples.py::test_doc_example[sign.py] - File "b'sign1-tmpl.xml'", line 0
FAILED tests/test_doc_examples.py::test_doc_example[verify.py] - File "b'sign1-res.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_register_id - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_register_id_with_namespace_without_attribute - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sig...
FAILED tests/test_ds.py::TestSignContext::test_sign_case1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_case2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_case3 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_case4 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_case5 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_sign_fail - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign2-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_3 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign3-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_4 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign4-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_case_5 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign5-out.xml'", line 0
FAILED tests/test_ds.py::TestSignContext::test_verify_fail - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign1-in.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_decrypt1 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-out.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_decrypt2 - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-out.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_decrypt_key - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc3-out.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_encrypt_binary - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_encrypt_uri - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc2-in.xml'", line 0
FAILED tests/test_enc.py::TestEncryptionContext::test_encrypt_xml - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/enc1-in.xml'", line 0
FAILED tests/test_main.py::TestCallbacks::test_failed_sign_because_default_callbacks - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'",...
FAILED tests/test_main.py::TestCallbacks::test_sign_data_from_callbacks - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_main.py::TestCallbacks::test_sign_data_not_first_callback - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_main.py::TestCallbacks::test_sign_external_data_default_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.x...
FAILED tests/test_main.py::TestCallbacks::test_sign_external_data_fails_on_read_callback_wrong_returns - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tes...
FAILED tests/test_main.py::TestCallbacks::test_sign_external_data_no_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'",...
FAILED tests/test_main.py::TestCallbacks::test_sign_external_data_no_matching_callbacks_fails - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/d...
FAILED tests/test_templates.py::TestTemplates::test_add_encrypted_key - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_key_name - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_key_name_none - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_key_value - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_reference - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_add_x509_data - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_create - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_encrypt_data_create - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_encrypted_data_ensure_cipher_value - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'...
FAILED tests/test_templates.py::TestTemplates::test_encrypted_data_ensure_key_info - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", l...
FAILED tests/test_templates.py::TestTemplates::test_ensure_key_info - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", line 0
FAILED tests/test_templates.py::TestTemplates::test_transform_add_c14n_inclusive_namespaces - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc...
FAILED tests/test_templates.py::TestTemplates::test_x509_issuer_serial_add_issuer - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/doc.xml'", li...
FAILED tests/test_tree.py::TestTree::test_add_ids - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_tree.py::TestTree::test_find_child - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_tree.py::TestTree::test_find_node - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
FAILED tests/test_tree.py::TestTree::test_find_parent - File "b'/home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.12/tests/data/sign_template.xml'", line 0
=========================================================== 47 failed, 124 passed, 1 skipped, 44 errors in 8.57s =========================================================== |
You are still missing the patch from #212. |
The tests for doc examples are also adjusted to the change in #212 now and shouldn't fail. |
Just tested 1.3.13 + master and still I see two units failing + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-xmlsec-1.3.13-4.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-xmlsec-1.3.13-4.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.15, pytest-7.2.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/python-xmlsec-1.3.13
plugins: hypothesis-6.58.2
collected 297 items / 1 skipped
tests/test_xmlsec.py . [ 0%]
tests/test_constants.py .................................................................................................................................. [ 44%]
tests/test_doc_examples.py ...... [ 46%]
tests/test_ds.py .............................FE.......... [ 59%]
tests/test_enc.py ........................ [ 67%]
tests/test_keys.py ......................................... [ 81%]
tests/test_main.py ............. [ 85%]
tests/test_templates.py .................................. [ 97%]
tests/test_tree.py ........ [100%]
================================================================================== ERRORS ==================================================================================
___________________________________________________________ ERROR at teardown of TestSignContext.test_sign_case5 ___________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case5>
def test_sign_case5(self):
"""Should sign a file using a dynamicaly created template, key from PEM file and an X509 certificate."""
root = self.load_xml("sign5-in.xml")
sign = xmlsec.template.create(root, consts.TransformExclC14N, consts.TransformRsaSha1)
self.assertIsNotNone(sign)
root.append(sign)
ref = xmlsec.template.add_reference(sign, consts.TransformSha1)
xmlsec.template.add_transform(ref, consts.TransformEnveloped)
ki = xmlsec.template.ensure_key_info(sign)
x509 = xmlsec.template.add_x509_data(ki)
xmlsec.template.x509_data_add_subject_name(x509)
xmlsec.template.x509_data_add_certificate(x509)
xmlsec.template.x509_data_add_ski(x509)
x509_issuer_serial = xmlsec.template.x509_data_add_issuer_serial(x509)
xmlsec.template.x509_issuer_serial_add_issuer_name(x509_issuer_serial, 'Test Issuer')
xmlsec.template.x509_issuer_serial_add_serial_number(x509_issuer_serial, '1')
ctx = xmlsec.SignatureContext()
ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem)
self.assertIsNotNone(ctx.key)
ctx.key.load_cert_from_file(self.path('rsacert.pem'), consts.KeyDataFormatPem)
ctx.key.name = 'rsakey.pem'
self.assertEqual("rsakey.pem", ctx.key.name)
ctx.sign(sign)
> self.assertEqual(self.load_xml("sign5-out.xml"), root)
tests/test_ds.py:185:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:113: in assertXmlEqual
self.assertXmlEqual(c1, c2)
tests/base.py:113: in assertXmlEqual
self.assertXmlEqual(c1, c2)
tests/base.py:113: in assertXmlEqual
self.assertXmlEqual(c1, c2)
tests/base.py:113: in assertXmlEqual
self.assertXmlEqual(c1, c2)
tests/base.py:103: in assertXmlEqual
self.fail('text: {!r} != {!r}. {}'.format(first.text, second.text, msg))
E AssertionError: text: 'JIQs8tRZIGKLLlyGkKOqMLonGpw=' != None.
================================================================================= FAILURES =================================================================================
_____________________________________________________________________ TestSignContext.test_sign_case5 ______________________________________________________________________
self = <tests.test_ds.TestSignContext testMethod=test_sign_case5>
def test_sign_case5(self):
"""Should sign a file using a dynamicaly created template, key from PEM file and an X509 certificate."""
root = self.load_xml("sign5-in.xml")
sign = xmlsec.template.create(root, consts.TransformExclC14N, consts.TransformRsaSha1)
self.assertIsNotNone(sign)
root.append(sign)
ref = xmlsec.template.add_reference(sign, consts.TransformSha1)
xmlsec.template.add_transform(ref, consts.TransformEnveloped)
ki = xmlsec.template.ensure_key_info(sign)
x509 = xmlsec.template.add_x509_data(ki)
xmlsec.template.x509_data_add_subject_name(x509)
xmlsec.template.x509_data_add_certificate(x509)
xmlsec.template.x509_data_add_ski(x509)
x509_issuer_serial = xmlsec.template.x509_data_add_issuer_serial(x509)
xmlsec.template.x509_issuer_serial_add_issuer_name(x509_issuer_serial, 'Test Issuer')
xmlsec.template.x509_issuer_serial_add_serial_number(x509_issuer_serial, '1')
ctx = xmlsec.SignatureContext()
ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem)
self.assertIsNotNone(ctx.key)
ctx.key.load_cert_from_file(self.path('rsacert.pem'), consts.KeyDataFormatPem)
ctx.key.name = 'rsakey.pem'
self.assertEqual("rsakey.pem", ctx.key.name)
ctx.sign(sign)
> self.assertEqual(self.load_xml("sign5-out.xml"), root)
tests/test_ds.py:185:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/base.py:113: in assertXmlEqual
self.assertXmlEqual(c1, c2)
tests/base.py:113: in assertXmlEqual
self.assertXmlEqual(c1, c2)
tests/base.py:113: in assertXmlEqual
self.assertXmlEqual(c1, c2)
tests/base.py:113: in assertXmlEqual
self.assertXmlEqual(c1, c2)
tests/base.py:103: in assertXmlEqual
self.fail('text: {!r} != {!r}. {}'.format(first.text, second.text, msg))
E AssertionError: text: 'JIQs8tRZIGKLLlyGkKOqMLonGpw=' != None.
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_type_stubs.py:9: could not import 'black': No module named 'black'
ERROR tests/test_ds.py::TestSignContext::test_sign_case5 - AssertionError: text: 'JIQs8tRZIGKLLlyGkKOqMLonGpw=' != None.
FAILED tests/test_ds.py::TestSignContext::test_sign_case5 - AssertionError: text: 'JIQs8tRZIGKLLlyGkKOqMLonGpw=' != None.
============================================================ 1 failed, 296 passed, 1 skipped, 1 error in 10.08s ============================================================ Here is updated list of installed modules in build env Package Version
----------------------------- -----------------
alabaster 0.7.12
appdirs 1.4.4
attrs 22.1.0
Babel 2.11.0
Brlapi 0.8.3
build 0.9.0
charset-normalizer 3.0.1
contourpy 1.0.6
cssselect 1.1.0
cycler 0.11.0
distro 1.8.0
dnspython 2.2.1
docutils 0.19
exceptiongroup 1.0.0
extras 1.0.0
fixtures 4.0.0
fonttools 4.38.0
gpg 1.17.1-unknown
hypothesis 6.58.2
idna 3.4
imagesize 1.4.1
importlib-metadata 5.1.0
iniconfig 1.1.1
Jinja2 3.1.2
kiwisolver 1.4.4
libcomps 0.1.19
louis 3.23.0
lxml 4.9.1
MarkupSafe 2.1.1
matplotlib 3.6.2
numpy 1.23.1
olefile 0.46
packaging 21.3
pbr 5.9.0
pep517 0.13.0
Pillow 9.3.0
pip 22.3.1
pkgconfig 1.5.5
pluggy 1.0.0
Pygments 2.13.0
PyGObject 3.42.2
pyparsing 3.0.9
pytest 7.2.0
python-dateutil 2.8.2
pytz 2022.4
requests 2.28.1
rpm 4.17.0
scour 0.38.2
setuptools 65.6.3
setuptools-scm 7.0.5
six 1.16.0
snowballstemmer 2.2.0
sortedcontainers 2.4.0
Sphinx 5.3.0
sphinxcontrib-applehelp 1.0.2.dev20220730
sphinxcontrib-devhelp 1.0.2.dev20220730
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1.dev20220730
sphinxcontrib-qthelp 1.0.3.dev20220730
sphinxcontrib-serializinghtml 1.1.5
testtools 2.5.0
tomli 2.0.1
typing_extensions 4.4.0
urllib3 1.26.12
wheel 0.38.4
zipp 3.11.0 |
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesList of modules installed in build env
The text was updated successfully, but these errors were encountered: