test_vxlan_under_vrf.sh in net from ubuntu_kernel_selftests failed (Check VM connectivity through VXLAN (underlay in the default VRF) [FAIL])

Bug #1871015 reported by Po-Hsu Lin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Po-Hsu Lin
Hirsute
Won't Fix
Undecided
Unassigned
Impish
Fix Released
Undecided
Po-Hsu Lin
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Unassigned
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Po-Hsu Lin
Hirsute
Invalid
Undecided
Unassigned
Impish
Invalid
Undecided
Unassigned
Jammy
Invalid
Undecided
Unassigned
Kinetic
Invalid
Undecided
Unassigned

Bug Description

[Impact]
test_vxlan_under_vrf.sh in the net category of ubuntu_kernel_selftests
will fail on 5.13 kernel with:

  # selftests: net: test_vxlan_under_vrf.sh
  # Checking HV connectivity [ OK ]
  # Check VM connectivity through VXLAN (underlay in the default VRF) [FAIL]
  not ok 1 selftests: net: test_vxlan_under_vrf.sh # exit=1

Note that this test is not failing on F-oem-5.14 but it's better to
have corresponding patches applied to reduce the maintenance cost
in the future.

[Fix]
* e7e4785f selftests: net: test_vxlan_under_vrf: fix HV connectivity test
* b50d3b46 selftests: test_vxlan_under_vrf: Fix broken test case

Only F-5.4, I-5.13 and F-oem-5.14 need these patches.

First patch (e7e4785f):
  - Can be cherry-picked to F-5.4 / Impish 5.13
  - Can be cherry-picked to F-oem-5.14.
Second patch (b50d3b46):
  - Can be cherry-picked to F-5.4 / Impish 5.13 (-C2 is required while
    applying it due to our SAUCE patches)
  - F-oem-5.14 has already got this one applied.

The reason why we need the second patch is that after the first one
got applied, we will see another failure, which we made it an expected
failure (XFAIL) with SAUCE patches:
  Check VM connectivity through VXLAN (underlay in a VRF) [XFAIL]

[Test]
With the patched test_vxlan_under_vrf.sh test, it can pass on Impish
5.13 and F-oem-5.14 without any issue:
  Checking HV connectivity [ OK ]
  Check VM connectivity through VXLAN (underlay in the default VRF) [ OK ]
  Check VM connectivity through VXLAN (underlay in a VRF) [ OK ]

[Where problems could occur]
Change limit to test cases, should not have any real impact to any
kernel functions. But if these fixes are incorrect we will see
failures in our regression-testing report. The worst scenario is
getting false-negative results.

v2: Update cover-letter content and target in patch title to make it
    easier to read.

[Original Bug Report]
Issue found with GCP 5.3.0-1017.18~18.04.1

 # selftests: net: test_vxlan_under_vrf.sh
 # Checking HV connectivity [ OK ]
 # Check VM connectivity through VXLAN (underlay in the default VRF) [FAIL]
 not ok 25 selftests: net: test_vxlan_under_vrf.sh # exit=1

The failure is different from bug 1837348

Po-Hsu Lin (cypressyew)
tags: added: 5.3 eoan gcp sru-20200316
tags: added: ubuntu-kernel-selftests
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Found on Hirsute/linux 5.11.0-18.19 via ADT

tags: added: 5.11 hirsute sru-20210412
tags: added: sru-20210511
removed: sru-20210412
tags: added: sru-20210510
removed: sru-20210511
Po-Hsu Lin (cypressyew)
summary: - test_vxlan_under_vrf.sh in net from ubuntu_kernel_selftests failed with
- B-5.3-gcp
+ test_vxlan_under_vrf.sh in net from ubuntu_kernel_selftests failed with
+ H (Check VM connectivity through VXLAN (underlay in the default VRF)
+ [FAIL])
tags: added: sru-20210531
tags: added: impish
Changed in linux (Ubuntu Hirsute):
status: New → Confirmed
tags: added: sru-20210621
tags: added: sru-20210719
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 1871015

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
Tim Gardner (timg-tpi)
tags: added: aws sru-20211018
Revision history for this message
Krzysztof Kozlowski (krzk) wrote : Re: test_vxlan_under_vrf.sh in net from ubuntu_kernel_selftests failed with H (Check VM connectivity through VXLAN (underlay in the default VRF) [FAIL])

Found also on 2022.01.03/impish/linux-oracle/5.13.0-1016.20

tags: added: oracle
Revision history for this message
Ian May (ian-may) wrote :

Found also on 2022.01.03/impish/linux-aws: 5.13.0-1012.13

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
Krzysztof Kozlowski (krzk) wrote :

Also: 2022.01.03/bionic/linux-azure-5.4/5.4.0-1069.72~18.04

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Also found with impish/linux 5.13.0-32.35.

Changed in linux (Ubuntu Impish):
status: New → Confirmed
tags: added: sru-20220221
Revision history for this message
Juerg Haefliger (juergh) wrote :

And impish/oracle 5.13.0-1026.31 which is based on 5.13.0-40.45.

Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Impish):
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Impish):
status: Confirmed → In Progress
Changed in ubuntu-kernel-tests:
status: New → In Progress
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Bionic):
status: New → Invalid
Changed in linux (Ubuntu Focal):
status: New → Fix Released
Changed in linux (Ubuntu Jammy):
status: New → Fix Released
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Kinetic):
status: Incomplete → Fix Released
Po-Hsu Lin (cypressyew)
Changed in linux-oem-5.14 (Ubuntu Bionic):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Hirsute):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Focal):
assignee: nobody → Po-Hsu Lin (cypressyew)
status: Invalid → In Progress
Changed in linux-oem-5.14 (Ubuntu Impish):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Jammy):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Kinetic):
status: New → Invalid
tags: added: 13 5.
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
summary: - test_vxlan_under_vrf.sh in net from ubuntu_kernel_selftests failed with
- H (Check VM connectivity through VXLAN (underlay in the default VRF)
+ test_vxlan_under_vrf.sh in net from ubuntu_kernel_selftests failed
+ (Check VM connectivity through VXLAN (underlay in the default VRF)
[FAIL])
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
description: updated
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
description: updated
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Just realized that Focal need this patch as well.

Changed in linux (Ubuntu Focal):
assignee: nobody → Po-Hsu Lin (cypressyew)
status: Fix Released → In Progress
Changed in linux (Ubuntu Focal):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Impish):
status: In Progress → Fix Committed
Po-Hsu Lin (cypressyew)
description: updated
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: In Progress → Fix Committed
Po-Hsu Lin (cypressyew)
tags: added: 5.13
removed: 13 5.
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.4.0-121.137 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.13.0-52.59 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-impish' to 'verification-done-impish'. If the problem still exists, change the tag 'verification-needed-impish' to 'verification-failed-impish'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

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

Verified with Impish 5.13.0-52.59 on node rizzo:
  # selftests: net: test_vxlan_under_vrf.sh
  # Checking HV connectivity [ OK ]
  # Check VM connectivity through VXLAN (underlay in the default VRF) [ OK ]
  # Check VM connectivity through VXLAN (underlay in a VRF) [ OK ]
  ok 1 selftests: net: test_vxlan_under_vrf.sh

tags: added: verification-done-impish
removed: verification-needed-impish
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified with Focal 5.4.0-121.137 on node amaura:
  # selftests: net: test_vxlan_under_vrf.sh
  # Checking HV connectivity [ OK ]
  # Check VM connectivity through VXLAN (underlay in the default VRF) [ OK ]
  # Check VM connectivity through VXLAN (underlay in a VRF) [ OK ]
  ok 1 selftests: net: test_vxlan_under_vrf.sh

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 5.4.0-121.137

---------------
linux (5.4.0-121.137) focal; urgency=medium

  * focal/linux: 5.4.0-121.137 -proposed tracker (LP: #1978666)

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2022.05.30)

  * CVE-2022-28388
    - can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error
      path

  * test_vxlan_under_vrf.sh in net from ubuntu_kernel_selftests failed (Check VM
    connectivity through VXLAN (underlay in the default VRF) [FAIL])
    (LP: #1871015)
    - selftests: net: test_vxlan_under_vrf: fix HV connectivity test

  * [UBUNTU 20.04] CPU-MF: add extended counter set definitions for new IBM z16
    (LP: #1974433)
    - s390/cpumf: add new extended counter set for IBM z16

  * [UBUNTU 20.04] KVM nesting support leaks too much memory, might result in
    stalls during cleanup (LP: #1974017)
    - KVM: s390: vsie/gmap: reduce gmap_rmap overhead

  * [UBUNTU 20.04] Null Pointer issue in nfs code running Ubuntu on IBM Z
    (LP: #1968096)
    - NFS: Fix up nfs_ctx_key_to_expire()

 -- Stefan Bader <email address hidden> Wed, 15 Jun 2022 15:13:27 +0200

Changed in linux (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 5.13.0-52.59

---------------
linux (5.13.0-52.59) impish; urgency=medium

  * impish/linux: 5.13.0-52.59 -proposed tracker (LP: #1978628)

  * CVE-2022-28388
    - can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error
      path

  * test_vxlan_under_vrf.sh in net from ubuntu_kernel_selftests failed (Check VM
    connectivity through VXLAN (underlay in the default VRF) [FAIL])
    (LP: #1871015)
    - selftests: net: test_vxlan_under_vrf: fix HV connectivity test
    - selftests: test_vxlan_under_vrf: Fix broken test case

  * [UBUNTU 20.04] CPU-MF: add extended counter set definitions for new IBM z16
    (LP: #1974433)
    - s390/cpumf: add new extended counter set for IBM z16

  * [UBUNTU 20.04] KVM nesting support leaks too much memory, might result in
    stalls during cleanup (LP: #1974017)
    - KVM: s390: vsie/gmap: reduce gmap_rmap overhead

  * [UBUNTU 20.04] Null Pointer issue in nfs code running Ubuntu on IBM Z
    (LP: #1968096)
    - NFS: Fix up nfs_ctx_key_to_expire()

  * prevent kernel panic with overlayfs + shiftfs (LP: #1973620)
    - SAUCE: overlayfs: prevent dereferencing struct file in ovl_vm_prfile_set()

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2022.05.30)

 -- Luke Nowakowski-Krijger <email address hidden> Wed, 15 Jun 2022 12:56:23 -0700

Changed in linux (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (39.5 KiB)

This bug was fixed in the package linux-oem-5.14 - 5.14.0-1044.49

---------------
linux-oem-5.14 (5.14.0-1044.49) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1044.49 -proposed tracker (LP: #1979813)

  * Fix hp_wmi_read_int() reporting error (0x05) (LP: #1979051)
    - platform/x86: hp-wmi: Fix hp_wmi_read_int() reporting error (0x05)

  * Miscellaneous upstream changes
    - Revert "drm/i915/display: Enable PSR2 selective fetch by default"
    - Revert "drm/i915/display/adlp: Allow PSR2 to be enabled"
    - Revert "drm/i915/display/adlp: Optimize PSR2 power-savings in corner cases"
    - Revert "drm/i915/display: Fix glitches when moving cursor with PSR2
      selective fetch enabled"
    - Revert "drm/i915/display: Handle frontbuffer rendering when PSR2 selective
      fetch is enabled"
    - Revert "drm/i915/display: Drop unnecessary frontbuffer flushes"
    - Revert "drm/i915/display/psr: Do full fetch when handling multi-planar
      formats"
    - Revert "drm/i915/display/psr: Handle plane and pipe restrictions at every
      page flip"
    - Revert "drm/i915/display: Drop PSR support from HSW and BDW"
    - Revert "drm/i915: Nuke ORIGIN_GTT"
    - Revert "drm/i915/display: Fix sel fetch plane offset calculation"

linux-oem-5.14 (5.14.0-1043.48) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1043.48 -proposed tracker (LP: #1978667)

  * [SRU][OEM-5.14/OEM-5.17][PATCH 0/1] Fix oled brightness set above frame-
    average luminance on AMD (LP: #1978986)
    - SAUCE: drm/amd/display: Cap OLED brightness per max frame-average luminance

  * Fix headset mic no sound on an HP desktop (LP: #1978925)
    - ALSA: hda/realtek - ALC897 headset MIC no sound

  * alsa/hda: mute led can't work on the lenovo machine with cs35l41 s-codec
    (LP: #1978915)
    - ALSA: hda/realtek: Fix mute led issue on thinkpad with cs35l41 s-codec

  * CVE-2022-21123 // CVE-2022-21125 // CVE-2022-21166
    - Documentation: Add documentation for Processor MMIO Stale Data
    - x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug
    - x86/speculation: Add a common function for MD_CLEAR mitigation update
    - x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data
    - x86/bugs: Group MDS, TAA & Processor MMIO Stale Data mitigations
    - x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
    - x86/speculation/mmio: Add sysfs reporting for Processor MMIO Stale Data
    - x86/speculation/srbds: Update SRBDS mitigation selection
    - x86/speculation/mmio: Reuse SRBDS mitigation for SBDS
    - KVM: x86/speculation: Disable Fill buffer clear within guests
    - x86/speculation/mmio: Print SMT warning

  * pl2303 serial adapter not recognized (LP: #1967493)
    - USB: serial: pl2303: fix type detection for odd device

  * Fix screen flickering caused by PSR on Intel TGL platform (LP: #1978252)
    - drm/i915/display: Fix sel fetch plane offset calculation
    - drm/i915: Nuke ORIGIN_GTT
    - drm/i915/display: Drop PSR support from HSW and BDW
    - drm/i915/display/psr: Handle plane and pipe restrictions at every page flip
    - drm/i915/display/psr: Do full fetch when handling multi-planar formats
    - drm/i915/displ...

Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hints removed, closing this bug.

Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
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.