Details
-
Task
-
Resolution: Incomplete
-
P2: Important
-
None
-
None
-
None
Description
In case the mounting of the boot2qt image for NFS fails, it should abort the whole test run. Otherwise it might end up running tests with the old image:
11:26:51 Thu May 20 09:26:50 BST 2021 Log Mount image for device 11:26:51 Detail: 11:26:51 Thu May 20 09:26:50 BST 2021 Log ssh -i /home/qt/.ssh/id_rsa_dcrta -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null qt@10.204.0.42 sh /home/qt/mount_image.sh mount imx8qmmek-2 imx8qmmek 10.204.0.97 11:26:51 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Log stdout: 11:26:56 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Log 11:26:56 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Log stderr: 11:26:56 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Warning Warning: Permanently added '10.204.0.42' (ECDSA) to the list of known hosts. 11:26:56 11:26:56 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Warning /usr/bin/cp: cannot stat ��ar/lib/nfsroot/imx8qmmek-2/root/boot/*��o such file or directory 11:26:56 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Warning 11:26:56 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Warning Warning: Permanently added '10.204.0.42' (ECDSA) to the list of known hosts. 11:26:56 11:26:56 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Warning /usr/bin/cp: cannot stat ��ar/lib/nfsroot/imx8qmmek-2/root/boot/*��o such file or directory 11:26:56 Detail: 11:26:56 Thu May 20 09:26:56 BST 2021 Warning
Also mounting could better handle situation where old image is there, since that's the like cause of the above error.