[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
And I didn't see this on Xenial, so the bug can be closed. ** Changed in: linux (Ubuntu Xenial) Status: Confirmed => Invalid ** Changed in: ubuntu-kernel-tests Status: In Progress => Fix Released ** Changed in: ubuntu-kernel-tests Assignee: Po-Hsu Lin (cypressyew) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
Test reverted in Bionic: https://kernel.ubuntu.com/git/ubuntu/ubuntu-bionic.git/commit/?id=e1e61701203686f235ee14e5e53919e16848400d -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
** Changed in: linux (Ubuntu Bionic) Status: In Progress => Invalid ** Changed in: linux (Ubuntu Bionic) Assignee: Po-Hsu Lin (cypressyew) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
** Tags added: gcp ** Tags added: sru ** Tags removed: sru ** Tags added: sru-20190722 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
** Tags added: cscc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
** Changed in: linux (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
It turns out that the seccomp in Bionic does not support seccomp metadata retrieval. These commits are needed for Bionic to enable metadata retrieval: 26500475ac1b499d8636ff281311d633909f5d20 f06eae831f0c1fc5b982ea200daf552810e1dd55 This will reduce the failure to: [ RUN ] global.get_metadata seccomp_bpf.c:3046:global.get_metadata:Expected md.filter_off (0) == 1 (1) global.get_metadata: Test failed at step #6 And this one can be fixed with: 63bb0045b98ae821e56e27c2250e14bb0ae663e5 ** Changed in: ubuntu-kernel-tests Assignee: (unassigned) => Po-Hsu Lin (cypressyew) ** Changed in: ubuntu-kernel-tests Status: New => In Progress ** Changed in: linux (Ubuntu Bionic) Assignee: (unassigned) => Po-Hsu Lin (cypressyew) ** Changed in: linux (Ubuntu Bionic) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
With upstream tree, this test still failed on Bionic: [ RUN ] global.get_metadata seccomp_bpf.c:3034:global.get_metadata:Expected sizeof(md) (16) == ret (18446744073709551615) seccomp_bpf.c:3039:global.get_metadata:Expected md.flags (0) == SECCOMP_FILTER_FLAG_LOG (2) seccomp_bpf.c:3044:global.get_metadata:Expected sizeof(md) (16) == ret (18446744073709551615) global.get_metadata: Test failed at step #6 [ FAIL ] global.get_metadata As this test has passed with 4.18 kernel on Bionic, it looks like a kernel issue to me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
This test passed on Disco / Cosmic ** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Disco) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Cosmic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Cosmic) Status: New => Fix Released ** Changed in: linux (Ubuntu Disco) Status: New => Fix Released ** Changed in: linux (Ubuntu Bionic) Status: New => Confirmed ** Changed in: linux (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1811057] Re: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B]
We have seen similar failures on Xenial and Bionic in the Oracle OCP Cloud. Across all instances flavor sizes 01/24 02:42:43 ERROR| utils:0153| [stderr] seccomp_bpf.c:2913:global.get_metadata:Expected sizeof(md) (16) == ptrace(0x420d, pid, sizeof(md), &md) (18446744073709551615) 01/24 02:42:43 ERROR| utils:0153| [stderr] global.get_metadata: Test terminated by assertion 01/24 02:43:26 ERROR| test:0414| Exception escaping from test: Traceback (most recent call last): File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function return func(*args, **dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute postprocess_profiled_run, args, dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once self.run_once(*args, **dargs) File "/home/ubuntu/autotest/client/tests/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py", line 115, in run_once raise error.TestFail('Test failed for ' + test_name) TestFail: Test failed for seccomp --- 01/24 02:42:30 ERROR| utils:0153| [stderr] test: TPACKET_V1 with PACKET_RX_RING 100 pkts (14200 bytes) 01/24 02:42:30 ERROR| utils:0153| [stderr] test: TPACKET_V1 with PACKET_TX_RING 100 pkts (14200 bytes) 01/24 02:42:30 ERROR| utils:0153| [stderr] test: TPACKET_V2 with PACKET_RX_RING 100 pkts (14200 bytes) 01/24 02:42:30 ERROR| utils:0153| [stderr] test: TPACKET_V2 with PACKET_TX_RING 100 pkts (14200 bytes) 01/24 02:42:30 ERROR| utils:0153| [stderr] test: TPACKET_V3 with PACKET_RX_RING 100 pkts (14200 bytes) 01/24 02:42:30 ERROR| utils:0153| [stderr] test: TPACKET_V3 with PACKET_TX_RING 100 pkts (14200 bytes) 01/24 02:42:43 ERROR| utils:0153| [stderr] seccomp_bpf.c:2913:global.get_metadata:Expected sizeof(md) (16) == ptrace(0x420d, pid, sizeof(md), &md) (18446744073709551615) 01/24 02:42:43 ERROR| utils:0153| [stderr] global.get_metadata: Test terminated by assertion 01/24 02:43:26 ERROR| test:0414| Exception escaping from test: Traceback (most recent call last): File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function return func(*args, **dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute postprocess_profiled_run, args, dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once self.run_once(*args, **dargs) File "/home/ubuntu/autotest/client/tests/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py", line 115, in run_once raise error.TestFail('Test failed for ' + test_name) TestFail: Test failed for seccomp 01/24 02:43:26 ERROR| parallel:0033| child process failed ** Summary changed: - global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests failed on Bionic + global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] ** Tags added: oracle ** Tags added: xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1811057 Title: global.get_metadata in seccomp_bpf test from ubuntu_kernel_selftests fails [X & B] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1811057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs