-
Notifications
You must be signed in to change notification settings - Fork 336
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
Pipeline is stuck on Recording test results
#653
Comments
Strange the test file is tiny and it works fine for me with no delay (on Mac). Are you able to get a few thread dumps while this is ongoing? Both on the controller and the agent its running on please? |
The issue just happened again on 3 windows agents, attaching thread dumps from controller and agents. |
I got curious, so on my side I tried this
And got this in one of the builds
I checked the code and the existing operations around accessing the history while populating it are unsafe but also very slow the way StabilityTestDataPublisher is doing it. I then ran even more parallel parallel builds and they do appear stuck eventually, although they do finish after a long time. Try adding a lock('result-recording-lock') { timeout(15) { ... } } around the junit step. The bottleneck is around the Map UNIQUIFIED_NAMES, which is synchronized anyway, being my initial assumption after a quick glance-over. |
Thanks for the analysis. I will try with |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Both on
Windows Server 2022
Reproduction steps
BLAME_HANG_DUMP_TYPE
=full
TEST_BLAME_HANG_TIMEOUT
=15m
RAVEN_LICENSE
={license}
You can get free development Raven License from https://ravendb.net/license/request/dev
windows-agent
Expected Results
Pipeline goes through and reports tests.
Actual Results
Pipeline is stuck on
Recording Test Results
:Anything else?
Attaching problematic xml file.
Just a side note - disk space is reclaimed after
dotnet test
run is finished.test-user_test-host_2024-10-02_05_58_22.zip
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: