🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Francesco Poli (frx) Sat, 21 Nov 2026 23:20
Bug#1154747: debci: ci.debian.net tests fail with `stderr: awk: line 2: function gensub never defined`
#5413
Author: Francesco Poli (frx)
Date: Sat, 21 Nov 2026 23:20
48 lines
3419 bytes
Package: debci
Severity: important
X-Debbugs-Cc: frx@free-vortex.org

Hello and thanks for maintaining debci.

I am having an issue with the instance on `ci.debian.net` that I cannot
reproduce at home with autopkgtest (on a QEMU/KVM virtual machine
testbed).

I am the maintainer of package `apt-listbugs` and I noticed that recent
CI [tests] run on the package are failing due with the following
summary:

```
unit_test            PASS
smoke                PASS (superficial)
live                 FAIL stderr: awk: line 2: function gensub never defined
rss                  FAIL stderr: awk: line 2: function gensub never defined
proxy                FAIL stderr: awk: line 2: function gensub never defined
```

One example is the [unstable/amd64] test.

[tests]: <https://ci.debian.net/packages/a/apt-listbugs/>
[unstable/amd64]: <https://ci.debian.net/packages/a/apt-listbugs/unstable/amd64/78125059/>

I regularly run autopkgtest (with a QEMU/KVM virtual machine testbed) on
my package and I have never seen this error.

I wanted to investigate anyway, so I checked where the `gensub` AWK
function is used in the autopkgtest tests or more generally in package
`apt-listbugs`.
Well, it seems to me that the only test which uses awk is
`debian/tests/rss` (indirectly, through `examples/rc2rss`), but it does
not seem to use the `gensub` AWK function.
The other failing tests do not seem to use awk at all.

Please help me in debugging this issue.
Is there anything wrong in package `apt-listbugs` or in its autopkgtest
tests?

Taking into account that there's no trace of use of `gensub` AWK
function in the package and that autopkgtest tests run at home pass (as
said above), is there anything wrong with tests running on
`ci.debian.net` (the testbed is different)?

Please let me know, thanks for your time and dedication!
Bug#1154747: debci: ci.debian.net tests fail with `stderr: awk: line 2: function gensub never defined`
#5452
Author: Paul Gevers
Date: Sun, 22 Nov 2026 09:40
31 lines
3012 bytes
Hi Francesco,

On 2026-11-22 00:09, Francesco Poli (frx) wrote:
> I am having an issue with the instance on `ci.debian.net` that I cannot
> reproduce at home with autopkgtest (on a QEMU/KVM virtual machine
> testbed).

> live                 FAIL stderr: awk: line 2: function gensub never defined
> rss                  FAIL stderr: awk: line 2: function gensub never defined
> proxy                FAIL stderr: awk: line 2: function gensub never defined


This is bug #1150517 in auto-apt-proxy.

> Please let me know, thanks for your time and dedication!

There are several options.
1) help pushing the fix for auto-apt-proxy forward
    I recall seeing the issue has a patch already, it needs triaging and
    uploading
2) ignore the issue until auto-apt-proxy is fixed
3) add allow-stderr to the restrictions of those failing tests.

While by default autopkgtest treats output to stderr as a failure, if we 
would be creating autopkgtest now we would make that opt-in. Unless your 
test could really indicate issues with exit code 0 by looking at stderr, 
it often leads to more work than needed. Whether you prefer option 2 or 
3 is up to you though, maybe papering over by adding the allow-stderr 
restriction isn't something you like to do.

Paul
Bug#1154747: debci: ci.debian.net tests fail with `stderr: awk: line 2: function gensub never defined`
#5552
Author: Francesco Poli
Date: Sun, 22 Nov 2026 15:00
79 lines
5283 bytes
--Sig_/R5dn+xf6TP=sGtsest8XF5u
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 22 Nov 2026 10:37:27 +0100 Paul Gevers wrote:

> Hi Francesco,
>=20
> On 2026-11-22 00:09, Francesco Poli (frx) wrote:
> > I am having an issue with the instance on `ci.debian.net` that I
> > cannot reproduce at home with autopkgtest (on a QEMU/KVM virtual
> > machine testbed). =20
>=20
> > live                 FAIL stderr: awk: line 2: function gensub
> > never defined rss                  FAIL stderr: awk: line 2:
> > function gensub never defined proxy                FAIL stderr:
> > awk: line 2: function gensub never defined =20
>=20
>=20
> This is bug #1150517 in auto-apt-proxy.

Hi Paul,
thanks for pointing out this bug report, I hadn't found it (probably
because it didn't occur to me that I should search for bug reports
filed against package `auto-apt-proxy`...).

>=20
> > Please let me know, thanks for your time and dedication! =20
>=20
> There are several options.
> 1) help pushing the fix for auto-apt-proxy forward
>     I recall seeing the issue has a patch already, it needs triaging
> and uploading
> 2) ignore the issue until auto-apt-proxy is fixed
> 3) add allow-stderr to the restrictions of those failing tests.
>=20
> While by default autopkgtest treats output to stderr as a failure, if
> we would be creating autopkgtest now we would make that opt-in.
> Unless your test could really indicate issues with exit code 0 by
> looking at stderr, it often leads to more work than needed. Whether
> you prefer option 2 or 3 is up to you though, maybe papering over by
> adding the allow-stderr restriction isn't something you like to do.

Indeed, I would prefer seeing this issue properly fixed in the package
where it originates (that is to say, `auto-apt-proxy`).

I have just pinged Antonio Terceiro about this.
Let's see what he replies and whether he needs help, somehow.

Bye and thanks!

--=20
 https://www.free-vortex.org/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr =3D=3D CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

--Sig_/R5dn+xf6TP=sGtsest8XF5u
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEygERR5zS79/7gjklPhwn4R9pv/4FAmsDApAACgkQPhwn4R9p
v/4YhhAAsUv1l5qp3lUez8ErZkIUsF/v+EOJPraO5gSlP+Z/jhqKYucnRMXDZvu0
/E2O6XGzwkmEpGBlZ7WGZZcDQBs/DDRX+oqvPWll37f4J+ZLeNsgZydnfUtOMNNV
22R5APoHP27qi054JHsY7Usukzjyqsee3Ars2wN9kZ99gJQNa87lJABWeX7jvKpb
0PIgm1Itfaj4CPBQkG6hfVAKflz8buhqpvAPknTrabkhXGK8U0YRgNWfwADZp8HL
dZUb8fnYHUFLG/fzV1gNiKHZoWwZFzXYGIcv71noOmk3mGqqijser5Oa9+j3wpTK
bm+Ehl8/TAGVBsK+JAaONeTBaiJ52C1Ra4VhkPsj7usUPcUyFGVzwF6+A8qjc3qR
db2kknKCOHFNxU3+GWltwJzSJOYNXPhTg7jJT9XCOyJtQQeNIptV30SzW3RMvz8q
qfaZ6JXjaukvSSgFGB3pLG6/H4aCdiSiScScr1JAePQK6M8DjhVQW+FWDdl4jB/g
aAgjeiosUhcsDKLGHKM/ylZvsQFzhQY5kPuYSqgpea2LaVRH1aEkEQZdNJHmyLPN
4FgdbVRZ3T+E/O61kmmSa56u4/qE6qTrUbZKOKmwN0MCuTBx5/IDq2qWQUPQ6/y4
/vysggU2bZDrRUelECiwCHlz3rwKnLjxpTpzgMOhWHDX1LdieGA=
=TXF+
-----END PGP SIGNATURE-----

--Sig_/R5dn+xf6TP=sGtsest8XF5u--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads