Package: autopkgtest
Version: 5.31.2
Severity: wishlist
Tags: upstream

While implementing support for autopkgtest in Debusine [0], we initially
started with very simplistic parsing of the summary file [1]:

[0]: https://freexian-team.pages.debian.net/debusine/
[1]: 
https://salsa.debian.org/freexian-team/debusine/-/blob/d4781041c80dcd78e1cc6dfead6e5e349b11fb1c/debusine/tasks/autopkgtest.py#L195-236

In error conditions, it turns out to be more complex, the summary file
doesn't just contain test names and status results, but can also contain
somewhat arbitrary error messages.

We added support for them by looking for lines beginning with "[a-z ]+: " [2]
[2]: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/410

It would be great if you could provide a specification for this file
format, so tools like Debusine can have some confidence that they're
parsing it correctly.

We'd obviously also appreciate any input you have on our approaches
here.

Thank you,

Stefano

Reply via email to