Skip to content

connection.port_link Error #977

Closed
Closed

Description

@duncangreene

Describe the bug
connection.port_link reporting error as below.
Image
Image

Environment (please provide the following information about your setup):

  • Hypervisor: Proxmox VE 8.2.2
  • Host Operating System: Ubuntu 24.4.01
  • Testrun 2.0.1
  • Additional hardware (network adapters): USB Ethernet adapter (passed through)

Additional context
All other tests working as expected, just connection.port_link.

test.zip below.
1st test.zip

Activity

  1. jhughesoti commented on Nov 20, 2024

    @jhughesoti
    Contributor

    It appears that more than just the port_link test has issues with your setup.

    port_speed and port_duplex are both failing because the device is reporting configuration of half duplex. You may need to change your VM to bridged adapter instead of pass through. This has been a reported solution to this issue.

    Concerning the port_link, can you test the command ethtool -S on the adapter in question outside of the VM? The stats that are missing in the current test are tx_errors and rx_errors. If the device can't report these values then you will need to use a different adapter that does. Unfortunately, there is not an official list of supported devices at this time.

  2. jboddey commented on Nov 22, 2024

    @jboddey
    Contributor

    I believe this has already been fixed in dev (at least better handling of the error).

  3. self-assigned this
    on Nov 29, 2024
  4. jboddey commented on Nov 29, 2024

    @jboddey
    Contributor

    After checking the dev branch, I can see that we fixed this. The test will give the result of Error and will give the description: Port stats not available

  5. duncangreene commented on Dec 12, 2024

    @duncangreene
    Author

    Concerning the port_link, can you test the command ethtool -S on the adapter in question outside of the VM? The stats that are missing in the current test are tx_errors and rx_errors. If the device can't report these values then you will need to use a different adapter that does. Unfortunately, there is not an official list of supported devices at this time.

    Just confirming for info below.

    Image

    • enxc8a3623d11e5 is the adapter I was using during the test in the OP.
    • enx3c18aOd5708f is another adapter that I've used successfully on other machines.

    Above output printed from inside the VM.

    Just for additional info, ifconfig does provide tx and rx error information for the two Ethernet adapters in question.

    Image

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions