** Description changed:

- You should be able to build all the tests inside a subtest directory in 
tools/testing/selftests from a kernel tree with command:
-   make TARGETS=net
+ [Impact]
+ With 4.15 kernel, not all binary files inside a subtest directory in 
tools/testing/selftests of a kernel tree can be built with command:
+   make TARGETS=$subtest
  
- But with our 4.15 kernel these binary files in the net directory cannot be 
built correctly:
-  * reuseport_bpf
-  * reuseport_bpf_cpu
-  * reuseport_dualstack
-  * reuseaddr_conflict
-  * reuseport_bpf_numa
+ For example, the following tests in net directory won't be built:
+  * reuseport_bpf
+  * reuseport_bpf_cpu
+  * reuseport_dualstack
+  * reuseaddr_conflict
+  * reuseport_bpf_numa
  
- You can only build them with:
-   make TARGETS=net run_tests
+ They can be build with:
+   make TARGETS=net run_tests
  
- This will also trigger the test, which is not ideal for the granularity
- improvement.
+ However, this will also start all of the tests in this subset, which is
+ not ideal for the granularity improvement.
+ 
+ [Fix]
+ * 14f1889f selftests: Fix loss of test output in run_kselftests.sh
+ * 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP 
headers 
+ * 8ce72dc3 selftests: fix headers_install circular dependency 
+ 
+ These patches can be cherry-picked for Bionic. The third patch
+ 
+ [Test]
+ Tested on a baremetal node "glameow" with 4.15.0-159-generic
+ 
+ [Where problems could occur]

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

Title:
  Unable to build net/reuseport_bpf and other tests in
  ubuntu_kernel_selftests on Bionic with make command

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


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

Reply via email to