** Description changed:
+ [Impact]
+ In selftests: net: arp_ndisc_evict_nocarrier.sh, even all of the
+ sub-tests from this script have passed, the overall test result
+ is still a fail.
+
+ # selftests: net: arp_ndisc_evict_nocarrier.sh
+ # run arp_evict_nocarrier=1 test
+ # ok
+ # run arp_evict_nocarrier=0 test
+ # ok
+ # run all.arp_evict_nocarrier=0 test
+ # ok
+ # run ndisc_evict_nocarrier=1 test
+ # ok
+ # run ndisc_evict_nocarrier=0 test
+ # ok
+ # run all.ndisc_evict_nocarrier=0 test
+ # ok
+ not ok 1 selftests: net: arp_ndisc_evict_nocarrier.sh # exit=255
+
+ This is caused by the cleanup() in the script, as it's trying to
+ access a non-existing file.
+
+ [Fix]
+ * 9c4d7f45d6 selftests: net: fix cleanup_v6() for arp_ndisc_evict_nocarrier
+
+ This patch can be cherry-picked.
+
+ [Test]
+ Run the patched test and the test will pass.
+
+ [Where problems could occur]
+ Change limited to testing tools, no impact to real kernel function
+ or test performances.
+
+ [Original Bug Report]
Issue found on Jammy OEM 5.17.0-1003.3
It looks like all the sub-tests has passed, but the final return value
is not 0.
- Running 'make run_tests -C net TEST_PROGS=arp_ndisc_evict_nocarrier.sh
TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
- make: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
- make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
- make[1]: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
- INSTALL ./usr/include
- make[1]: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
- TAP version 13
- 1..1
- # selftests: net: arp_ndisc_evict_nocarrier.sh
- # run arp_evict_nocarrier=1 test
- # ok
- # run arp_evict_nocarrier=0 test
- # ok
- # run all.arp_evict_nocarrier=0 test
- # ok
- # run ndisc_evict_nocarrier=1 test
- # ok
- # run ndisc_evict_nocarrier=0 test
- # ok
- # run all.ndisc_evict_nocarrier=0 test
- # ok
- not ok 1 selftests: net: arp_ndisc_evict_nocarrier.sh # exit=255
- make: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
+ Running 'make run_tests -C net TEST_PROGS=arp_ndisc_evict_nocarrier.sh
TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
+ make: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
+ make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
+ make[1]: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
+ INSTALL ./usr/include
+ make[1]: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
+ TAP version 13
+ 1..1
+ # selftests: net: arp_ndisc_evict_nocarrier.sh
+ # run arp_evict_nocarrier=1 test
+ # ok
+ # run arp_evict_nocarrier=0 test
+ # ok
+ # run all.arp_evict_nocarrier=0 test
+ # ok
+ # run ndisc_evict_nocarrier=1 test
+ # ok
+ # run ndisc_evict_nocarrier=0 test
+ # ok
+ # run all.ndisc_evict_nocarrier=0 test
+ # ok
+ not ok 1 selftests: net: arp_ndisc_evict_nocarrier.sh # exit=255
+ make: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
** Changed in: linux (Ubuntu Jammy)
Status: New => Invalid
** Also affects: linux-hwe-5.17 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: linux-hwe-5.17 (Ubuntu)
Status: New => Invalid
** Changed in: linux-hwe-5.17 (Ubuntu Jammy)
Status: New => In Progress
** Changed in: linux-hwe-5.17 (Ubuntu Jammy)
Assignee: (unassigned) => Po-Hsu Lin (cypressyew)
** Changed in: linux-hwe-5.17 (Ubuntu Kinetic)
Status: New => Invalid
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1968310
Title:
arp_ndisc_evict_nocarrier.sh in net from ubuntu_kernel_selftests
failed on J-oem-5.17 / K
Status in ubuntu-kernel-tests:
In Progress
Status in linux package in Ubuntu:
Fix Released
Status in linux-hwe-5.17 package in Ubuntu:
Invalid
Status in linux-oem-5.17 package in Ubuntu:
Invalid
Status in linux source package in Jammy:
Invalid
Status in linux-hwe-5.17 source package in Jammy:
In Progress
Status in linux-oem-5.17 source package in Jammy:
In Progress
Status in linux source package in Kinetic:
In Progress
Status in linux-hwe-5.17 source package in Kinetic:
Invalid
Status in linux-oem-5.17 source package in Kinetic:
Invalid
Bug description:
[Impact]
In selftests: net: arp_ndisc_evict_nocarrier.sh, even all of the
sub-tests from this script have passed, the overall test result
is still a fail.
# selftests: net: arp_ndisc_evict_nocarrier.sh
# run arp_evict_nocarrier=1 test
# ok
# run arp_evict_nocarrier=0 test
# ok
# run all.arp_evict_nocarrier=0 test
# ok
# run ndisc_evict_nocarrier=1 test
# ok
# run ndisc_evict_nocarrier=0 test
# ok
# run all.ndisc_evict_nocarrier=0 test
# ok
not ok 1 selftests: net: arp_ndisc_evict_nocarrier.sh # exit=255
This is caused by the cleanup() in the script, as it's trying to
access a non-existing file.
[Fix]
* 9c4d7f45d6 selftests: net: fix cleanup_v6() for arp_ndisc_evict_nocarrier
This patch can be cherry-picked.
[Test]
Run the patched test and the test will pass.
[Where problems could occur]
Change limited to testing tools, no impact to real kernel function
or test performances.
[Original Bug Report]
Issue found on Jammy OEM 5.17.0-1003.3
It looks like all the sub-tests has passed, but the final return value
is not 0.
Running 'make run_tests -C net TEST_PROGS=arp_ndisc_evict_nocarrier.sh
TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
make: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
make[1]: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
INSTALL ./usr/include
make[1]: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
TAP version 13
1..1
# selftests: net: arp_ndisc_evict_nocarrier.sh
# run arp_evict_nocarrier=1 test
# ok
# run arp_evict_nocarrier=0 test
# ok
# run all.arp_evict_nocarrier=0 test
# ok
# run ndisc_evict_nocarrier=1 test
# ok
# run ndisc_evict_nocarrier=0 test
# ok
# run all.ndisc_evict_nocarrier=0 test
# ok
not ok 1 selftests: net: arp_ndisc_evict_nocarrier.sh # exit=255
make: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1968310/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp