-
Notifications
You must be signed in to change notification settings - Fork 52
Description
The firewall restart fails with the below error for IPV6 Reverse test.
Below expect fails:
File "/home/inies/boardfarm/devices/openwrt_router.py", line 286, in firewall_restart
self.expect_exact(["Loading redirects", "* Running script '/usr/share/miniupnpd/firewall.include'", "Running script '/etc/firewall.user'"])
ISSUES LOG:
root@OpenWrt:/# uci add firewall rule
cfg2092bd
root@OpenWrt:/# uci set firewall.@rule[-1].src=wan
root@OpenWrt:/# uci set firewall.@rule[-1].proto=tcp
root@OpenWrt:/# uci set firewall.@rule[-1].dest=lan
root@OpenWrt:/# uci set firewall.@rule[-1].dest_ip=4aaa::6
root@OpenWrt:/# uci set firewall.@rule[-1].dest_port=5001
root@OpenWrt:/# uci set firewall.@rule[-1].target=ACCEPT
root@OpenWrt:/# uci commit firewall
root@OpenWrt:/# /etc/init.d/firewall restart
Warning: Unable to locate ipset utility, disabling ipset support
- Flushing IPv4 filter table
- Flushing IPv4 nat table
- Flushing IPv4 mangle table
- Flushing IPv4 raw table
- Flushing IPv6 filter table
- Flushing IPv6 mangle table
- Flushing IPv6 raw table
- Flushing conntrack table ...
- Populating IPv4 filter table
- Zone 'lan'
Warning: fw3_ipt_rule_append(): Can't find match 'comment'
Warning: fw3_ipt_rule_append(): Can't find match 'comment'
Warning: fw3_ipt_rule_append(): Can't find match 'comment' - Zone 'wan'
Warning: fw3_ipt_rule_append(): Can't find match 'comment'
Warning: fw3_ipt_rule_append(): Can't find match 'comment'
Warning: fw3_ipt_rule_append(): Can't find match 'comment'
(null) v4: Couldn't load target `standard':No such file or directory
- Zone 'lan'
root@OpenWrt:/#
=========== Test failed! Running recovery ===========
File "/home/inies/boardfarm/tests/linux_boot.py", line 64, in testWrapper
self.runTest()
File "/home/inies/boardfarm/tests/iperf_test.py", line 242, in runTest
iPerfReverseTest.runTest(self)
File "/home/inies/boardfarm/tests/iperf_test.py", line 185, in runTest
self.run_iperf_server(server, opts=self.server_opts_reverse(node=server))
File "/home/inies/boardfarm/tests/iperf_test.py", line 234, in server_opts_reverse
board.uci_forward_traffic_rule("tcp", "5001", "4aaa::6")
File "/home/inies/boardfarm/devices/openwrt_router.py", line 414, in uci_forward_traffic_rule
self.firewall_restart()
File "/home/inies/boardfarm/devices/openwrt_router.py", line 286, in firewall_restart
self.expect_exact(["Loading redirects", "* Running script '/usr/share/miniupnpd/firewall.include'", "Running script '/etc/firewall.user'"])