← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1862263] Re: test_sysctl in bpf from ubuntu_kernel_selftests make net test fails to build on eoan

 

** Tags added: kernel-daily-bug

-- 
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/1862263

Title:
  test_sysctl in bpf from ubuntu_kernel_selftests make net test fails to
  build on eoan

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Released

Bug description:
  == SRU Justification ==
  Commit 7541c87c ("bpf: Allow narrow loads of bpf_sysctl fields with
  offset > 0") applied to Eoan tree via stable-update process brought a
  member called "seek" to tools/testing/selftests/bpf/test_sysctl.c:
     .seek = 4,

  However we don't have the commit that declares it, so the compilation
  failed with:
      test_sysctl.c:181:4: error: ‘struct sysctl_test’ has no member named ‘seek’
        181 | .seek = 4,
            | ^~~~

  == Fix ==
  * d895a0f1 ("bpf: fix accessing bpf_sysctl.file_pos on s390")

  Only Eoan is affected.

  == Test ==
  Patch tested against the affected kernels, the bpf test can be built
  without any issue.

  == Regression Potential ==
  Low, changes limited to testing tools.

  
  ==Original Bug Report ==
  test_sysctl.c:181:4: error: ‘struct sysctl_test’ has no member named ‘seek’
      181 |   .seek = 4,
          |    ^~~~

  This affects all arches. Kernel 5.3.0-40.32.

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