Article View: linux.debian.bugs.dist
Article #786Bug#1150850: Test should run in a new process group
From: Christoph Berg
Date: Tue, 13 Oct 2026 22:30
Date: Tue, 13 Oct 2026 22:30
44 lines
3575 bytes
3575 bytes
Package: autopkgtest Version: 6.0 Severity: normal I was just witnessing a vip-manager2 autopkgtest run take down a whole Jenkins node: https://jengus.postgresql.org/job/vip-manager2-autopkgtest/65/architecture=amd64,distribution=sid/console 20:37:06 2026-10-13T18:37:03.839Z ␛[34mINFO␛[0m Removing address 10.0.2.123/32 on ceth1 20:37:06 Ncat: Version 7.991 ( https://nmap.org/ncat ) 20:37:06 Ncat: TIMEOUT. 20:37:06 ␛[0;32m### You've reached the end of the script, all "tests" have successfully been passed! ###␛[0m 20:37:06 20:37:06 Session terminated, killing shell...autopkgtest [18:37:06]: ERROR: Received signal 15, cleaning up... 20:37:06 E: Caught signal ‘Terminated’: terminating immediately 20:37:06 FATAL: command execution failed 20:37:06 java.nio.channels.ClosedChannelException The same failure is also visible on ci.debian.net, albeit less loudly: https://ci.debian.net/packages/v/vip-manager2/testing/amd64/76553962/ 155s Ncat: Connection from 10.0.2.123:35736. 155s ### You've reached the end of the script, all "tests" have successfully been passed! ### 155s 156s Session terminated, killing shell...autopkgtest [13:25:38]: test clientcert_test: -----------------------] ▾ test clientcert_test: test results 157s autopkgtest [13:25:39]: test clientcert_test: - - - - - - - - - - results - - - - - - - - - - 157s clientcert_test FAIL non-zero exit status 143 So, something in the test sends a kill signal to the process group and autopkgtest just dies. There are bugs on several layers: * ncat being killed should not take the whole process group down (#1150845) * autopkgtest should isolate itself against that happening (this bug) * and on apt.postgresql.org, the "newpid" isolation layer should also isolate (https://github.com/df7cb/newpid/commit/2e37c0be35563da7835f3dd57f0256a8ce9edf1c) Afaict the proper fix is calling setsid(). (If interactive sessions are involved, it's more complex, see the newpid fix.) Christoph
Technical Details
Message-ID:
<NNTap-5lni-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.mb-net.net!open-news-network.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.mb-net.net!open-news-network.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Christoph Berg <myon@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150850: Test should run in a new process group Date: Wed, 14 Oct 2026 00:30:01 +0200 Message-ID: <NNTap-5lni-7@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Oct 13 22:22:15 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Christoph Berg <myon@debian.org>, 1150850@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+ci@tracker.debian.org X-Debian-Pr-Message: report 1150850 X-Debian-Pr-Package: autopkgtest X-Debian-Pr-Source: autopkgtest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Reportbug-Version: 13.2.0+nmu1 X-Debian-User: myon X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996684 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 44 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 13 Oct 2026 23:47:22 +0200 X-Original-Message-ID: <as6m6g-SKRwLi-ta@msg.df7cb.de>