[Kernel-packages] [Bug 1640547] Re: stress-ng tests failing

2016-11-10 Thread Mike Rushton
** Also affects: plainbox-provider-checkbox (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: linux (Ubuntu)

** Changed in: plainbox-provider-checkbox (Ubuntu)
   Status: New => Confirmed

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

Title:
  stress-ng tests failing

Status in plainbox-provider-checkbox package in Ubuntu:
  Confirmed
Status in linux source package in Xenial:
  Incomplete
Status in plainbox-provider-checkbox source package in Xenial:
  New

Bug description:
  When running the stress-ng disk test, we are seeing the following
  failures as well as I/O lockup:

  /dev/sda is a block device
  Found largest partition: "/dev/sda2"
  Test will use /dev/sda2, mounted at "/", using "ext4"
  test_dir is /tmp/disk_stress_ng
  Estimated total run time is 4560 seconds

  Running stress-ng aio stressor for 240 seconds
  stress-ng: info:  [4305] dispatching hogs: 160 aio
  stress-ng: info:  [4305] cache allocate: using built-in defaults as unable to 
determine cache details
  stress-ng: info:  [4305] cache allocate: default cache size: 2048K
  stress-ng: info:  [4305] successful run completed in 240.27s (4 mins, 0.27 
secs)
  return_code is 0
  Running stress-ng aiol stressor for 240 seconds
  stress-ng: info:  [4917] dispatching hogs: 160 aio-linux
  stress-ng: info:  [4917] cache allocate: using built-in defaults as unable to 
determine cache details
  stress-ng: info:  [4917] cache allocate: default cache size: 2048K
  stress-ng: fail:  [5002] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5012] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5020] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5018] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5019] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5013] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [4959] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5032] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5041] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5017] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5022] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5016] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5038] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5040] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5026] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5027] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5031] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5049] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5021] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5045] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5047] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5044] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5052] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5029] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5015] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5053] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5051] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5063] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5058] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5054] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5061] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5059] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5055] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5023] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permit

[Kernel-packages] [Bug 1640547] Re: stress-ng tests failing

2016-11-10 Thread Colin Ian King
OK, I can see one big problem, the timeout command is being used to
SIGKILL stress-ng - that means all the child processes get SIGKILL'd and
hence abort without cleaning up. One ends up with a file system full of
garbage files which will cause subsequent tests to break.

I suggest:

1.  Sending SIGALRM to the child processes - this will tell them to stop and 
clean up
2.  Remove any temp files after each test in case they are killed or die 
without cleaning up

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

Title:
  stress-ng tests failing

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Xenial:
  Incomplete

Bug description:
  When running the stress-ng disk test, we are seeing the following
  failures as well as I/O lockup:

  /dev/sda is a block device
  Found largest partition: "/dev/sda2"
  Test will use /dev/sda2, mounted at "/", using "ext4"
  test_dir is /tmp/disk_stress_ng
  Estimated total run time is 4560 seconds

  Running stress-ng aio stressor for 240 seconds
  stress-ng: info:  [4305] dispatching hogs: 160 aio
  stress-ng: info:  [4305] cache allocate: using built-in defaults as unable to 
determine cache details
  stress-ng: info:  [4305] cache allocate: default cache size: 2048K
  stress-ng: info:  [4305] successful run completed in 240.27s (4 mins, 0.27 
secs)
  return_code is 0
  Running stress-ng aiol stressor for 240 seconds
  stress-ng: info:  [4917] dispatching hogs: 160 aio-linux
  stress-ng: info:  [4917] cache allocate: using built-in defaults as unable to 
determine cache details
  stress-ng: info:  [4917] cache allocate: default cache size: 2048K
  stress-ng: fail:  [5002] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5012] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5020] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5018] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5019] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5013] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [4959] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5032] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5041] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5017] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5022] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5016] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5038] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5040] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5026] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5027] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5031] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5049] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5021] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5045] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5047] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5044] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5052] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5029] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5015] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5053] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5051] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5063] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5058] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5054] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5061] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5059] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5055] stress-ng-a

[Kernel-packages] [Bug 1640547] Re: stress-ng tests failing

2016-11-10 Thread Mike Rushton
** Summary changed:

- Disk test fails on IBM Power S822LC (8335-GTB)
+ stress-ng tests failing

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

Title:
  stress-ng tests failing

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Xenial:
  Incomplete

Bug description:
  When running the stress-ng disk test, we are seeing the following
  failures as well as I/O lockup:

  /dev/sda is a block device
  Found largest partition: "/dev/sda2"
  Test will use /dev/sda2, mounted at "/", using "ext4"
  test_dir is /tmp/disk_stress_ng
  Estimated total run time is 4560 seconds

  Running stress-ng aio stressor for 240 seconds
  stress-ng: info:  [4305] dispatching hogs: 160 aio
  stress-ng: info:  [4305] cache allocate: using built-in defaults as unable to 
determine cache details
  stress-ng: info:  [4305] cache allocate: default cache size: 2048K
  stress-ng: info:  [4305] successful run completed in 240.27s (4 mins, 0.27 
secs)
  return_code is 0
  Running stress-ng aiol stressor for 240 seconds
  stress-ng: info:  [4917] dispatching hogs: 160 aio-linux
  stress-ng: info:  [4917] cache allocate: using built-in defaults as unable to 
determine cache details
  stress-ng: info:  [4917] cache allocate: default cache size: 2048K
  stress-ng: fail:  [5002] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5012] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5020] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5018] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5019] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5013] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [4959] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5032] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5041] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5017] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5022] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5016] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5038] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5040] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5026] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5027] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5031] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5049] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5021] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5045] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5047] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5044] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5052] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5029] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5015] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5053] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5051] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5063] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5058] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5054] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5061] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5059] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5055] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5023] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5036] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stress-ng: fail:  [5030] stress-ng-aio-linux: io_setup failed, errno=1 
(Operation not permitted)
  stres