-
Notifications
You must be signed in to change notification settings - Fork 19
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
Remove build-create-binary-log
and dotnet-test-process-timeout
configurations from OSOCE workflows (OSOE-834)
#736
Comments
build-create-binary-log
and dotnet-test-process-timeout
configurations from OSOCE workflowsbuild-create-binary-log
and dotnet-test-process-timeout
configurations from OSOCE workflows (OSOE-834)
As per Lombiq/UI-Testing-Toolbox#228 (comment):
Then we can also remove it from Lombiq Tenants Core. |
I again see random, but frequent Windows hangs. E.g. the two runs here: https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions/actions/runs/8976025812?pr=746. These hang here, only telling me that a PS command is hanging, which is the Then this same code worked here and here, while getting stuck here and here (I disabled hand timeouts deliberately for these two to see what happens). Do you perhaps have any suggestions? |
Thank you for looking into this! How do you get to see what you show in your first screenshot? This is all I see when opening the dump (Debug with Mixed): I've done three test runs, with hang timeouts: the first one passed, the other two hang, see here and here. The hang dumb has the same. These are for some new code, see #746, that might cause new issues too (I don't see why). And there's no output from the hanging test run. But! If I skip |
Ah, thanks! Looking at these, there's a bunch of Applications Insights references, what seems quite strange (however, no stack trace beyond a depth of 1, so I don't see where those are actually coming from). In any case, I removed the Application Insights module of ours being enabled during tests. It resulted in two passes (here and here, and two hangs (here and here). These still include AI references in the same way. So, it's not our AI, but something by GitHub. I also did some test runs with reruns of what we have in |
BTW it's always the Having the test run's output show up in the console output would help immensely to pinpoint where this goes wrong. |
That may be an xUnit/dotnet test issue; I've opened xunit/xunit#2925. |
That's something xUnit needs to add: xunit/visualstudio.xunit#408. |
I added a debug log file that gets updated immediately on every
This is with
Worth noting that previously, I've seen different behaviors with actual hangs, where a test project was started but didn't finish. Not this time though. |
It was a PS syntax issue: https://github.com/Lombiq/GitHub-Actions/pull/346/files#diff-c9181b664fb498c4bf7694492ba4c67f5c9fe31a8b86be446ca2a80b0fdde3c6L206 After that and adjusting the timeouts, it seems OK, e.g.: https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions/actions/runs/9055050994/attempts/1. And randomly the whole build can be horribly slow, but still succeed despite the test process being killed: https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions/actions/runs/9055173471/attempts/1. So, this looks good now! |
I think why hangs became more frequent, also generally, is because we switched from GitRunners to GitHub Windows runners after the former shut down. And the performance of these varies wildly, with even the build taking between 5 and 10 minutes. So, if we by chance get a worse runner, then tests will be slower too. |
|
OK then! |
After Lombiq/UI-Testing-Toolbox#228, remove the
build-create-binary-log
anddotnet-test-process-timeout
configurations from OSOCE workflows.Jira issue
The text was updated successfully, but these errors were encountered: