-
Notifications
You must be signed in to change notification settings - Fork 13
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
skip tests run as "non-packaged" (non-rpm) validation #353
Conversation
@omajid. please review my changes and merge it, if the changes are fine. |
bash-completion/test.json
Outdated
@@ -7,7 +7,8 @@ | |||
"type": "bash", | |||
"cleanup": true, | |||
"skipWhen": [ | |||
"vmr-ci" // bash completion script not installed | |||
"vmr-ci", // bash completion script not installed | |||
"non-packaged", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment to this line (sort of like what is in the previous line) to indicate why we are skipping this? Same goes for other json files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@omajid, I have added the comment for all the files to specify the reason for skipping the test. Please review the same. thanks..
sha1-validation/test.json
Outdated
@@ -7,6 +7,7 @@ | |||
"type": "bash", | |||
"cleanup": true, | |||
"skipWhen": [ | |||
"non-packaged", // skip during cross-bld-sdk/tarball validation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is checking if we're applying a certain patch for RHEL9.
I wonder why this test does not fail on hydra's vmr builds (since they don't include the patch) 🤔
We should take a closer look.
cc @nicrowe00
@Vishwanatha-HD this doesn't describe why the test fails. I've added some questions as I like to understand better how the test fail in the "non-packaged" environment? |
Hi @tmds.. The errors fall into a few buckets: Failing tests >>>>
Failing tests >>>>
Failing tests >>>>
Please let me know if you need more info and we will able to provide them.. Thanks.. |
fyi, in hydra CI we don't run the regular tests against the cross-built SDKs. The cross-built SDK jobs provide SDKs for native builds. And those builds run the tests.
The cross-built SDK for .NET 9 gets built with a rid of
Can you be explicit about this in the comments? I don't think
For these other tests, which should be ones that already have It would be nice if we can avoid this duplication by either using For the Note that the test runner can be given multiple traits to skip, so you can set it to skip test matching any of: |
This is great! Thank for you this really nice cleanup! |
And run the test everywhere. There's no reason to skip it for portable builds.
There's no reason to skip this test for portable, cross or other types of builds.
No reason this test shouldn't work for portable SDKs.
@omajid, I took a look at your changes to run the testcase with SDK runtime-ids rather than the RPM ones.. The changes are looking good.. Thanks for doing this for me.. !! |
Co-authored-by: Omair Majid <[email protected]>
Added changes to skip the dotnet regular tests which are not required to run during cross build SDK validation.