-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
If you have a small timeout when running a test in the execute_test() function in the src/analyzers/collectors/perfCollector.py and src/analyzers/collectors/sshCollector.py modules. There is a chance that the binary will hang.
For perfCollector, the working process can be continued by pressing "Enter" and you will get next error message:
[-]: Some error occurred during launching '/tmp/tmp1w6xss0i/bins/test_52.c.out 0':
Can't read value of 'missed_branches'
Can't read value of 'cache_BPU'
Can't read value of 'cpu_clock'
Can't read value of 'instructions'
Reproducing:
git checkout ce69b9b31e54ce4a43f49a5d10614ed483f284d5 # last commit
echo '{"profiler": "perf", "out_dir": "/tmp/del_me", "timeout": 0.01, "max_test_launches": 50}' > /tmp/err.json
python cha.py analyze --config-file /tmp/err.json --test-dir tests-benchmark-example --log-level=DEBUGYou may need to run the analyze several times to get the error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels