[Kernel-packages] [Bug 1941898] Re: ubuntu_kernel_selftests.ftrace timeout on H/riscv

2022-09-05 Thread Po-Hsu Lin
This is because of bug 1940971, autotest timeout is not working as
expected on RISCV kernel.

Workaround is to disable the timeout for this test on RISCV:
https://git.launchpad.net/~canonical-kernel-team/+git/autotest-client-tests/commit/?id=0170e2de7083e6e1d8ca4b3ad92c3f059889b69c

** Changed in: ubuntu-kernel-tests
   Status: New => Fix Released

** Changed in: ubuntu-kernel-tests
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux-riscv (Ubuntu)
   Status: New => Invalid

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

Title:
  ubuntu_kernel_selftests.ftrace timeout on H/riscv

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux-riscv package in Ubuntu:
  Invalid
Status in linux-riscv source package in Hirsute:
  Won't Fix

Bug description:
  ubuntu_kernel_selftests.ftrace times out always after the same step
  when running on hirsute/linux-riscv on the regression tests
  infrastructure (QEMU VM).

  Log from the tests running with hirsute/linux-riscv 5.11.0-1018.19:

  18:02:56 INFO |   START   ubuntu_kernel_selftests.ftrace  
ubuntu_kernel_selftests.ftrace  timestamp=1629568976timeout=1800
localtime=Aug 21 18:02:56   
  18:02:56 DEBUG| Persistent state client._record_indent now set to 2
  18:02:56 DEBUG| Persistent state client.unexpected_reboot now set to 
('ubuntu_kernel_selftests.ftrace', 'ubuntu_kernel_selftests.ftrace')
  18:02:56 DEBUG| Waiting for pid 29328 for 1800 seconds
  18:02:56 WARNI| System python is too old, crash handling disabled
  18:02:56 DEBUG| Running 'sudo sh -c 'echo 1 > 
/proc/sys/net/ipv4/conf/all/accept_local''
  18:02:56 DEBUG| Running 'sudo make -C linux/tools/testing/selftests 
TARGETS=ftrace run_tests'
  18:02:57 DEBUG| [stdout] make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  18:02:57 DEBUG| [stdout] make --no-builtin-rules ARCH=riscv -C ../../.. 
headers_install
  18:02:57 DEBUG| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
  18:03:13 DEBUG| [stdout]   INSTALL ./usr/include
  18:03:14 DEBUG| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
  18:03:14 DEBUG| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
  18:03:14 DEBUG| [stdout] make[1]: Nothing to be done for 'all'.
  18:03:14 DEBUG| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
  18:03:15 DEBUG| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
  18:03:15 DEBUG| [stdout] TAP version 13
  18:03:15 DEBUG| [stdout] 1..1
  18:03:15 DEBUG| [stdout] # selftests: ftrace: ftracetest
  18:03:15 ERROR| [stderr] perl: warning: Setting locale failed.
  18:03:15 ERROR| [stderr] perl: warning: Please check that your locale 
settings:
  18:03:15 ERROR| [stderr]  LANGUAGE = (unset),
  18:03:15 ERROR| [stderr]  LC_ALL = (unset),
  18:03:15 ERROR| [stderr]  LC_CTYPE = "C.UTF-8",
  18:03:15 ERROR| [stderr]  LANG = "en_US.UTF-8"
  18:03:15 ERROR| [stderr] are supported and installed on your system.
  18:03:15 ERROR| [stderr] perl: warning: Falling back to the standard locale 
("C").
  18:03:16 DEBUG| [stdout] # === Ftrace unit tests ===
  18:03:21 DEBUG| [stdout] # [1] Basic trace file check [PASS]
  18:03:58 DEBUG| [stdout] # [2] Basic test for tracers [PASS]
  18:04:04 DEBUG| [stdout] # [3] Basic trace clock test [PASS]
  18:04:10 DEBUG| [stdout] # [4] Basic event tracing check  [PASS]
  18:04:16 DEBUG| [stdout] # [5] Change the ringbuffer size [PASS]
  18:04:21 DEBUG| [stdout] # [6] Snapshot and tracing setting   [PASS]
  18:04:27 DEBUG| [stdout] # [7] trace_pipe and trace_marker[PASS]
  18:04:32 DEBUG| [stdout] # [8] Test ftrace direct functions against tracers   
[UNRESOLVED]
  18:04:33 DEBUG| [stdout] # [9] Test ftrace direct functions against kprobes   
[UNSUPPORTED]
  18:04:38 DEBUG| [stdout] # [10] Generic dynamic event - add/remove kprobe 
events  [FAIL]
  18:04:39 DEBUG| [stdout] # [11] Generic dynamic event - add/remove synthetic 
events   [UNSUPPORTED]
  18:04:39 DEBUG| [stdout] # [12] Generic dynamic event - selective clear 
(compatibility)   [UNSUPPORTED]
  18:04:40 DEBUG| [stdout] # [13] Generic dynamic event - generic clear event   
[UNSUPPORTED]
  18:04:46 DEBUG| [stdout] # [14] event tracing - enable/disable with event 
level files [PASS]
  18:04:54 DEBUG| [stdout] # [15] event tracing - restricts events based on pid 
notrace filtering   [PASS]
  18:05:00 DEBUG| [stdout] # [16] event tracing - restricts events based on pid 
[PASS]
  18:05:07 

[Kernel-packages] [Bug 1941898] Re: ubuntu_kernel_selftests.ftrace timeout on H/riscv

2022-01-26 Thread Brian Murray
The Hirsute Hippo has reached End of Life, so this bug will not be fixed
for that release.

** Changed in: linux-riscv (Ubuntu Hirsute)
   Status: Confirmed => Won't Fix

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

Title:
  ubuntu_kernel_selftests.ftrace timeout on H/riscv

Status in ubuntu-kernel-tests:
  New
Status in linux-riscv package in Ubuntu:
  New
Status in linux-riscv source package in Hirsute:
  Won't Fix

Bug description:
  ubuntu_kernel_selftests.ftrace times out always after the same step
  when running on hirsute/linux-riscv on the regression tests
  infrastructure (QEMU VM).

  Log from the tests running with hirsute/linux-riscv 5.11.0-1018.19:

  18:02:56 INFO |   START   ubuntu_kernel_selftests.ftrace  
ubuntu_kernel_selftests.ftrace  timestamp=1629568976timeout=1800
localtime=Aug 21 18:02:56   
  18:02:56 DEBUG| Persistent state client._record_indent now set to 2
  18:02:56 DEBUG| Persistent state client.unexpected_reboot now set to 
('ubuntu_kernel_selftests.ftrace', 'ubuntu_kernel_selftests.ftrace')
  18:02:56 DEBUG| Waiting for pid 29328 for 1800 seconds
  18:02:56 WARNI| System python is too old, crash handling disabled
  18:02:56 DEBUG| Running 'sudo sh -c 'echo 1 > 
/proc/sys/net/ipv4/conf/all/accept_local''
  18:02:56 DEBUG| Running 'sudo make -C linux/tools/testing/selftests 
TARGETS=ftrace run_tests'
  18:02:57 DEBUG| [stdout] make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  18:02:57 DEBUG| [stdout] make --no-builtin-rules ARCH=riscv -C ../../.. 
headers_install
  18:02:57 DEBUG| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
  18:03:13 DEBUG| [stdout]   INSTALL ./usr/include
  18:03:14 DEBUG| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
  18:03:14 DEBUG| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
  18:03:14 DEBUG| [stdout] make[1]: Nothing to be done for 'all'.
  18:03:14 DEBUG| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
  18:03:15 DEBUG| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
  18:03:15 DEBUG| [stdout] TAP version 13
  18:03:15 DEBUG| [stdout] 1..1
  18:03:15 DEBUG| [stdout] # selftests: ftrace: ftracetest
  18:03:15 ERROR| [stderr] perl: warning: Setting locale failed.
  18:03:15 ERROR| [stderr] perl: warning: Please check that your locale 
settings:
  18:03:15 ERROR| [stderr]  LANGUAGE = (unset),
  18:03:15 ERROR| [stderr]  LC_ALL = (unset),
  18:03:15 ERROR| [stderr]  LC_CTYPE = "C.UTF-8",
  18:03:15 ERROR| [stderr]  LANG = "en_US.UTF-8"
  18:03:15 ERROR| [stderr] are supported and installed on your system.
  18:03:15 ERROR| [stderr] perl: warning: Falling back to the standard locale 
("C").
  18:03:16 DEBUG| [stdout] # === Ftrace unit tests ===
  18:03:21 DEBUG| [stdout] # [1] Basic trace file check [PASS]
  18:03:58 DEBUG| [stdout] # [2] Basic test for tracers [PASS]
  18:04:04 DEBUG| [stdout] # [3] Basic trace clock test [PASS]
  18:04:10 DEBUG| [stdout] # [4] Basic event tracing check  [PASS]
  18:04:16 DEBUG| [stdout] # [5] Change the ringbuffer size [PASS]
  18:04:21 DEBUG| [stdout] # [6] Snapshot and tracing setting   [PASS]
  18:04:27 DEBUG| [stdout] # [7] trace_pipe and trace_marker[PASS]
  18:04:32 DEBUG| [stdout] # [8] Test ftrace direct functions against tracers   
[UNRESOLVED]
  18:04:33 DEBUG| [stdout] # [9] Test ftrace direct functions against kprobes   
[UNSUPPORTED]
  18:04:38 DEBUG| [stdout] # [10] Generic dynamic event - add/remove kprobe 
events  [FAIL]
  18:04:39 DEBUG| [stdout] # [11] Generic dynamic event - add/remove synthetic 
events   [UNSUPPORTED]
  18:04:39 DEBUG| [stdout] # [12] Generic dynamic event - selective clear 
(compatibility)   [UNSUPPORTED]
  18:04:40 DEBUG| [stdout] # [13] Generic dynamic event - generic clear event   
[UNSUPPORTED]
  18:04:46 DEBUG| [stdout] # [14] event tracing - enable/disable with event 
level files [PASS]
  18:04:54 DEBUG| [stdout] # [15] event tracing - restricts events based on pid 
notrace filtering   [PASS]
  18:05:00 DEBUG| [stdout] # [16] event tracing - restricts events based on pid 
[PASS]
  18:05:07 DEBUG| [stdout] # [17] event tracing - enable/disable with subsystem 
level files [PASS]
  18:05:14 DEBUG| [stdout] # [18] event tracing - enable/disable with top level 
files   [PASS]
  18:05:21 DEBUG| [stdout] # [19] Test trace_printk from module [PASS]
  18:05:39 DEBUG| [stdout] # [20] ftrace - function graph filters with stack 
tracer