Issue Description
We are experiencing an issue with our Jenkins job that runs a set of Junit5 test cases:
-
We are using Jenkins 2.426.1
-
The test suite is triggered using the following command -
bat(‘mvn -T 4 clean install -Dtest=CollaborationFeatureServiceEditSyncTest -DfailIfNoTests=false || exit /B 0’)It typically takes 7-8 hours to complete.
-
We have set the job timeout to 12 hours.
-
Sometimes, after all test cases have finished executing, Jenkins appears to hang.
-
This hanging state eventually leads to a job timeout after the 12-hour limit is reached.
Questions
- What could be causing Jenkins to hang after the test execution is complete?
- What logs should I check to identify the root cause of this hanging behavior?