drakvuf-sandbox
drakvuf-sandbox copied to clipboard
`draksetup` doesn't set exit codes when operation fails
Describe the bug
draksetup
command doesn't set proper exit code when operation fails.
I've noticed that while debugging misbehaving test that passed this line https://github.com/CERT-Polska/drakvuf-sandbox/blob/master/test/conftest.py#L213 while being unable to download correct snapshot (...
placeholder was provided instead of correct name)
[2023-04-07 15:48:42,943][INFO] Downloading installation info
[2023-04-07 15:48:42,945][DEBUG] http://192.168.100.1:8181/ "HEAD /snapshots/.../install.json HTTP/1.1" 404 0
[2023-04-07 15:48:42,945][ERROR] Import failed. Missing files in bucket.
INFO:root:VM provisioned, starting tests...