← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2096976] Re: ipsec_offload in rtnetlink.sh from kselftests.net fails on Oracular

 

>From the patch series "[PATCHv2 net-next 0/3] netdevsim: better ipsec
output format"
(https://lore.kernel.org/all/20241010040027.21440-1-liuhangbin@xxxxxxxxx/),
only "netdevsim: copy addresses for both in and out paths" made it into
the stable branches. The stable upstream update from v6.11.11
(LP#2091655) pulled it in semi-automatically, while the other two
commits were skipped, just as they were in the upstream stable branch.

So, this failure is expected and not a regression. To make the test
pass, we would need to pull in the other commits.

** Tags added: 6.11 oracular sru-20250113 ubuntu-kselftests-net

** Summary changed:

- ipsec_offload in rtnetlink.sh from kselftests.net fails on Oracular
+ ipsec_offload in rtnetlink.sh from ubunsu_kselftests_net fails on Oracular

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

Title:
  ipsec_offload in rtnetlink.sh from ubunsu_kselftests_net fails on
  Oracular

Status in ubuntu-kernel-tests:
  New

Bug description:
  Found on Oracular 6.11.0-17.17 and should be found on its derivatives
  / backports.

  Log output:

      # selftests: net: rtnetlink.sh                                                                                      
      # PASS: policy routing
      ---(snip)---
      # PASS: ipsec
      # FAIL: ipsec_offload incorrect driver data
      # FAIL: ipsec_offload
      # PASS: bridge fdb get

  Verbose output should be like:

      COMMAND: modprobe -q netdevsim                                                                                                                                                                                                                                                                                                                                                            
      COMMAND: ip x p add dir out src 192.168.123.3/24 dst 192.168.123.4/24 tmpl proto esp src 192.168.123.3 dst 192.168.123.4 spi 9 mode transport reqid 42
      COMMAND: ip x p add dir in src 192.168.123.4/24 dst 192.168.123.3/24 tmpl proto esp src 192.168.123.4 dst 192.168.123.3 spi 9 mode transport reqid 42
      COMMAND: ip x s add proto esp src 192.168.123.3 dst 192.168.123.4 spi 9 mode transport reqid 42 aead rfc4106(gcm(aes)) 0x3132333435363738393031323334353664636261 128 sel src 192.168.123.3/24 dst 192.168.123.4/24 offload dev eni0np1 dir out
      COMMAND: ip x s add proto esp src 192.168.123.4 dst 192.168.123.3 spi 9 mode transport reqid 42 aead rfc4106(gcm(aes)) 0x3132333435363738393031323334353664636261 128 sel src 192.168.123.4/24 dst 192.168.123.3/24 offload dev eni0np1 dir in
      COMMAND: diff /sys/kernel/debug/netdevsim/netdevsim0/ports/0//ipsec -
          2c2
      < sa[0] tx ipaddr=0x00000000 00000000 00000000 047ba8c0
      ---
      > sa[0] tx ipaddr=0x00000000 00000000 00000000 00000000
      FAIL: ipsec_offload incorrect driver data

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



References