Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRv6: bypass test failures introduced by sonic-buildimage changes #3483

Closed
wants to merge 2 commits into from

Conversation

bradh352
Copy link
Contributor

@bradh352 bradh352 commented Jan 25, 2025

What I did

This makes a change to fix a reported validation failure that requires block-len+node-len = locator-len (which correcting it doesn't actually resolve all the test failures), then skips the failing tests.

Whoever is in charge of SRv6 needs to investigate.

Why I did it

It appears sonic-net/sonic-buildimage#21467 introduced the regression causing all sonic-swss PRs to fail their test cases.

How I verified it

Build/test results from this PR.

Details if related

Signed-off-by: Brad House (@bradh352)

@bradh352 bradh352 requested a review from prsunny as a code owner January 25, 2025 19:13
@mssonicbld
Copy link
Collaborator

/azp run

@bradh352 bradh352 marked this pull request as draft January 25, 2025 19:13
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bradh352 bradh352 force-pushed the bradh352/test-issues branch from 378dd2e to e0f537b Compare January 25, 2025 19:15
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bradh352 bradh352 force-pushed the bradh352/test-issues branch from e0f537b to c62e363 Compare January 25, 2025 19:39
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bradh352 bradh352 changed the title Skip recently introduced test failures SRv6: fix recently introduced test failures Jan 25, 2025
@bradh352 bradh352 force-pushed the bradh352/test-issues branch from c62e363 to 428d817 Compare January 25, 2025 19:42
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bradh352 bradh352 force-pushed the bradh352/test-issues branch from 428d817 to 3b1bb52 Compare January 25, 2025 19:45
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bradh352 bradh352 force-pushed the bradh352/test-issues branch from d637702 to 2455390 Compare January 26, 2025 11:29
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bradh352 bradh352 force-pushed the bradh352/test-issues branch from 2455390 to 38b3fdc Compare January 26, 2025 11:31
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

As of sonic-net/sonic-buildimage#21467
some tests are failing due to a validation that
`block-len+node-len = locator-len`.  However in some of the test
cases this wasn't actually true, meaning the tests were invalid
as designed.

Update the test cases to be valid by this logic.

Should also universally wait for interface deletion at tear down
to make sure it doesn't cause failures in the next test.

Signed-off-by: Brad House (@bradh352)
@bradh352 bradh352 force-pushed the bradh352/test-issues branch from 10d47c6 to db1d70f Compare January 26, 2025 23:30
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bradh352 bradh352 changed the title SRv6: fix recently introduced test failures SRv6: bypass test failures introduced by sonic-buildimage changes Jan 26, 2025
@bradh352
Copy link
Contributor Author

bradh352 commented Jan 26, 2025

@cscarpitta can you look into these SRv6 swss test regressions?

These need to be looked into by SRv6 maintainers.
@bradh352 bradh352 force-pushed the bradh352/test-issues branch from db1d70f to db81605 Compare January 27, 2025 00:19
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ahsalam
Copy link

ahsalam commented Jan 27, 2025

@bradh352 The issue has been fixed in this PR sonic-net/sonic-buildimage#21534

@bradh352
Copy link
Contributor Author

@bradh352 The issue has been fixed in this PR sonic-net/sonic-buildimage#21534

Thanks, does the block-len+node-len = locator-len requirement need to be honored in these test cases though? I did see a message about a violation of that rule from FRR in these tests when running it as well (which was part of this draft PR).

@bradh352
Copy link
Contributor Author

closing in favor of PR #3486 and sonic-net/sonic-buildimage#21534

@bradh352 bradh352 closed this Jan 27, 2025
@bradh352 bradh352 deleted the bradh352/test-issues branch January 27, 2025 16:56
@ahsalam
Copy link

ahsalam commented Jan 27, 2025

closing in favor of PR #3486 and sonic-net/sonic-buildimage#21534

Many thanks @bradh352 for reporting the issue!

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.

3 participants