canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #07564
[Bug 2112357] [NEW] ubuntu_bpf failed to build on Noble ( error: ‘struct prog_test_def’ has no member named ‘should_tmon’)
Public bug reported:
After the fix for bug 2069407 has landed.
Our ubuntu_bpf test on Noble is still failing with FTBFS error:
Build log with n/linux 6.8.0-62.65:
TEST-OBJ [test_progs] xdp_noinline.test.o
TEST-OBJ [test_progs] xdp_perf.test.o
TEST-OBJ [test_progs] xdp_synproxy.test.o
TEST-OBJ [test_progs] xdpwall.test.o
TEST-OBJ [test_progs] xfrm_info.test.o
EXT-OBJ [test_progs] test_progs.o
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h'
test_progs.c: In function ‘netns_new’:
test_progs.c:692:23: error: ‘struct prog_test_def’ has no member named ‘should_tmon’; did you mean ‘should_run’?
692 | if (env.test->should_tmon ||
| ^~~~~~~~~~~
| should_run
test_progs.c:693:52: error: ‘struct subtest_state’ has no member named ‘should_tmon’
693 | (env.subtest_state && env.subtest_state->should_tmon)) {
| ^~
test_progs.c:696:35: error: implicit declaration of function ‘traffic_monitor_start’ [-Werror=implicit-function-declaration]
696 | netns_obj->tmon = traffic_monitor_start(nsname, test_name, subtest_name);
| ^~~~~~~~~~~~~~~~~~~~~
test_progs.c:696:33: error: assignment to ‘struct tmonitor_ctx *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
696 | netns_obj->tmon = traffic_monitor_start(nsname, test_name, subtest_name);
| ^
test_progs.c:713:9: error: implicit declaration of function ‘traffic_monitor_stop’ [-Werror=implicit-function-declaration]
713 | traffic_monitor_stop(netns_obj->tmon);
| ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:633: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_progs.o] Error 1
make: *** [Makefile:180: all] Error 2
This is affecting Noble variant kernels as well.
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Tags: 6.8 noble sru-20250519 ubuntu-bpf
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2112357
Title:
ubuntu_bpf failed to build on Noble ( error: ‘struct prog_test_def’
has no member named ‘should_tmon’)
Status in ubuntu-kernel-tests:
New
Bug description:
After the fix for bug 2069407 has landed.
Our ubuntu_bpf test on Noble is still failing with FTBFS error:
Build log with n/linux 6.8.0-62.65:
TEST-OBJ [test_progs] xdp_noinline.test.o
TEST-OBJ [test_progs] xdp_perf.test.o
TEST-OBJ [test_progs] xdp_synproxy.test.o
TEST-OBJ [test_progs] xdpwall.test.o
TEST-OBJ [test_progs] xfrm_info.test.o
EXT-OBJ [test_progs] test_progs.o
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h'
test_progs.c: In function ‘netns_new’:
test_progs.c:692:23: error: ‘struct prog_test_def’ has no member named ‘should_tmon’; did you mean ‘should_run’?
692 | if (env.test->should_tmon ||
| ^~~~~~~~~~~
| should_run
test_progs.c:693:52: error: ‘struct subtest_state’ has no member named ‘should_tmon’
693 | (env.subtest_state && env.subtest_state->should_tmon)) {
| ^~
test_progs.c:696:35: error: implicit declaration of function ‘traffic_monitor_start’ [-Werror=implicit-function-declaration]
696 | netns_obj->tmon = traffic_monitor_start(nsname, test_name, subtest_name);
| ^~~~~~~~~~~~~~~~~~~~~
test_progs.c:696:33: error: assignment to ‘struct tmonitor_ctx *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
696 | netns_obj->tmon = traffic_monitor_start(nsname, test_name, subtest_name);
| ^
test_progs.c:713:9: error: implicit declaration of function ‘traffic_monitor_stop’ [-Werror=implicit-function-declaration]
713 | traffic_monitor_stop(netns_obj->tmon);
| ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:633: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_progs.o] Error 1
make: *** [Makefile:180: all] Error 2
This is affecting Noble variant kernels as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2112357/+subscriptions