Dear Nilesh, Thanks for your so fast support!
On 3/30/24 12:41, Nilesh Patra wrote:
Once compilation is done, how can I execute autopkgtest? I have tried multiple variations, including the most basic: $ sudo autopkgtest . -- null $ sudo autopkgtest ../build-area/orthanc-python_4.1+ds-2_amd64.changes -- nullThis should work I suppose, in an unstable system. I however pass in the .deb instead of the .changes file. This is the command I use incase that helps you: $ sudo autopkgtest -B ../*.deb -- schroot unstable-amd64-sbuild You could use `-- null` if you don't use a schroot. If this still does not work, can you share the error that you see?
In all of those commands (including yours, as well as if using ".deb" instead of ".changes"), I always get the attached log.
The actual test seems to never be executed: The autopkgtest command always stops with the "Reading package lists...". Nothing more happens.
Regards, Sébastien-
$ sudo autopkgtest ../build-area/orthanc-python_4.1+ds-2_amd64.deb -- null autopkgtest [12:47:42]: starting date and time: 2024-03-30 12:47:42+0100 autopkgtest [12:47:42]: version 5.33 autopkgtest [12:47:42]: host debian-unstable; command line: /usr/bin/autopkgtest ../build-area/orthanc-python_4.1+ds-2_amd64.deb -- null autopkgtest [12:47:42]: testbed dpkg architecture: amd64 autopkgtest [12:47:42]: testbed apt version: 2.7.14 autopkgtest [12:47:42]: testbed running kernel: Linux 6.7.9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.9-2 (2024-03-13) autopkgtest [12:47:42]: @@@@@@@@@@@@@@@@@@@@ unbuilt-tree . autopkgtest [12:47:42]: testing package orthanc-python version 4.1+ds-2 autopkgtest [12:47:42]: build not needed autopkgtest [12:47:42]: test run-unit-test: preparing testbed Get:1 file:/tmp/autopkgtest.I5zY18/binaries InRelease Ign:1 file:/tmp/autopkgtest.I5zY18/binaries InRelease Get:2 file:/tmp/autopkgtest.I5zY18/binaries Release [816 B] Get:2 file:/tmp/autopkgtest.I5zY18/binaries Release [816 B] Get:3 file:/tmp/autopkgtest.I5zY18/binaries Release.gpg Ign:3 file:/tmp/autopkgtest.I5zY18/binaries Release.gpg Get:4 file:/tmp/autopkgtest.I5zY18/binaries Packages [1,379 B] Reading package lists... Reading package lists... Building dependency tree... Reading state information... Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/193 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 file:/tmp/autopkgtest.I5zY18/binaries orthanc-python 4.1+ds-2 [193 kB] (Reading database ... 196769 files and directories currently installed.) Preparing to unpack .../binaries/./orthanc-python.deb ... Unpacking orthanc-python (4.1+ds-2) over (4.1+ds-2) ... Setting up orthanc-python (4.1+ds-2) ... Processing triggers for libc-bin (2.37-15.1) ... Processing triggers for orthanc (1.12.3+dfsg-1) ... orthanc-restart-trigger: restarting the Orthanc service W: --force-yes is deprecated, use one of the options starting with --allow instead. Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'autopkgtest-satdep' instead of '/tmp/autopkgtest.I5zY18/2-autopkgtest-satdep.deb' Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following NEW packages will be installed: autopkgtest-satdep 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/736 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 /tmp/autopkgtest.I5zY18/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [736 B] Selecting previously unselected package autopkgtest-satdep. (Reading database ... 196769 files and directories currently installed.) Preparing to unpack .../2-autopkgtest-satdep.deb ... Unpacking autopkgtest-satdep (0) ... Setting up autopkgtest-satdep (0) ... (Reading database ... 196769 files and directories currently installed.) Removing autopkgtest-satdep (0) ... run-unit-test SKIP Cannot enable needs-sudo restriction: no ordinary user available autopkgtest [12:47:49]: @@@@@@@@@@@@@@@@@@@@ summary run-unit-test SKIP Cannot enable needs-sudo restriction: no ordinary user available autopkgtest [12:47:49]: Binaries: resetting testbed apt configuration Hit:1 http://deb.debian.org/debian unstable InRelease Reading package lists...

