Skip to content

[action] [PR:27569] [BMC] Skip fdb/test_fdb_mac_move.py on BMC topology - #1417

Merged
mssonicbld merged 1 commit into
Azure:202608from
mssonicbld:cherry/msft-202608/27569
Sep 16, 2026
Merged

mssonicbld merged 1 commit into
Azure:202608from
mssonicbld:cherry/msft-202608/27569

Conversation

@mssonicbld

Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
On bmc topology testbeds, tests/fdb/test_fdb_mac_move.py is the only fdb testfile that runs (it is marked topology('any'); the rest of the suite skips via t0/m0/mx topology marks or runtime VLAN checks), and all of its tests fail because the BMC has no switching ASIC, front-panel ports, or VLAN configuration (KeyError: 'VLAN' / "DUT has no VLAN/VLAN_MEMBER configuration"). FDB/MAC-move is a switching-ASIC function, so these tests are not applicable on BMC and should be skipped.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202311
  • 202405
  • 202411
  • 202505
  • 202511
  • 202512
  • 202605

Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO):
Failure type:

Tested branch

  • master
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511
  • 202512
  • 202605
  • N/A

Test result

  • master: verified on a SONiC BMC testbed — with this change the test_fdb_mac_move.py testcases are skipped.

Approach

What is the motivation for this PR?

The fdb suite fails on SONiC BMC testbeds: the three tests in test_fdb_mac_move.py run on bmc topology and fail, since the BMC has no switching ASIC or VLAN configuration to exercise MAC learning and MAC move.

How did you do it?

Added a file-level entry to tests/common/plugins/conditional_mark/tests_mark_conditions.yaml skipping fdb/test_fdb_mac_move.py when 'bmc' in topo_type, with reason "FDB tests require switching ASIC, not available on BMC".

How did you verify/test it?

  • Ran the fdb suite on a SONiC BMC testbed: the test_fdb_mac_move.py testcases are skipped with this change.

Any platform specific information?

Applies only to bmc topology testbeds. No effect on switch platforms or virtual switch (the existing per-test vs skip entries still apply).

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

N/A

Documentation

N/A

Signed-off-by: Sonic Build Admin sonicbld@microsoft.com

### Description of PR

Summary:
On `bmc` topology testbeds, `tests/fdb/test_fdb_mac_move.py` is the only fdb testfile that runs (it is marked `topology('any')`; the rest of the suite skips via `t0`/`m0`/`mx` topology marks or runtime VLAN checks), and all of its tests fail because the BMC has no switching ASIC, front-panel ports, or VLAN configuration (`KeyError: 'VLAN'` / "DUT has no VLAN/VLAN_MEMBER configuration"). FDB/MAC-move is a switching-ASIC function, so these tests are not applicable on BMC and should be skipped.

### Type of change

- [ ] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
    - [ ] Skipped for non-supported platforms
- [x] Test case improvement

### Back port request
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [ ] 202505
- [ ] 202511
- [ ] 202512
- [ ] 202605

Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO):
Failure type:

### Tested branch

- [x] master
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [ ] 202505
- [ ] 202511
- [ ] 202512
- [ ] 202605
- [ ] N/A

### Test result

- master: verified on a SONiC BMC testbed — with this change the `test_fdb_mac_move.py` testcases are skipped.

### Approach
#### What is the motivation for this PR?

The fdb suite fails on SONiC BMC testbeds: the three tests in `test_fdb_mac_move.py` run on `bmc` topology and fail, since the BMC has no switching ASIC or VLAN configuration to exercise MAC learning and MAC move.

#### How did you do it?

Added a file-level entry to `tests/common/plugins/conditional_mark/tests_mark_conditions.yaml` skipping `fdb/test_fdb_mac_move.py` when `'bmc' in topo_type`, with reason "FDB tests require switching ASIC, not available on BMC".

#### How did you verify/test it?

- Ran the fdb suite on a SONiC BMC testbed: the `test_fdb_mac_move.py` testcases are skipped with this change.

#### Any platform specific information?

Applies only to `bmc` topology testbeds. No effect on switch platforms or virtual switch (the existing per-test `vs` skip entries still apply).

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

N/A

### Documentation

N/A

Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator Author

Original PR: sonic-net/sonic-mgmt#27569

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@mssonicbld

Copy link
Copy Markdown
Collaborator Author

/azp run

1 similar comment
@mssonicbld

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

@mssonicbld
mssonicbld merged commit 30170bf into Azure:202608 Sep 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant