Public bug reported:

[Impact]
The arp_ndisc_evict_nocarrier.sh in selftests/net didn't pass a proper return 
value for failed test cases. Thus we might get false negatives if the last 
command runs successfully.

[Fix]
* 1856628baa selftests: net: return non-zero for failures reported in 
arp_ndisc_evict_nocarrier

This patch can be cherry-picked into affected kernels. Lunar has been
patched already.

[Test]
Run the patched test, this should not cause any regression as sub tests are 
good with our kernels (except there is a cleanup issue in bug 1968310)
One can deliberately fail a test by hijacking the if statement for the return 
value check to make sure this patch is working as expected.

[Where problems could occur]
This patch improves the result interpretation, we might see new failures being 
reported.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: Fix Released

** Affects: linux-oem-5.17 (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: linux (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Affects: linux-oem-5.17 (Ubuntu Jammy)
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress

** Affects: linux (Ubuntu Kinetic)
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress

** Affects: linux-oem-5.17 (Ubuntu Kinetic)
     Importance: Undecided
         Status: Invalid

** Affects: linux (Ubuntu Lunar)
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: Fix Released

** Affects: linux-oem-5.17 (Ubuntu Lunar)
     Importance: Undecided
         Status: Invalid


** Tags: 5.17 5.19 kinetic

** Also affects: linux (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Lunar)
   Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
       Status: New

** Changed in: linux (Ubuntu Kinetic)
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux (Ubuntu Lunar)
       Status: New => Fix Released

** Tags added: 5.17 5.19 kinetic

** Also affects: linux-oem-5.17 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-5.17 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Description changed:

  [Impact]
  The arp_ndisc_evict_nocarrier.sh in selftests/net didn't pass a proper return 
value for failed test cases. Thus we might get false negatives if the last 
command runs successfully.
  
  [Fix]
  * 1856628baa selftests: net: return non-zero for failures reported in 
arp_ndisc_evict_nocarrier
  
- This patch can be cherry-picked into affected kernels.
+ This patch can be cherry-picked into affected kernels. Lunar has been
+ patched already.
  
  [Test]
  Run the patched test, this should not cause any regression as sub tests are 
good with our kernels (except there is a cleanup issue in bug 1968310)
  One can deliberately fail a test by hijacking the if statement for the return 
value check to make sure this patch is working as expected.
  
  [Where problems could occur]
  This patch improves the result interpretation, we might see new failures 
being reported.

** Changed in: linux-oem-5.17 (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: linux-oem-5.17 (Ubuntu Jammy)
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux-oem-5.17 (Ubuntu Kinetic)
       Status: New => Invalid

** Changed in: linux-oem-5.17 (Ubuntu Lunar)
       Status: New => Invalid

** Changed in: linux (Ubuntu Kinetic)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2006546

Title:
  Improve arp_ndisc_evict_nocarrier.sh test result processing

Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  New
Status in linux-oem-5.17 source package in Jammy:
  In Progress
Status in linux source package in Kinetic:
  In Progress
Status in linux-oem-5.17 source package in Kinetic:
  Invalid
Status in linux source package in Lunar:
  Fix Released
Status in linux-oem-5.17 source package in Lunar:
  Invalid

Bug description:
  [Impact]
  The arp_ndisc_evict_nocarrier.sh in selftests/net didn't pass a proper return 
value for failed test cases. Thus we might get false negatives if the last 
command runs successfully.

  [Fix]
  * 1856628baa selftests: net: return non-zero for failures reported in 
arp_ndisc_evict_nocarrier

  This patch can be cherry-picked into affected kernels. Lunar has been
  patched already.

  [Test]
  Run the patched test, this should not cause any regression as sub tests are 
good with our kernels (except there is a cleanup issue in bug 1968310)
  One can deliberately fail a test by hijacking the if statement for the return 
value check to make sure this patch is working as expected.

  [Where problems could occur]
  This patch improves the result interpretation, we might see new failures 
being reported.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2006546/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to