On Wed, Sep 21, 2016 at 04:35:33PM +0200, Petter Reinholdtsen wrote:
> Is there some code we can lift from Ubuntu to enable the dkms tests
> automatically?

I don't think so.

the fact that Ubuntu runs tests on KVM and we run on LXC makes all the
difference. I just tried a random DMKS package (openafs), and it fails trying
to do thins you usually cannot do in containers.

Setting up openafs-client (1.6.18.3-2) ...
update-alternatives: using /usr/bin/pagsh.openafs to provide /usr/bin/pagsh 
(pagsh) in auto mode
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open 
moddep file '/lib/modules/4.7.0-1-amd64/modules.dep.bin'
modprobe: FATAL: Module openafs not found in directory 
/lib/modules/4.7.0-1-amd64
Failed to load openafs.ko.  Does it need to be built?
grep: /lib/modules/4.7.0-1-amd64/modules.dep: No such file or directory

> Where are the set of automatic tests defined?

https://anonscm.debian.org/cgit/collab-maint/debian-ci-config.git
cookbooks/debci/files/default/whitelist*

however making the package have their tests executed is trivial; what's
not trivial will be moving to KVM so that their tests have any chance of
working.

Attachment: signature.asc
Description: PGP signature

Reply via email to