This test fails and demonstrates that when Gitea kills one of its childs (for instance when mirroring a repository timesout), the grand children are not killed and become orphaned that linger and will eventually become zombies.
This is explained in detail in these blog posts:
I'd be happy to work on implementing a bug fix for Gitea.
Signed-off-by: Loïc Dachary loic@dachary.org