avocado-framework-tests / avocado-misc-tests

Community maintained Avocado tests repository
Other
22 stars 123 forks source link

bridge.py: br0 interface did not clean up after the test #1682

Closed abdhaleegit closed 4 years ago

abdhaleegit commented 4 years ago

br0 bridge interface is not removed at the end of test resulting

making the interface config messed up, results in next test failures

[root@ltc-zz1b-lp2 network-scripts]# ls ifcfg-br0

ip a 8: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 42:c5:f0:75:a1:4c brd ff:ff:ff:ff:ff:ff inet 102.10.10.188/24 brd 102.10.10.255 scope global noprefixroute br0 valid_lft forever preferred_lft forever 3: enP19p96s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 98:be:94:07:3a:68 brd ff:ff:ff:ff:ff:ff inet 102.10.10.188/24 brd 102.10.10.255 scope global noprefixroute enP19p96s0f0 valid_lft forever preferred_lft forever inet6 fe80::9abe:94ff:fe07:3a68/64 scope link noprefixroute valid_lft forever preferred_lft forever

smruti77 commented 4 years ago

@abdhaleegit i am not getting this issue.

abdhaleegit commented 4 years ago

after deleting br0,, ifup is bringing up the bridge interface

abdhaleegit commented 4 years ago

please delete br0 script in /etc/sysconfig/network-scripts/ifcfg-br0 in teardown

smruti77 commented 4 years ago

1701

abdhaleegit commented 4 years ago

closing this