Skip to content

The MAC address of a usb ethenet device is incorrectly picked up by the single ip connection test #750

Closed

Description

@markt-checkit

Description
The MAC address of usb ethenet interface is incorrectly picked up by the single ip connection test. When running the test you can see the DEBUG info displaying a second MAC address which corresponds with the usb ethernet interface.

Steps to Reproduce

  1. Use a usb ethernet interface as one of your ethernet interfaces.
  2. Start a testrun with reporting set to DEBUG
  3. Look at the result of the single ip test -
    def _connection_single_ip(self):
  4. It always shows mutiple mac addresses, one of which is the usb ethernet interface used to connect to the device under test.

*Expected behavior
The usb ethernet interface's macAddress is ignored.

Environment:

  • OS: Ubuntu
  • 24.04 LTS

Additional context
I tried this with 2 different usb ethernet network adapters

Activity

  1. duncangreene commented on Sep 5, 2024

    @duncangreene

    Can confirm I also see same behaviour on Testrun 1.4 as per screenshot below.

    image

  2. duncangreene commented on Sep 6, 2024

    @duncangreene

    Can confirm this also happens when using onboard Ethernet card, it's not limited to USB Ethernet adapters. I am running in --single-intf mode.

    Screenshot from 2024-09-06 11-56-13

  3. jboddey commented on Sep 6, 2024

    @jboddey
    Contributor

    Hi Duncan, have you disabled the ethernet adapters used by Testrun for IPv4 and IPv6 in system settings? If so, I will take a look into this. However, we should probably ignore the configured interfaces in this test - I will add this to our backlog, thank you for reporting!

  4. duncangreene commented on Sep 26, 2024

    @duncangreene

    Apologies for the delay in getting back to you on this one! I thought I had sufficiently disabled the network adapter within settings (by virtue of the toggle slider being off).

    image

    Having re-read the latest Get Started guide though (and your comment above), I see that you ask to explicitly disable IPv4 and IPv6 in the adapter settings too.

    image

    Having done this and re-run, I no longer see the adapter MACs being picked up by the single_ip test in v.1.4.

    image

    Might be worth @markt-checkit confirming if they had IPv4 and IPv6 enabled still as I had.

  5. jboddey commented on Sep 30, 2024

    @jboddey
    Contributor

    Thanks @duncangreene. We have now added a check for the adapter MAC addresses for the single IP test in the dev branch - so this shouldn't occur after the next release.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions