Activity log for bug #1949889

Date Who What changed Old value New value Message
2021-11-04 17:43:46 Po-Hsu Lin bug added bug
2021-11-04 17:44:11 Po-Hsu Lin summary Unable to build reuseport_bpf test in ubuntu_kernel_selftests on Bionic with make command Unable to build net/reuseport_bpf and other tests in ubuntu_kernel_selftests on Bionic with make command
2021-11-04 17:44:17 Po-Hsu Lin bug task added linux (Ubuntu)
2021-11-04 17:44:25 Po-Hsu Lin nominated for series Ubuntu Bionic
2021-11-04 17:44:25 Po-Hsu Lin bug task added linux (Ubuntu Bionic)
2021-11-04 17:44:30 Po-Hsu Lin linux (Ubuntu): status New Fix Released
2021-11-05 05:49:43 Po-Hsu Lin description 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 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 You can only build them with: make TARGETS=net run_tests This will also trigger the test, which is not ideal for the granularity improvement. [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests 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]
2021-11-05 07:20:12 Po-Hsu Lin description [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests 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] [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests 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 * 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set * e2e88325 selftests: vm: Fix test build failure when built by itself These patches can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on bare-metal, there is no guarantee this can work flawlessly on variants.
2021-11-05 08:06:08 Po-Hsu Lin description [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests 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 * 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set * e2e88325 selftests: vm: Fix test build failure when built by itself These patches can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on bare-metal, there is no guarantee this can work flawlessly on variants. [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests However, this will also start all of the tests in this subset, which is not ideal for the granularity improvement. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 2nd, 3rd and 4th patch would need to be applied with -C1, the other two can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality.
2021-11-05 08:31:23 Po-Hsu Lin description [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests However, this will also start all of the tests in this subset, which is not ideal for the granularity improvement. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 2nd, 3rd and 4th patch would need to be applied with -C1, the other two can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality. [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests However, this will also start all of the tests in this subset, which is not ideal for the granularity improvement. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 2nd needs to be backported with some context adjustment. The 3rd and 4th patch would need to be applied with -C2, the other two can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality.
2021-11-05 10:15:33 Po-Hsu Lin tags 4.15 bionic
2021-11-05 10:15:44 Po-Hsu Lin tags 4.15 bionic 4.15 bionic ubuntu-kernel-selftests
2021-11-05 10:17:39 Po-Hsu Lin description [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests However, this will also start all of the tests in this subset, which is not ideal for the granularity improvement. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 2nd needs to be backported with some context adjustment. The 3rd and 4th patch would need to be applied with -C2, the other two can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality. [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests However, this will also start all of the tests in this subset, which is not ideal for the granularity improvement. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 2nd needs to be backported with some context adjustment. The 3rd and 4th patch would need to be applied with -C2, the other two can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change (compared side-by-side). Please find attachment in the bug report for the test result. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality.
2021-11-05 10:18:54 Po-Hsu Lin attachment added original-test-report.log https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1949889/+attachment/5538394/+files/original-test-report.log
2021-11-05 10:19:14 Po-Hsu Lin attachment added patches-test-report.log https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1949889/+attachment/5538395/+files/patches-test-report.log
2021-11-05 10:32:23 Po-Hsu Lin description [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 For example, the following tests in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can be build with:   make TARGETS=net run_tests However, this will also start all of the tests in this subset, which is not ideal for the granularity improvement. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 2nd needs to be backported with some context adjustment. The 3rd and 4th patch would need to be applied with -C2, the other two can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change (compared side-by-side). Please find attachment in the bug report for the test result. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality. [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 For example, the following binaries in net directory won't be built: * reuseport_bpf * reuseport_bpf_cpu * reuseport_dualstack * reuseaddr_conflict * reuseport_bpf_numa They can only be build with: make TARGETS=net run_tests However, this will also start all of the tests in this subset and it's is not ideal for the granularity improvement, in which we will want to run tests one-by-one. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 2nd needs to be backported with some context adjustment. The 3rd and 4th patch would need to be applied with -C2, the other two can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) patches are included here as they have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change (compared side-by-side). Please find attachment in the bug report for the test result. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality.
2021-11-05 10:50:38 Po-Hsu Lin description [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 For example, the following binaries in net directory won't be built: * reuseport_bpf * reuseport_bpf_cpu * reuseport_dualstack * reuseaddr_conflict * reuseport_bpf_numa They can only be build with: make TARGETS=net run_tests However, this will also start all of the tests in this subset and it's is not ideal for the granularity improvement, in which we will want to run tests one-by-one. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 2nd needs to be backported with some context adjustment. The 3rd and 4th patch would need to be applied with -C2, the other two can be cherry-picked for Bionic. The third patch (8ce72dc3) is the fix for this issue. The 4th (27d79a2b) and the 5th (e2e88325) patches are included here as they have been marked as a fix for 8ce72dc3. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change (compared side-by-side). Please find attachment in the bug report for the test result. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality. [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 For example, the following binaries in net directory won't be built:  * reuseport_bpf  * reuseport_bpf_cpu  * reuseport_dualstack  * reuseaddr_conflict  * reuseport_bpf_numa They can only be build with:     make TARGETS=net run_tests However, this will also start all of the tests in this subset and it's is not ideal for the granularity improvement, in which we will want to run tests one-by-one. [Fix] 1. 14f1889f selftests: Fix loss of test output in run_kselftests.sh 2. 44f01352 selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers 3. 8ce72dc3 selftests: fix headers_install circular dependency 4. 27d79a2b selftests: fix bpf build/test workflow regression when KBUILD_OUTPUT is set 5. e2e88325 selftests: vm: Fix test build failure when built by itself The 1st and 5th patch can be cherry-picked. The 2nd needs to be backported with some context adjustment (can be applied with git -cp but not git am -C2). The 3rd and 4th patch would need to be applied with -C2. The third patch (8ce72dc3) is the fix for this issue. To get it applied more easily we will need the first two. The 4th (27d79a2b) and the 5th (e2e88325) patches are included here as they have been marked as a fix for 8ce72dc3. Since we don't use KBUILD_OUTPUT and the vm test, I think the risk of adding these two is pretty low. [Test] Tested on a baremetal node "glameow" with 4.15.0-159-generic, the test cases number and results are identical before and after applying this change (compared side-by-side). Please find attachment in the bug report for the test result. [Where problems could occur] As this is just tested with generic Bionic 4.15 kernel on a bare-metal system, it's is possible to see other issues on different variants. If this change is incorrect it will cause issue to our automated-testing and regression-testing, but it won't affect the real kernel functionality.
2021-11-05 10:50:44 Po-Hsu Lin ubuntu-kernel-tests: assignee Po-Hsu Lin (cypressyew)
2021-11-05 10:50:46 Po-Hsu Lin linux (Ubuntu Bionic): assignee Po-Hsu Lin (cypressyew)
2021-11-05 10:50:47 Po-Hsu Lin linux (Ubuntu Bionic): status New In Progress
2021-11-05 10:50:49 Po-Hsu Lin ubuntu-kernel-tests: status New In Progress
2021-11-05 11:09:06 Kleber Sacilotto de Souza linux (Ubuntu Bionic): status In Progress Fix Committed
2021-11-09 12:46:13 Ubuntu Kernel Bot tags 4.15 bionic ubuntu-kernel-selftests 4.15 bionic ubuntu-kernel-selftests verification-needed-bionic
2021-11-19 10:50:18 Po-Hsu Lin tags 4.15 bionic ubuntu-kernel-selftests verification-needed-bionic 4.15 bionic ubuntu-kernel-selftests verification-done-bionic
2021-11-19 10:50:21 Po-Hsu Lin ubuntu-kernel-tests: status In Progress Fix Released
2021-11-29 14:48:38 Launchpad Janitor linux (Ubuntu Bionic): status Fix Committed Fix Released