[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tests failing in many chroots but passing in some others



Hi Paul,

Le 22/09/2020 à 22:11, Paul Gevers a écrit :
> Hi Pierre,
> 
> On 22-09-2020 21:45, Pierre Gruet wrote:
>> Dear Debian CI project members,
>>
>> In Debian-med we have the package libsis-jhdf5-java. I can build it
>> inside or outside a chroot on my computer with no error concerning
>> build-time tests, which are also run by autopkgtest -- also fine.
>>
>> Two other members of the team have run the same tests in their chroots
>> and got 8 failing tests, which is also the case of ci.debian.net [0].
>>
>> I would like to know if there have already been such problems with tests
>> failing in some chroots and passing in others; if so, would you have
>> examples or pointers to provide us with?
> 
> What version of Debian is the host running? ci.d.n runs on stable with
> some autopkgtest related packages from unstable.
> 
> What's the test doing? ci.d.n runs not in chroots, but in lxc's. It's
> possible to hit issues there. Typically this requires isolation
> restrictions, i.e. isolation-machine. (not saying that the isolation is
> needed here, but ...)
> 

Some weeks ago I wrote you about tests in a Java package of Debian-med,
that were failing on some computers and passing on others.

I have just found this was due to a file not being closed with the
close() method. Afterwards some other tests were counting open files and
failing because of this file not being closed whereas they expected it.
I guess the Java garbage collector was closing the file early enough on
some computers, and not on others.

Maybe this case will help in the future when meeting other such situations.

>> Many thanks in advance,
>> Pierre Gruet
>>
>> [Please CC-me, I have not subscribed to the list]
>>
>>
>>
>> [0]
>> https://ci.debian.net/data/autopkgtest/unstable/amd64/libs/libsis-jhdf5-java/6188493/log.gz
> 
> Paul
> 

Thanks again for caring,
Pierre


Reply to: