Open micwoj92 opened 7 months ago
I also encounter this error.
https://www.xmlvalidation.com/
I noticed that with this online validation tool, it cannot process the generated output when DTD check is enabled. So maybe it really has some issue, not only about testing.
I get a generic error with the xmlvalidation.com link shared above - it's unclear if that has anything to do with the generated XML vs an internal error.
https://www.truugo.com/xml_validator/ does indicate that the xml generated by the failing test validates correctly.
xmlib2 appears to have a problem downloading the dtd.
> xmllint coverage.xml --loaddtd --valid
....
error : Unknown IO error
coverage.xml:2: warning: failed to load external entity "http://cobertura.sourceforge.net/xml/coverage-04.dtd
....
Converting to https does not resolve it. Curl doesnt give any indication that things are strange.
Downloading the dtd and replacing the url with the relative path in the xml file gets rid of the error.
This indicates that there isn't a problem with the XML being generated but instead with the way the dtd file is being retrieved.
investigation continuing...
My guess is that this is tied to OS updates since it last worked in the build environment. I created a ticket with gnome - lets see if it goes anywhere.
I filed: https://gitlab.gnome.org/GNOME/libxml2/-/issues/693
Actually, it appears to do with an HTTPS redirect. http://cobertura.sourceforge.net/xml/coverage-04.dtd redirects to https.
..and a nokogiri bug to track it:
Hello, I'm trying to run the test suite, but I run into 1 test error. ruby 3.0.6 nokogiri 1.13.9
Output when running rake: