Activity log for bug #1801856

Date Who What changed Old value New value Message
2018-11-06 06:28:43 Po-Hsu Lin bug added bug
2018-11-06 06:28:54 Po-Hsu Lin nominated for series Ubuntu Trusty
2018-11-06 06:29:04 Po-Hsu Lin bug task added stress-ng
2018-11-06 06:29:12 Po-Hsu Lin bug task added ubuntu-kernel-tests
2018-11-06 06:29:21 Po-Hsu Lin tags apport-bug arm64 trusty uec-images apport-bug arm64 ppc64el trusty uec-images
2018-11-06 06:29:31 Po-Hsu Lin summary seccomp in ubuntu_stress_smoke_test failed on ARM64 Trusty seccomp in ubuntu_stress_smoke_test failed on ARM64/Power8 Trusty
2018-11-06 06:30:06 Ubuntu Kernel Bot linux (Ubuntu): status New Confirmed
2018-11-07 02:50:48 Po-Hsu Lin ubuntu-kernel-tests: status New Confirmed
2018-11-07 09:37:06 Colin Ian King stress-ng: status New In Progress
2018-11-07 09:37:09 Colin Ian King stress-ng: importance Undecided High
2018-11-07 09:37:10 Colin Ian King stress-ng: assignee Colin Ian King (colin-king)
2018-11-07 09:37:14 Colin Ian King bug task deleted linux (Ubuntu)
2018-11-07 11:25:05 Po-Hsu Lin ubuntu-kernel-tests: status Confirmed Fix Released
2018-11-10 13:54:03 Colin Ian King stress-ng: status In Progress Fix Released
2018-11-14 17:42:04 Colin Ian King description Didn't see this on amd64 / i386, but it can be reproduced on power8 and ARM64 seccomp STARTING seccomp RETURNED 2 seccomp FAILED stress-ng: debug: [7528] 8 processors online, 8 processors configured stress-ng: info: [7528] dispatching hogs: 4 seccomp stress-ng: debug: [7528] /sys/devices/system/cpu/cpu0/cache does not exist stress-ng: info: [7528] cache allocate: using built-in defaults as unable to determine cache details stress-ng: debug: [7528] cache allocate: default cache size: 2048K stress-ng: debug: [7528] starting stressors stress-ng: debug: [7529] stress-ng-seccomp: started [7529] (instance 0) stress-ng: debug: [7528] 4 stressors spawned stress-ng: debug: [7530] stress-ng-seccomp: started [7530] (instance 1) stress-ng: fail: [7533] stress-ng-seccomp: prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument) stress-ng: fail: [7534] stress-ng-seccomp: prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument) stress-ng: debug: [7531] stress-ng-seccomp: started [7531] (instance 2) stress-ng: fail: [7530] stress-ng-seccomp: aborting because of unexpected failure in child process stress-ng: debug: [7530] stress-ng-seccomp: exited [7530] (instance 1) stress-ng: fail: [7529] stress-ng-seccomp: aborting because of unexpected failure in child process stress-ng: debug: [7529] stress-ng-seccomp: exited [7529] (instance 0) stress-ng: debug: [7532] stress-ng-seccomp: started [7532] (instance 3) stress-ng: error: [7528] process 7529 (stress-ng-seccomp) terminated with an error, exit status=1 (stress-ng core failure) stress-ng: debug: [7528] process [7529] terminated stress-ng: error: [7528] process 7530 (stress-ng-seccomp) terminated with an error, exit status=1 (stress-ng core failure) stress-ng: debug: [7528] process [7530] terminated stress-ng: fail: [7535] stress-ng-seccomp: prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument) stress-ng: fail: [7536] stress-ng-seccomp: prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument) stress-ng: fail: [7532] stress-ng-seccomp: aborting because of unexpected failure in child process stress-ng: debug: [7531] stress-ng-seccomp: exited [7531] (instance 2) stress-ng: error: [7528] process 7531 (stress-ng-seccomp) terminated with an error, exit status=1 (stress-ng core failure) stress-ng: debug: [7528] process [7531] terminated stress-ng: error: [7528] process 7532 (stress-ng-seccomp) terminated with an error, exit status=1 (stress-ng core failure) stress-ng: debug: [7528] process [7532] terminated stress-ng: info: [7528] unsuccessful run completed in 0.00s ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-161-generic 3.13.0-161.211 ProcVersionSignature: User Name 3.13.0-161.211-generic 3.13.11-ckt39 Uname: Linux 3.13.0-161-generic aarch64 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' ApportVersion: 2.14.1-0ubuntu3.29 Architecture: arm64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: [Errno 2] No such file or directory: 'iw' CurrentDmesg: Date: Tue Nov 6 06:23:27 2018 IwConfig: lo no wireless extensions. enp1s0 no wireless extensions. enp1s0d1 no wireless extensions. Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99 PciMultimedia: ProcFB: ProcKernelCmdLine: console=ttyS0,9600n8r ro RelatedPackageVersions: linux-restricted-modules-3.13.0-161-generic N/A linux-backports-modules-3.13.0-161-generic N/A linux-firmware 1.127.24 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) SRU Request [Cosmic] == Justification == When running stress-ng with the seccomp stressor on kernels that do not support seccomp will fail with prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument) error. == Fix == Upstream commit http://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=5a26fac6bfa000960aca295fc2772abb38d7f9fa == Testing == Run: sudo stress-ng --seccomp 1 With out the fix, the test will error out with errno=22 EINVAL. With the fix the stress test will be gracefully skipped. == Regression Potential == Minimal, this fix affects just the seccomp stress-ng stressor on systems that do not support seccomp prctl PR_SET_SECCOMP. ---------- Didn't see this on amd64 / i386, but it can be reproduced on power8 and ARM64   seccomp STARTING   seccomp RETURNED 2   seccomp FAILED   stress-ng: debug: [7528] 8 processors online, 8 processors configured   stress-ng: info: [7528] dispatching hogs: 4 seccomp   stress-ng: debug: [7528] /sys/devices/system/cpu/cpu0/cache does not exist   stress-ng: info: [7528] cache allocate: using built-in defaults as unable to determine cache details   stress-ng: debug: [7528] cache allocate: default cache size: 2048K   stress-ng: debug: [7528] starting stressors   stress-ng: debug: [7529] stress-ng-seccomp: started [7529] (instance 0)   stress-ng: debug: [7528] 4 stressors spawned   stress-ng: debug: [7530] stress-ng-seccomp: started [7530] (instance 1)   stress-ng: fail: [7533] stress-ng-seccomp: prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument)   stress-ng: fail: [7534] stress-ng-seccomp: prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument)   stress-ng: debug: [7531] stress-ng-seccomp: started [7531] (instance 2)   stress-ng: fail: [7530] stress-ng-seccomp: aborting because of unexpected failure in child process   stress-ng: debug: [7530] stress-ng-seccomp: exited [7530] (instance 1)   stress-ng: fail: [7529] stress-ng-seccomp: aborting because of unexpected failure in child process   stress-ng: debug: [7529] stress-ng-seccomp: exited [7529] (instance 0)   stress-ng: debug: [7532] stress-ng-seccomp: started [7532] (instance 3)   stress-ng: error: [7528] process 7529 (stress-ng-seccomp) terminated with an error, exit status=1 (stress-ng core failure)   stress-ng: debug: [7528] process [7529] terminated   stress-ng: error: [7528] process 7530 (stress-ng-seccomp) terminated with an error, exit status=1 (stress-ng core failure)   stress-ng: debug: [7528] process [7530] terminated   stress-ng: fail: [7535] stress-ng-seccomp: prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument)   stress-ng: fail: [7536] stress-ng-seccomp: prctl PR_SET_SECCOMP failed, errno=22 (Invalid argument)   stress-ng: fail: [7532] stress-ng-seccomp: aborting because of unexpected failure in child process   stress-ng: debug: [7531] stress-ng-seccomp: exited [7531] (instance 2)   stress-ng: error: [7528] process 7531 (stress-ng-seccomp) terminated with an error, exit status=1 (stress-ng core failure)   stress-ng: debug: [7528] process [7531] terminated   stress-ng: error: [7528] process 7532 (stress-ng-seccomp) terminated with an error, exit status=1 (stress-ng core failure)   stress-ng: debug: [7528] process [7532] terminated   stress-ng: info: [7528] unsuccessful run completed in 0.00s ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-161-generic 3.13.0-161.211 ProcVersionSignature: User Name 3.13.0-161.211-generic 3.13.11-ckt39 Uname: Linux 3.13.0-161-generic aarch64 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' ApportVersion: 2.14.1-0ubuntu3.29 Architecture: arm64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: [Errno 2] No such file or directory: 'iw' CurrentDmesg: Date: Tue Nov 6 06:23:27 2018 IwConfig:  lo no wireless extensions.  enp1s0 no wireless extensions.  enp1s0d1 no wireless extensions. Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99 PciMultimedia: ProcFB: ProcKernelCmdLine: console=ttyS0,9600n8r ro RelatedPackageVersions:  linux-restricted-modules-3.13.0-161-generic N/A  linux-backports-modules-3.13.0-161-generic N/A  linux-firmware 1.127.24 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install)
2018-11-14 18:15:27 Colin Ian King bug added subscriber Ubuntu Stable Release Updates Team
2018-11-16 09:56:31 Timo Aaltonen bug task added stress-ng (Ubuntu)
2018-11-16 09:56:47 Timo Aaltonen nominated for series Ubuntu Cosmic
2018-11-16 09:56:47 Timo Aaltonen bug task added stress-ng (Ubuntu Cosmic)
2018-11-16 10:01:25 Timo Aaltonen stress-ng (Ubuntu): status New Fix Released
2018-11-16 10:03:51 Timo Aaltonen stress-ng (Ubuntu Cosmic): status New Fix Committed
2018-11-16 10:03:53 Timo Aaltonen bug added subscriber SRU Verification
2018-11-16 10:03:57 Timo Aaltonen tags apport-bug arm64 ppc64el trusty uec-images apport-bug arm64 ppc64el trusty uec-images verification-needed verification-needed-cosmic
2018-11-16 12:55:17 Colin Ian King tags apport-bug arm64 ppc64el trusty uec-images verification-needed verification-needed-cosmic apport-bug arm64 ppc64el trusty uec-images verification-done-cosmic verification-needed
2018-11-26 08:07:23 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2018-11-26 08:17:18 Launchpad Janitor stress-ng (Ubuntu Cosmic): status Fix Committed Fix Released