Quoting Arnaud R (2021-02-09 16:55:40)
> Hello Jonas!
> 
> On 2/9/21 5:46 PM, Jonas Smedegaard wrote:
> > I am puzzled as to what is the real cause, though: It seems to me that
> > the CI infrastructure neglects to install python3-vobject despite it
> > being declared as a dependency of python3-radicale
> 
> Oh, so actually I would add either python3-radicale, either radicale, to 
> the Depends field in d/tests/control, in order to install it in the 
> testbed, along with its dependencies (which include python3-vobject).
> 
> As far as I know (I might be wrong), it's not automatic. I think it's 
> because autopkgtest does not know which binary packages you intend to 
> test, so you have to make it explicit in the Depends field.
> 
> Alternatively there is the special dependency '@' , which installs all 
> the build dependencies of the source package.

Sorry, I don't follow your reasoning.

python3-radicale depends on python3-vobject.

radicale depends on python3-radicale which depends on python3-vobject.

Seems to me from the logfile that it tests python3-radicale (not 
radicale) and that it installs python3-radicale as expected but then 
does not install python3-vobject which I would expect from dependency 
declared for python3-radicale - and that is what puzzles me: Seems to me 
that the CI routine bootstraps a broken installation.

Or rephrased: It is my understanding that autopkgtest cannot know which 
_additional_ packages might be needed for _testing_purposes, or if some 
packages only _recommended_ is needed for testing purposes - but 
_dependencies_ need not be declared for the test, as those must be 
resolved by autopktest framework.

If indeed this is what happens, then adding python3-vobject as an 
explicit dependency of the test is not a solution but instead shadows a 
bug somewhere else.

If I am wrong in how to read and interpret the logfile then I need to 
understand it before acting on it.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to