[From nobody Thu Apr 23 22:23:05 2026
Received: (at submit) by bugs.debian.org; 21 Apr 2020 15:08:39 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.5 required=4.0 tests=BAYES_00, FOURLA, HAS_PACKAGE,
 HELO_MISC_IP,KHOP_HELO_FCRDNS,SPF_NONE,TXREP,XMAILER_REPORTBUG
 autolearn=ham autolearn_force=no
 version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 150; neutral, 71; spammy,
 0. spammytokens: hammytokens:0.000-+--autopkgtest,
 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug
Return-path: &lt;ryutaroh@ict.e.titech.ac.jp&gt;
Received: from om126208178132.22.openmobile.ne.jp ([126.208.178.132]:37458
 helo=[127.0.1.1]) by buxtehude.debian.org with esmtp (Exim 4.92)
 (envelope-from &lt;ryutaroh@ict.e.titech.ac.jp&gt;) id 1jQuVr-00066t-1A
 for submit@bugs.debian.org; Tue, 21 Apr 2020 15:08:39 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ryutaroh Matsumoto &lt;ryutaroh@ict.e.titech.ac.jp&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: lxc-tests: Allow lxc as an autopkgtest backend
Message-ID: &lt;158748171708.1725.5328371165353247499.reportbug@bullseye-qemu&gt;
X-Mailer: reportbug 7.6.0
Date: Wed, 22 Apr 2020 00:08:37 +0900
Delivered-To: submit@bugs.debian.org

Package: lxc-tests
Version: 1:4.0.2-1~1
Severity: wishlist

Dear Maintainer,

Only qemu-kvm is allowed as an autopkgtest backend of LXC, as
debian/tests/control has the following line:
Restrictions: needs-root allow-stderr isolation-machine

On the other hand, debian/tests/control skips tests that cannot
be executed in a container as

    # Skip some tests when running in a container
    if [ -f /run/container_type ] || (type systemd-detect-virt &gt;/dev/null 2&gt;&amp;1 &amp;&amp; systemd-detect-virt  --container &gt;/dev/null 2&gt;&amp;1); then
        [ &quot;$testbin&quot; = &quot;/usr/bin/lxc-test-apparmor&quot; ] &amp;&amp; \
            ignore &quot;$STRING&quot; &amp;&amp; continue

        [ &quot;$testbin&quot; = &quot;/usr/bin/lxc-test-device-add-remove&quot; ] &amp;&amp; \
            ignore &quot;$STRING&quot; &amp;&amp; continue

        [ &quot;$testbin&quot; = &quot;/usr/bin/lxc-test-reboot&quot; ] &amp;&amp; \
            ignore &quot;$STRING&quot; &amp;&amp; continue
    fi

So, please consider to allow lxc as an autopkgtest backend of lxc itself.

Best regards, Ryutaroh Matsumoto


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxc-tests depends on:
ii  libc6    2.30-4
ii  liblxc1  1:4.0.2-1~1
ii  lxc      1:4.0.2-1~1

lxc-tests recommends no packages.

lxc-tests suggests no packages.

-- no debconf information
]