Is this a known issue?
Error Message
AssertionError: setup_storage.sh failed. Exit code
is 1 assert 1 == 0 -1 +0
Stacktrace
prefix = <ovirtlago.prefix.OvirtPrefix object at
0x7f6fd2b998d0>
@pytest.mark.run(order=14)
def test_configure_storage(prefix):
engine = prefix.virt_env.engine_vm()
result = engine.ssh(
[
'/tmp/setup_storage.sh',
],
)
> assert result.code == 0,
'setup_storage.sh failed. Exit code is %s' %
result.code
E AssertionError: setup_storage.sh failed.
Exit code is 1
E assert 1 == 0
E -1
E +0
The pytest traceback is nice, but in this case it is
does not show any useful info.
Since we run a script using ssh, the error message
should include the process stdout and stderr
which probably can explain the failure.