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

-- 
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/1729510

Title:
  libhugetlbfs failed with "[Errno 95] Operation not supported" on s390x
  zVM

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Steps:
  1. sudo apt-get install git python-minimal -y
  2. git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest-client-tests
  3. git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest
  4. rm -fr autotest/client/tests
  5. ln -sf ~/autotest-client-tests autotest/client/tests
  6. AUTOTEST_PATH=/home/ubuntu/autotest sudo -E autotest/client/autotest-local 
--verbose autotest/client/tests/libhugetlbfs/control

  It will failed with the following python code piece when trying to
  access /proc/sys/vm/nr_hugepages:

  utils.write_one_line('/proc/sys/vm/nr_hugepages',
  str(pages_requested))

  With error message:
    [Errno 95] Operation not supported

  For Xenial, the error message is:
    [Errno 524] Unknown error 524

  This issue is not a regression.

  Full error log:

  $ AUTOTEST_PATH=/home/ubuntu/autotest sudo -E autotest/client
  /autotest-local --verbose autotest/client/tests/libhugetlbfs/control

  07:20:37 INFO | Writing results to 
/home/ubuntu/autotest/client/results/default
  07:20:37 DEBUG| Initializing the state engine
  07:20:37 DEBUG| Persistent state client.steps now set to []
  07:20:37 DEBUG| Persistent option harness now set to None
  07:20:37 DEBUG| Persistent option harness_args now set to None
  07:20:37 DEBUG| Selected harness: standalone
  07:20:48 INFO | START ----    ----    timestamp=1509607248    localtime=Nov 
02 07:20:48
  07:20:48 DEBUG| Persistent state client._record_indent now set to 1
  07:20:48 INFO |       START   libhugetlbfs    libhugetlbfs    
timestamp=1509607248    localtime=Nov 02 07:20:48
  07:20:48 DEBUG| Persistent state client._record_indent now set to 2
  07:20:48 DEBUG| Persistent state client.unexpected_reboot now set to 
('libhugetlbfs', 'libhugetlbfs')
  07:20:49 DEBUG| Running 'apt-get install --yes --force-yes build-essential 
git gcc'
  07:20:50 DEBUG| [stdout] Reading package lists...
  07:20:50 DEBUG| [stdout] Building dependency tree...
  07:20:50 DEBUG| [stdout] Reading state information...
  07:20:50 DEBUG| [stdout] build-essential is already the newest version 
(12.4ubuntu1).
  07:20:50 DEBUG| [stdout] gcc is already the newest version (4:7.2.0-1ubuntu1).
  07:20:50 DEBUG| [stdout] git is already the newest version 
(1:2.14.1-1ubuntu4).
  07:20:50 DEBUG| [stdout] The following packages were automatically installed 
and are no longer required:
  07:20:50 DEBUG| [stdout]   containerd linux-headers-4.13.0-14 
linux-headers-4.13.0-14-generic
  07:20:50 DEBUG| [stdout]   linux-image-4.13.0-14-generic 
linux-image-extra-4.13.0-14-generic runc
  07:20:50 DEBUG| [stdout] Use 'sudo apt autoremove' to remove them.
  07:20:50 DEBUG| [stdout] 0 upgraded, 0 newly installed, 0 to remove and 0 not 
upgraded.
  07:20:50 ERROR| [stderr] W: --force-yes is deprecated, use one of the options 
starting with --allow instead.
  07:20:50 DEBUG| Running 'which gcc'
  07:20:50 DEBUG| [stdout] /usr/bin/gcc
  07:20:53 ERROR| Exception escaping from test:
  Traceback (most recent call last):
    File "/home/ubuntu/autotest/client/shared/test.py", line 378, in _exec
      _cherry_pick_call(self.initialize, *args, **dargs)
    File "/home/ubuntu/autotest/client/shared/test.py", line 738, in 
_cherry_pick_call
      return func(*p_args, **p_dargs)
    File "/home/ubuntu/autotest/client/tests/libhugetlbfs/libhugetlbfs.py", 
line 39, in initialize
      str(pages_requested))
    File "/home/ubuntu/autotest/client/shared/utils.py", line 408, in 
write_one_line
      open_write_close(filename, line.rstrip('\n') + '\n')
    File "/home/ubuntu/autotest/client/shared/utils.py", line 416, in 
open_write_close
      f.close()
  IOError: [Errno 95] Operation not supported

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-image-4.13.0-16-generic 4.13.0-16.19
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic s390x
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  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': 'aplay'
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: s390x
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 
not found.
  Date: Thu Nov  2 07:18:00 2017
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lspci:

  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  PciMultimedia:

  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=C
   SHELL=/bin/bash
  ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
  ProcKernelCmdLine: root=/dev/mapper/kl04vg01-kl04root crashkernel=196M 
BOOT_IMAGE=0
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-16-generic N/A
   linux-backports-modules-4.13.0-16-generic  N/A
   linux-firmware                             1.169
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': '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/1729510/+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