QA has a script that creates reporting on selftest, sanity tests on the public wiki. The reports can be accessed here: https://wiki.yoctoproject.org/wiki/QA_sanity_history The script can be added after a test suite is being run on the public AB, and send the results to the wiki.
I see two problems here. First the tables that we create uses some information from the LAVA server, like previous test runs. This information is not available on the public autobuilder. That is fine, we can modify the script to not show a comparison with the previous run, but only the current passrate. The second problem is that the mediawiki api is having issues with the json module that is default in python. For it to work I had to make some modifications in python on the lava server and I don't know if that's something that is feasible on the public autobuilder.
(In reply to comment #1) > The second problem is that the mediawiki api is having issues with the json > module that is default in python. For it to work I had to make some > modifications in python on the lava server and I don't know if that's > something that is feasible on the public autobuilder. Our wiki returns JSON with a UTF-8 BOM, the json module will load that so long as it is taught that the text is encoded with 'utf-8-sig'. When I was working on the buildlogger (which writes wiki content) I used Python requests and so long as I made sure the response object had the correct encoding set everything works as expected. See http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/tree/bin/buildlogger#n78
This issue is obsoleted by our work on a test reporting tool