Skip to content

Subinterface doesn't inherit the speed of ancestors on kvm testbed.  #19735

@yutongzhang-microsoft

Description

@yutongzhang-microsoft

Description

In test script sub_port_interfaces/test_show_subinterface.py, we want to create the subinterface and it should inherit the ancestor's speed. But from the rest result , we can see that, the ancestor's speed is 1G, which should be inherited by the subinterface. But actually, the speed of the new created subinterface is 40G. We suspect it is an image issue on kvm testbed.

Steps to reproduce the issue:

  1. Run the script sub_port_interfaces/test_show_subinterface.py on kvm testbed.

Describe the results you received:

>           pytest_assert(status.get("speed") == config["speed"],
                          "subinterface %s should have inherited speed as %s, actual speed %s"
                          % (subintf, config["speed"], status.get("speed")))
E           Failed: subinterface Ethernet4.20 should have inherited speed as 1G, actual speed 40G

Describe the results you expected:

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

Metadata

Metadata

Assignees

No one assigned

    Labels

    MSFTTriagedthis issue has been triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions