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

Skipping SAI-C TCs affected by issues/345 #355

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

andriy-kokhan
Copy link
Collaborator

This PR fixes SAI-C CI issue caused by #339
In case TC setup process fails at some step, we should not try to remove all entries on teardown because some of them were not created. For known issues, the simplest solution is to replace xfail with skip.

Signed-off-by: Andriy Kokhan <andriy.kokhan@gmail.com>
@andriy-kokhan
Copy link
Collaborator Author

@chrispsommers , @desaimg1 , please take a look.

@chrispsommers
Copy link
Collaborator

@andriy-kokhan
Copy link
Collaborator Author

Hi @andriy-kokhan, any idea why your branch https://github.com/andriy-kokhan/DASH/tree/sai-c-docker-update without this fix passed CI https://github.com/andriy-kokhan/DASH/actions/runs/4523715606/jobs/7967050169 before we merged #353 but it failed in CI?

I believe it's because CI was using older SAI-C docker which has an issue with catching remove failures. E.g., opencomputeproject/SAI-Challenger#30
Which is expected to be fixed in the updated SAI-C docker.

@chrispsommers
Copy link
Collaborator

@andriy-kokhan why would CI and your PR branch (which was run in your own fork's CI) have different sai-c dockers? They are based on the same codebase, only the test cases changed.

@andriy-kokhan
Copy link
Collaborator Author

andriy-kokhan commented Mar 30, 2023

@andriy-kokhan why would CI and your PR branch (which was run in your own fork's CI) have different sai-c dockers? They are based on the same codebase, only the test cases changed.

My PR passed CI before #339 was merged. The TCs from #339 had a few setup/teardown issues that were not detected by old version of SAI-C docker. So, CI on #339 also passed. Then, #339 was merged. Then, my PR was merged and post merge CI was started which pushed new SAI-C docker into the registry. Then, TCs failed on post merge CI because of the issues introduced by #339. That's how I understand this.

@chrispsommers
Copy link
Collaborator

@andriy-kokhan thanks, that makes sense. It was @desaimg1 's new test cases which failed based on the order of merge accepts etc. Thanks for addressing this quickly!

Copy link
Collaborator

@chrispsommers chrispsommers left a comment

Choose a reason for hiding this comment

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

LGtM, thanks!

@KrisNey-MSFT
Copy link
Collaborator

Merging per request to fix 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