SUSE-Enceladus/img-proof

Provide details in log for reboot tests

Opened this issue · 0 comments

SCAP_REPORT=/var/tmp/report.html img-proof --no-color test azure --debug --distro sles --region "westeurope" --results-dir "img_proof_results" --no-cleanup --collect-vm-info --service-account-file "azure_credentials.txt" -u azureuser --ssh-private-key-file $(realpath ~/.ssh/id_rsa) --running-instance-id "openqa-suse-de-978ebec6d5962306" test_sles test_sles_azure 2>&1
> EOT_hqQgU
hqQgU-0-
# echo hqQgU; bash -oe pipefail /tmp/scripthqQgU.sh ; echo SCRIPT_FINISHEDhqQgU-$?-
hqQgU
img-proof config file not found: /root/.config/img_proof/config
IP of instance: 172.201.58.2
Created log file img_proof_results/azure/SUSE:sles-15-sp4-hardened-byos:gen2:latest/openqa-suse-de-978ebec6d5962306/20240412061548.log
Created results file img_proof_results/azure/SUSE:sles-15-sp4-hardened-byos:gen2:latest/openqa-suse-de-978ebec6d5962306/20240412061548.results
Testing soft reboot
Running test /usr/share/lib/img_proof/tests/SLES/test_sles_grow_root.py

Test directories:
/root/img_proof/tests
/usr/share/lib/img_proof/tests

Arguments:
-v -s  --json-report-file=none --ssh-config=/tmp/tmpi3gkvhc_ --hosts=172 /usr/share/lib/img_proof/tests/SLES/test_sles_grow_root.py

Running test /usr/share/lib/img_proof/tests/SLES/test_sles_motd.py

Test directories:
/root/img_proof/tests
/usr/share/lib/img_proof/tests

Arguments:
-v -s  --json-report-file=none --ssh-config=/tmp/tmpi3gkvhc_ --hosts=172 /usr/share/lib/img_proof/tests/SLES/test_sles_motd.py

Running test /usr/share/lib/img_proof/tests/SLES/test_sles_license.py

Test directories:
/root/img_proof/tests
/usr/share/lib/img_proof/tests

Arguments:
-v -s  --json-report-file=none --ssh-config=/tmp/tmpi3gkvhc_ --hosts=172 /usr/share/lib/img_proof/tests/SLES/test_sles_license.py

Running test /usr/share/lib/img_proof/tests/SLES/test_sles_root_pass.py

Test directories:
/root/img_proof/tests
/usr/share/lib/img_proof/tests

Arguments:
-v -s  --json-report-file=none --ssh-config=/tmp/tmpi3gkvhc_ --hosts=172 /usr/share/lib/img_proof/tests/SLES/test_sles_root_pass.py

Testing hard reboot
IP of instance: 
Unable to connect to instance after hard reboot: Authentication failed while establishing SSH connection. Ensure the SSH user "azureuser" is correct.
FAILED tests=6|pass=4|skip=1|fail=1|error=0

After such run log file will not contain output from execution of test_hard_reboot but .results will . See full output of log and results files
20240412061548.log
img_proof-20240412061548.txt