Extra monitoring in Trigger ART tests
This MR includes updates needed for ATR-19241 and ATR-19462:
- Increase PerfMon output level in TriggerTest to be able to get VMem and RSS from execute step and the difference between first and last event
- Run with PerfMon by default in TrigUpgradeTest (hope this is fine, @smh, @tbold, @fwinkl)
- Add warning message count
- Add histogram count
- Add script processing the above information and dumping it to a JSON file - this will be used to display the data in the new ART Monitor webpage (ATR-19241) either in a table or as a plot over time
As a result, all tests in TriggerTest and TrigUpgradeTest will create a JSON file extra-results.json
with the following format (memory is in MB):
{
"num-errors": "0",
"num-warnings": "809",
"num-histograms": "908",
"memory-usage": {
"vmem": "3872.518",
"delta-vmem": "7.873",
"rss": "2667.732",
"delta-rss": "20.954"
}
}
More information can be added there in the future. Tagging also @elazzari, @hartj, @dzanzi, @okumura for information.