pan3793 opened a new pull request, #8651: URL: https://github.com/apache/hadoop/pull/8651
### Description of PR Set `forkedProcessExitTimeoutInSeconds` (60s) in the root surefire configuration so that a hung fork is force-killed after a grace window and surefire writes the dumpstream (thread dump) naming the non-daemon thread keeping the fork alive. Without this, the only signal is a generic "timeout in the fork" error. Expand the test-logs artifact upload globs from: ``` **/target/*.log **/target/*.xml ``` to: ``` **/target/**/*.log **/target/surefire-reports/** ``` The original globs only matched files directly under `target/` (`site.xml`, `plugin-enhanced.xml`), missing the actual test reports and thread dumps in nested directories. The new globs capture `TEST-*.xml`, `*.dump`, and `*.dumpstream` surefire output needed to diagnose fork hangs. ### How was this patch tested? Verified via GitHub Actions CI on a fork branch. With the previous globs, the uploaded artifact was 7KB (2 incidental files). With the new globs, the artifact is ~112MB and contains the full `surefire-reports/` directory, including the `*.dump` thread dump that named the culprit test keeping a fork alive. ### For code changes: - [x] Does the title or this PR starts with the corresponding JIRA issue id (HADOOP-19950)? - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? ### AI Tooling If an AI tool was used: - [x] The PR includes the phrase "Contains content generated by GLM 5.2" where GLM 5.2 is the name of the AI tool used. - [x] My use of AI contributions follows the ASF legal policy https://www.apache.org/legal/generative-tooling.html Contains content generated by GLM 5.2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
