Closed cipherboy closed 2 years ago
Hello @cipherboy, I was unable to replicate the issue. Can you please provide an ARF report? I hope with the report, I can find out more about why part of the XML file is not processed.
@Honny1 Do you have any way of minimizing the ARF? I've pasted part of it above (see "Subset of ARF file"), but the file is still several hundred KB when gziped and is from our private CaC branch.
I'm wondering if it is perhaps a parsing issue caused by the older OpenSCAP?
@cipherboy I don't have any way of minimizing the ARF. You can put here the ARF file as a TXT file. Like in issue. Hundreds of KB are fine for Github.
I tried to generate graphs from ARF generated from content for Ubuntu 20.04 with OpenSCAP 1.2.7 and 1.2.6 and everything was fine. It is very strange that the system_data
could not be found, even though they are in the report.
With OpenSCAP v1.2.16 from the Ubuntu distribution, on SSG-built content, we get something like the following:
In
_XmlParserTestInfo
I see:If I change it as so:
it works, but I'm wondering if this is the right result. Perhaps the element tree is corrupted/modified during loading?
Oddly, if I print the children of
oval-characteristics:oval_system_characteristics
I see:And it just stops parsing the objects and stuff under it collected_objects before getting to system_data!
Snippet of XML below:
Subset of ARF file
```xml ...XMLLint runs fine on the output (and doesn't detect any dropped closing tags or anything), so I'm really confused.
The report generates fine once the
if not data
is added though: