Re: [Debian-med-packaging] Bug#1062404: orthanc-python: flaky autopkgtest: Test failed with

Sébastien Jodogne <[email protected]>
Newsgroups gmane.linux.debian.devel.medical
Message-ID <[email protected]>
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/3cdc765442ab3fce9148c33ba865467983b11e0b


Now, 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-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.