[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-06-30 Thread Thadeu Lima de Souza Cascardo
*** This bug is a duplicate of bug 1872047 ***
https://bugs.launchpad.net/bugs/1872047

** This bug has been marked a duplicate of bug 1872047
   kselftest: seccomp kill_after_ptrace() timeout

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  Confirmed
Status in linux-aws source package in Eoan:
  Confirmed

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] 

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-05-12 Thread Kleber Sacilotto de Souza
The fix mentioned on the previous comments is being tracked via bug
1872047.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  Confirmed
Status in linux-aws source package in Eoan:
  Confirmed

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] precedence.errno_is_third
  [ RUN  ] precedence.errno_is_third_in_any_order
  [   OK ] 

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-05-07 Thread Thadeu Lima de Souza Cascardo
7fb44bf64414954cdc96517612f9785f4a832cc2 ("UBUNTU: SAUCE:
kselftest/runner: allow to properly deliver signals to tests")

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  Confirmed
Status in linux-aws source package in Eoan:
  Confirmed

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] precedence.errno_is_third
  [ RUN  ] 

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-05-07 Thread Thadeu Lima de Souza Cascardo
7fb44bf64414954cdc96517612f9785f4a832cc2 ("UBUNTU: SAUCE:
kselftest/runner: allow to properly deliver signals to tests") has been
included in Ubuntu-5.3.0-52.46.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  Confirmed
Status in linux-aws source package in Eoan:
  Confirmed

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] 

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-05-07 Thread Thadeu Lima de Souza Cascardo
Andrea and I tracked this down to some interaction of signal handling
between timeout command and the test itself. It may have been fixed in
-proposed already.

Cascardo.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  Confirmed
Status in linux-aws source package in Eoan:
  Confirmed

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] 

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-03-30 Thread Sean Feole
Observed on Azure, 5.3, 2020.03.16 kernels.

** Tags added: sru-20200316

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  Confirmed
Status in linux-aws source package in Eoan:
  Confirmed

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] precedence.errno_is_third
  [ RUN  ] precedence.errno_is_third_in_any_order
  [   OK ] 

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-03-30 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-aws (Ubuntu Eoan)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  Confirmed
Status in linux-aws source package in Eoan:
  Confirmed

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] precedence.errno_is_third
  [ RUN   

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-03-30 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-aws (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  Confirmed
Status in linux-aws source package in Eoan:
  Confirmed

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] precedence.errno_is_third
  [ RUN  ] 

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-02-20 Thread Sean Feole
aws 5.0.0-1026.29 bionic


** Tags added: azure

** Tags added: bionic

** Tags added: eoan

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  New
Status in linux-aws source package in Eoan:
  New

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] precedence.errno_is_third
  [ RUN  ] precedence.errno_is_third_in_any_order
  [   OK ] 

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-02-20 Thread Sean Feole
This was also observed on the 5.0 kernels such a google 5.0.0-1032.33
linux-gcp

** Tags added: 5.0 gcp

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  New
Status in linux-aws source package in Eoan:
  New

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second
  [   OK ] precedence.trap_is_second
  [ RUN  ] precedence.trap_is_second_in_any_order
  [   OK ] precedence.trap_is_second_in_any_order
  [ RUN  ] precedence.errno_is_third
  [   OK ] precedence.errno_is_third
  [ RUN  ] precedence.errno_is_third_in_any_order
  [   

[Kernel-packages] [Bug 1864073] Re: seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

2020-02-20 Thread Sean Feole
attached is the core file produced when seccomp_bpf fails

** Attachment added: "crash.seccomp_bpf.6525.tar"
   
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1864073/+attachment/5329836/+files/crash.seccomp_bpf.6525.tar

** Also affects: linux-aws (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-aws (Ubuntu Eoan)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1864073

Title:
  seccomp_bpf fails Eoan 5.3 in ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-aws package in Ubuntu:
  New
Status in linux-aws source package in Eoan:
  New

Bug description:
  Cloud: AWS
  Kernel: 5.3.0-1012.13
  Test: ubuntu_kernel_selftests

  
  The following is observed from the autotest failure.

  02/19 21:33:08 DEBUG| utils:0153| [stdout] Estimated seccomp overhead per 
syscall: 42 ns
  02/19 21:33:08 DEBUG| utils:0153| [stdout] ok 1..2 selftests: seccomp: 
seccomp_benchmark [PASS]
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
  02/19 21:33:08 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  02/19 21:33:08 INFO |ubuntu_ker:0179| == Summary ===
  02/19 21:33:08 INFO |ubuntu_ker:0056| Sub test case: seccomp_bpf failed.
  02/19 21:33:08 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 188, in run_once
  raise error.TestError('Test failed for ' + test_name)
  TestError: Test failed for seccomp

  
  When the test is run standalone we can get a little more information.

  [==] Running 75 tests from 1 test cases.
  [ RUN  ] global.mode_strict_support
  [   OK ] global.mode_strict_support
  [ RUN  ] global.mode_strict_cannot_call_prctl
  [   OK ] global.mode_strict_cannot_call_prctl
  [ RUN  ] global.no_new_privs_support
  [   OK ] global.no_new_privs_support
  [ RUN  ] global.mode_filter_support
  [   OK ] global.mode_filter_support
  [ RUN  ] global.mode_filter_without_nnp
  [   OK ] global.mode_filter_without_nnp
  [ RUN  ] global.filter_size_limits
  [   OK ] global.filter_size_limits
  [ RUN  ] global.filter_chain_limits
  [   OK ] global.filter_chain_limits
  [ RUN  ] global.mode_filter_cannot_move_to_strict
  [   OK ] global.mode_filter_cannot_move_to_strict
  [ RUN  ] global.mode_filter_get_seccomp
  [   OK ] global.mode_filter_get_seccomp
  [ RUN  ] global.ALLOW_all
  [   OK ] global.ALLOW_all
  [ RUN  ] global.empty_prog
  [   OK ] global.empty_prog
  [ RUN  ] global.log_all
  [   OK ] global.log_all
  [ RUN  ] global.unknown_ret_is_kill_inside
  [   OK ] global.unknown_ret_is_kill_inside
  [ RUN  ] global.unknown_ret_is_kill_above_allow
  [   OK ] global.unknown_ret_is_kill_above_allow
  [ RUN  ] global.KILL_all
  [   OK ] global.KILL_all
  [ RUN  ] global.KILL_one
  [   OK ] global.KILL_one
  [ RUN  ] global.KILL_one_arg_one
  [   OK ] global.KILL_one_arg_one
  [ RUN  ] global.KILL_one_arg_six
  [   OK ] global.KILL_one_arg_six
  [ RUN  ] global.KILL_thread
  [   OK ] global.KILL_thread
  [ RUN  ] global.KILL_process
  [   OK ] global.KILL_process
  [ RUN  ] global.arg_out_of_range
  [   OK ] global.arg_out_of_range
  [ RUN  ] global.ERRNO_valid
  [   OK ] global.ERRNO_valid
  [ RUN  ] global.ERRNO_zero
  [   OK ] global.ERRNO_zero
  [ RUN  ] global.ERRNO_capped
  [   OK ] global.ERRNO_capped
  [ RUN  ] global.ERRNO_order
  [   OK ] global.ERRNO_order
  [ RUN  ] TRAP.dfl
  [   OK ] TRAP.dfl
  [ RUN  ] TRAP.ign
  [   OK ] TRAP.ign
  [ RUN  ] TRAP.handler
  [   OK ] TRAP.handler
  [ RUN  ] precedence.allow_ok
  [   OK ] precedence.allow_ok
  [ RUN  ] precedence.kill_is_highest
  [   OK ] precedence.kill_is_highest
  [ RUN  ] precedence.kill_is_highest_in_any_order
  [   OK ] precedence.kill_is_highest_in_any_order
  [ RUN  ] precedence.trap_is_second