-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Skip consistently failing Components.E2ETests.ServerTransportsTest
s
#35484
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
Conversation
Rather than skipping these unconditionally, can they be marked to skip on CI only, or just quarantined? The reason is that they pass locally, and represent real functionality we don’t want to regress. While CI is unable to run the tests reliably, the tests themselves work well locally, so for now running locally is the best we’ve got. Skipping unconditionally would prevent that too. |
Moved to quarantine |
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.
Thanks
Huh, actually we have a |
If the goal is just to get the CI check green, maybe we should just change the pipeline for components e2e tests to always return success regardless of what the test results are, similar to quarantined-pr? |
Is there any way to make the overall result simply ignore the outcome from one particular job, without faking the result of that job? |
That's what we're doing today, the components leg isn't required so we ignore it. But it still will show red which we want to avoid. |
I mean ignore it for the purposes of deciding on the red/green label. |
Isn't that what Hao was suggesting:
|
No, because then the test job will show as green when it isn’t. Perhaps it’s a minor distinction, but if we show it as green regardless, I wonder what benefit there is in running it at all. People may be misled into thinking it proves they didn’t break anything even if they have. I was asking if we can report the result of this job accurately, but without it affecting the overall red/green. |
Well today functionally we have what we want, and its correct, meaning it shows red because a pr check failed, and components being red does not block the PR (because its not a required check). It sounds like we want the whole PR check to show green ignoring the fact that there are failures, which isn't possible I don't think. So if we want a green checkbox for the PR, we need to force the components check to be green. The agreement I thought was that the blazor team would be manually looking at this pipeline (so it still has value even if its always green). That said, its mostly a psychological/cosmetic difference if it still can be merged right? |
Sure, if it can’t be modelled in such a way that one job is ignored when computing the aggregate status then yes, faking it to be green would be an OK compromise until we can get it to be realistic. |
Components.E2ETests.ServerTransportsTest
Components.E2ETests.ServerTransportsTest
Components.E2ETests.ServerTransportsTest
s
We could also remove the quarantined test run
|
I was hoping to the the
And in the last two runs, all the ServerTransportsTests seemed to have passed. I'm not sure what changed, because they seem to always fail when Test failures do get reported to the "Tests" tab on AzDO. |
These are quarantined tests. Looks like Steve changed the pipeline to run quarantined tests, which also means the non-quarantined tests do not run. I don't know how much of that was intended. |
Wow, that is not what I expected. That’s very different to how the other flags work. @halter73 Would it be ok to flip that flag back off in this PR? I can add the extra commit to do it if you want. |
Well, I just did it. Hope that was OK. |
301 Components test failures, did something break or are there some major infra issues? Edit: Maybe caused by #35318? |
Ok, I now think it's #35414 that caused the test failures. You can see the last commit before switching to only quarantined tests there were 300 failures https://github.com/dotnet/aspnetcore/runs/3360365134 |
Looks like this is becoming quite a distraction. Do you think it might be time to just disable the job until I can find a solid solution for CI? For context, since you're basically involved now, my plan of attack for this whole area has been:
I'm at phase 2 now. Last night the test set ran 44 times in my VM, and with the changes in #35505, every test passed every time with the exception of As for phase 3, I've not begun looking into that yet and haven't attempted to do anything for it specifically. I don't know why #35414 might have made more tests fail in CI (but at least fail more consistently) when it clearly improved matters locally. It's the next phase to look into. @halter73 @BrennanConroy I'm meant to be off work today, so for now, do you want to disable the |
@SteveSandersonMS I can take a quick look today to see if there's a simple tweak to force the components pipeline to report green, that seems like it'd be better for you as you'd continue to get tons of runs to continue making progress on improving the tests on the ci, and without all the distractions of every PR appearing red |
You could just add
|
Thanks Will! #35559 |
Merged the PR so components should always be green excluding build errors now, also filed #35565 to track undoing this at some point |
I filed #35481 to unskip these.