Public bug reported:

Several immutable related test cases failed in this test:


***** Testing times==NULL case *****
Pathname test
Owner=nobody; perms=-rw-------; EFAs=Immutable,Extents
./utimensat01 -q /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
EXPECTED: EACCES   
RESULT:   EPERM  
utimensat01 55 TFAIL: FAILED test 55

Readable file descriptor (futimens(3)) test
Owner=nobody; perms=-rw-------; EFAs=Immutable,Extents
./utimensat01 -q -d /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
NULL 
EXPECTED: EACCES   
RESULT:   EPERM  
utimensat01 56 TFAIL: FAILED test 56

***** Testing times=={ UTIME_NOW, UTIME_NOW } case *****
Pathname test
Owner=nobody; perms=-rw-------; EFAs=Immutable,Extents
./utimensat01 -q /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 0 n 0 n
EXPECTED: EACCES   
RESULT:   EPERM  
utimensat01 57 TFAIL: FAILED test 57

Readable file descriptor (futimens(3)) test
Owner=nobody; perms=-rw-------; EFAs=Immutable,Extents
./utimensat01 -q -d /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
NULL 0 n 0 n
EXPECTED: EACCES   
RESULT:   EPERM  
utimensat01 58 TFAIL: FAILED test 58

Testing immutable append-only file, owned by self

***** Testing times==NULL case *****
Pathname test
Owner=nobody; perms=-rw-------; EFAs=Immutable,Append_Only,Extents
./utimensat01 -q /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
EXPECTED: EACCES   
RESULT:   EPERM  
utimensat01 67 TFAIL: FAILED test 67

Readable file descriptor (futimens(3)) test
Owner=nobody; perms=-rw-------; EFAs=Immutable,Append_Only,Extents
./utimensat01 -q -d /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
NULL 
EXPECTED: EACCES   
RESULT:   EPERM  
utimensat01 68 TFAIL: FAILED test 68

***** Testing times=={ UTIME_NOW, UTIME_NOW } case *****
Pathname test
Owner=nobody; perms=-rw-------; EFAs=Immutable,Append_Only,Extents
./utimensat01 -q /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 0 n 0 n
EXPECTED: EACCES   
RESULT:   EPERM  
utimensat01 69 TFAIL: FAILED test 69

Readable file descriptor (futimens(3)) test
Owner=nobody; perms=-rw-------; EFAs=Immutable,Append_Only,Extents
./utimensat01 -q -d /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
NULL 0 n 0 n
EXPECTED: EACCES   
RESULT:   EPERM  
utimensat01 70 TFAIL: FAILED test 70

Complete log could be found here:
https://pastebin.ubuntu.com/p/QqMtzGt7QB/


In the test script it states that:

# Starting with 4.8.0 operations on immutable files return EPERM instead of
# EACCES.
# This patch has also been merged to stable 4.4 with
# f2b20f6 ("vfs: move permission checking into notify_change() for 
utimes(NULL)")
if tst_kvcmp -ge "4.4.27" -a -lt "4.5.0"; then
        imaccess=EPERM
elif tst_kvcmp -lt "4.4.27"; then
        imaccess=EACCES
else
        imaccess=EPERM
fi

As our 4.4 kernel already have this patch applied (f1e96ec9007a in
Xenial tree), this should be a test case issue.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-132-generic 4.4.0-132.158
ProcVersionSignature: Ubuntu 4.4.0-132.158-generic 4.4.140
Uname: Linux 4.4.0-132-generic s390x
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: 
ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: s390x
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not 
found.
Date: Mon Aug  6 06:34:35 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci:
 
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:
 
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=44b0b919-a1a4-4849-9425-e71d4ac87d85 
crashkernel=196M nobp=1 BOOT_IMAGE=0
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-132-generic N/A
 linux-backports-modules-4.4.0-132-generic  N/A
 linux-firmware                             1.157.20
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubuntu-kernel-tests
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Invalid


** Tags: apport-bug package-from-proposed s390x xenial

** Also affects: ubuntu-kernel-tests
   Importance: Undecided
       Status: New

** Changed in: ubuntu-kernel-tests
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: ubuntu-kernel-tests
       Status: New => In Progress

** Changed in: linux (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1785765

Title:
  utimensat01 failed on X s390x

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Invalid

Bug description:
  Several immutable related test cases failed in this test:


  ***** Testing times==NULL case *****
  Pathname test
  Owner=nobody; perms=-rw-------; EFAs=Immutable,Extents
  ./utimensat01 -q /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
  EXPECTED: EACCES   
  RESULT:   EPERM  
  utimensat01 55 TFAIL: FAILED test 55

  Readable file descriptor (futimens(3)) test
  Owner=nobody; perms=-rw-------; EFAs=Immutable,Extents
  ./utimensat01 -q -d /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
NULL 
  EXPECTED: EACCES   
  RESULT:   EPERM  
  utimensat01 56 TFAIL: FAILED test 56

  ***** Testing times=={ UTIME_NOW, UTIME_NOW } case *****
  Pathname test
  Owner=nobody; perms=-rw-------; EFAs=Immutable,Extents
  ./utimensat01 -q /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 0 n 
0 n
  EXPECTED: EACCES   
  RESULT:   EPERM  
  utimensat01 57 TFAIL: FAILED test 57

  Readable file descriptor (futimens(3)) test
  Owner=nobody; perms=-rw-------; EFAs=Immutable,Extents
  ./utimensat01 -q -d /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
NULL 0 n 0 n
  EXPECTED: EACCES   
  RESULT:   EPERM  
  utimensat01 58 TFAIL: FAILED test 58

  Testing immutable append-only file, owned by self

  ***** Testing times==NULL case *****
  Pathname test
  Owner=nobody; perms=-rw-------; EFAs=Immutable,Append_Only,Extents
  ./utimensat01 -q /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
  EXPECTED: EACCES   
  RESULT:   EPERM  
  utimensat01 67 TFAIL: FAILED test 67

  Readable file descriptor (futimens(3)) test
  Owner=nobody; perms=-rw-------; EFAs=Immutable,Append_Only,Extents
  ./utimensat01 -q -d /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
NULL 
  EXPECTED: EACCES   
  RESULT:   EPERM  
  utimensat01 68 TFAIL: FAILED test 68

  ***** Testing times=={ UTIME_NOW, UTIME_NOW } case *****
  Pathname test
  Owner=nobody; perms=-rw-------; EFAs=Immutable,Append_Only,Extents
  ./utimensat01 -q /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 0 n 
0 n
  EXPECTED: EACCES   
  RESULT:   EPERM  
  utimensat01 69 TFAIL: FAILED test 69

  Readable file descriptor (futimens(3)) test
  Owner=nobody; perms=-rw-------; EFAs=Immutable,Append_Only,Extents
  ./utimensat01 -q -d /tmp/ltp-rWS3cK4Q6y/utimensat_tests/utimensat.test_file 
NULL 0 n 0 n
  EXPECTED: EACCES   
  RESULT:   EPERM  
  utimensat01 70 TFAIL: FAILED test 70

  Complete log could be found here:
  https://pastebin.ubuntu.com/p/QqMtzGt7QB/

  
  In the test script it states that:

  # Starting with 4.8.0 operations on immutable files return EPERM instead of
  # EACCES.
  # This patch has also been merged to stable 4.4 with
  # f2b20f6 ("vfs: move permission checking into notify_change() for 
utimes(NULL)")
  if tst_kvcmp -ge "4.4.27" -a -lt "4.5.0"; then
          imaccess=EPERM
  elif tst_kvcmp -lt "4.4.27"; then
          imaccess=EACCES
  else
          imaccess=EPERM
  fi

  As our 4.4 kernel already have this patch applied (f1e96ec9007a in
  Xenial tree), this should be a test case issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-132-generic 4.4.0-132.158
  ProcVersionSignature: Ubuntu 4.4.0-132.158-generic 4.4.140
  Uname: Linux 4.4.0-132-generic s390x
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 
2: ls: cannot access '/dev/snd/': No such file or directory
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: s390x
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 
not found.
  Date: Mon Aug  6 06:34:35 2018
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lspci:
   
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  PciMultimedia:
   
  ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
  ProcKernelCmdLine: root=UUID=44b0b919-a1a4-4849-9425-e71d4ac87d85 
crashkernel=196M nobp=1 BOOT_IMAGE=0
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-132-generic N/A
   linux-backports-modules-4.4.0-132-generic  N/A
   linux-firmware                             1.157.20
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1785765/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to