net:unicast_extensions.sh complains about missing lib.sh

Bug #2069127 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Mantic
Confirmed
Undecided
Unassigned

Bug Description

Issue found on Mantic 6.5.0-44.44 in cycle 2024.06.10

 Running 'make run_tests -C net TEST_PROGS=unicast_extensions.sh TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
 make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kselftests_net/src/linux/tools/testing/selftests/net'
 TAP version 13
 1..1
 # timeout set to 0
 # selftests: net: unicast_extensions.sh
 # ./unicast_extensions.sh: line 31: lib.sh: No such file or directory
 # ###########################################################################
 # Unicast address extensions tests (behavior of reserved IPv4 addresses)
 # ###########################################################################
 # TEST: assign and ping within 240/4 (1 of 2) (is allowed) [FAIL]
 # TEST: assign and ping within 240/4 (2 of 2) (is allowed) [FAIL]
 # TEST: assign and ping within 0/8 (1 of 2) (is allowed) [FAIL]
 # TEST: assign and ping within 0/8 (2 of 2) (is allowed) [FAIL]
 # TEST: assign and ping inside 255.255/16 (is allowed) [FAIL]
 # TEST: assign and ping inside 255.255.255/24 (is allowed) [FAIL]
 # TEST: route between 240.5.6/24 and 255.1.2/24 (is allowed) [FAIL]
 # TEST: route between 0.200/16 and 245.99/16 (is allowed) [FAIL]
 # TEST: assign and ping lowest address (/24) [FAIL]
 # TEST: assign and ping lowest address (/26) [FAIL]
 # TEST: routing using lowest address [FAIL]
 # TEST: assigning 0.0.0.0 (is forbidden) [ OK ]
 # TEST: assigning 255.255.255.255 (is forbidden) [ OK ]
 # TEST: assign and ping inside 127/8 (is forbidden) [ OK ]
 # TEST: assign and ping class D address (is forbidden) [ OK ]
 # TEST: routing using class D (is forbidden) [ OK ]
 # TEST: routing using 127/8 (is forbidden) [ OK ]
 not ok 1 selftests: net: unicast_extensions.sh # exit=1
 make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kselftests_net/src/linux/tools/testing/selftests/net'

This is because of the stable update bug 2059991 pulls in commit 0f4765d0b4 "selftests/net: convert unicast_extensions.sh to run it in unique name space", which adds a dependency of a share library "lib.sh". And we don't have that commit for adding lib.sh to our kernel.

Since this will be the last cycle of Mantic kernel, we will leave it as-is.

Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Mantic):
status: New → Confirmed
Changed in linux (Ubuntu):
status: New → Invalid
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Fix sent to stable 6.6
https://<email address hidden>/T/#t

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.