net test from ubuntu_kernel_selftest will timeout on B-5.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem-osp1 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Partial reads on TLS sockets will cause processes to wait indefinitively.
[Test case]
Run tls net selftests from the kernel source tree.
[Regression potential]
We only touch code on the TLS socket family itself, so regressions on subsystems other than the one we are fixing is highly unlikely.
-------
Issue found on:
linux-gke-5.0 - 5.0.0-1045.46 / 5.0.0-1044.45
linux-oem-osp1 - 5.0.0-1065.70 / 5.0.0-1064.69
The net test in ubuntu_
The test will hang here:
Opening 127.0.0.1:9999
Opening INADDR_ANY:9999
bind: Address already in use
Opening in6addr_any:9999
Opening INADDR_ANY:9999
bind: Address already in use
Opening INADDR_ANY:9999 after closing ipv6 socket
bind: Address already in use
Timer expired (1800 sec.), nuking pid 27394
ERROR ubuntu_
END ERROR ubuntu_
Please find the attachment for the complete test log.
tags: | added: 5.0 bionic kqa-blocker sru-20200629 |
tags: | added: gke |
description: | updated |
Changed in linux-oem-osp1 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in linux-oem-osp1 (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in linux-oem-osp1 (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-kernel-tests: | |
status: | New → Fix Released |
I did see this failure in the logs, however was not able to reproduce it when ran manually on GKE.
I have attached the tarball of the logs.
Ftrace test output below:
07/21 13:32:26 DEBUG| utils:0116| Running 'sudo sh -c 'echo 1 > /proc/sys/ net/ipv4/ conf/all/ accept_ local'' testing/ selftests TARGETS=ftrace run_tests' jenkins/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests' jenkins/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ ftrace' jenkins/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ ftrace' jenkins/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ ftrace' ======= ======= ======= ======= =====
07/21 13:32:26 DEBUG| utils:0116| Running 'sudo make -C linux/tools/
07/21 13:32:26 DEBUG| utils:0153| [stdout] make: Entering directory '/home/
07/21 13:32:26 DEBUG| utils:0153| [stdout] make[1]: Entering directory '/home/
07/21 13:32:26 DEBUG| utils:0153| [stdout] make[1]: Nothing to be done for 'all'.
07/21 13:32:26 DEBUG| utils:0153| [stdout] make[1]: Leaving directory '/home/
07/21 13:32:26 DEBUG| utils:0153| [stdout] make[1]: Entering directory '/home/
07/21 13:32:26 DEBUG| utils:0153| [stdout] TAP version 13
07/21 13:32:26 DEBUG| utils:0153| [stdout] selftests: ftracetest
07/21 13:32:26 DEBUG| utils:0153| [stdout] =======
07/21 13:32:26 DEBUG| utils:0153| [stdout] === Ftrace unit tests ===
07/21 13:32:26 DEBUG| utils:0153| [stdout] [1] Basic trace file check [PASS]
07/21 13:32:28 DEBUG| utils:0153| [stdout] [2] Basic test for tracers [PASS]
07/21 13:32:29 DEBUG| utils:0153| [stdout] [3] Basic trace clock test [PASS]
07/21 13:32:29 DEBUG| utils:0153| [stdout] [4] Basic event tracing check [PASS]
07/21 13:32:29 DEBUG| utils:0153| [stdout] [5] Snapshot and tracing setting [PASS]
07/21 13:32:29 DEBUG| utils:0153| [stdout] [6] event tracing - enable/disable with event level files [PASS]
07/21 13:32:29 DEBUG| utils:0153| [stdout] [7] event tracing - restricts events based on pid [PASS]
07/21 13:32:29 DEBUG| utils:0153| [stdout] [8] event tracing - enable/disable with subsystem level files [PASS]
07/21 13:32:29 DEBUG| utils:0153| [stdout] [9] event tracing - enable/disable with top level files [PASS]
07/21 13:32:32 DEBUG| utils:0153| [stdout] [10] ftrace - function graph filters with stack tracer [PASS]
07/21 13:32:33 DEBUG| utils:0153| [stdout] [11] ftrace - function graph filters [PASS]
07/21 13:32:34 DEBUG| utils:0153| [stdout] [12] ftrace - function pid filters [PASS]
07/21 13:32:37 DEBUG| utils:0153| [stdout] [13] ftrace - test for function event triggers [PASS]
07/21 13:32:41 DEBUG| utils:0153| [stdout] [14] ftrace - function profiler with function tracing [PASS]
07/21 13:32:42 DEBUG| utils:0153| [stdout] [15] ftrace - test reading of set_ftrace_filter [PASS]
07/21 13:32:43 DEBUG| utils:0153| [stdout] [16] ftrace - test for function traceon/off triggers [PASS]
07/21 13:32:47 DEBUG| utils:0153| [stdout] [17] Test creation and deletion of trace instances while setting an event [PASS]
07/21 13:32:48 DEBUG| utils:0153| [st...