action #91653
Updated by livdywan over 3 years ago
## Motivation
I came up with a fairly simple Python-based test for #91257 which I wanted to run on o3. And I re-ran it a couple times but I get rather opaque errors so debugging why it won't work feels like guess-work.
```
[0m[37m[2021-04-23T09:31:55.798 CEST] [debug] scheduling login /tests/openQA/login.pm
[0m[31m[2021-04-23T09:31:55.926 CEST] [warn] !!! autotest::loadtest: error on /tests/openQA/search.py: Error -- py_eval raised an exception at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Inline/Python.pm line 177.
BEGIN failed--compilation aborted at (eval 130) line 5.
[0merror on /tests/openQA/search.py: Error -- py_eval raised an exception at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Inline/Python.pm line 177.
BEGIN failed--compilation aborted at (eval 130) line 5.
Compilation failed in require at /usr/lib/os-autoinst/OpenQA/Isotovideo/Utils.pm line 211.
```
There's no specific error besides the filename. It could be a problem with the runtime or some issue with the test code, I wouldn't know.
## Acceptance criteria
- **AC1**: Specific Python error message can be seen in autoinst-log.txt
## Suggestions
- Investigate missing error output in log files
- De-duplicate redundant messages
- Look into options on [InlinePython](https://metacpan.org/dist/Inline-Python/view/Python.pod)
- Check issues on https://github.com/niner/inline-python-pm maybe it's an upstream bug?