[Kernel-packages] [Bug 1809699] Re: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial
** Tags added: cscc -- 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/1809699 Title: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial Status in ubuntu-kernel-tests: Fix Released Status in linux package in Ubuntu: Invalid Status in linux source package in Xenial: Fix Released Bug description: == SRU Justification == This cpu-hotplug test will always return PASSED even if there are some failures there: $ sudo make -C linux/tools/testing/selftests TARGETS=cpu-hotplug run_tests make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' for TARGET in cpu-hotplug; do \ make -C $TARGET; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' for TARGET in cpu-hotplug; do \ make -C $TARGET run_tests; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' pid 25001's current affinity mask: 3 pid 25001's new affinity mask: 1 CPU online/offline summary: Cpus in online state: 0-1 Cpus in offline state: 2 Limited scope test: one hotplug cpu (leaves cpu in the original state): online to offline to online: cpu 1 offline to online to offline: cpu 2 ./cpu-on-off-test.sh: line 78: /sys/devices/system/cpu/cpu2/online: No such file or directory online_cpu_expect_success 2: unexpected fail ./cpu-on-off-test.sh: line 83: /sys/devices/system/cpu/cpu2/online: No such file or directory offline_cpu_expect_success 2: unexpected fail selftests: cpu-on-off-test.sh [PASS] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' == Fixes == 8fe6e53a8ed5f0 (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) For newer releases, they already have this patch. For Trusty and older release, they will need more work to get this patch. == Regression Potential == None, fix for testing tools. For Trusty, it's missing another 20 commits to reach 8fe6e53: 4813d2e736 (tools: memory-hotplug fix unexpected operator error) da9bc4 (tools: selftests - create a separate hotplug target for full range test) a88cc108f6 (lib: Export interval_tree) 93e9ef83f4 (test: add minimal module for verification testing) 3e2a4c183a (test: check copy_to/from_user boundary validation) 64a8946b44 (net: filter: BPF testsuite) 7069a97a14 (selftests/net: move test out of Makefile into a shell script) 3c25fa14f0 (selftests/user: move test out of Makefile into a shell script) 24fe831c17 (tools/testing/selftests/sysctl: validate sysctl_writes_strict) 0a8adf5847 (test: add firmware_class loader test) 6e68e6c5e4 (ftracetest: Initial commit for ftracetest) 4f5ce5e8d7 (selftests: add memfd_create() + sealing tests) c9b26b81af (syscalls: add selftest for execveat(2)) 3ce51050fa (selftest: size: Add size test for Linux kernel) backport with context arrangement 87b2d44026 (selftests: add memfd/sealing page-pinning tests) 498b473af9 (tools: selftests: fix build issue with make kselftests target) ce6a144a0d (selftests/memfd: Run test on all architectures) 5e29a9105b (selftests: Introduce minimal shared logic for running tests) cc16782169 (selftests: change cpu on-off-test.sh name to be unique) 8c749ce93e (selftests: create test-specific kconfig fragments) 8fe6e53a8e (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-141-generic 4.4.0-141.167 ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic s390x NonfreeKernelModules: zfs zunicode zcommon znvpair zavl 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.20.1-0ubuntu2.18 Architecture: s390x ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. CurrentDmesg: Date: Mon Dec 24 04:08:18 2018 HibernationDevice: RESUME=UUID=ca468a9c-9563-442c-85c6-6055e800a66e IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lspci: Lsusb: Error: command ['lsusb'] failed with exit code 1: PciMultimedia:
[Kernel-packages] [Bug 1809699] Re: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial
** Changed in: ubuntu-kernel-tests Status: In Progress => Fix Released -- 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/1809699 Title: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial Status in ubuntu-kernel-tests: Fix Released Status in linux package in Ubuntu: Invalid Status in linux source package in Xenial: Fix Released Bug description: == SRU Justification == This cpu-hotplug test will always return PASSED even if there are some failures there: $ sudo make -C linux/tools/testing/selftests TARGETS=cpu-hotplug run_tests make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' for TARGET in cpu-hotplug; do \ make -C $TARGET; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' for TARGET in cpu-hotplug; do \ make -C $TARGET run_tests; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' pid 25001's current affinity mask: 3 pid 25001's new affinity mask: 1 CPU online/offline summary: Cpus in online state: 0-1 Cpus in offline state: 2 Limited scope test: one hotplug cpu (leaves cpu in the original state): online to offline to online: cpu 1 offline to online to offline: cpu 2 ./cpu-on-off-test.sh: line 78: /sys/devices/system/cpu/cpu2/online: No such file or directory online_cpu_expect_success 2: unexpected fail ./cpu-on-off-test.sh: line 83: /sys/devices/system/cpu/cpu2/online: No such file or directory offline_cpu_expect_success 2: unexpected fail selftests: cpu-on-off-test.sh [PASS] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' == Fixes == 8fe6e53a8ed5f0 (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) For newer releases, they already have this patch. For Trusty and older release, they will need more work to get this patch. == Regression Potential == None, fix for testing tools. For Trusty, it's missing another 20 commits to reach 8fe6e53: 4813d2e736 (tools: memory-hotplug fix unexpected operator error) da9bc4 (tools: selftests - create a separate hotplug target for full range test) a88cc108f6 (lib: Export interval_tree) 93e9ef83f4 (test: add minimal module for verification testing) 3e2a4c183a (test: check copy_to/from_user boundary validation) 64a8946b44 (net: filter: BPF testsuite) 7069a97a14 (selftests/net: move test out of Makefile into a shell script) 3c25fa14f0 (selftests/user: move test out of Makefile into a shell script) 24fe831c17 (tools/testing/selftests/sysctl: validate sysctl_writes_strict) 0a8adf5847 (test: add firmware_class loader test) 6e68e6c5e4 (ftracetest: Initial commit for ftracetest) 4f5ce5e8d7 (selftests: add memfd_create() + sealing tests) c9b26b81af (syscalls: add selftest for execveat(2)) 3ce51050fa (selftest: size: Add size test for Linux kernel) backport with context arrangement 87b2d44026 (selftests: add memfd/sealing page-pinning tests) 498b473af9 (tools: selftests: fix build issue with make kselftests target) ce6a144a0d (selftests/memfd: Run test on all architectures) 5e29a9105b (selftests: Introduce minimal shared logic for running tests) cc16782169 (selftests: change cpu on-off-test.sh name to be unique) 8c749ce93e (selftests: create test-specific kconfig fragments) 8fe6e53a8e (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-141-generic 4.4.0-141.167 ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic s390x NonfreeKernelModules: zfs zunicode zcommon znvpair zavl 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.20.1-0ubuntu2.18 Architecture: s390x ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. CurrentDmesg: Date: Mon Dec 24 04:08:18 2018 HibernationDevice: RESUME=UUID=ca468a9c-9563-442c-85c6-6055e800a66e IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lspci: Lsusb: Error:
[Kernel-packages] [Bug 1809699] Re: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial
This bug was fixed in the package linux - 4.4.0-142.168 --- linux (4.4.0-142.168) xenial; urgency=medium * linux: 4.4.0-142.168 -proposed tracker (LP: #1811846) * Packaging resync (LP: #1786013) - [Packaging] update helper scripts * iptables connlimit allows more connections than the limit when using multiple CPUs (LP: #1811094) - netfilter: xt_connlimit: don't store address in the conn nodes - SAUCE: netfilter: xt_connlimit: remove the 'addr' parameter in add_hlist() - netfilter: nf_conncount: expose connection list interface - netfilter: nf_conncount: Fix garbage collection with zones - netfilter: nf_conncount: fix garbage collection confirm race - netfilter: nf_conncount: don't skip eviction when age is negative * CVE-2017-5715 - SAUCE: x86/speculation: Cleanup IBPB runtime control handling - SAUCE: x86/speculation: Cleanup IBRS runtime control handling - SAUCE: x86/speculation: Use x86_spec_ctrl_base in entry/exit code - SAUCE: x86/speculation: Move RSB_CTXSW hunk * Xenial update: 4.4.167 upstream stable release (LP: #1811077) - media: em28xx: Fix use-after-free when disconnecting - Revert "wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()" - rapidio/rionet: do not free skb before reading its length - s390/qeth: fix length check in SNMP processing - usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2 - kvm: mmu: Fix race in emulated page table writes - xtensa: enable coprocessors that are being flushed - xtensa: fix coprocessor context offset definitions - Btrfs: ensure path name is null terminated at btrfs_control_ioctl - ALSA: wss: Fix invalid snd_free_pages() at error path - ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write - ALSA: control: Fix race between adding and removing a user element - ALSA: sparc: Fix invalid snd_free_pages() at error path - ext2: fix potential use after free - dmaengine: at_hdmac: fix memory leak in at_dma_xlate() - dmaengine: at_hdmac: fix module unloading - btrfs: release metadata before running delayed refs - USB: usb-storage: Add new IDs to ums-realtek - usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series - misc: mic/scif: fix copy-paste error in scif_create_remote_lookup - Kbuild: suppress packed-not-aligned warning for default setting only - exec: avoid gcc-8 warning for get_task_comm - disable stringop truncation warnings for now - kobject: Replace strncpy with memcpy - unifdef: use memcpy instead of strncpy - kernfs: Replace strncpy with memcpy - ip_tunnel: Fix name string concatenate in __ip_tunnel_create() - drm: gma500: fix logic error - scsi: bfa: convert to strlcpy/strlcat - staging: rts5208: fix gcc-8 logic error warning - kdb: use memmove instead of overlapping memcpy - iser: set sector for ambiguous mr status errors - uprobes: Fix handle_swbp() vs. unregister() + register() race once more - MIPS: ralink: Fix mt7620 nd_sd pinmux - mips: fix mips_get_syscall_arg o32 check - drm/ast: Fix incorrect free on ioregs - scsi: scsi_devinfo: cleanly zero-pad devinfo strings - ALSA: trident: Suppress gcc string warning - scsi: csiostor: Avoid content leaks and casts - kgdboc: Fix restrict error - kgdboc: Fix warning with module build - leds: call led_pwm_set() in leds-pwm to enforce default LED_OFF - leds: turn off the LED and wait for completion on unregistering LED class device - leds: leds-gpio: Fix return value check in create_gpio_led() - Input: xpad - quirk all PDP Xbox One gamepads - Input: matrix_keypad - check for errors from of_get_named_gpio() - Input: elan_i2c - add ELAN0620 to the ACPI table - Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR - Input: elan_i2c - add support for ELAN0621 touchpad - btrfs: Always try all copies when reading extent buffers - Btrfs: fix use-after-free when dumping free space - ARC: change defconfig defaults to ARCv2 - arc: [devboards] Add support of NFSv3 ACL - mm: cleancache: fix corruption on missed inode invalidation - usb: gadget: dummy: fix nonsensical comparisons - iommu/vt-d: Fix NULL pointer dereference in prq_event_thread() - iommu/ipmmu-vmsa: Fix crash on early domain free - can: rcar_can: Fix erroneous registration - batman-adv: Expand merged fragment buffer for full packet - bnx2x: Assign unique DMAE channel number for FW DMAE transactions. - qed: Fix PTT leak in qed_drain() - qed: Fix reading wrong value in loop condition - net/mlx4_core: Zero out lkey field in SW2HW_MPT fw command - net/mlx4_core: Fix uninitialized variable compilation warning - net/mlx4: Fix UBSAN warning of signed integer overflow - net: faraday: ftmac100: remove netif_running(netdev) check before disabling interrupts
[Kernel-packages] [Bug 1809699] Re: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- xenial' to 'verification-done-xenial'. If the problem still exists, change the tag 'verification-needed-xenial' to 'verification-failed- xenial'. If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: verification-needed-xenial -- 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/1809699 Title: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial Status in ubuntu-kernel-tests: In Progress Status in linux package in Ubuntu: Invalid Status in linux source package in Xenial: Fix Committed Bug description: == SRU Justification == This cpu-hotplug test will always return PASSED even if there are some failures there: $ sudo make -C linux/tools/testing/selftests TARGETS=cpu-hotplug run_tests make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' for TARGET in cpu-hotplug; do \ make -C $TARGET; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' for TARGET in cpu-hotplug; do \ make -C $TARGET run_tests; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' pid 25001's current affinity mask: 3 pid 25001's new affinity mask: 1 CPU online/offline summary: Cpus in online state: 0-1 Cpus in offline state: 2 Limited scope test: one hotplug cpu (leaves cpu in the original state): online to offline to online: cpu 1 offline to online to offline: cpu 2 ./cpu-on-off-test.sh: line 78: /sys/devices/system/cpu/cpu2/online: No such file or directory online_cpu_expect_success 2: unexpected fail ./cpu-on-off-test.sh: line 83: /sys/devices/system/cpu/cpu2/online: No such file or directory offline_cpu_expect_success 2: unexpected fail selftests: cpu-on-off-test.sh [PASS] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' == Fixes == 8fe6e53a8ed5f0 (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) For newer releases, they already have this patch. For Trusty and older release, they will need more work to get this patch. == Regression Potential == None, fix for testing tools. For Trusty, it's missing another 20 commits to reach 8fe6e53: 4813d2e736 (tools: memory-hotplug fix unexpected operator error) da9bc4 (tools: selftests - create a separate hotplug target for full range test) a88cc108f6 (lib: Export interval_tree) 93e9ef83f4 (test: add minimal module for verification testing) 3e2a4c183a (test: check copy_to/from_user boundary validation) 64a8946b44 (net: filter: BPF testsuite) 7069a97a14 (selftests/net: move test out of Makefile into a shell script) 3c25fa14f0 (selftests/user: move test out of Makefile into a shell script) 24fe831c17 (tools/testing/selftests/sysctl: validate sysctl_writes_strict) 0a8adf5847 (test: add firmware_class loader test) 6e68e6c5e4 (ftracetest: Initial commit for ftracetest) 4f5ce5e8d7 (selftests: add memfd_create() + sealing tests) c9b26b81af (syscalls: add selftest for execveat(2)) 3ce51050fa (selftest: size: Add size test for Linux kernel) backport with context arrangement 87b2d44026 (selftests: add memfd/sealing page-pinning tests) 498b473af9 (tools: selftests: fix build issue with make kselftests target) ce6a144a0d (selftests/memfd: Run test on all architectures) 5e29a9105b (selftests: Introduce minimal shared logic for running tests) cc16782169 (selftests: change cpu on-off-test.sh name to be unique) 8c749ce93e (selftests: create test-specific kconfig fragments) 8fe6e53a8e (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-141-generic 4.4.0-141.167 ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic s390x NonfreeKernelModules: zfs zunicode zcommon znvpair zavl AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code
[Kernel-packages] [Bug 1809699] Re: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial
** Changed in: linux (Ubuntu Xenial) Status: In Progress => Fix Committed -- 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/1809699 Title: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial Status in ubuntu-kernel-tests: In Progress Status in linux package in Ubuntu: Invalid Status in linux source package in Xenial: Fix Committed Bug description: == SRU Justification == This cpu-hotplug test will always return PASSED even if there are some failures there: $ sudo make -C linux/tools/testing/selftests TARGETS=cpu-hotplug run_tests make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' for TARGET in cpu-hotplug; do \ make -C $TARGET; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' for TARGET in cpu-hotplug; do \ make -C $TARGET run_tests; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' pid 25001's current affinity mask: 3 pid 25001's new affinity mask: 1 CPU online/offline summary: Cpus in online state: 0-1 Cpus in offline state: 2 Limited scope test: one hotplug cpu (leaves cpu in the original state): online to offline to online: cpu 1 offline to online to offline: cpu 2 ./cpu-on-off-test.sh: line 78: /sys/devices/system/cpu/cpu2/online: No such file or directory online_cpu_expect_success 2: unexpected fail ./cpu-on-off-test.sh: line 83: /sys/devices/system/cpu/cpu2/online: No such file or directory offline_cpu_expect_success 2: unexpected fail selftests: cpu-on-off-test.sh [PASS] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' == Fixes == 8fe6e53a8ed5f0 (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) For newer releases, they already have this patch. For Trusty and older release, they will need more work to get this patch. == Regression Potential == None, fix for testing tools. For Trusty, it's missing another 20 commits to reach 8fe6e53: 4813d2e736 (tools: memory-hotplug fix unexpected operator error) da9bc4 (tools: selftests - create a separate hotplug target for full range test) a88cc108f6 (lib: Export interval_tree) 93e9ef83f4 (test: add minimal module for verification testing) 3e2a4c183a (test: check copy_to/from_user boundary validation) 64a8946b44 (net: filter: BPF testsuite) 7069a97a14 (selftests/net: move test out of Makefile into a shell script) 3c25fa14f0 (selftests/user: move test out of Makefile into a shell script) 24fe831c17 (tools/testing/selftests/sysctl: validate sysctl_writes_strict) 0a8adf5847 (test: add firmware_class loader test) 6e68e6c5e4 (ftracetest: Initial commit for ftracetest) 4f5ce5e8d7 (selftests: add memfd_create() + sealing tests) c9b26b81af (syscalls: add selftest for execveat(2)) 3ce51050fa (selftest: size: Add size test for Linux kernel) backport with context arrangement 87b2d44026 (selftests: add memfd/sealing page-pinning tests) 498b473af9 (tools: selftests: fix build issue with make kselftests target) ce6a144a0d (selftests/memfd: Run test on all architectures) 5e29a9105b (selftests: Introduce minimal shared logic for running tests) cc16782169 (selftests: change cpu on-off-test.sh name to be unique) 8c749ce93e (selftests: create test-specific kconfig fragments) 8fe6e53a8e (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-141-generic 4.4.0-141.167 ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic s390x NonfreeKernelModules: zfs zunicode zcommon znvpair zavl 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.20.1-0ubuntu2.18 Architecture: s390x ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. CurrentDmesg: Date: Mon Dec 24 04:08:18 2018 HibernationDevice: RESUME=UUID=ca468a9c-9563-442c-85c6-6055e800a66e IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lspci: Lsusb: Error:
[Kernel-packages] [Bug 1809699] Re: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial
** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Xenial) Status: New => In Progress ** Changed in: linux (Ubuntu Xenial) Assignee: (unassigned) => Po-Hsu Lin (cypressyew) ** Changed in: linux (Ubuntu) Status: In Progress => Invalid -- 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/1809699 Title: cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial Status in ubuntu-kernel-tests: In Progress Status in linux package in Ubuntu: Invalid Status in linux source package in Xenial: In Progress Bug description: == SRU Justification == This cpu-hotplug test will always return PASSED even if there are some failures there: $ sudo make -C linux/tools/testing/selftests TARGETS=cpu-hotplug run_tests make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' for TARGET in cpu-hotplug; do \ make -C $TARGET; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' for TARGET in cpu-hotplug; do \ make -C $TARGET run_tests; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' pid 25001's current affinity mask: 3 pid 25001's new affinity mask: 1 CPU online/offline summary: Cpus in online state: 0-1 Cpus in offline state: 2 Limited scope test: one hotplug cpu (leaves cpu in the original state): online to offline to online: cpu 1 offline to online to offline: cpu 2 ./cpu-on-off-test.sh: line 78: /sys/devices/system/cpu/cpu2/online: No such file or directory online_cpu_expect_success 2: unexpected fail ./cpu-on-off-test.sh: line 83: /sys/devices/system/cpu/cpu2/online: No such file or directory offline_cpu_expect_success 2: unexpected fail selftests: cpu-on-off-test.sh [PASS] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/cpu-hotplug' make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' == Fixes == 8fe6e53a8ed5f0 (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) For newer releases, they already have this patch. For Trusty and older release, they will need more work to get this patch. == Regression Potential == None, fix for testing tools. For Trusty, it's missing another 20 commits to reach 8fe6e53: 4813d2e736 (tools: memory-hotplug fix unexpected operator error) da9bc4 (tools: selftests - create a separate hotplug target for full range test) a88cc108f6 (lib: Export interval_tree) 93e9ef83f4 (test: add minimal module for verification testing) 3e2a4c183a (test: check copy_to/from_user boundary validation) 64a8946b44 (net: filter: BPF testsuite) 7069a97a14 (selftests/net: move test out of Makefile into a shell script) 3c25fa14f0 (selftests/user: move test out of Makefile into a shell script) 24fe831c17 (tools/testing/selftests/sysctl: validate sysctl_writes_strict) 0a8adf5847 (test: add firmware_class loader test) 6e68e6c5e4 (ftracetest: Initial commit for ftracetest) 4f5ce5e8d7 (selftests: add memfd_create() + sealing tests) c9b26b81af (syscalls: add selftest for execveat(2)) 3ce51050fa (selftest: size: Add size test for Linux kernel) backport with context arrangement 87b2d44026 (selftests: add memfd/sealing page-pinning tests) 498b473af9 (tools: selftests: fix build issue with make kselftests target) ce6a144a0d (selftests/memfd: Run test on all architectures) 5e29a9105b (selftests: Introduce minimal shared logic for running tests) cc16782169 (selftests: change cpu on-off-test.sh name to be unique) 8c749ce93e (selftests: create test-specific kconfig fragments) 8fe6e53a8e (selftests/cpu-hotplug: exit with failure when test occured unexpected behaviors) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-141-generic 4.4.0-141.167 ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic s390x NonfreeKernelModules: zfs zunicode zcommon znvpair zavl 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.20.1-0ubuntu2.18 Architecture: s390x ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: