Hi Nilesh,
For some reason, this is not taking needs-sudo restriction well. Can you try once with this patch (no need to re-compile) and let me know if that helps? diff --git a/debian/tests/control b/debian/tests/control index 5e8c44d..4f9b12a 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,3 +1,3 @@ Tests: run-unit-test Depends: @, python3, orthanc, curl, libcurl4, orthanc-python, procps -Restrictions: needs-sudo, allow-stderr, isolation-container +Restrictions: allow-stderr
Wonderful! I confirm that with this patch, I am able to run autopkgtest as follows:
$ sudo autopkgtest -B ../build-area/orthanc-python_4.1+ds-3_amd64.deb -- null
I have just uploaded it: https://salsa.debian.org/med-team/orthanc-python/-/commit/3cdc765442ab3fce9148c33ba865467983b11e0bNow, the next problem is: The test always succeeds on my standard amd64 architecture. Despite many attempts, I am totally unable to reproduce #1062404.
@Paul: How could I reproduce the issue? @Nilesh: Shouldn't this test simply be disabled? Kind Regards, Sébastien-