Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-1651

[RHEL9] errata/Regression: bz519184 failed when creating est subdirectory

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-kernel-tracing-perf

      The beaker job: https://beaker.engineering.redhat.com/jobs/11616264 

       

      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      ::   Test bz519184
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      
      :: [ 22:38:40 ] :: [   INFO   ] :: Check whether nfs handle signed/unsigned in uid/gid properly.
      kernel-5.14.0-70.145.1.el9_0.ppc64le
      kernel-5.14.0-70.124.1.el9_0.ppc64le
      :: [ 22:38:40 ] :: [   PASS   ] :: Checking for the presence of kernel rpm 
      :: [ 22:38:40 ] :: [   LOG    ] :: Package versions:
      :: [ 22:38:40 ] :: [   LOG    ] ::   kernel-5.14.0-70.145.1.el9_0.ppc64le
      :: [ 22:38:40 ] :: [   LOG    ] ::   kernel-5.14.0-70.124.1.el9_0.ppc64le
      :: [ 22:38:40 ] :: [   INFO   ] :: using '/var/tmp/beakerlib-201197518/backup' as backup destination
      :: [ 22:38:40 ] :: [  BEGIN   ] :: Cleaning /var/log/messages :: actually running 'echo > /var/log/messages'
      :: [ 22:38:40 ] :: [   PASS   ] :: Cleaning /var/log/messages (Expected 0, got 0)
      :: [ 22:38:40 ] :: [  BEGIN   ] :: Creating tmp directory :: actually running 'TmpDir=`mktemp -d`'
      :: [ 22:38:40 ] :: [   PASS   ] :: Creating tmp directory (Expected 0, got 0)
      :: [ 22:38:41 ] :: [  BEGIN   ] :: Creting data subdirectory :: actually running 'mkdir -p /export/data'
      :: [ 22:38:41 ] :: [   PASS   ] :: Creting data subdirectory (Expected 0, got 0)
      :: [ 22:38:41 ] :: [  BEGIN   ] :: Adding export directory to nfs share. :: actually running 'echo "/export *(rw,insecure,fsid=0)" > /etc/exports'
      :: [ 22:38:41 ] :: [   PASS   ] :: Adding export directory to nfs share. (Expected 0, got 0)
      :: [ 22:38:41 ] :: [  BEGIN   ] :: Adding data subdir to nfs. :: actually running 'echo "/export/data  *(rw,anonuid=4294967294,anongid=4294967294)" >> /etc/exports'
      :: [ 22:38:41 ] :: [   PASS   ] :: Adding data subdir to nfs. (Expected 0, got 0)
      :: [ 22:38:41 ] :: [  BEGIN   ] :: Running 'cat /etc/exports'
      /export *(rw,insecure,fsid=0)
      /export/data  *(rw,anonuid=4294967294,anongid=4294967294)
      :: [ 22:38:41 ] :: [   LOG    ] :: Output of 'cat /etc/exports':
      :: [ 22:38:41 ] :: [   LOG    ] :: --------------- OUTPUT START ---------------
      :: [ 22:38:41 ] :: [   LOG    ] :: /export *(rw,insecure,fsid=0)
      :: [ 22:38:41 ] :: [   LOG    ] :: /export/data  *(rw,anonuid=4294967294,anongid=4294967294)
      :: [ 22:38:41 ] :: [   LOG    ] :: ---------------  OUTPUT END  ---------------
      :: [ 22:38:41 ] :: [   PASS   ] :: Command 'cat /etc/exports' (Expected 0, got 0)
      :: [ 22:38:41 ] :: [  BEGIN   ] :: Creating test subdirectory :: actually running 'mkdir /export/data/test'
      mkdir: cannot create directory ‘/export/data/test’: File exists
      :: [ 22:38:41 ] :: [   FAIL   ] :: Creating test subdirectory (Expected 0, got 1)
      :: [ 22:38:41 ] :: [  BEGIN   ] :: Creating file in test subdirecotory :: actually running 'touch /export/data/test/a'
      :: [ 22:38:41 ] :: [   PASS   ] :: Creating file in test subdirecotory (Expected 0, got 0)
      :: [ 22:38:41 ] :: [  BEGIN   ] :: Running 'chown 4294967294 /export/data/test/a'
      :: [ 22:38:41 ] :: [   PASS   ] :: Command 'chown 4294967294 /export/data/test/a' (Expected 0, got 0)
      Redirecting to /bin/systemctl status nfs-server.service
      Redirecting to /bin/systemctl start nfs-server.service
      :: [ 22:38:43 ] :: [   LOG    ] :: rlServiceStart: Service nfs-server started successfully
      :: [ 22:38:43 ] :: [  BEGIN   ] :: Mounting nfs /data directory :: actually running 'mount.nfs4 localhost:/data /tmp/tmp.Qig7et9eMf'
      :: [ 22:38:44 ] :: [   PASS   ] :: Mounting nfs /data directory (Expected 0, got 0)
      :: [ 22:38:44 ] :: [  BEGIN   ] :: execute 'ls -l' to trigger the bug :: actually running 'ls -l /tmp/tmp.Qig7et9eMf/test/ &'
      :: [ 22:38:44 ] :: [   PASS   ] :: execute 'ls -l' to trigger the bug (Expected 0, got 0)
      total 0
      -rw-r--r--. 1 4294967294 root 0 Sep  2 22:38 a
      :: [ 22:38:46 ] :: [  BEGIN   ] :: If the system hung, we kill ls :: actually running 'pkill ls'
      :: [ 22:38:46 ] :: [   PASS   ] :: If the system hung, we kill ls (Expected 0-255, got 1)
      :: [ 22:38:46 ] :: [   PASS   ] :: File '/var/log/messages' should not contain 'nfsdcb: id '-2' too big' 
      :: [ 22:38:46 ] :: [  BEGIN   ] :: Unmounting /data directory :: actually running 'umount -l -f /tmp/tmp.Qig7et9eMf'
      :: [ 22:38:47 ] :: [   PASS   ] :: Unmounting /data directory (Expected 0, got 0)
      Redirecting to /bin/systemctl status nfs-server.service
      Redirecting to /bin/systemctl stop nfs-server.service
      :: [ 22:38:48 ] :: [  BEGIN   ] :: Removing file in test subdirectory :: actually running 'rm /export/data/test/a'
      :: [ 22:38:48 ] :: [   PASS   ] :: Removing file in test subdirectory (Expected 0, got 0)
      :: [ 22:38:48 ] :: [  BEGIN   ] :: Removing test subdirectory(non-fatal) :: actually running 'rmdir /export/data/test/'
      :: [ 22:38:48 ] :: [   PASS   ] :: Removing test subdirectory(non-fatal) (Expected 0, got 0)
      :: [ 22:38:48 ] :: [  BEGIN   ] :: Removing data subdirectory(non-fatal) :: actually running 'rmdir /export/data'
      :: [ 22:38:48 ] :: [   PASS   ] :: Removing data subdirectory(non-fatal) (Expected 0, got 0)
      :: [ 22:38:48 ] :: [  BEGIN   ] :: Removing tmp directory :: actually running 'rm -rf /tmp/tmp.Qig7et9eMf'
      :: [ 22:38:48 ] :: [   PASS   ] :: Removing tmp directory (Expected 0, got 0)
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      ::   Duration: 8s
      ::   Assertions: 18 good, 1 bad
      ::   RESULT: FAIL (Test bz519184) 

              Unassigned Unassigned
              xiubli@redhat.com Xiubo Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: