Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pim: Fix vrf binding of autorp and mroute socket (backport #18226) #18246

Merged
merged 1 commit into from
Feb 25, 2025

pim: Fix vrf binding of autorp and mroute socket

76e4076
Select commit
Loading
Failed to load commit list.
Merged

pim: Fix vrf binding of autorp and mroute socket (backport #18226) #18246

pim: Fix vrf binding of autorp and mroute socket
76e4076
Select commit
Loading
Failed to load commit list.
NetDEF CI Pull Requests Testing / [CI] Basic Tests failed Feb 24, 2025 in 0s

Basic Tests summary

➡️ Jobs queued: 0/48

➡️ Jobs in progress: 0/48

✖️ Jobs Failure: 9/48

FileNotFoundError: [Errno 2] No such file or directory: '/root/share/topotests/bgp_l3vpn_hidden/rr1/show_bgp_ipv4_vpn_step1.json'
E   FileNotFoundError: [Errno 2] No such file or directory: '/root/share/topotests/bgp_l3vpn_hidden/rr1/show_bgp_ipv4_vpn_step1.json'
AssertionError: router bgp 99 not found in show run
assert 'router bgp 99\n' in 'Building configuration...\n\nCurrent configuration:\n!\nfrr version 10.3-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/mgmtd.log\nlog timestamp precision 6\nlog commands\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/zebra.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/bgpd.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/staticd.log\nno service integrated-vtysh-config\n!\nvrf DONNA\nexit-vrf\n!\nvrf EVA\nexit-vrf\n!\ninterface dummy0\n ip address 10.0.4.1/24\nexit\n!\ninterface dummy1\n ip address 10.0.0.1/24\nexit\n!\ninterface dummy2\n ip address 10.0.1.1/24\nexit\n!\ninterface dummy3\n ip address 10.0.2.1/24\nexit\n!\ninterface dummy4\n ip address 10.0.3.1/24\nexit\n!\nrouter bgp 99 vrf DONNA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf EVA\n  import vrf ZITA\n  import vrf default\n exit-address-family\nexit\n!\nrouter bgp 1\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf EVA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n  import vrf ZITA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf ZITA\n no bgp ebgp-requires-policy\n no bgp network import-check\n !\n address-family ipv4 unicast\n  network 172.16.101.0/24\n exit-address-family\nexit\n!\nend\n'
E   AssertionError: router bgp 99 not found in show run
   assert 'router bgp 99\n' in 'Building configuration...\n\nCurrent configuration:\n!\nfrr version 10.3-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/mgmtd.log\nlog timestamp precision 6\nlog commands\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/zebra.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/bgpd.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/staticd.log\nno service integrated-vtysh-config\n!\nvrf DONNA\nexit-vrf\n!\nvrf EVA\nexit-vrf\n!\ninterface dummy0\n ip address 10.0.4.1/24\nexit\n!\ninterface dummy1\n ip address 10.0.0.1/24\nexit\n!\ninterface dummy2\n ip address 10.0.1.1/24\nexit\n!\ninterface dummy3\n ip address 10.0.2.1/24\nexit\n!\ninterface dummy4\n ip address 10.0.3.1/24\nexit\n!\nrouter bgp 99 vrf DONNA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf EVA\n  import vrf ZITA\n  import vrf default\n exit-address-family\nexit\n!\nrouter bgp 1\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf EVA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n  import vrf ZITA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf ZITA\n no bgp ebgp-requires-policy\n no bgp network import-check\n !\n address-family ipv4 unicast\n  network 172.16.101.0/24\n exit-address-family\nexit\n!\nend\n'
FileNotFoundError: [Errno 2] No such file or directory: '/root/share/topotests/bgp_l3vpn_hidden/rr1/show_bgp_ipv4_vpn_step1.json'
E   FileNotFoundError: [Errno 2] No such file or directory: '/root/share/topotests/bgp_l3vpn_hidden/rr1/show_bgp_ipv4_vpn_step1.json'
FileNotFoundError: [Errno 2] No such file or directory: '/root/share/topotests/bgp_l3vpn_hidden/rr1/show_bgp_ipv4_vpn_step1.json'
E   FileNotFoundError: [Errno 2] No such file or directory: '/root/share/topotests/bgp_l3vpn_hidden/rr1/show_bgp_ipv4_vpn_step1.json'
FileNotFoundError: [Errno 2] No such file or directory: '/root/share/topotests/bgp_l3vpn_hidden/rr1/show_bgp_ipv4_vpn_step1.json'
E   FileNotFoundError: [Errno 2] No such file or directory: '/root/share/topotests/bgp_l3vpn_hidden/rr1/show_bgp_ipv4_vpn_step1.json'
AssertionError: router bgp 99 not found in show run
assert 'router bgp 99\n' in 'Building configuration...\n\nCurrent configuration:\n!\nfrr version 10.3-dev-20250224.185538-git.76e4076\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/mgmtd.log\nlog timestamp precision 6\nlog commands\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/zebra.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/bgpd.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/staticd.log\nno service integrated-vtysh-config\n!\nvrf DONNA\nexit-vrf\n!\nvrf EVA\nexit-vrf\n!\ninterface dummy0\n ip address 10.0.4.1/24\nexit\n!\ninterface dummy1\n ip address 10.0.0.1/24\nexit\n!\ninterface dummy2\n ip address 10.0.1.1/24\nexit\n!\ninterface dummy3\n ip address 10.0.2.1/24\nexit\n!\ninterface dummy4\n ip address 10.0.3.1/24\nexit\n!\nrouter bgp 99 vrf DONNA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf EVA\n  import vrf ZITA\n  import vrf default\n exit-address-family\nexit\n!\nrouter bgp 1\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf EVA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n  import vrf ZITA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf ZITA\n no bgp ebgp-requires-policy\n no bgp network import-check\n !\n address-family ipv4 unicast\n  network 172.16.101.0/24\n exit-address-family\nexit\n!\nend\n'
E   AssertionError: router bgp 99 not found in show run
   assert 'router bgp 99\n' in 'Building configuration...\n\nCurrent configuration:\n!\nfrr version 10.3-dev-20250224.185538-git.76e4076\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/mgmtd.log\nlog timestamp precision 6\nlog commands\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/zebra.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/bgpd.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/staticd.log\nno service integrated-vtysh-config\n!\nvrf DONNA\nexit-vrf\n!\nvrf EVA\nexit-vrf\n!\ninterface dummy0\n ip address 10.0.4.1/24\nexit\n!\ninterface dummy1\n ip address 10.0.0.1/24\nexit\n!\ninterface dummy2\n ip address 10.0.1.1/24\nexit\n!\ninterface dummy3\n ip address 10.0.2.1/24\nexit\n!\ninterface dummy4\n ip address 10.0.3.1/24\nexit\n!\nrouter bgp 99 vrf DONNA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf EVA\n  import vrf ZITA\n  import vrf default\n exit-address-family\nexit\n!\nrouter bgp 1\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf EVA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n  import vrf ZITA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf ZITA\n no bgp ebgp-requires-policy\n no bgp network import-check\n !\n address-family ipv4 unicast\n  network 172.16.101.0/24\n exit-address-family\nexit\n!\nend\n'
AssertionError: router bgp 99 not found in show run
assert 'router bgp 99\n' in 'Building configuration...\n\nCurrent configuration:\n!\nfrr version 10.3-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/mgmtd.log\nlog timestamp precision 6\nlog commands\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/zebra.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/bgpd.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/staticd.log\nno service integrated-vtysh-config\n!\nvrf DONNA\nexit-vrf\n!\nvrf EVA\nexit-vrf\n!\ninterface dummy0\n ip address 10.0.4.1/24\nexit\n!\ninterface dummy1\n ip address 10.0.0.1/24\nexit\n!\ninterface dummy2\n ip address 10.0.1.1/24\nexit\n!\ninterface dummy3\n ip address 10.0.2.1/24\nexit\n!\ninterface dummy4\n ip address 10.0.3.1/24\nexit\n!\nrouter bgp 99 vrf DONNA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf EVA\n  import vrf ZITA\n  import vrf default\n exit-address-family\nexit\n!\nrouter bgp 1\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf EVA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n  import vrf ZITA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf ZITA\n no bgp ebgp-requires-policy\n no bgp network import-check\n !\n address-family ipv4 unicast\n  network 172.16.101.0/24\n exit-address-family\nexit\n!\nend\n'
E   AssertionError: router bgp 99 not found in show run
   assert 'router bgp 99\n' in 'Building configuration...\n\nCurrent configuration:\n!\nfrr version 10.3-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/mgmtd.log\nlog timestamp precision 6\nlog commands\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/zebra.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/bgpd.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/staticd.log\nno service integrated-vtysh-config\n!\nvrf DONNA\nexit-vrf\n!\nvrf EVA\nexit-vrf\n!\ninterface dummy0\n ip address 10.0.4.1/24\nexit\n!\ninterface dummy1\n ip address 10.0.0.1/24\nexit\n!\ninterface dummy2\n ip address 10.0.1.1/24\nexit\n!\ninterface dummy3\n ip address 10.0.2.1/24\nexit\n!\ninterface dummy4\n ip address 10.0.3.1/24\nexit\n!\nrouter bgp 99 vrf DONNA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf EVA\n  import vrf ZITA\n  import vrf default\n exit-address-family\nexit\n!\nrouter bgp 1\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf EVA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n  import vrf ZITA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf ZITA\n no bgp ebgp-requires-policy\n no bgp network import-check\n !\n address-family ipv4 unicast\n  network 172.16.101.0/24\n exit-address-family\nexit\n!\nend\n'
AssertionError: router bgp 99 not found in show run
assert 'router bgp 99\n' in 'Building configuration...\n\nCurrent configuration:\n!\nfrr version 10.3-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/mgmtd.log\nlog timestamp precision 6\nlog commands\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/zebra.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/bgpd.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/staticd.log\nno service integrated-vtysh-config\n!\nvrf DONNA\nexit-vrf\n!\nvrf EVA\nexit-vrf\n!\ninterface dummy0\n ip address 10.0.4.1/24\nexit\n!\ninterface dummy1\n ip address 10.0.0.1/24\nexit\n!\ninterface dummy2\n ip address 10.0.1.1/24\nexit\n!\ninterface dummy3\n ip address 10.0.2.1/24\nexit\n!\ninterface dummy4\n ip address 10.0.3.1/24\nexit\n!\nrouter bgp 99 vrf DONNA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf EVA\n  import vrf ZITA\n  import vrf default\n exit-address-family\nexit\n!\nrouter bgp 1\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf EVA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n  import vrf ZITA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf ZITA\n no bgp ebgp-requires-policy\n no bgp network import-check\n !\n address-family ipv4 unicast\n  network 172.16.101.0/24\n exit-address-family\nexit\n!\nend\n'
E   AssertionError: router bgp 99 not found in show run
   assert 'router bgp 99\n' in 'Building configuration...\n\nCurrent configuration:\n!\nfrr version 10.3-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/mgmtd.log\nlog timestamp precision 6\nlog commands\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/zebra.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/bgpd.log\nlog file /tmp/topotests/bgp_vrf_route_leak_basic.test_bgp-vrf-route-leak-basic/r1/staticd.log\nno service integrated-vtysh-config\n!\nvrf DONNA\nexit-vrf\n!\nvrf EVA\nexit-vrf\n!\ninterface dummy0\n ip address 10.0.4.1/24\nexit\n!\ninterface dummy1\n ip address 10.0.0.1/24\nexit\n!\ninterface dummy2\n ip address 10.0.1.1/24\nexit\n!\ninterface dummy3\n ip address 10.0.2.1/24\nexit\n!\ninterface dummy4\n ip address 10.0.3.1/24\nexit\n!\nrouter bgp 99 vrf DONNA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf EVA\n  import vrf ZITA\n  import vrf default\n exit-address-family\nexit\n!\nrouter bgp 1\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf EVA\n no bgp ebgp-requires-policy\n !\n address-family ipv4 unicast\n  redistribute connected\n  import vrf DONNA\n  import vrf ZITA\n exit-address-family\nexit\n!\nrouter bgp 99 vrf ZITA\n no bgp ebgp-requires-policy\n no bgp network import-check\n !\n address-family ipv4 unicast\n  network 172.16.101.0/24\n exit-address-family\nexit\n!\nend\n'

✔️ Jobs Success: 39/48

Details at https://ci1.netdef.org/browse/FRR-PULLREQ3-7723.