[From nobody Tue Sep 15 12:09:05 2026
Received: (at submit) by bugs.debian.org; 23 Oct 2025 18:08:42 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
 FROMDEVELOPER,FUZZY_CPILL,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 105; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;smcv@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47760)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;smcv@debian.org&gt;) id 1vBzju-003oEJ-0D
 for submit@bugs.debian.org; Thu, 23 Oct 2025 18:08:42 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=lOgLdWbUR8ZtjfK1pe5/YCQTxrpo6tqjodab0Lzj/SU=; b=OiwIL1x4yYTBIl1HeMSTbi280G
 MZHLhEcUkwdlMx+hQsafRezAPe1Og0HH1nJxL9NlMo7McIa/G/0o+/5LHugfk2K1hCvG9vJgZDpTA
 AkmpUaL05PAyG1DCOpQcl8wFZwiWrqV+mGzZw6iIiiCt7ktbfxqLJ+faY17f+YoocU6R6PpsMC6Pt
 WgckArvH4GBtkUAfQQCL/J2Ixlsno+Q1NsOK5LkqcxMdMMOJskKbyh+UkFsUdnAFE7oyFdRbU3Snm
 vHMMkn67b+lDvYrs7yrnktsS5DJWkLYDcdVZfWnbIOsP0CSnHt1+0mJ+xxF2FaYi0ptRfZSRqL9oe
 KgocupIg==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;smcv@debian.org&gt;) id 1vBzjr-008NzX-L9
 for submit@bugs.debian.org; Thu, 23 Oct 2025 18:08:39 +0000
Date: Thu, 23 Oct 2025 19:08:37 +0100
From: Simon McVittie &lt;smcv@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: gnome-chemistry-utils: autopkgtests intermittently time out,
 especially on s390x, and don't seem to really test the package
Message-ID: &lt;aPpvJUgp7uPgcc6_@remnant.pseudorandom.co.uk&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Mutt-Fcc: =.lists.debian/
X-Reportbug-Version: 13.2.0
X-Debian-User: smcv
Delivered-To: submit@bugs.debian.org

Source: gnome-chemistry-utils
Version: 0.14.17-6.3
Severity: serious
X-Debbugs-Cc: debian-ci@lists.debian.org
User: debian-s390@lists.debian.org
Usertags: s390x
User: debian-ci@lists.debian.org
Usertags: flaky

The autopkgtests for src:gnome-chemistry-utils usually take seconds, but 
sometimes one of them blocks until the ~ 3 hour timeout is hit. For 
whatever reason this seems to be more common on s390x.

When this happens, it blocks migrations to testing: for example, at the 
moment it's preventing glib2.0 from migrating.

Having looked into this, I'm not at all sure that these tests are 
actually doing anything useful.  The test command for each one is 
something like:

    xvfb-run -a /usr/bin/gchemcalc &amp;

but if gchemcalc crashed (perhaps a segfault or a missing library 
dependency), would that test actually even fail?

As an experiment I tried changing the test to:

Test-Command: xvfb-run -a sh -c 'echo Pretending to crash &gt;&amp;2; kill -ABRT $$' &amp;
Depends: xauth, xvfb, gcu-bin
Features: test-name=run-sigabrt
Restrictions: allow-stderr

and it trivially &quot;passes&quot;:

&gt;autopkgtest [19:05:04]: test run-sigabrt: xvfb-run -a sh -c 'echo Pretending to crash &gt;&amp;2; kill -ABRT $$' &amp;
&gt;autopkgtest [19:05:04]: test run-sigabrt: [-----------------------
&gt;/tmp/autopkgtest-lxc.nigxlbus/downtmp/wrapper.sh: Killing leaked background processes: 2205
&gt;    PID TTY      STAT   TIME COMMAND
&gt;   2205 ?        S      0:00 /bin/sh /usr/bin/xvfb-run -a sh -c echo Pretending to crash &gt;&amp;2; kill -ABRT $$
&gt;autopkgtest [19:05:04]: test run-sigabrt: -----------------------]
&gt;autopkgtest [19:05:04]: test run-sigabrt:  - - - - - - - - - - results - - - - - - - - - -
&gt;run-sigabrt          PASS
&gt;autopkgtest [19:05:04]: @@@@@@@@@@@@@@@@@@@@ summary
&gt;run-sigabrt          PASS

which I think means these tests do not meet 
https://release.debian.org/testing/rc_policy.txt §6a.

I think the timeouts might have more to do with autopkgtest not always 
being able to kill the leaked background xvfb-run process; possibly 
xvfb-run is blocking signals?

    smcv
]