Package: xml2rfc
Version: 3.16.0-1
Severity: important

Currently xml2rfc ocassionally fails its autopkgtest with an error like
this:

ERROR: setUpClass (__main__.PdfWriterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xml2rfc/writers/base.py", line 1857, in 
xinclude
    self.tree.xinclude()
  File "src/lxml/etree.pyx", line 2384, in lxml.etree._ElementTree.xinclude
  File "src/lxml/xinclude.pxi", line 64, in lxml.etree.XInclude.__call__
lxml.etree.XIncludeError: could not load 
https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2634.xml, and no fallback 
was found, line 1387

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/autopkgtest-lxc.gdypcr8w/downtmp/build.sgY/src/xxx/test.py", line 
489, in setUpClass
    elements_pdfdoc = elements_writer.pdf() # has side effects on .root
                      ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/xml2rfc/writers/pdf.py", line 68, in pdf
    tree = prep.prep()
           ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/xml2rfc/writers/preptool.py", line 213, 
in prep
    self.xinclude()
  File "/usr/lib/python3/dist-packages/xml2rfc/writers/base.py", line 1859, in 
xinclude
    self.die(None, "XInclude processing failed: %s" % e)
  File "/usr/lib/python3/dist-packages/xml2rfc/writers/base.py", line 1842, in 
die
    raise RfcWriterError(msg)
xml2rfc.writers.base.RfcWriterError: Error: XInclude processing failed: could 
not load https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2634.xml, and no 
fallback was found, line 1387

Not all of the Debian CI servers have internet access.  I think we need
to add the needs-internet restriction to debian/tests/control.

Scott K

Reply via email to