The test there uses an inline text block to verify the driver data. We should modify tools/testing/selftests/net/rtnetlink.sh to expect the destination IP address to be set as well.
--- currently in 5.15 --- SA count=2 tx=3 sa[0] tx ipaddr=0x00000000 00000000 00000000 00000000 sa[0] spi=0x00000009 proto=0x32 salt=0x61626364 crypt=1 sa[0] key=0x34333231 38373635 32313039 36353433 sa[1] rx ipaddr=0x00000000 00000000 00000000 037ba8c0 sa[1] spi=0x00000009 proto=0x32 salt=0x61626364 crypt=1 sa[1] key=0x34333231 38373635 32313039 36353433 --- ** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Oracular) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Oracular) Importance: Undecided => Low ** Changed in: linux (Ubuntu Jammy) Importance: Undecided => Low ** Changed in: linux (Ubuntu Jammy) Status: New => Triaged ** Changed in: linux (Ubuntu Oracular) Status: New => Triaged -- 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 O/J Status in ubuntu-kernel-tests: New Status in linux package in Ubuntu: New Status in linux source package in Jammy: Triaged Status in linux source package in Oracular: Triaged 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 -- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp