Skip to content

"Found something that is not an ethernet packet" intermittent test failure

I’ve seen this in “Scenario: Using bridges”:

    And all Internet traffic has only flowed through the configured pluggable transports # features/step_definitions/tor.rb:375
      Found something that is not an ethernet packet (RuntimeError)
      ./features/support/helpers/firewall_helper.rb:21:in `block in pcap_connections_helper'
      ./features/support/helpers/firewall_helper.rb:17:in `each'
      ./features/support/helpers/firewall_helper.rb:17:in `pcap_connections_helper'
      ./features/support/helpers/firewall_helper.rb:89:in `assert_all_connections'
      ./features/step_definitions/tor.rb:378:in `/^all Internet traffic has only flowed through the configured pluggable transports$/'
      features/tor_bridges.feature:21:in `And all Internet traffic has only flowed through the configured pluggable transports'

and “Scenario: Clock with host’s time in bridge mode”:

      Found something that is not an ethernet packet (RuntimeError)
      ./features/support/helpers/firewall_helper.rb:21:in `block in pcap_connections_helper'
      ./features/support/helpers/firewall_helper.rb:17:in `each'
      ./features/support/helpers/firewall_helper.rb:17:in `pcap_connections_helper'
      ./features/support/helpers/firewall_helper.rb:89:in `assert_all_connections'
      ./features/support/hooks.rb:337:in `After'

At this point I don’t know if random scenarios can be affected, or only these ones.

I guess this is caused by the changes made recently to help debug #16148 (closed).

In both cases, I see no .pcap file in the artifacts directory so I’m afraid I can’t provide more useful info.

Feature Branch: test/16825-ignore-rarp

Related issues

Original created by @intrigeri on 16825 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information