Devuan bug report logs - #450
autopkgtest: cannot build a testbed for LXC

Package: autopkgtest; Severity: grave; Reported by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>; Keywords: debian; dated Sun, 10 May 2020 02:03:01 UTC; Maintainer for autopkgtest is (unknown).

Message received at 450@bugs.devuan.org:


Received: (at 450) by bugs.devuan.org; 22 May 2020 09:40:05 +0000
Return-Path: <matsumoto.r.aa@m.titech.ac.jp>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 22 May 2020 09:40:04 +0000 (UTC)
Received: from mail003.nap.gsic.titech.ac.jp (mail003.nap.gsic.titech.ac.jp [131.112.13.103])
	by vm6.ganeti.dyne.org (Postfix) with SMTP id DF1B5F60CEE
	for <450@bugs.devuan.org>; Fri, 22 May 2020 11:31:49 +0200 (CEST)
Received: from 172.22.40.205
	by mail003.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2600:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 22 May 2020 18:31:46 +0900 (JST)
Received: from mail002.nap.gsic.titech.ac.jp (mail002.nap.gsic.titech.ac.jp [131.112.13.102])
	by drweb08.nap.gsic.titech.ac.jp (Postfix) with SMTP id D8D43EB;
	Fri, 22 May 2020 18:31:46 +0900 (JST)
Received: from 114.145.251.241
	by mail002.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2629:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 22 May 2020 18:31:43 +0900 (JST)
Date: Fri, 22 May 2020 18:31:39 +0900 (JST)
Message-Id: <20200522.183139.2000937879838428955.ryutaroh@ict.e.titech.ac.jp>
To: mark@hindley.org.uk
Cc: 450@bugs.devuan.org
Subject: Re: [devuan-dev] bug#450: autopkgtest: cannot build a testbed for
 LXC
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
In-Reply-To: <20200522090342.GC32762@hindley.org.uk>
References: <20200510.104615.142399891428171553.ryutaroh@ict.e.titech.ac.jp>
	<20200510095600.GV32762@hindley.org.uk>
	<20200522090342.GC32762@hindley.org.uk>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Hi Mark,

I used autopkgtest QEMU, which does more through tests than LXC.
autopkgtest LXC does not work, as far as I see.
(Specifically, testbed for LXC must be made by hand).

Some tests are skipped if LXC is used with autopkgtest.
All tests are done when QEMU is used with autopkgtest,
but it is much slower and consumes much more memory than LXC.

Best regards, Ryutaroh

From: Mark Hindley <mark@hindley.org.uk>
Subject: Re: [devuan-dev] bug#450: autopkgtest: cannot build a testbed for LXC
Date: Fri, 22 May 2020 10:03:43 +0100

> Ryutaroh,
> 
> Since you are now submitting autopkgtest results (for which, thanks). Is this
> bug resolved and closable?
> 
> Thanks.
> 
> Mark

Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#450; Package autopkgtest. Full text available.

Message received at 450@bugs.devuan.org:


Received: (at 450) by bugs.devuan.org; 22 May 2020 09:10:01 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 22 May 2020 09:10:01 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id B8E22F60CC1
	for <450@bugs.devuan.org>; Fri, 22 May 2020 11:03:56 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jc3ai-0006fH-2R; Fri, 22 May 2020 10:03:44 +0100
Received: (nullmailer pid 2544 invoked by uid 1000);
	Fri, 22 May 2020 09:03:43 -0000
Date: Fri, 22 May 2020 10:03:43 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Cc: 450@bugs.devuan.org
Subject: Re: [devuan-dev] bug#450: autopkgtest: cannot build a testbed for LXC
Message-ID: <20200522090342.GC32762@hindley.org.uk>
References: <20200510.104615.142399891428171553.ryutaroh@ict.e.titech.ac.jp>
 <20200510083357.GS32762@hindley.org.uk>
 <20200510.182310.2254518515089297999.ryutaroh@ict.e.titech.ac.jp>
 <20200510.104615.142399891428171553.ryutaroh@ict.e.titech.ac.jp>
 <20200510095600.GV32762@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200510095600.GV32762@hindley.org.uk>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Ryutaroh,

Since you are now submitting autopkgtest results (for which, thanks). Is this
bug resolved and closable?

Thanks.

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#450; Package autopkgtest. Full text available.

Message received at 450@bugs.devuan.org:


Received: (at 450) by bugs.devuan.org; 10 May 2020 10:00:02 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 10 May 2020 10:00:02 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 2BD01F60B9D
	for <450@bugs.devuan.org>; Sun, 10 May 2020 11:56:03 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jXigj-0006Ve-3F; Sun, 10 May 2020 10:56:01 +0100
Received: (nullmailer pid 32452 invoked by uid 1000);
	Sun, 10 May 2020 09:56:00 -0000
Date: Sun, 10 May 2020 10:56:00 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Cc: 450@bugs.devuan.org
Subject: Re: bug#450: autopkgtest: cannot build a testbed for LXC
Message-ID: <20200510095600.GV32762@hindley.org.uk>
References: <20200510.104615.142399891428171553.ryutaroh@ict.e.titech.ac.jp>
 <20200510083357.GS32762@hindley.org.uk>
 <20200510.182310.2254518515089297999.ryutaroh@ict.e.titech.ac.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200510.182310.2254518515089297999.ryutaroh@ict.e.titech.ac.jp>
X-IMAPbase: 1220827534 0000000218
X-UID: 218
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Sun, May 10, 2020 at 06:23:10PM +0900, Ryutaroh Matsumoto wrote:
> Hi Mark, thanks again for your attention and response.
> 
> >> If Devuan project has no intention/plan to deploy CI, then autpkgtest and debci can be simply banned...
> > I just think nobody has provided the necessary autopkgtest templates.
> > Are you able to prepare them? I am not aware that we have anybody on teh dev
> > team who actively uses lxc.
> 
> I'm unsure, but at least I can try...

Thanks

> Do you think someone in Devuan project has interest in CI and/or
> autopkgtest all packages?

We currently use https://jenkins.devuan.dev for our package building. Sources
are in git. However, the vast majority of packages are used directly from Debian
by redirection. We only fork and compile sources that need modification. This is
significantly different from most (all?) other Debian derivatives.

> Automated continuous application of autopkgtest on all packages
> will sqeeze out unknown bugs in Devuan, but having a
> machine(s) running autopkgtest may be an obstacle.
> 
> I am happily using Google Cloud Platform Compute Engine
> with 640MB RAM and 30GB storage costing absolutely no money,
> but I strongly doubt if 640MB RAM and 30GB storage are
> enough for continuous autopkgtest...

Yes, I doubt that too. I am certainly not aware of anybody looking at this, but
if you are interested in it and think that would benefit, do come and get
involved implementing it.

Thanks.

Mark


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#450; Package autopkgtest. Full text available.

Message received at 450@bugs.devuan.org:


Received: (at 450) by bugs.devuan.org; 10 May 2020 09:30:04 +0000
Return-Path: <matsumoto.r.aa@m.titech.ac.jp>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 10 May 2020 09:30:04 +0000 (UTC)
Received: from mail003.nap.gsic.titech.ac.jp (mail003.nap.gsic.titech.ac.jp [131.112.13.103])
	by vm6.ganeti.dyne.org (Postfix) with SMTP id 39D74F609A5
	for <450@bugs.devuan.org>; Sun, 10 May 2020 11:23:20 +0200 (CEST)
Received: from 172.22.40.204
	by mail003.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2616:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 18:23:16 +0900 (JST)
Received: from mail001.nap.gsic.titech.ac.jp (mail001.nap.gsic.titech.ac.jp [131.112.13.101])
	by drweb07.nap.gsic.titech.ac.jp (Postfix) with SMTP id D88D4AB04;
	Sun, 10 May 2020 18:23:16 +0900 (JST)
Received: from 126.255.18.103
	by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2612:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 18:23:14 +0900 (JST)
Date: Sun, 10 May 2020 18:23:10 +0900 (JST)
Message-Id: <20200510.182310.2254518515089297999.ryutaroh@ict.e.titech.ac.jp>
To: mark@hindley.org.uk
Cc: 450@bugs.devuan.org
Subject: Re: bug#450: autopkgtest: cannot build a testbed for LXC
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
In-Reply-To: <20200510083357.GS32762@hindley.org.uk>
References: <20200510.104615.142399891428171553.ryutaroh@ict.e.titech.ac.jp>
	<20200510083357.GS32762@hindley.org.uk>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Hi Mark, thanks again for your attention and response.

>> If Devuan project has no intention/plan to deploy CI, then autpkgtest and debci can be simply banned...
> I just think nobody has provided the necessary autopkgtest templates.
> Are you able to prepare them? I am not aware that we have anybody on teh dev
> team who actively uses lxc.

I'm unsure, but at least I can try...

Do you think someone in Devuan project has interest in CI and/or
autopkgtest all packages?
Automated continuous application of autopkgtest on all packages
will sqeeze out unknown bugs in Devuan, but having a
machine(s) running autopkgtest may be an obstacle.

I am happily using Google Cloud Platform Compute Engine
with 640MB RAM and 30GB storage costing absolutely no money,
but I strongly doubt if 640MB RAM and 30GB storage are
enough for continuous autopkgtest...

Best regards, Ryutaroh

Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#450; Package autopkgtest. Full text available.
Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 450-submit@bugs.devuan.org. Full text available.

Message received at 450@bugs.devuan.org:


Received: (at 450) by bugs.devuan.org; 10 May 2020 08:40:04 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 10 May 2020 08:40:04 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 1342BF60B8D
	for <450@bugs.devuan.org>; Sun, 10 May 2020 10:33:59 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jXhPJ-0005pk-QL; Sun, 10 May 2020 09:33:57 +0100
Received: (nullmailer pid 31223 invoked by uid 1000);
	Sun, 10 May 2020 08:33:57 -0000
Date: Sun, 10 May 2020 09:33:57 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>, 450@bugs.devuan.org
Subject: Re: bug#450: autopkgtest: cannot build a testbed for LXC
Message-ID: <20200510083357.GS32762@hindley.org.uk>
References: <20200510.104615.142399891428171553.ryutaroh@ict.e.titech.ac.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200510.104615.142399891428171553.ryutaroh@ict.e.titech.ac.jp>
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian

Ryutaroh,

Thanks.

On Sun, May 10, 2020 at 10:46:15AM +0900, Ryutaroh Matsumoto wrote:
> If Devuan project has no intention/plan to deploy CI, then autpkgtest and debci can be simply banned...

I just think nobody has provided the necessary autopkgtest templates.

Are you able to prepare them? I am not aware that we have anybody on teh dev
team who actively uses lxc.

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#450; Package autopkgtest. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 10 May 2020 01:50:04 +0000
Return-Path: <matsumoto.r.aa@m.titech.ac.jp>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 10 May 2020 01:50:04 +0000 (UTC)
Received: from mail001.nap.gsic.titech.ac.jp (mail001.nap.gsic.titech.ac.jp [131.112.13.101])
	by vm6.ganeti.dyne.org (Postfix) with SMTP id 8C3ECF60969
	for <submit@bugs.devuan.org>; Sun, 10 May 2020 03:46:25 +0200 (CEST)
Received: from 172.22.40.202
	by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2613:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 10:46:23 +0900 (JST)
Received: from mail002.nap.gsic.titech.ac.jp (mail002.nap.gsic.titech.ac.jp [131.112.13.102])
	by drweb05.nap.gsic.titech.ac.jp (Postfix) with SMTP id EBEECF1
	for <submit@bugs.devuan.org>; Sun, 10 May 2020 10:46:22 +0900 (JST)
Received: from 126.255.18.103
	by mail002.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2629:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 10:46:21 +0900 (JST)
Date: Sun, 10 May 2020 10:46:15 +0900 (JST)
Message-Id: <20200510.104615.142399891428171553.ryutaroh@ict.e.titech.ac.jp>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: autopkgtest: cannot build a testbed for LXC
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: autopkgtest
Version: 5.10
Severity: grave
Justification: renders package unusable

Dear Maintainer,

man autopkgtest-build-lxc says

SYNOPSIS
       autopkgtest-build-lxc distribution release [architecture] [script]

       It calls lxc-create with the distribution template (which can currently be debian or ubuntu) and -rrelease to build a
       debootstrap-like container, then enables deb-src apt sources, and runs apt-get update.

Then by root

# autopkgtest-build-lxc devuan beowulf
lxc-create: autopkgtest-beowulf: utils.c: get_template_path: 918 No such file or directory - bad template: devuan
lxc-create: autopkgtest-beowulf: lxccontainer.c: do_lxcapi_create: 1786 Unknown template "devuan"
lxc-create: autopkgtest-beowulf: tools/lxc_create.c: main: 327 Failed to create container autopkgtest-beowulf

Note that LXC virtualization backend is the default of debci and autopkgtest commands.

If Devuan project has no intention/plan to deploy CI, then autpkgtest and debci can be simply banned...

Best regards, Ryutaroh Matsumoto


-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages autopkgtest depends on:
ii  apt-utils       1.8.2
ii  libdpkg-perl    1.19.7
ii  procps          2:3.3.15-2+devuan1
ii  python3         3.7.3-1
ii  python3-debian  0.1.35

Versions of packages autopkgtest recommends:
ii  autodep8  0.18

Versions of packages autopkgtest suggests:
ii  lxc               1:3.1.0+really3.0.3-8
pn  lxd               <none>
pn  ovmf              <none>
pn  qemu-efi-aarch64  <none>
pn  qemu-efi-arm      <none>
pn  qemu-system       <none>
pn  qemu-utils        <none>
pn  schroot           <none>
pn  vmdb2             <none>

-- no debconf information

Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#450; Package autopkgtest. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat, 4 Jul 2020 02:39:02 UTC