Skip to content

[simx vt] add infra to skip tests not suitable on virtual testbed#1158

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
mykolaf:vt_skip
Nov 17, 2019
Merged

[simx vt] add infra to skip tests not suitable on virtual testbed#1158
liat-grozovik merged 1 commit intosonic-net:masterfrom
mykolaf:vt_skip

Conversation

@mykolaf
Copy link
Copy Markdown
Contributor

@mykolaf mykolaf commented Oct 15, 2019

Signed-off-by: Mykola Faryma mykolaf@mellanox.com

Description of PR

Summary:
Fixes # (issue)
Related to #1157

Some tests can not be run on a virtual topology, due to missing fanout(PFC for example) or those relying on platform stuff (sensors, platform).
Need a way to skip execution of these tests.

Type of change

  • [] Bug fix
  • [] Testbed and Framework(new/improvement)
  • [] Test case(new/improvement)

Approach

How did you do it?

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
@liat-grozovik
Copy link
Copy Markdown
Collaborator

Is that correct that by default if this line is not present 'vtestbed_compatible: no' it means that a test can run on virtual environment.
Is that the right approach? Should we consider the opposite?

Copy link
Copy Markdown
Contributor

@pavel-shirshov pavel-shirshov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good


- block:
- name: include snmp cpu test
include: roles/test/tasks/snmp/cpu.yml
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why cpu test is not available in simx?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the tests seems not to working mostly does not look that it does what it aims to do
More investigation is required and will be done regardless of this PR.

@liat-grozovik liat-grozovik merged commit 574ce96 into sonic-net:master Nov 17, 2019
@mykolaf mykolaf deleted the vt_skip branch February 18, 2020 13:15
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Submodule src/sonic-swss e237e12d..0329b678:
  > [restore_neighbors.py] build arp packet with correct hwsrc and psrc (sonic-net#1158)
Submodule src/sonic-utilities 23cc3094..49ab6b1f:
  > [acl-loader] Use V6 ethertype for IPv6 ACL rule (sonic-net#788)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants