psock_snd.sh from net in ubuntu_kernel_selftests failed on F-OEM-5.13

Bug #1884234 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found on 5.6.0-1012.12 linunx-oem-5.6 with node rizzo

Test failed with:
 # selftests: net: psock_snd.sh
 # dgram
 # tx: 128
 # rx: 142
 # rx: 100
 # OK
 #
 # dgram bind
 # tx: 128
 # rx: 142
 # rx: 100
 # OK
 #
 # raw
 # tx: 142
 # rx: 142
 # rx: 100
 # OK
 #
 # raw bind
 # tx: 142
 # rx: 142
 # rx: 100
 # OK
 #
 # raw qdisc bypass
 # tx: 142
 # rx: 142
 # rx: 100
 # OK
 #
 # raw vlan
 # tx: 146
 # rx: 100
 # OK
 #
 # raw vnet hdr
 # tx: 152
 # rx: 142
 # rx: 100
 # OK
 #
 # raw csum_off
 # tx: 152
 # rx: 142
 # rx: 100
 # OK
 #
 # raw csum_off with bad offset (fails)
 # ./psock_snd: write: Invalid argument
 # raw min size
 # tx: 42
 # rx: 0
 # OK
 #
 # raw mtu size
 # tx: 1514
 # rx: 1472
 # OK
 #
 # raw mtu size + 1 (fails)
 # ./psock_snd: write: Message too long
 # raw vlan mtu size + 1 (fails)
 # ./psock_snd: write: Message too long
 # dgram mtu size
 # tx: 1500
 # rx: 1472
 # OK
 #
 # dgram mtu size + 1 (fails)
 # ./psock_snd: write: Message too long
 # raw truncate hlen (fails: does not arrive)
 # tx: 14
 # ./psock_snd: recv: Resource temporarily unavailable
 # raw truncate hlen - 1 (fails: EINVAL)
 # ./psock_snd: write: Invalid argument
 # raw gso min size
 # tx: 1525
 # rx: 1473
 # OK
 #
 # raw gso min size - 1 (fails)
 # tx: 1524
 # rx: 1472
 # OK
 #
 not ok 22 selftests: net: psock_snd.sh # exit=1

Po-Hsu Lin (cypressyew)
tags: added: 5.6 focal kqa-blocker oem sru-20200608 ubuntu-kernel-selftests
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This was not spotted on the last cycle with 5.6.0-1011.11-oem

However, I can reproduce this on 5.6.0-1011.11-oem this time. So I won't call this a regression.

Po-Hsu Lin (cypressyew)
tags: added: sru-20200629
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on B-Oracle-5.3
5.3.0-1029.31~18.04.1-oracle

tags: added: 5.3 oracle
Po-Hsu Lin (cypressyew)
tags: added: bionic
Po-Hsu Lin (cypressyew)
summary: - psock_snd.sh from net in ubuntu_kernel_selftests failed on F-OEM-5.6
+ psock_snd.sh from net in ubuntu_kernel_selftests failed on 5.3 /
+ F-OEM-5.6
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: psock_snd.sh from net in ubuntu_kernel_selftests failed on 5.3 / F-OEM-5.6

Spotted on E-Oracle-5.3
5.3.0-1030.32

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on 5.4.0-42.46~18.04.1 with i386 node fozzie.

tags: added: i386
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Can be found on OEM-OSP1 5.0.0-1067.72

 selftests: net: psock_snd.sh
 ========================================
 dgram
 tx: 128
 rx: 142
 rx: 100
 OK

 dgram bind
 tx: 128
 rx: 142
 rx: 100
 OK

 raw
 tx: 142
 rx: 142
 rx: 100
 OK

 raw bind
 tx: 142
 rx: 142
 rx: 100
 OK

 raw qdisc bypass
 tx: 142
 rx: 142
 rx: 100
 OK

 raw vlan
 tx: 146
 rx: 100
 OK

 raw vnet hdr
 tx: 152
 rx: 142
 rx: 100
 OK

 raw csum_off
 tx: 152
 rx: 142
 rx: 100
 OK

 raw csum_off with bad offset (fails)
 ./psock_snd: write: Invalid argument
 raw min size
 tx: 42
 rx: 0
 OK

 raw mtu size
 tx: 1514
 rx: 1472
 OK

 raw mtu size + 1 (fails)
 ./psock_snd: write: Message too long
 raw vlan mtu size + 1 (fails)
 ./psock_snd: write: Message too long
 dgram mtu size
 tx: 1500
 rx: 1472
 OK

 dgram mtu size + 1 (fails)
 ./psock_snd: write: Message too long
 raw truncate hlen (fails: does not arrive)
 tx: 14
 ./psock_snd: recv: Resource temporarily unavailable
 raw truncate hlen - 1 (fails: EINVAL)
 ./psock_snd: write: Invalid argument
 raw gso min size
 tx: 1525
 rx: 1473
 OK

 raw gso min size - 1 (fails)
 tx: 1524
 rx: 1472
 OK

 not ok 1..21 selftests: net: psock_snd.sh [FAIL]

tags: added: sru-20200720
tags: added: 5.0
summary: - psock_snd.sh from net in ubuntu_kernel_selftests failed on 5.3 /
+ psock_snd.sh from net in ubuntu_kernel_selftests failed on 5.0 /5.3 /
F-OEM-5.6
Po-Hsu Lin (cypressyew)
tags: added: sru-20201109
tags: added: 5.11 hirsute sru-20210510
tags: added: sru-20210531
tags: added: azure groovy sru-20210621
tags: added: 5.8
Revision history for this message
Krzysztof Kozlowski (krzk) wrote : Re: psock_snd.sh from net in ubuntu_kernel_selftests failed on 5.0 /5.3 / F-OEM-5.6

groovy/azure 5.8.0-1038.40

tags: added: sru-20210719
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on oem 5.13

summary: - psock_snd.sh from net in ubuntu_kernel_selftests failed on 5.0 /5.3 /
- F-OEM-5.6
+ psock_snd.sh from net in ubuntu_kernel_selftests failed on F-OEM-5.13
tags: added: 5.13
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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