Page MenuHomeFreeBSD

Correctly skip rtsock_l3 test when if_epair is not available
ClosedPublic

Authored by arichardson on Apr 23 2021, 8:54 AM.
Tags
None
Referenced Files
F102142794: D29944.diff
Fri, Nov 8, 3:49 AM
Unknown Object (File)
Fri, Oct 18, 5:23 AM
Unknown Object (File)
Oct 4 2024, 10:32 PM
Unknown Object (File)
Oct 3 2024, 7:59 PM
Unknown Object (File)
Oct 3 2024, 7:15 PM
Unknown Object (File)
Oct 3 2024, 12:05 PM
Unknown Object (File)
Oct 3 2024, 10:40 AM
Unknown Object (File)
Oct 1 2024, 4:01 PM
Subscribers

Details

Summary

This logic was accidentally changed in 67f2f67fc8ce8484066e95dabac5af892888fca1

Reported By: olivier
X-MFC-With: 67f2f67fc8ce8484066e95dabac5af892888fca1
Fixes: 67f2f67fc8ce ("Update rtsock_l3 test after 2fe5a79425c7")

Test Plan

Untested since I don't have a kernel without if_epair, but should hopefully work.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38825
Build 35714: arc lint + arc unit

Event Timeline

kp added a subscriber: kp.

Skips correctly if if_epair.ko cannot be loaded (tested with sudo rm /boot/kernel/if_epair.ko).

This revision is now accepted and ready to land.Apr 23 2021, 9:59 AM
In D29944#671905, @kp wrote:

Skips correctly if if_epair.ko cannot be loaded (tested with sudo rm /boot/kernel/if_epair.ko).

Ah yes, I could have just done that :) Thanks for testing.

Thanks!
it fixes the regression:

# grep 'rtsock_l3.*skipped: module if_epair could not be resolve' test-report-freebsd.txt
sys/net/routing/test_rtsock_l3:rtm_add_v4_gu_ifa_ordered_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.003s]
sys/net/routing/test_rtsock_l3:rtm_add_v4_gw_direct_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.003s]
sys/net/routing/test_rtsock_l3:rtm_add_v4_no_rtf_host_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_add_v4_temporal1_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_add_v6_gu_gw_gu_direct_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_add_v6_temporal1_success  ->  skipped: module if_epair could not be resolved: No such file or directory[0.004s]
sys/net/routing/test_rtsock_l3:rtm_change_v4_flags_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_change_v4_gw_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_change_v4_mtu_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_change_v6_flags_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_change_v6_gw_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_change_v6_mtu_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
sys/net/routing/test_rtsock_l3:rtm_del_v4_gu_ifa_prefixroute_success  ->  skipped: module if_epair could not be resolved: No such file or directory  [0.004s]
(...)