Package: autopkgtest
Version: 5.17
Severity: important
Tags: upstream
X-Debbugs-Cc: k...@thevertigo.com

Dear Maintainer,

My source tree contains DEP-8 tests in debian/tests. My debian/tests/control
contains the following test:

    Tests: test-in-tree-unit-tests.sh
    Depends: @builddeps@, postgresql-13
    Restrictions: rw-build-tree, build-needed, allow-stderr, isolation-
container

I have another DEP-8 test, but it tests the installed artifacts without any
issue. The above test, however, calls a simple one liner (after the sh-bang),
to test local in-tree unit tests:

    make -j check || { find . -iname "test-suite.log" -exec cat {} \; ; exit
99; }

Some times these tests are run as expected. Other times they don't ever run.
When they don't, it is because autopkgtest reports a failure when make(1) is
unable to run the `check` target. It appears as though there is no Makefile.

When I shell into the test bed into the location in which make was being run,
the source tarball has been unpacked as expected, but it has not been
configured. That is, I see my Makefile.am and other source files, but not the
generated Makefile or any other files generated after ./configure does its
thing.

Sometimes this happens and sometimes it does not. There does not appear to be
any rhyme or reason to it, so I suspect this may be a race condition.

-- System Information:
Debian Release: bullseye/sid
  APT prefers hirsute-updates
  APT policy: (500, 'hirsute-updates'), (500, 'hirsute-security'), (500,
'hirsute-proposed'), (500, 'hirsute'), (100, 'hirsute-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.11.0-25-generic (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autopkgtest depends on:
ii  apt-utils       2.2.4ubuntu0.1
ii  libdpkg-perl    1.20.9ubuntu1
ii  procps          2:3.3.16-5ubuntu3.1
ii  python3         3.9.4-1
ii  python3-debian  0.1.39

Versions of packages autopkgtest recommends:
ii  autodep8  0.24ubuntu1

Versions of packages autopkgtest suggests:
ii  fakemachine       0.0~git20201127.9e6ee78-1
ii  lxc               1:4.0.6-0ubuntu1
ii  lxd               1:0.9
ii  ovmf              2020.11-4
ii  ovmf-ia32         2020.11-4
ii  qemu-efi-aarch64  2020.11-4
ii  qemu-efi-arm      2020.11-4
ii  qemu-system       1:5.2+dfsg-9ubuntu3.1
ii  qemu-utils        1:5.2+dfsg-9ubuntu3.1
ii  schroot           1.6.10-11ubuntu2
ii  vmdb2             0.22-1

Reply via email to