revio in ubuntu_stress_smoke_test failed with ARM64 X-hwe-edge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stress-ng |
Fix Released
|
Medium
|
Colin Ian King | ||
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux-hwe (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Invalid
|
Undecided
|
Unassigned | ||
stress-ng (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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://
== 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_
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-
ProcVersionSign
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)
Changed in stress-ng: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in ubuntu-kernel-tests: | |
status: | New → Fix Released |
Changed in linux-hwe (Ubuntu): | |
status: | New → Invalid |
Changed in stress-ng: | |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
Changed in linux-hwe (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in linux-hwe (Ubuntu Cosmic): | |
status: | New → Invalid |
Changed in stress-ng (Ubuntu): | |
status: | New → Fix Released |
This issue can be reproduced on a moonshot ARM64 node as well.