RFR: 7903217: jtreg could try killing descendants of stuck test, before timing out the test

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Nov 17 18:31:05 UTC 2022


On 8/22/22 10:21 AM, Gerard Ziemski wrote:
> I see the point, but I also had a case where after force quitting the child process, the parent test process is able to retrieve everything it needed from the child (which finished its task required for the parent before getting itself locked up) and be able to succeed just fine.
>
> If we were to return error code in such cases, we would be generating failures in cases where the parent process was able to finish, but its children were not. Not necessarily always directly related to the case under test, more of a tangential failure, but I do see the value in reporting such cases. I will tweak it then.


This sort of detailed analysis is beyond what is reasonable for `jtreg` 
itself.  When you want complex decision logic for "did it pass", you 
need to bake that into the test code.

-- Jon



More information about the jtreg-dev mailing list