Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPerf - IPV6 reverse test fails #52

Open
iniesC opened this issue Apr 18, 2016 · 2 comments
Open

iPerf - IPV6 reverse test fails #52

iniesC opened this issue Apr 18, 2016 · 2 comments

Comments

@iniesC
Copy link

iniesC commented Apr 18, 2016

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

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'"])

@wwahammy
Copy link
Contributor

@iniesC My apologies, I missed this issue. I haven't seen this bug myself. Did you end up finding a fix?

@mattsm
Copy link
Contributor

mattsm commented Oct 14, 2016

I hit a different issue where the route is not setup properly but not this. Can you elaborate more about your build?

Looks like we did not see what we were expecting on the firewall restart command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants