-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Infrastructure-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Milestone
Description
Tests pass:
[18:29:38] info: Total: 1485, Errors: 0, Failed: 0, Skipped: 0, Time: 5.652435s
[18:29:38] info:
[18:29:38] info: Flushed stdout!
[18:29:38] info: 1 Exit called with 0 when isXUnitDoneCheck=true at set_exit_code (/main.js:240:24) at Object.init (/main.js:204:17).
[18:29:38] info: WASM EXIT 0
but then the log parsing fails:
Traceback (most recent call last):
File "/datadisks/disk1/work/99FB08BE/p/reporter/run.py", line 68, in <module>
main()
File "/datadisks/disk1/work/99FB08BE/p/reporter/run.py", line 65, in main
reporter.report_results(all_results)
File "/etc/helix/scripts/helix/test_reporting/packing_test_reporter.py", line 27, in report_results
results = [x for x in results if x]
File "/etc/helix/scripts/helix/test_reporting/packing_test_reporter.py", line 27, in <listcomp>
results = [x for x in results if x]
File "/datadisks/disk1/work/99FB08BE/p/reporter/test_results_reader/__init__.py", line 99, in read_results
for result in file_results:
File "/datadisks/disk1/work/99FB08BE/p/reporter/test_results_reader/__init__.py", line 98, in <genexpr>
file_results = (add_logs(tr, log_list) for tr in f.read_results(file_path))
File "/datadisks/disk1/work/99FB08BE/p/reporter/formats/xunit.py", line 47, in read_results
for (_, element) in xml.etree.ElementTree.iterparse(path, events=['end']):
File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 1221, in iterator
yield from pullparser.read_events()
File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 1296, in read_events
raise event
File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 1268, in feed
self._parser.feed(data)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1101, column 6
Lines 1100,1101 from testResults.xml:
<test name="XPathTests.FunctionalTests.Expressions.NodeSetsTests.NodeSetsTest181" type="XPathTests.FunctionalTests.Expressions.NodeSetsTests" method="NodeSetsTest181" time="0.000645" result="Pass" /> <test name="XPathTests.FunctionalTests.Expressions.NodeSetsTests.NodeSetsTest183" type="XPathTests.FunctionalTests.E
<test name="XPathTests.FunctionalTests.Expressions.NodeSetsTests.NodeSetsTest185" type="XPathTests.FunctionalTests.Expressions.NodeSetsTests" method="NodeSetsTest185" time="0.00062" result="Pass" />The top line there (1100) has an incomplete element:
<test name="XPathTests.FunctionalTests.Expressions.NodeSetsTests.NodeSetsTest183" type="XPathTests.FunctionalTests.E at the end.
cc @pavelsavara
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Infrastructure-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'