ipsec_offload in rtnetlink.sh from kselftests.net fails on s390x

Bug #1893921 reported by Kleber Sacilotto de Souza
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
In Progress
Undecided
Kleber Sacilotto de Souza
Focal
In Progress
Undecided
Kleber Sacilotto de Souza
Groovy
Won't Fix
Undecided
Unassigned
Hirsute
Won't Fix
Undecided
Unassigned
Impish
Won't Fix
Undecided
Kleber Sacilotto de Souza
Jammy
In Progress
Undecided
Kleber Sacilotto de Souza
Kinetic
Won't Fix
Undecided
Unassigned

Bug Description

Testing failed on:
    s390x: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/s390x/l/linux/20200901_162956_a95df@/log.gz

The ipsec_offload in rtnetlink.sh from kselftests.net fails on s390x:

15:45:23 DEBUG| [stdout] # selftests: net: rtnetlink.sh
15:45:23 DEBUG| [stdout] # PASS: policy routing
15:45:23 DEBUG| [stdout] # PASS: route get
15:45:28 DEBUG| [stdout] # PASS: preferred_lft addresses have expired
15:45:28 DEBUG| [stdout] # PASS: promote_secondaries complete
15:45:28 DEBUG| [stdout] # PASS: tc htb hierarchy
15:45:29 DEBUG| [stdout] # PASS: gre tunnel endpoint
15:45:29 DEBUG| [stdout] # PASS: gretap
15:45:29 DEBUG| [stdout] # PASS: ip6gretap
15:45:29 DEBUG| [stdout] # PASS: erspan
15:45:29 DEBUG| [stdout] # PASS: ip6erspan
15:45:30 DEBUG| [stdout] # PASS: bridge setup
15:45:31 DEBUG| [stdout] # PASS: ipv6 addrlabel
15:45:31 DEBUG| [stdout] # PASS: set ifalias b14b1d80-dc0b-4a9b-9256-3ec3f86aa891 for test-dummy0
15:45:31 DEBUG| [stdout] # PASS: vrf
15:45:31 DEBUG| [stdout] # PASS: vxlan
15:45:31 DEBUG| [stdout] # FAIL: can't add fou port 7777, skipping test
15:45:31 DEBUG| [stdout] # PASS: macsec
15:45:32 DEBUG| [stdout] # PASS: ipsec
15:45:33 DEBUG| [stdout] # 3,7c3,7
15:45:33 DEBUG| [stdout] # < sa[0] spi=0x00000009 proto=0x32 salt=0x64636261 crypt=1
15:45:33 DEBUG| [stdout] # < sa[0] key=0x31323334 35363738 39303132 33343536
15:45:33 DEBUG| [stdout] # < sa[1] rx ipaddr=0x00000000 00000000 00000000 c0a87b03
15:45:33 DEBUG| [stdout] # < sa[1] spi=0x00000009 proto=0x32 salt=0x64636261 crypt=1
15:45:33 DEBUG| [stdout] # < sa[1] key=0x31323334 35363738 39303132 33343536
15:45:33 DEBUG| [stdout] # ---
15:45:33 DEBUG| [stdout] # > sa[0] spi=0x00000009 proto=0x32 salt=0x61626364 crypt=1
15:45:33 DEBUG| [stdout] # > sa[0] key=0x34333231 38373635 32313039 36353433
15:45:33 DEBUG| [stdout] # > sa[1] rx ipaddr=0x00000000 00000000 00000000 037ba8c0
15:45:33 DEBUG| [stdout] # > sa[1] spi=0x00000009 proto=0x32 salt=0x61626364 crypt=1
15:45:33 DEBUG| [stdout] # > sa[1] key=0x34333231 38373635 32313039 36353433
15:45:33 DEBUG| [stdout] # FAIL: ipsec_offload incorrect driver data
15:45:33 DEBUG| [stdout] # FAIL: ipsec_offload
15:45:33 DEBUG| [stdout] # PASS: bridge fdb get
15:45:33 DEBUG| [stdout] # PASS: neigh get
15:45:33 DEBUG| [stdout] not ok 11 selftests: net: rtnetlink.sh # exit=1

tags: added: kernel-adt-failure
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1893921

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Focal):
status: New → Confirmed
summary: - linux 5.4.0-46.50 ADT test failure with linux 5.4.0-46.50
+ ipsec_offload in rtnetlink.sh from kselftests.net fails on s390x
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This is caused by the fix for bug 1890136, where this test case is reporting false-negative results.

With that bug fixed, it's reflecting the real failure in this sub category.

And this specific failure can be found in 5.4.0-45 s390x as well, so this is not a regression.

tags: added: 5.4 focal sru-20200831 ubuntu-kernel-selftests
Po-Hsu Lin (cypressyew)
tags: added: sru-20200921
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Found on Groovy/linux 5.8.0-30.32 via ADT

tags: added: 5.8 groovy sru-20201109
Changed in linux (Ubuntu Groovy):
status: New → Confirmed
tags: added: sru-20210315
Po-Hsu Lin (cypressyew)
tags: added: sru-20210412
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Also seen on hirsute/linux 5.11.0-20.21

tags: added: 5.11 hirsute sru-20210531
Changed in linux (Ubuntu Hirsute):
status: New → Confirmed
tags: added: hwe-5.11
tags: added: sru-20210621
tags: added: sru-20210719
Revision history for this message
Brian Murray (brian-murray) wrote :

The Groovy Gorilla has reached end of life, so this bug will not be fixed for that release

Changed in linux (Ubuntu Groovy):
status: Confirmed → Won't Fix
Revision history for this message
Brian Murray (brian-murray) wrote :

The Hirsute Hippo has reached End of Life, so this bug will not be fixed for that release.

Changed in linux (Ubuntu Hirsute):
status: Confirmed → Won't Fix
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Also found with impish/linux 5.13.0-32.35.

tags: added: 5.13 impish sru-20220221
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

This is also affecting jammy/linux 5.15.0-22.22.

Changed in linux (Ubuntu Impish):
status: New → Confirmed
Changed in linux (Ubuntu Jammy):
status: Incomplete → Confirmed
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

This is clearly an endianness issue. I'll investigate whether the testcase needs to adapt to it or the sysfs interface of the netdevsim device needs to follow a pattern no matter what the system's endianness.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :
Changed in linux (Ubuntu Focal):
status: Confirmed → In Progress
Changed in linux (Ubuntu Impish):
status: Confirmed → In Progress
Changed in linux (Ubuntu Jammy):
status: Confirmed → In Progress
Changed in linux (Ubuntu Focal):
assignee: nobody → Kleber Sacilotto de Souza (kleber-souza)
Changed in linux (Ubuntu Impish):
assignee: nobody → Kleber Sacilotto de Souza (kleber-souza)
Changed in linux (Ubuntu Jammy):
assignee: nobody → Kleber Sacilotto de Souza (kleber-souza)
Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 21.10 (Impish Indri) has reached end of life, so this bug will not be fixed for that specific release.

Changed in linux (Ubuntu Impish):
status: In Progress → Won't Fix
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on K-5.19 s390x

tags: added: kinetic sru-20221114
Changed in linux (Ubuntu Kinetic):
status: New → Confirmed
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Ubuntu 22.10 (Kinetic Kudu) has reached end of life, so this bug will not be fixed for that specific release.

Changed in linux (Ubuntu Kinetic):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.