Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13170

RH124: ch15s02 - lab grading script fails if grub2 directory changes - RHT2139061

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH124 - RHEL9.0-en-5-20230516
    • RH124
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 15
    • en-US (English)

      Please fill in the following information:


      URL: ch15s02
      Reporter RHNID: carias@redhat.com
      Section title: Lab: Manage Files from the Command Line
      Language: English

      Issue description

      Some process in the background makes changes in the grub2 directory, making the grading script fail in the last check because the time of the directory is different.

      Steps to reproduce:

      With a fresh environment run:

      lab start rhcsa-rh124-review1
      ssh student@serverb
      mkdir grading
      ls -l /boot > grading/longlisting.txt
      exit
      lab grade rhcsa-rh124-review1
      

      I could reproduce it only twice, after some time the directory seems stable and the grading script works.

       

       

      Workaround:

      An easy fix is to remove the -l option from the step and grading script.

      Expected result:

            glsbugs-hybridcloud@redhat.com PTL - RHEL Team
            carias@redhat.com Carlos Arias
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: