Debian Bug report logs - #834572
ci.debian.net: Please run dkms tests automatically

version graph

Package: debci; Maintainer for debci is Debian CI team <team+ci@tracker.debian.org>; Source for debci is src:debci (PTS, buildd, popcon).

Reported by: Petter Reinholdtsen <pere@hungry.com>

Date: Wed, 17 Aug 2016 07:42:08 UTC

Severity: normal

Found in version debci/1.0.1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, pkg-dkms-maint@lists.alioth.debian.org, Antonio Terceiro <terceiro@debian.org>:
Bug#834572; Package debci. (Wed, 17 Aug 2016 07:42:12 GMT) (full text, mbox, link).


Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
New Bug report received and forwarded. Copy sent to pkg-dkms-maint@lists.alioth.debian.org, Antonio Terceiro <terceiro@debian.org>. (Wed, 17 Aug 2016 07:42:12 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Petter Reinholdtsen <pere@hungry.com>
To: submit@bugs.debian.org
Subject: ci.debian.net: Please run dkms tests automatically
Date: Wed, 17 Aug 2016 09:40:06 +0200
Package: debci
Version: 1.0.1
X-Debbugs-CC: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>

The dkms package include a common autopkgtest derived from Ubuntu to
test any dkms enabled package.  As I understand it, in Ubuntu this is
used to automatically test all users of the dkms framework.  Could these
packages be automatically tested in Debian too?

<URL: https://qa.debian.org/developer.php?login=pkg-dkms-maint@lists.alioth.debian.org >.
show all the dkms users I was aware of a few months ago.  From there it
is obvious that most of them are not tested by ci.debian.org.
-- 
Happy hacking
Petter Reinholdtsen



Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Terceiro <terceiro@debian.org>:
Bug#834572; Package debci. (Wed, 21 Sep 2016 14:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Antonio Terceiro <terceiro@debian.org>. (Wed, 21 Sep 2016 14:39:04 GMT) (full text, mbox, link).


Message #10 received at 834572@bugs.debian.org (full text, mbox, reply):

From: Petter Reinholdtsen <pere@hungry.com>
To: 834572@bugs.debian.org
Subject: Re: Bug#834572: ci.debian.net: Please run dkms tests automatically
Date: Wed, 21 Sep 2016 16:35:33 +0200
Is there some code we can lift from Ubuntu to enable the dkms tests
automatically?  Where are the set of automatic tests defined?

-- 
Happy hacking
Petter Reinholdtsen



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#834572; Package debci. (Wed, 21 Sep 2016 17:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Terceiro <terceiro@debian.org>:
Extra info received and forwarded to list. (Wed, 21 Sep 2016 17:24:04 GMT) (full text, mbox, link).


Message #15 received at 834572@bugs.debian.org (full text, mbox, reply):

From: Antonio Terceiro <terceiro@debian.org>
To: Petter Reinholdtsen <pere@hungry.com>, 834572@bugs.debian.org
Subject: Re: Bug#834572: ci.debian.net: Please run dkms tests automatically
Date: Wed, 21 Sep 2016 14:20:55 -0300
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Terceiro <terceiro@debian.org>:
Bug#834572; Package debci. (Wed, 21 Sep 2016 21:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Antonio Terceiro <terceiro@debian.org>. (Wed, 21 Sep 2016 21:45:03 GMT) (full text, mbox, link).


Message #20 received at 834572@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <mpitt@debian.org>
To: Antonio Terceiro <terceiro@debian.org>, 834572@bugs.debian.org
Cc: Petter Reinholdtsen <pere@hungry.com>
Subject: Re: Bug#834572: ci.debian.net: Please run dkms tests automatically
Date: Wed, 21 Sep 2016 23:42:56 +0200
[Message part 1 (text/plain, inline)]
Hey Antonio,

Antonio Terceiro [2016-09-21 14:20 -0300]:
> the fact that Ubuntu runs tests on KVM and we run on LXC makes all the
> difference.
>
> 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.

Do you have enough EC2 quota to run tests in (ephemeral) nova
instances? In Ubuntu we do that, i. e. I have a permanent "controller"
instance that has the cloud credentials and an autopkgtest checkout,
and worker instances [1] which take AMQP test requests and call autopkgtest with
the ssh runner and the "nova" setup script [2] -- i. e. the actual
test is being run in an ephemeral instance, with full
"isolation-machine"/KVM capabilities like mucking around with kernel
stuff.

I can talk you through this if you are interested.

Martin

[1] https://git.launchpad.net/~ubuntu-release/+git/autopkgtest-cloud/tree/worker/worker
[2] https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/tree/ssh-setup/nova

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#834572; Package debci. (Mon, 26 Sep 2016 15:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Terceiro <terceiro@debian.org>:
Extra info received and forwarded to list. (Mon, 26 Sep 2016 15:36:02 GMT) (full text, mbox, link).


Message #25 received at 834572@bugs.debian.org (full text, mbox, reply):

From: Antonio Terceiro <terceiro@debian.org>
To: Martin Pitt <mpitt@debian.org>
Cc: 834572@bugs.debian.org, Petter Reinholdtsen <pere@hungry.com>
Subject: Re: Bug#834572: ci.debian.net: Please run dkms tests automatically
Date: Mon, 26 Sep 2016 08:32:07 -0700
[Message part 1 (text/plain, inline)]
On Wed, Sep 21, 2016 at 11:42:56PM +0200, Martin Pitt wrote:
> Hey Antonio,
> 
> Antonio Terceiro [2016-09-21 14:20 -0300]:
> > the fact that Ubuntu runs tests on KVM and we run on LXC makes all the
> > difference.
> >
> > 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.
> 
> Do you have enough EC2 quota to run tests in (ephemeral) nova
> instances? In Ubuntu we do that, i. e. I have a permanent "controller"
> instance that has the cloud credentials and an autopkgtest checkout,
> and worker instances [1] which take AMQP test requests and call autopkgtest with
> the ssh runner and the "nova" setup script [2] -- i. e. the actual
> test is being run in an ephemeral instance, with full
> "isolation-machine"/KVM capabilities like mucking around with kernel
> stuff.

Sure that's doable, as is moving to a simple "KVM on localhost"; it is
just a matter of doing the work.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian CI team <team+ci@tracker.debian.org>:
Bug#834572; Package debci. (Mon, 13 Feb 2023 19:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <anbe@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian CI team <team+ci@tracker.debian.org>. (Mon, 13 Feb 2023 19:36:03 GMT) (full text, mbox, link).


Message #30 received at 834572@bugs.debian.org (full text, mbox, reply):

From: Andreas Beckmann <anbe@debian.org>
To: 834572@bugs.debian.org
Subject: Re: ci.debian.net: Please run dkms tests automatically
Date: Mon, 13 Feb 2023 20:33:06 +0100
All source packages (excluding a few RC buggy ones that are only in sid) 
in the archive that build a *-dkms package now have
  Testsuite: autopkgtest-pkg-dkms
s.t. we should get automatic module compilation tests whenever a new 
kernel package gets uploaded.
This will probably get tested for real once Linux 6.2 (or later) gets 
uploaded to sid.


Andreas



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 20:42:19 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.