Activity log for bug #1809704

Date Who What changed Old value New value Message
2018-12-25 06:35:42 Po-Hsu Lin bug added bug
2018-12-25 06:35:53 Po-Hsu Lin nominated for series Ubuntu Xenial
2018-12-25 06:36:55 Po-Hsu Lin bug task added ubuntu-kernel-tests
2018-12-25 07:00:10 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2018-12-25 07:26:54 Po-Hsu Lin summary efivarfs test in ubuntu_kernel_selftest failed on Xenial AMD64 efivarfs test in ubuntu_kernel_selftest failed on the second run with Xenial AMD64
2018-12-25 07:29:01 Po-Hsu Lin description The open(O_WRONLY) test in test_create_read failed with premission denied. This issue can be reproduced with upstream kernel tree on Xenial as well. $ sudo make -C linux/tools/testing/selftests TARGETS=efivarfs run_tests make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' for TARGET in efivarfs; do \ make -C $TARGET; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/efivarfs' 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/efivarfs' for TARGET in efivarfs; do \ make -C $TARGET run_tests; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/efivarfs' -------------------- running test_create -------------------- ./efivarfs.sh: line 48: /sys/firmware/efi/efivars/test_create-210be57c-9849-4fc7-a635-e6382d1aec27: Permission denied [PASS] -------------------- running test_create_empty -------------------- ./efivarfs.sh: line 65: /sys/firmware/efi/efivars/test_create_empty-210be57c-9849-4fc7-a635-e6382d1aec27: Permission denied [PASS] -------------------- running test_create_read -------------------- open(O_WRONLY): Permission denied [FAIL] -------------------- running test_delete -------------------- [PASS] -------------------- running test_zero_size_delete -------------------- [PASS] -------------------- running test_open_unlink -------------------- [PASS] -------------------- running test_valid_filenames -------------------- [PASS] -------------------- running test_invalid_filenames -------------------- [PASS] selftests: efivarfs.sh [FAIL] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/efivarfs' make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-141-generic 4.4.0-141.167 ProcVersionSignature: User Name 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic x86_64 AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Dec 24 05:10 seq crw-rw---- 1 root audio 116, 33 Dec 24 05:10 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CurrentDmesg: [92859.670497] smpboot: CPU 111 is now offline [92859.723040] kvm: disabled by bios [92859.750562] smpboot: Booting Node 1 Processor 111 APIC 0x7d [92859.821706] kvm: disabled by bios Date: Tue Dec 25 06:30:01 2018 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0b1f:03e9 Insyde Software Corp. Bus 001 Device 002: ID 0000:0001 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: Intel Corporation S2600WFT PciMultimedia: ProcFB: 0 astdrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-141-generic.efi.signed root=UUID=e93f24ed-4e90-4ccb-ba6d-f3b97fe0436f ro console=ttyS0,115200n8 RelatedPackageVersions: linux-restricted-modules-4.4.0-141-generic N/A linux-backports-modules-4.4.0-141-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/29/2016 dmi.bios.vendor: Intel Corporation dmi.bios.version: SE5C620.86B.01.00.0336.112920161700 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: S2600WFT dmi.board.vendor: Intel Corporation dmi.board.version: H48104-410 dmi.chassis.asset.tag: .................... dmi.chassis.type: 23 dmi.chassis.vendor: ............................... dmi.chassis.version: .................. dmi.modalias: dmi:bvnIntelCorporation:bvrSE5C620.86B.01.00.0336.112920161700:bd11/29/2016:svnIntelCorporation:pnS2600WFT:pvr....................:rvnIntelCorporation:rnS2600WFT:rvrH48104-410:cvn...............................:ct23:cvr..................: dmi.product.name: S2600WFT dmi.product.version: .................... dmi.sys.vendor: Intel Corporation This seems to be an issue to the test case, if you run the test suite twice, it will fail on the second run. The first run will create the test file: $ ll /sys/firmware/efi/efivars/test_create_read-210be57c-9849-4fc7-a635-e6382d1aec27 -rw------- 1 root root 0 Dec 24 07:16 /sys/firmware/efi/efivars/test_create_read-210be57c-9849-4fc7-a635-e6382d1aec27 This is cause the open(O_WRONLY) test in test_create_read failed with premission denied on the second run. This issue can be reproduced with upstream kernel tree on Xenial as well. $ sudo make -C linux/tools/testing/selftests TARGETS=efivarfs run_tests make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' for TARGET in efivarfs; do \  make -C $TARGET; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/efivarfs' 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/efivarfs' for TARGET in efivarfs; do \  make -C $TARGET run_tests; \ done; make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/efivarfs' -------------------- running test_create -------------------- ./efivarfs.sh: line 48: /sys/firmware/efi/efivars/test_create-210be57c-9849-4fc7-a635-e6382d1aec27: Permission denied   [PASS] -------------------- running test_create_empty -------------------- ./efivarfs.sh: line 65: /sys/firmware/efi/efivars/test_create_empty-210be57c-9849-4fc7-a635-e6382d1aec27: Permission denied   [PASS] -------------------- running test_create_read -------------------- open(O_WRONLY): Permission denied   [FAIL] -------------------- running test_delete --------------------   [PASS] -------------------- running test_zero_size_delete --------------------   [PASS] -------------------- running test_open_unlink --------------------   [PASS] -------------------- running test_valid_filenames --------------------   [PASS] -------------------- running test_invalid_filenames --------------------   [PASS] selftests: efivarfs.sh [FAIL] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/efivarfs' make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-141-generic 4.4.0-141.167 ProcVersionSignature: User Name 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic x86_64 AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 Dec 24 05:10 seq  crw-rw---- 1 root audio 116, 33 Dec 24 05:10 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CurrentDmesg:  [92859.670497] smpboot: CPU 111 is now offline  [92859.723040] kvm: disabled by bios  [92859.750562] smpboot: Booting Node 1 Processor 111 APIC 0x7d  [92859.821706] kvm: disabled by bios Date: Tue Dec 25 06:30:01 2018 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb:  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  Bus 001 Device 003: ID 0b1f:03e9 Insyde Software Corp.  Bus 001 Device 002: ID 0000:0001  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: Intel Corporation S2600WFT PciMultimedia: ProcFB: 0 astdrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-141-generic.efi.signed root=UUID=e93f24ed-4e90-4ccb-ba6d-f3b97fe0436f ro console=ttyS0,115200n8 RelatedPackageVersions:  linux-restricted-modules-4.4.0-141-generic N/A  linux-backports-modules-4.4.0-141-generic N/A  linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/29/2016 dmi.bios.vendor: Intel Corporation dmi.bios.version: SE5C620.86B.01.00.0336.112920161700 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: S2600WFT dmi.board.vendor: Intel Corporation dmi.board.version: H48104-410 dmi.chassis.asset.tag: .................... dmi.chassis.type: 23 dmi.chassis.vendor: ............................... dmi.chassis.version: .................. dmi.modalias: dmi:bvnIntelCorporation:bvrSE5C620.86B.01.00.0336.112920161700:bd11/29/2016:svnIntelCorporation:pnS2600WFT:pvr....................:rvnIntelCorporation:rnS2600WFT:rvrH48104-410:cvn...............................:ct23:cvr..................: dmi.product.name: S2600WFT dmi.product.version: .................... dmi.sys.vendor: Intel Corporation
2018-12-25 08:51:15 Po-Hsu Lin linux (Ubuntu): status Incomplete In Progress
2018-12-25 08:51:16 Po-Hsu Lin linux (Ubuntu): assignee Po-Hsu Lin (cypressyew)
2018-12-25 08:51:18 Po-Hsu Lin ubuntu-kernel-tests: assignee Po-Hsu Lin (cypressyew)
2018-12-25 08:51:20 Po-Hsu Lin ubuntu-kernel-tests: status New In Progress
2018-12-25 09:03:01 Po-Hsu Lin summary efivarfs test in ubuntu_kernel_selftest failed on the second run with Xenial AMD64 efivarfs test in ubuntu_kernel_selftest failed on the second run
2019-05-15 03:10:13 Po-Hsu Lin bug task added linux (Ubuntu Xenial)
2019-05-15 03:22:56 Po-Hsu Lin nominated for series Ubuntu Bionic
2019-05-15 03:22:56 Po-Hsu Lin bug task added linux (Ubuntu Bionic)
2019-05-15 03:24:49 Po-Hsu Lin nominated for series Ubuntu Cosmic
2019-05-15 03:24:49 Po-Hsu Lin bug task added linux (Ubuntu Cosmic)
2019-05-15 03:27:48 Po-Hsu Lin nominated for series Ubuntu Eoan
2019-05-15 03:27:48 Po-Hsu Lin bug task added linux (Ubuntu Eoan)
2019-05-15 03:27:48 Po-Hsu Lin nominated for series Ubuntu Disco
2019-05-15 03:27:48 Po-Hsu Lin bug task added linux (Ubuntu Disco)
2019-05-30 09:28:31 Po-Hsu Lin bug task deleted linux (Ubuntu Eoan)
2019-07-24 21:32:57 Brad Figg tags amd64 apport-bug uec-images xenial amd64 apport-bug cscc uec-images xenial
2019-09-16 12:42:16 Po-Hsu Lin tags amd64 apport-bug cscc uec-images xenial amd64 apport-bug cscc ubuntu-kernel-selftests uec-images xenial
2019-09-18 12:50:04 Po-Hsu Lin linux (Ubuntu Cosmic): status New Won't Fix