LAVA Custom Test JSON File Parse Pattern Format
I'm currently working on getting a custom test job (lmbench) implemented with LAVA. I'm currently stuck on trying to get LAVA to parse my results correctly. I'm currently not familiar with how I need to implement the regular expression in the .json file in order for lava to parse it correctly. The correct regular expression that works with python is as follows:
'(?P<
Here is my attempt at creating a json file to make my test work. The test runs fine and says it passes but it just isn't capturing the data I want. What do I need to do in order for the pattern to work correctly? Also is there any documentation on the format that this pattern needs to be in (since I haven't been able to find any)?
{
"format": "Lava-Test Test Definition 1.0",
"test_id": "lmbench",
"run": {
"steps": ["/usr/bin/python /root/lava_
},
"parse": {
"pattern": "^(?P<test_
"appendall": {
"result": "pass"
}
}
}
Example output that LAVA captures
2+0 records in
2+0 records out
read_
read_
write_
write_
read_
open-
Thanks,
-Ryan
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Michael Hudson-Doyle
- Solved:
- Last query:
- Last reply: