#15 Change console output checking to use `wait_serial` instead of `assert_screen`
Closed: Invalid Opened by jsedlak.

API of os-autoinst supports wait_serial command that waits until given regex is shown in serial console. I think that it would be better to use this kind of behaviour than what are we doing currently (needles of console screen). See this code for inspiration.

At the same time, test it thoroughly - for example, isn't it possible that output will be shown sooner than wait_serial gets called? Or isn't it possible that wait_serial regex matches something different (for example, output from previous call)?


This ticket had assigned some Differential requests:
D637

This got partially resolved by D637 - we are using validate_script_output instead of assert_screen or wait_serial.

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/quality/os-autoinst-distri-fedora/issues/15

Please continue any further discussion there.

Metadata