Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4465

Make boot2qt image mounting errors fatal

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: RTA
    • Labels:
      None
    • Technical Risk:
      Normal

      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.

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sapiippo Samuli Piippo
            Reporter:
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes