opensourcerouting / frr

Free Range Routing Protocol Suite
Other
37 stars 12 forks source link

Migrate bgp default originate route map match topotato #58

Closed Chromico closed 1 year ago

Chromico commented 2 years ago

Migrating test bgp default originate route map match set from topotests to topotato

Test Output

root@frrr:~/newfrr1/tests/topotato# ./run_userns.sh --frr-builddir=/root/buildfrr/ --log-cli-level=DEBUG -v -v -x test_bgp_default-originate_route-map_match.py
========================================= topotato initialization =========================================
------------------------------------------ live log sessionstart ------------------------------------------
DEBUG    topotato:topolinux.py:87 executable unshare found: /usr/bin/unshare
DEBUG    topotato:topolinux.py:87 executable nsenter found: /usr/bin/nsenter
DEBUG    topotato:topolinux.py:87 executable tini found: /usr/bin/tini
DEBUG    topotato:topolinux.py:87 executable dumpcap found: /usr/bin/dumpcap
DEBUG    topotato:topolinux.py:87 executable ip found: /usr/sbin/ip
DEBUG    topotato:frr.py:124 FRR build directory: '/root/buildfrr'
DEBUG    topotato:frr.py:139 FRR source directory: '/root/buildfrr'
INFO     topotato:frr.py:171 FRR daemons: zebra, staticd, babeld, bfdd, bgpd, eigrpd, fabricd, isisd, ldpd, nhrpd, ospf6d, ospfd, pathd, pbrd, pim6d, pimd, ripd, ripngd, vrrpd
DEBUG    topotato:frr.py:183 zebra => zebra/zebra
DEBUG    topotato:frr.py:181 ignoring target 'watchfrr/watchfrr'
DEBUG    topotato:frr.py:181 ignoring target 'tools/ssd'
DEBUG    topotato:frr.py:183 bgpd => bgpd/bgpd
DEBUG    topotato:frr.py:183 ripd => ripd/ripd
DEBUG    topotato:frr.py:183 ripngd => ripngd/ripngd
DEBUG    topotato:frr.py:183 ospfd => ospfd/ospfd
DEBUG    topotato:frr.py:183 ospf6d => ospf6d/ospf6d
DEBUG    topotato:frr.py:183 isisd => isisd/isisd
DEBUG    topotato:frr.py:183 fabricd => isisd/fabricd
DEBUG    topotato:frr.py:183 nhrpd => nhrpd/nhrpd
DEBUG    topotato:frr.py:183 ldpd => ldpd/ldpd
DEBUG    topotato:frr.py:183 babeld => babeld/babeld
DEBUG    topotato:frr.py:183 eigrpd => eigrpd/eigrpd
DEBUG    topotato:frr.py:183 pimd => pimd/pimd
DEBUG    topotato:frr.py:183 pbrd => pbrd/pbrd
DEBUG    topotato:frr.py:183 staticd => staticd/staticd
DEBUG    topotato:frr.py:183 bfdd => bfdd/bfdd
DEBUG    topotato:frr.py:183 vrrpd => vrrpd/vrrpd
DEBUG    topotato:frr.py:183 pathd => pathd/pathd
DEBUG    topotato:frr.py:181 ignoring target 'lib/grammar_sandbox'
DEBUG    topotato:frr.py:181 ignoring target 'lib/clippy'
DEBUG    topotato:frr.py:181 ignoring target 'tools/permutations'
DEBUG    topotato:frr.py:181 ignoring target 'tools/gen_northbound_callbacks'
DEBUG    topotato:frr.py:181 ignoring target 'tools/gen_yang_deviations'
DEBUG    topotato:frr.py:181 ignoring target 'bgpd/bgp_btoa'
DEBUG    topotato:frr.py:181 ignoring target 'bgpd/rfp-example/rfptest/rfptest'
DEBUG    topotato:frr.py:181 ignoring target 'ospfclient/ospfclient'
DEBUG    topotato:frr.py:181 ignoring target 'pimd/test_igmpv3_join'
DEBUG    topotato:frr.py:181 ignoring target 'pceplib/pcep_pcc'
DEBUG    topotato:pretty.py:396 executable dot found: /usr/bin/dot
Warning: daemon 'pim6d' not enabled in configure, skipping
=========================================== test session starts ===========================================
platform linux -- Python 3.8.10, pytest-6.2.4, py-1.11.0, pluggy-0.13.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /root/newfrr1/tests/topotato, configfile: pytest.ini
collecting ... ------------------------------------------- live log collection -------------------------------------------
DEBUG    topotato:pytestintegration.py:29 _topotato_makeitem(<Module test_bgp_default-originate_route-map_match.py>, 'TestBase', <class 'topotato.base.TestBase'>)
DEBUG    topotato:pytestintegration.py:29 _topotato_makeitem(<Module test_bgp_default-originate_route-map_match.py>, 'BGPDefaultOriginateRouteMapMatch', <class 'test_bgp_default-originate_route-map_match.BGPDefaultOriginateRouteMapMatch'>)
DEBUG    topotato:pytestintegration.py:29 _topotato_makeitem(<TopotatoInstance ()>, 'bgp_converge', <topotato.base.TopotatoWrapped object at 0x7f55dc9c7e80>)
DEBUG    topotato:pytestintegration.py:29 _topotato_makeitem(<TopotatoInstance ()>, 'bgp_default_route_is_valid', <topotato.base.TopotatoWrapped object at 0x7f55dc9c7cd0>)
DEBUG    topotato:base.py:552 collect on: <TopotatoFunction bgp_converge> test: <AssertVtysh #101:r2/bgpd/vtysh "show ip bgp neighbor 192.168.255.1 json">
DEBUG    topotato:base.py:552 collect on: <TopotatoFunction bgp_default_route_is_valid> test: <AssertVtysh #112:r2/bgpd/vtysh "show ip bgp 0.0.0.0/0 json">
collected 4 items

test_bgp_default-originate_route-map_match.py::BGPDefaultOriginateRouteMapMatch::startup PASSED (0.86) [ 25%]
test_bgp_default-originate_route-map_match.py::BGPDefaultOriginateRouteMapMatch::bgp_converge::#101:r2/bgpd/vtysh "show ip bgp neighbor 192::168::255::1 json" PASSED (4.50) [ 50%]
test_bgp_default-originate_route-map_match.py::BGPDefaultOriginateRouteMapMatch::bgp_default_route_is_valid::#112:r2/bgpd/vtysh "show ip bgp 0::0::0::0/0 json" PASSED (0.00) [ 75%]
test_bgp_default-originate_route-map_match.py::BGPDefaultOriginateRouteMapMatch::shutdown PASSED (0.27) [100%]

============================================ 4 passed in 5.99s ============================================
root@frrr:~/newfrr1/tests/topotato#
github-actions[bot] commented 2 years ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

eqvinox commented 1 year ago

cherry picked (c27ad092a8ee3b8f7bde65f25c183f90abc9f494), closing