[Bug 1729510] Re: libhugetlbfs failed with "[Errno 95] Operation not supported" on s390x zVM

2018-09-12 Thread Po-Hsu Lin
As 17.10 has reaches its EOL, and the test was blacklisted on Bionic and onward.
I will mark this task as Won't fix.

** Changed in: ubuntu-kernel-tests
   Status: Incomplete => Won't Fix

** Changed in: linux (Ubuntu)
   Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1729510

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1729510] Re: libhugetlbfs failed with "[Errno 95] Operation not supported" on s390x zVM

2018-09-12 Thread Sean Feole
very old bug, with no action on it, marking bug as incomplete and will
close in 5 days if no update.

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

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1729510

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1729510] Re: libhugetlbfs failed with "[Errno 95] Operation not supported" on s390x zVM

2018-06-04 Thread Po-Hsu Lin
** Also affects: ubuntu-kernel-tests
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1729510

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1729510] Re: libhugetlbfs failed with "[Errno 95] Operation not supported" on s390x zVM

2017-11-28 Thread Po-Hsu Lin
** Description changed:

  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=1509607248localtime=Nov 
02 07:20:48
  07:20:48 DEBUG| Persistent state client._record_indent now set to 1
  07:20:48 INFO |   START   libhugetlbfslibhugetlbfs
timestamp=1509607248localtime=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
   

[Bug 1729510] Re: libhugetlbfs failed with "[Errno 95] Operation not supported" on s390x zVM

2017-11-02 Thread Po-Hsu Lin
The system got HUGETLB enabled in the config:

$ cat /boot/config-4.13.0-16-generic  | grep HUGETLB
CONFIG_CGROUP_HUGETLB=y
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y

But there is no hugepage_size in meminfo:
$ cat /proc/meminfo  | grep Hugepagesize

Looks like hugepage is not supported. I will fix the detection part in
our test suite.

Not sure if this is an expected behaviour in the kernel.

** Changed in: linux (Ubuntu)
   Status: In Progress => Confirmed

** Changed in: linux (Ubuntu)
 Assignee: Po-Hsu Lin (cypressyew) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1729510

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1729510/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1729510] Re: libhugetlbfs failed with "[Errno 95] Operation not supported" on s390x zVM

2017-11-02 Thread Po-Hsu Lin
** Description changed:

  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
+   [Errno 95] Operation not supported
+ 
+ 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=1509607248localtime=Nov 
02 07:20:48
  07:20:48 DEBUG| Persistent state client._record_indent now set to 1
  07:20:48 INFO |   START   libhugetlbfslibhugetlbfs
timestamp=1509607248localtime=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   

[Bug 1729510] Re: libhugetlbfs failed with "[Errno 95] Operation not supported" on s390x zVM

2017-11-02 Thread Po-Hsu Lin
** Changed in: linux (Ubuntu)
   Status: Incomplete => In Progress

** Description changed:

- Looks like it failed with some python code
+ 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
+ 
+ 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=1509607248localtime=Nov 
02 07:20:48   
+ 07:20:48 INFO | START timestamp=1509607248localtime=Nov 
02 07:20:48
  07:20:48 DEBUG| Persistent state client._record_indent now set to 1
- 07:20:48 INFO |   START   libhugetlbfslibhugetlbfs
timestamp=1509607248localtime=Nov 02 07:20:48   
+ 07:20:48 INFO |   START   libhugetlbfslibhugetlbfs
timestamp=1509607248localtime=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()
+   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: