** Description changed:

- SRU Request [Cosmic]
+ SRU Request [Bionic, Cosmic]
  
  == Justification ==
  
  When running stress-ng with the revio stressor, the FIEMAP ioctl is
  failing and causing the stress test to fail because the ioctl is being
  passed non-zero'd data from the stack.
  
  == Fix ==
  
  Upstream commit http://kernel.ubuntu.com/git/cking/stress-
  ng.git/commit/?id=3784579562506d0b5f3d071aea10bb3dbc9f45d6
  
  == Testing ==
  
  On a ARM64 system run:
  
  stress-ng --revio 1
  
  Without the fix the revio stress test will randomly fail depending on
  the garbage on the stack. With the fix the stress test will run
  successfully.
  
- 
  == Regression Potential ==
  
  Minimal, this affects just the revio stress test and is a simple memory
  zero'ing fix of a struct being passed to the FIEMAP ioctl. Regression
  potential is negligible.
- 
  
  --------------------
  
  On a ThunderX Cavium ARM64 node, with kernel: 4.15.0-36-generic 
#39~16.04.1-Ubuntu
  and the proposed 4.15.0-38-generic #41~16.04.1-Ubuntu
  
  The revio test in ubuntu_stress_smoke_test will fail with:
  
   revio STARTING
    revio RETURNED 2
    revio FAILED
    stress-ng: debug: [4771] 48 processors online, 48 processors configured
    stress-ng: info:  [4771] dispatching hogs: 4 revio
    stress-ng: info:  [4771] cache allocate: using built-in defaults as unable 
to determine cache details
    stress-ng: debug: [4771] cache allocate: default cache size: 2048K
    stress-ng: debug: [4771] starting stressors
    stress-ng: debug: [4772] stress-ng-revio: started [4772] (instance 0)
    stress-ng: debug: [4773] stress-ng-revio: started [4773] (instance 1)
    stress-ng: debug: [4771] 4 stressors spawned
    stress-ng: debug: [4774] stress-ng-revio: started [4774] (instance 2)
    stress-ng: debug: [4775] stress-ng-revio: started [4775] (instance 3)
    stress-ng: fail:  [4774] (null): open failed, errno=2 (No such file or 
directory)
    stress-ng: fail:  [4775] (null): open failed, errno=2 (No such file or 
directory)
    stress-ng: fail:  [4774] (null): rmdir './tmp-(null)-0-6' failed, errno=2 
(No such file or directory)
    stress-ng: fail:  [4775] (null): rmdir './tmp-(null)-0-6' failed, errno=2 
(No such file or directory)
    stress-ng: fail:  [4773] (null): rmdir './tmp-(null)-0-6' failed, errno=2 
(No such file or directory)
    stress-ng: fail:  [4772] (null): rmdir './tmp-(null)-0-6' failed, errno=2 
(No such file or directory)
    stress-ng: debug: [4771] process [4772] (stress-ng-revio) terminated on 
signal: 6 (Aborted)
    stress-ng: debug: [4771] process [4772] terminated
    stress-ng: debug: [4771] process [4773] (stress-ng-revio) terminated on 
signal: 6 (Aborted)
    stress-ng: debug: [4771] process [4773] terminated
    stress-ng: debug: [4771] process [4774] (stress-ng-revio) terminated on 
signal: 6 (Aborted)
    stress-ng: debug: [4771] process [4774] terminated
    stress-ng: debug: [4771] process [4775] (stress-ng-revio) terminated on 
signal: 6 (Aborted)
    stress-ng: debug: [4771] process [4775] terminated
    stress-ng: info:  [4771] unsuccessful run completed in 0.76s
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.15.0-36-generic 4.15.0-36.39~16.04.1
  ProcVersionSignature: User Name 4.15.0-36.39~16.04.1-generic 4.15.18
  Uname: Linux 4.15.0-36-generic aarch64
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: arm64
  Date: Thu Oct 18 09:08:59 2018
  SourcePackage: linux-hwe
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  revio in ubuntu_stress_smoke_test failed with ARM64 X-hwe-edge

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1798566/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to