Skip to content

Conversation

AlexeyKuznetsov-DD
Copy link
Contributor

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD commented Aug 22, 2025

What Does This Do

Added script that will collect thread and heap dumps in case test timeout on CI.

Motivation

Green CI.

Additional Notes

Script will schedule taking thread and heap dump at test_timout_minus_2_minutes.
Dumps will be collected and stored as part of test GitLab Job artifact.

# Conflicts:
#	dd-java-agent/instrumentation/java-concurrent/java-concurrent-21/src/previewTest/groovy/StructuredConcurrencyTest.groovy
#	dd-java-agent/instrumentation/lettuce-4/src/test/groovy/Lettuce4ClientTestBase.groovy
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD marked this pull request as ready for review September 10, 2025 20:44
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from a team as code owners September 10, 2025 20:44
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from PerfectSlayer and removed request for a team September 10, 2025 20:44
Copy link
Contributor

github-actions bot commented Sep 10, 2025

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Add at least one type, and one component or instrumentation label to the pull request

If you need help, please check our contributing guidelines.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD removed the tag: do not merge Do not merge changes label Sep 10, 2025
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD changed the title Attempt to catch dump via Gradle Added script that will collect thread and heap dumps in case test timeout on CI. Sep 10, 2025
Copy link
Contributor

@amarziali amarziali left a comment

Choose a reason for hiding this comment

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

Thanks that's really useful

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD added type: enhancement Enhancements and improvements tag: no release notes Changes to exclude from release notes labels Sep 11, 2025
Copy link
Contributor

@bric3 bric3 left a comment

Choose a reason for hiding this comment

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

This looks ok for me.

On a side note, I would prefer to see such features as convention plugins, and written in kotlin.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD merged commit fbc6b99 into master Sep 15, 2025
520 of 674 checks passed
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD deleted the alexeyk/debug-ci-freeze-gradle branch September 15, 2025 20:58
@github-actions github-actions bot added this to the 1.54.0 milestone Sep 15, 2025
mhlidd pushed a commit that referenced this pull request Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: testing Testing tag: no release notes Changes to exclude from release notes type: enhancement Enhancements and improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants