Hi,

On 2026-11-24 19:13, Niels Thykier wrote:
This package is currently failing its autopkgtests for sid and forky.
The latter seems to be preventing dpkg from migrating to testing.


In principle that shouldn't happen. If it fails in testing, it's no regression. However, not all runs in testing fail consistently and that's the issue, but see below.

   139s autopkgtest [12:17:38]: test foreign-cross-exe-wrapper:  - - - - - - - - - - results - - - - - - - - - -    139s foreign-cross-exe-wrapper FAIL stderr: awk: line 2: function gensub never defined    139s autopkgtest [12:17:38]: test foreign-cross-exe-wrapper:  - - - - - - - - - - stderr - - - - - - - - - -
   139s awk: line 2: function gensub never defined
   139s _apt-proxy._tcp.local: resolve call failed: No appropriate name servers or networks for name found


Which are bugs #1150517 and #1148869 in auto-apt-proxy. The fix got uploaded last night.

I feel this is more a misconfiguration of the apt installation. The test run apt-get install. The `awk` & `_apt-proxy._tcp.local` is coming elsewhere, presumably the runner setup.


I wouldn't call it misconfiguration, but it was due to bug in the apt setup.

Paul, can you shed some wisdom on what I should do if I want my test to install something from the repo after the dependencies are installed (The `Depends` field in d/tests/control cannot express what the test need).

The test fails on output to stderr, so you *could* add the allow-stderr restriction. While by default autopkgtest treats output to stderr as a failure, if we would be creating autopkgtest now we would make that behavior opt-in instead of opt-out. Unless your test generally indicates issues on stderr even though the exit code is 0, the autopkgtest behavior often leads to more work than needed. Whether you prefer to keep the current behavior is up to you, maybe papering over by adding the allow-stderr restriction isn't something you like to do. The current problem should go away in several days, once auto-apt-proxy migrates to testing.

Paul

Reply via email to