未验证 提交 23866a80 编写于 作者: Q Qianqian Zhu 提交者: GitHub

Merge pull request #1570 from sitoliu/vlan_pattern

vlan: update error message pattern for new guest
......@@ -13,7 +13,9 @@
kill_vm_vm2 = yes
kill_vm_gracefully_vm2 = no
cmd_type = ip
msg_pattern = 'RTNETLINK answers: Numerical result out of range'
msg_pattern = '8021q: Invalid VLAN id'
RHEL.7, RHEL.6:
msg_pattern = 'RTNETLINK answers: Numerical result out of range'
Windows:
# two windows VM, need more time to boot and login
login_timeout = 720
......
......@@ -202,7 +202,8 @@ def run(test, params, env):
digest_origin.append(re.findall(r'(\w+)', md5sum_output)[0])
# stop firewall in vm
session.cmd_output_safe("iptables -F; service iptables stop; true")
stop_firewall_cmd = "systemctl stop firewalld||service firewalld stop"
session.cmd_output_safe(stop_firewall_cmd)
error_context.context("Load 8021q module in guest %s" % vm.name,
logging.info)
session.cmd_output_safe("modprobe 8021q")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册