Page MenuHomeVyOS Platform

Fix smoketest build script interrupting on error within a unit test
Closed, ResolvedPublicFEATURE REQUEST

Description

https://github.com/vyos/vyos-build/blob/rolling/scripts/check-qemu-install#L1368

i = c.expect(['\n +Invalid command:', '\n +Set failed',
                      'No such file or directory', r'\n\S+@\S+[$#]'], timeout=test_timeout)
...
if i == 2:
    tmp = '(W)hy (T)he (F)ace? VyOS smoketest not found!'
    log.error(tmp)
    raise Exception(tmp)

If a smoketest unit test outputs 'No such file or directory', the smoketest script will exit prematurely.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

sarthurdev changed the task status from Open to In progress.
sarthurdev triaged this task as Normal priority.
sarthurdev created this object with edit policy "Custom Policy".
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.