Skip to content

Update SRv6 test conditions for 202412, master, and 202511+ releases#5

Open
bpar9 wants to merge 1 commit into
masterfrom
devin/1765966546-srv6-test-conditions
Open

Update SRv6 test conditions for 202412, master, and 202511+ releases#5
bpar9 wants to merge 1 commit into
masterfrom
devin/1765966546-srv6-test-conditions

Conversation

@bpar9
Copy link
Copy Markdown
Owner

@bpar9 bpar9 commented Dec 17, 2025

Description of PR

Summary:
Updates SRv6 test skip conditions in tests_mark_conditions.yaml to:

  1. Expand supported releases from only 202412 to include 202412, master, and 202511+ releases
  2. Add skip condition for Mellanox SPC1-3 platforms (asic_gen in ['spc1', 'spc2', 'spc3'])

Affected test files:

  • srv6/test_srv6_dataplane.py
  • srv6/test_srv6_static_config.py
  • srv6/test_srv6_vlan_forwarding.py

Type of change

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

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

Enable SRv6 tests to run on master and 202511+ releases in addition to 202412, while skipping tests on Mellanox SPC1-3 platforms which do not support SRv6.

How did you do it?

Modified the release condition from release not in ['202412'] to release not in ['202412', 'master'] and not (release.startswith('2025') and int(release[4:]) >= 511) to allow tests on 202412, master, and any 2025xx release where xx >= 511.

Added new skip condition asic_gen in ['spc1', 'spc2', 'spc3'] to skip tests on Mellanox SPC1-3 platforms.

How did you verify/test it?

YAML syntax verified. Changes are configuration-only and will be validated when tests run in CI.

Any platform specific information?

Tests will be skipped on Mellanox SPC1, SPC2, and SPC3 platforms.

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

N/A - existing test configuration update

Documentation

N/A


Link to Devin run: https://cisco-demo.devinenterprise.com/sessions/1b3ce16abcb140289a93bf2b0923cd61
Requested by: bhavani@cisco.com (@bpar9)

- Update srv6/test_srv6_dataplane.py to support 202412, master, and 202511+ releases
- Update srv6/test_srv6_static_config.py to support 202412, master, and 202511+ releases
- Update srv6/test_srv6_vlan_forwarding.py to support 202412, master, and 202511+ releases
- Add skip condition for Mellanox SPC1-3 platforms (asic_gen in ['spc1', 'spc2', 'spc3'])
- Update reason messages to reflect new conditions

Co-Authored-By: bhavani@cisco.com <bhavani@cisco.com>
@devin-ai-integration
Copy link
Copy Markdown

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

1 participant