Kleber has identified the backport of commit 692d7b5d1f91 ("tls: Fix
recvmsg() to be able to peek across multiple records") as the
responsible for this regression.

It turns out this commit has 4 fixups upstream, 3 of which can be easily
cherry picked, while the fourth one seems related to TLS 1.3 support,
which is not included in our 5.0 kernels yet.

Picking those 3 commits allow the tests to pass without issues.

** Description changed:

+ [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_kernel_selftests will timeout and gets killed,
  this issue does not exist in gke 5.0.0-1043.44 and oem-osp1
  5.0.0-1063.68 (the net test passed with 5.0.0-1063.68 without any error)
  
  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_kernel_selftests.net ubuntu_kernel_selftests.net 
timestamp=1595327738    localtime=Jul 21 10:35:38   Test timeout expired, rc=15
      END ERROR   ubuntu_kernel_selftests.net ubuntu_kernel_selftests.net
  
  Please find the attachment for the complete test log.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888381

Title:
  net test from ubuntu_kernel_selftest will timeout on B-5.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1888381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to