Skip to content

tests: Modify tests to better test some zebra cli changes

242e105
Select commit
Loading
Failed to load commit list.
Open

Mgmt frontend problems in zebra #21252

tests: Modify tests to better test some zebra cli changes
242e105
Select commit
Loading
Failed to load commit list.
NetDEF CI Pull Requests Testing / [CI] Basic Tests failed Mar 20, 2026 in 0s

Basic Tests summary

➡️ Jobs queued: 0/48

➡️ Jobs in progress: 0/48

✖️ Jobs Failure: 5/48

AssertionError: Missing 'ip import-table 10' in show running:
 Building configuration...
 
 Current configuration:
 !
 frr version 10.7.0-dev
 frr defaults traditional
 hostname r1
 domainname lab.netdef.org
 log commands
 log file mgmtd.log
 log timestamp precision 6
 no service integrated-vtysh-config
 !
 ip route 12.0.0.0/24 101.0.0.2
 ip route 13.1.0.0/24 101.0.0.2
 ip route 14.1.0.0/24 101.0.0.2
 ip route 15.1.0.0/24 101.0.0.2
 ip route 15.2.0.0/24 101.0.0.2
 ip route 15.3.0.0/24 101.0.0.2
 ip route 15.4.0.0/24 101.0.0.2
 ip route 16.1.0.0/24 101.0.0.2
 ip route 20.1.0.0/24 101.0.0.2
 ip route 21.1.0.0/24 101.0.0.2
 ipv6 route 2012::/48 2101::2
 !
 interface r1-eth0
  ip address 101.0.0.1/24
  ipv6 address 2101::1/64
 exit
 !
 end
 
assert "Missing 'ip import-table 10' in show running:\nBuilding configuration...\n\nCurrent configuration:\n!\nfrr version 10.7.0-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog commands\nlog file mgmtd.log\nlog timestamp precision 6\nno service integrated-vtysh-config\n!\nip route 12.0.0.0/24 101.0.0.2\nip route 13.1.0.0/24 101.0.0.2\nip route 14.1.0.0/24 101.0.0.2\nip route 15.1.0.0/24 101.0.0.2\nip route 15.2.0.0/24 101.0.0.2\nip route 15.3.0.0/24 101.0.0.2\nip route 15.4.0.0/24 101.0.0.2\nip route 16.1.0.0/24 101.0.0.2\nip route 20.1.0.0/24 101.0.0.2\nip route 21.1.0.0/24 101.0.0.2\nipv6 route 2012::/48 2101::2\n!\ninterface r1-eth0\n ip address 101.0.0.1/24\n ipv6 address 2101::1/64\nexit\n!\nend\n" is None
E   AssertionError: Missing 'ip import-table 10' in show running:
     Building configuration...
     
     Current configuration:
     !
     frr version 10.7.0-dev
     frr defaults traditional
     hostname r1
     domainname lab.netdef.org
     log commands
     log file mgmtd.log
     log timestamp precision 6
     no service integrated-vtysh-config
     !
     ip route 12.0.0.0/24 101.0.0.2
     ip route 13.1.0.0/24 101.0.0.2
     ip route 14.1.0.0/24 101.0.0.2
     ip route 15.1.0.0/24 101.0.0.2
     ip route 15.2.0.0/24 101.0.0.2
     ip route 15.3.0.0/24 101.0.0.2
     ip route 15.4.0.0/24 101.0.0.2
     ip route 16.1.0.0/24 101.0.0.2
     ip route 20.1.0.0/24 101.0.0.2
     ip route 21.1.0.0/24 101.0.0.2
     ipv6 route 2012::/48 2101::2
     !
     interface r1-eth0
      ip address 101.0.0.1/24
      ipv6 address 2101::1/64
     exit
     !
     end
     
   assert "Missing 'ip import-table 10' in show running:\nBuilding configuration...\n\nCurrent configuration:\n!\nfrr version 10.7.0-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog commands\nlog file mgmtd.log\nlog timestamp precision 6\nno service integrated-vtysh-config\n!\nip route 12.0.0.0/24 101.0.0.2\nip route 13.1.0.0/24 101.0.0.2\nip route 14.1.0.0/24 101.0.0.2\nip route 15.1.0.0/24 101.0.0.2\nip route 15.2.0.0/24 101.0.0.2\nip route 15.3.0.0/24 101.0.0.2\nip route 15.4.0.0/24 101.0.0.2\nip route 16.1.0.0/24 101.0.0.2\nip route 20.1.0.0/24 101.0.0.2\nip route 21.1.0.0/24 101.0.0.2\nipv6 route 2012::/48 2101::2\n!\ninterface r1-eth0\n ip address 101.0.0.1/24\n ipv6 address 2101::1/64\nexit\n!\nend\n" is None
AssertionError: Missing 'ip import-table 10' in show running:
 Building configuration...
 
 Current configuration:
 !
 frr version 10.7.0-dev
 frr defaults traditional
 hostname r1
 domainname lab.netdef.org
 log commands
 log file mgmtd.log
 log timestamp precision 6
 no service integrated-vtysh-config
 !
 ip route 12.0.0.0/24 101.0.0.2
 ip route 13.1.0.0/24 101.0.0.2
 ip route 14.1.0.0/24 101.0.0.2
 ip route 15.1.0.0/24 101.0.0.2
 ip route 15.2.0.0/24 101.0.0.2
 ip route 15.3.0.0/24 101.0.0.2
 ip route 15.4.0.0/24 101.0.0.2
 ip route 16.1.0.0/24 101.0.0.2
 ip route 20.1.0.0/24 101.0.0.2
 ip route 21.1.0.0/24 101.0.0.2
 ipv6 route 2012::/48 2101::2
 !
 interface r1-eth0
  ip address 101.0.0.1/24
  ipv6 address 2101::1/64
 exit
 !
 end
 
assert "Missing 'ip import-table 10' in show running:\nBuilding configuration...\n\nCurrent configuration:\n!\nfrr version 10.7.0-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog commands\nlog file mgmtd.log\nlog timestamp precision 6\nno service integrated-vtysh-config\n!\nip route 12.0.0.0/24 101.0.0.2\nip route 13.1.0.0/24 101.0.0.2\nip route 14.1.0.0/24 101.0.0.2\nip route 15.1.0.0/24 101.0.0.2\nip route 15.2.0.0/24 101.0.0.2\nip route 15.3.0.0/24 101.0.0.2\nip route 15.4.0.0/24 101.0.0.2\nip route 16.1.0.0/24 101.0.0.2\nip route 20.1.0.0/24 101.0.0.2\nip route 21.1.0.0/24 101.0.0.2\nipv6 route 2012::/48 2101::2\n!\ninterface r1-eth0\n ip address 101.0.0.1/24\n ipv6 address 2101::1/64\nexit\n!\nend\n" is None
E   AssertionError: Missing 'ip import-table 10' in show running:
     Building configuration...
     
     Current configuration:
     !
     frr version 10.7.0-dev
     frr defaults traditional
     hostname r1
     domainname lab.netdef.org
     log commands
     log file mgmtd.log
     log timestamp precision 6
     no service integrated-vtysh-config
     !
     ip route 12.0.0.0/24 101.0.0.2
     ip route 13.1.0.0/24 101.0.0.2
     ip route 14.1.0.0/24 101.0.0.2
     ip route 15.1.0.0/24 101.0.0.2
     ip route 15.2.0.0/24 101.0.0.2
     ip route 15.3.0.0/24 101.0.0.2
     ip route 15.4.0.0/24 101.0.0.2
     ip route 16.1.0.0/24 101.0.0.2
     ip route 20.1.0.0/24 101.0.0.2
     ip route 21.1.0.0/24 101.0.0.2
     ipv6 route 2012::/48 2101::2
     !
     interface r1-eth0
      ip address 101.0.0.1/24
      ipv6 address 2101::1/64
     exit
     !
     end
     
   assert "Missing 'ip import-table 10' in show running:\nBuilding configuration...\n\nCurrent configuration:\n!\nfrr version 10.7.0-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog commands\nlog file mgmtd.log\nlog timestamp precision 6\nno service integrated-vtysh-config\n!\nip route 12.0.0.0/24 101.0.0.2\nip route 13.1.0.0/24 101.0.0.2\nip route 14.1.0.0/24 101.0.0.2\nip route 15.1.0.0/24 101.0.0.2\nip route 15.2.0.0/24 101.0.0.2\nip route 15.3.0.0/24 101.0.0.2\nip route 15.4.0.0/24 101.0.0.2\nip route 16.1.0.0/24 101.0.0.2\nip route 20.1.0.0/24 101.0.0.2\nip route 21.1.0.0/24 101.0.0.2\nipv6 route 2012::/48 2101::2\n!\ninterface r1-eth0\n ip address 101.0.0.1/24\n ipv6 address 2101::1/64\nexit\n!\nend\n" is None
AssertionError: Missing 'ip import-table 10' in show running:
 Building configuration...
 
 Current configuration:
 !
 frr version 10.7.0-dev
 frr defaults traditional
 hostname r1
 domainname lab.netdef.org
 log commands
 log file mgmtd.log
 log timestamp precision 6
 no service integrated-vtysh-config
 !
 ip route 12.0.0.0/24 101.0.0.2
 ip route 13.1.0.0/24 101.0.0.2
 ip route 14.1.0.0/24 101.0.0.2
 ip route 15.1.0.0/24 101.0.0.2
 ip route 15.2.0.0/24 101.0.0.2
 ip route 15.3.0.0/24 101.0.0.2
 ip route 15.4.0.0/24 101.0.0.2
 ip route 16.1.0.0/24 101.0.0.2
 ip route 20.1.0.0/24 101.0.0.2
 ip route 21.1.0.0/24 101.0.0.2
 ipv6 route 2012::/48 2101::2
 !
 interface r1-eth0
  ip address 101.0.0.1/24
  ipv6 address 2101::1/64
 exit
 !
 end
 
assert "Missing 'ip import-table 10' in show running:\nBuilding configuration...\n\nCurrent configuration:\n!\nfrr version 10.7.0-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog commands\nlog file mgmtd.log\nlog timestamp precision 6\nno service integrated-vtysh-config\n!\nip route 12.0.0.0/24 101.0.0.2\nip route 13.1.0.0/24 101.0.0.2\nip route 14.1.0.0/24 101.0.0.2\nip route 15.1.0.0/24 101.0.0.2\nip route 15.2.0.0/24 101.0.0.2\nip route 15.3.0.0/24 101.0.0.2\nip route 15.4.0.0/24 101.0.0.2\nip route 16.1.0.0/24 101.0.0.2\nip route 20.1.0.0/24 101.0.0.2\nip route 21.1.0.0/24 101.0.0.2\nipv6 route 2012::/48 2101::2\n!\ninterface r1-eth0\n ip address 101.0.0.1/24\n ipv6 address 2101::1/64\nexit\n!\nend\n" is None
E   AssertionError: Missing 'ip import-table 10' in show running:
     Building configuration...
     
     Current configuration:
     !
     frr version 10.7.0-dev
     frr defaults traditional
     hostname r1
     domainname lab.netdef.org
     log commands
     log file mgmtd.log
     log timestamp precision 6
     no service integrated-vtysh-config
     !
     ip route 12.0.0.0/24 101.0.0.2
     ip route 13.1.0.0/24 101.0.0.2
     ip route 14.1.0.0/24 101.0.0.2
     ip route 15.1.0.0/24 101.0.0.2
     ip route 15.2.0.0/24 101.0.0.2
     ip route 15.3.0.0/24 101.0.0.2
     ip route 15.4.0.0/24 101.0.0.2
     ip route 16.1.0.0/24 101.0.0.2
     ip route 20.1.0.0/24 101.0.0.2
     ip route 21.1.0.0/24 101.0.0.2
     ipv6 route 2012::/48 2101::2
     !
     interface r1-eth0
      ip address 101.0.0.1/24
      ipv6 address 2101::1/64
     exit
     !
     end
     
   assert "Missing 'ip import-table 10' in show running:\nBuilding configuration...\n\nCurrent configuration:\n!\nfrr version 10.7.0-dev\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog commands\nlog file mgmtd.log\nlog timestamp precision 6\nno service integrated-vtysh-config\n!\nip route 12.0.0.0/24 101.0.0.2\nip route 13.1.0.0/24 101.0.0.2\nip route 14.1.0.0/24 101.0.0.2\nip route 15.1.0.0/24 101.0.0.2\nip route 15.2.0.0/24 101.0.0.2\nip route 15.3.0.0/24 101.0.0.2\nip route 15.4.0.0/24 101.0.0.2\nip route 16.1.0.0/24 101.0.0.2\nip route 20.1.0.0/24 101.0.0.2\nip route 21.1.0.0/24 101.0.0.2\nipv6 route 2012::/48 2101::2\n!\ninterface r1-eth0\n ip address 101.0.0.1/24\n ipv6 address 2101::1/64\nexit\n!\nend\n" is None
AssertionError: Missing 'ip import-table 10' in show running:
 Building configuration...
 
 Current configuration:
 !
 frr version 10.7.0-dev-20260320.181310-git.242e105
 frr defaults traditional
 hostname r1
 domainname lab.netdef.org
 log commands
 log file mgmtd.log
 log timestamp precision 6
 no service integrated-vtysh-config
 !
 ip route 12.0.0.0/24 101.0.0.2
 ip route 13.1.0.0/24 101.0.0.2
 ip route 14.1.0.0/24 101.0.0.2
 ip route 15.1.0.0/24 101.0.0.2
 ip route 15.2.0.0/24 101.0.0.2
 ip route 15.3.0.0/24 101.0.0.2
 ip route 15.4.0.0/24 101.0.0.2
 ip route 16.1.0.0/24 101.0.0.2
 ip route 20.1.0.0/24 101.0.0.2
 ip route 21.1.0.0/24 101.0.0.2
 ipv6 route 2012::/48 2101::2
 !
 interface r1-eth0
  ip address 101.0.0.1/24
  ipv6 address 2101::1/64
 exit
 !
 end
 
assert "Missing 'ip import-table 10' in show running:\nBuilding configuration...\n\nCurrent configuration:\n!\nfrr version 10.7.0-dev-20260320.181310-git.242e105\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog commands\nlog file mgmtd.log\nlog timestamp precision 6\nno service integrated-vtysh-config\n!\nip route 12.0.0.0/24 101.0.0.2\nip route 13.1.0.0/24 101.0.0.2\nip route 14.1.0.0/24 101.0.0.2\nip route 15.1.0.0/24 101.0.0.2\nip route 15.2.0.0/24 101.0.0.2\nip route 15.3.0.0/24 101.0.0.2\nip route 15.4.0.0/24 101.0.0.2\nip route 16.1.0.0/24 101.0.0.2\nip route 20.1.0.0/24 101.0.0.2\nip route 21.1.0.0/24 101.0.0.2\nipv6 route 2012::/48 2101::2\n!\ninterface r1-eth0\n ip address 101.0.0.1/24\n ipv6 address 2101::1/64\nexit\n!\nend\n" is None
E   AssertionError: Missing 'ip import-table 10' in show running:
     Building configuration...
     
     Current configuration:
     !
     frr version 10.7.0-dev-20260320.181310-git.242e105
     frr defaults traditional
     hostname r1
     domainname lab.netdef.org
     log commands
     log file mgmtd.log
     log timestamp precision 6
     no service integrated-vtysh-config
     !
     ip route 12.0.0.0/24 101.0.0.2
     ip route 13.1.0.0/24 101.0.0.2
     ip route 14.1.0.0/24 101.0.0.2
     ip route 15.1.0.0/24 101.0.0.2
     ip route 15.2.0.0/24 101.0.0.2
     ip route 15.3.0.0/24 101.0.0.2
     ip route 15.4.0.0/24 101.0.0.2
     ip route 16.1.0.0/24 101.0.0.2
     ip route 20.1.0.0/24 101.0.0.2
     ip route 21.1.0.0/24 101.0.0.2
     ipv6 route 2012::/48 2101::2
     !
     interface r1-eth0
      ip address 101.0.0.1/24
      ipv6 address 2101::1/64
     exit
     !
     end
     
   assert "Missing 'ip import-table 10' in show running:\nBuilding configuration...\n\nCurrent configuration:\n!\nfrr version 10.7.0-dev-20260320.181310-git.242e105\nfrr defaults traditional\nhostname r1\ndomainname lab.netdef.org\nlog commands\nlog file mgmtd.log\nlog timestamp precision 6\nno service integrated-vtysh-config\n!\nip route 12.0.0.0/24 101.0.0.2\nip route 13.1.0.0/24 101.0.0.2\nip route 14.1.0.0/24 101.0.0.2\nip route 15.1.0.0/24 101.0.0.2\nip route 15.2.0.0/24 101.0.0.2\nip route 15.3.0.0/24 101.0.0.2\nip route 15.4.0.0/24 101.0.0.2\nip route 16.1.0.0/24 101.0.0.2\nip route 20.1.0.0/24 101.0.0.2\nip route 21.1.0.0/24 101.0.0.2\nipv6 route 2012::/48 2101::2\n!\ninterface r1-eth0\n ip address 101.0.0.1/24\n ipv6 address 2101::1/64\nexit\n!\nend\n" is None

✔️ Jobs Success: 43/48

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