2021-06-21 10:39:25 |
Kleber Sacilotto de Souza |
bug |
|
|
added bug |
2021-06-21 10:39:27 |
Kleber Sacilotto de Souza |
tags |
|
kernel-adt-failure |
|
2021-06-21 10:39:39 |
Kleber Sacilotto de Souza |
nominated for series |
|
Ubuntu Focal |
|
2021-06-21 10:39:39 |
Kleber Sacilotto de Souza |
bug task added |
|
systemd (Ubuntu Focal) |
|
2021-06-21 10:39:39 |
Kleber Sacilotto de Souza |
bug task added |
|
linux-hwe-5.11 (Ubuntu Focal) |
|
2021-06-21 10:50:49 |
Kleber Sacilotto de Souza |
description |
This is a scripted bug report about ADT failures while running systemd tests for linux-hwe-5.11/5.11.0-20.21~20.04.1 on focal. Whether this is caused by the dep8 tests of the tested source or the kernel has yet to be determined.
Testing failed on:
armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/armhf/s/systemd/20210617_124738_5b554@/log.gz |
This is a scripted bug report about ADT failures while running systemd tests for linux-hwe-5.11/5.11.0-20.21~20.04.1 on focal. Whether this is caused by the dep8 tests of the tested source or the kernel has yet to be determined.
Testing failed on:
amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/amd64/s/systemd/20210611_220645_bf5b6@/log.gz
armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/armhf/s/systemd/20210617_124738_5b554@/log.gz
ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/ppc64el/s/systemd/20210611_235629_92856@/log.gz
s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/s390x/s/systemd/20210611_214456_6427f@/log.gz
In arm64, ppc64el and s390x, 'root-unittests' fails with:
/* test_protect_sysctl */
Assertion 'errno == EFAULT' failed at src/test/test-seccomp.c:311, function test_protect_sysctl(). A
borting.
sysctlseccomp terminated by signal ABRT.
Assertion 'wait_for_terminate_and_check("sysctlseccomp", pid, WAIT_LOG) == EXIT_SUCCESS' failed at s
rc/test/test-seccomp.c:324, function test_protect_sysctl(). Aborting.
FAIL: test-seccomp (code: 134)
In amd64, 'upstream' also fails on 'TEST-24-UNIT-TESTS', which apparently is caused by the same 'test-seccomp.c:311' assertion failure. |
|
2021-06-21 10:52:18 |
Kleber Sacilotto de Souza |
summary |
systemd/245.4-4ubuntu3.7 ADT test failure with linux-hwe-5.11/5.11.0-20.21~20.04.1 |
systemd/245.4-4ubuntu3.6 ADT test failure with linux-hwe-5.11/5.11.0-20.21~20.04.1 |
|
2022-12-06 16:28:26 |
Kleber Sacilotto de Souza |
bug task added |
|
linux-hwe-5.15 (Ubuntu) |
|
2022-12-06 16:28:42 |
Kleber Sacilotto de Souza |
linux-hwe-5.11 (Ubuntu): status |
New |
Won't Fix |
|
2022-12-06 16:28:44 |
Kleber Sacilotto de Souza |
linux-hwe-5.11 (Ubuntu Focal): status |
New |
Won't Fix |
|
2023-02-02 15:05:29 |
Nick Rosbrook |
systemd (Ubuntu Focal): status |
New |
Triaged |
|
2023-02-02 15:05:33 |
Nick Rosbrook |
systemd (Ubuntu Focal): importance |
Undecided |
Low |
|
2023-02-02 15:05:42 |
Nick Rosbrook |
systemd (Ubuntu): status |
New |
Fix Released |
|
2023-02-03 10:13:24 |
Kleber Sacilotto de Souza |
linux-hwe-5.15 (Ubuntu): status |
New |
Invalid |
|
2023-02-03 10:13:27 |
Kleber Sacilotto de Souza |
linux-hwe-5.15 (Ubuntu Focal): status |
New |
Invalid |
|
2023-02-07 18:23:03 |
Nick Rosbrook |
description |
This is a scripted bug report about ADT failures while running systemd tests for linux-hwe-5.11/5.11.0-20.21~20.04.1 on focal. Whether this is caused by the dep8 tests of the tested source or the kernel has yet to be determined.
Testing failed on:
amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/amd64/s/systemd/20210611_220645_bf5b6@/log.gz
armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/armhf/s/systemd/20210617_124738_5b554@/log.gz
ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/ppc64el/s/systemd/20210611_235629_92856@/log.gz
s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/s390x/s/systemd/20210611_214456_6427f@/log.gz
In arm64, ppc64el and s390x, 'root-unittests' fails with:
/* test_protect_sysctl */
Assertion 'errno == EFAULT' failed at src/test/test-seccomp.c:311, function test_protect_sysctl(). A
borting.
sysctlseccomp terminated by signal ABRT.
Assertion 'wait_for_terminate_and_check("sysctlseccomp", pid, WAIT_LOG) == EXIT_SUCCESS' failed at s
rc/test/test-seccomp.c:324, function test_protect_sysctl(). Aborting.
FAIL: test-seccomp (code: 134)
In amd64, 'upstream' also fails on 'TEST-24-UNIT-TESTS', which apparently is caused by the same 'test-seccomp.c:311' assertion failure. |
[SRU Impact]
Sysctl was removed from 5.5 kernels. In src/test/test-seccomp.c, test_protect_syscall
sysctl is called with the expectation the error result is EFAULT and not ENOSYS.
This affects autotests for all focal-5.15 linux kernels (hwe, azure, gcp, oem, gke, oracle).
[Fix]
Assertion checks if either EFAULT or ENOSYS is returned. This way it will work for focal-5.4 kernels and focal-5.15 kernels.
[Test to reproduce the issue]
1. Create a vm and install one of the focal-5.15 kernels (i.e 5.15.0-1029.35~20.04.1 linux-oracle-5.15).
2. Run the autotests for upstream and/or root-unittests:
autopkgtest --test-name=upstream systemd -- qemu <vm_image>
[Test to verify the fix]
1. Same as above
2. Apply the fix in your local repo and run the tests using your local repo
autopkgtest --test-name=upstream <path to systemd> -- qemu <vm_image>
[Where problems could occur]
This is not gonna affect end users since it is a change in the test only.
It may impact autotests, but it's a very low probability.
[Original Description]
This is a scripted bug report about ADT failures while running systemd tests for linux-hwe-5.11/5.11.0-20.21~20.04.1 on focal. Whether this is caused by the dep8 tests of the tested source or the kernel has yet to be determined.
Testing failed on:
amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/amd64/s/systemd/20210611_220645_bf5b6@/log.gz
armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/armhf/s/systemd/20210617_124738_5b554@/log.gz
ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/ppc64el/s/systemd/20210611_235629_92856@/log.gz
s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/s390x/s/systemd/20210611_214456_6427f@/log.gz
In arm64, ppc64el and s390x, 'root-unittests' fails with:
/* test_protect_sysctl */
Assertion 'errno == EFAULT' failed at src/test/test-seccomp.c:311, function test_protect_sysctl(). A
borting.
sysctlseccomp terminated by signal ABRT.
Assertion 'wait_for_terminate_and_check("sysctlseccomp", pid, WAIT_LOG) == EXIT_SUCCESS' failed at s
rc/test/test-seccomp.c:324, function test_protect_sysctl(). Aborting.
FAIL: test-seccomp (code: 134)
In amd64, 'upstream' also fails on 'TEST-24-UNIT-TESTS', which apparently is caused by the same 'test-seccomp.c:311' assertion failure. |
|
2023-02-07 18:23:34 |
Nick Rosbrook |
merge proposal linked |
|
https://code.launchpad.net/~roxanan/ubuntu/+source/systemd/+git/systemd/+merge/436747 |
|
2023-02-23 15:48:46 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/437809 |
|
2023-03-15 15:18:17 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/438988 |
|
2023-03-27 07:53:30 |
Łukasz Zemczak |
systemd (Ubuntu Focal): status |
Triaged |
Fix Committed |
|
2023-03-27 07:53:31 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-03-27 07:53:32 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2023-03-27 07:53:34 |
Łukasz Zemczak |
tags |
kernel-adt-failure |
kernel-adt-failure verification-needed verification-needed-focal |
|
2023-03-28 08:15:05 |
Roxana Nicolescu |
tags |
kernel-adt-failure verification-needed verification-needed-focal |
kernel-adt-failure verification-done verification-done-focal |
|
2023-03-28 08:15:41 |
Roxana Nicolescu |
tags |
kernel-adt-failure verification-done verification-done-focal |
kernel-adt-failure sru-20230227 sru-20230320 verification-done verification-done-focal |
|
2023-04-11 17:42:56 |
Launchpad Janitor |
systemd (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2023-04-11 17:43:04 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|