Your message dated Wed, 20 May 2020 13:59:01 -0300
with message-id <[email protected]>
and subject line Re: Bug#960800: autopkgtest-virt-qemu always fails with 
sysvinit-core in qemu images
has caused the Debian Bug report #960800,
regarding autopkgtest-virt-qemu always fails with sysvinit-core in qemu images
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
960800: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960800
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autopkgtest
Version: 5.13.1
Severity: important
Tags: buster, sid
Control: found -1 5.10

Dear Maintainer,

(1) autopkgtest-build-qemu sid /var/lib/libvirt/images/sid-systemd.img
(2) Clone sid-systemd.img to sid-systemd-clone.img by virt-manager.
(3) In sid-systemd-clone.img, run "apt-get --purge install sysvinit-core", and
    edit /etc/inittab to enable getty on ttyS0 and ttyS1.
(4) autopkgtest -B -o /var/tmp/firefox-sysvinit firefox -- qemu --ram-size=2048 
/var/lib/libvirt/images/sid-systemd-clone.img 
gives
root@buster:~# autopkgtest -B -o /var/tmp/firefox-sysvinit firefox -- qemu 
--ram-size=2048 /var/lib/libvirt/images/sid-systemd-clone.img 
autopkgtest [03:54:28]: starting date: 2020-05-17
autopkgtest [03:54:28]: version 5.13.1
autopkgtest [03:54:28]: host buster; command line: /usr/bin/autopkgtest -B -o 
/var/tmp/firefox-sysvinit firefox -- qemu --ram-size=2048 
/var/lib/libvirt/images/sid-systemd-clone.img
qemu-system-x86_64: warning: host doesn't support requested feature: 
CPUID.01H:ECX.vmx [bit 5]
qemu-system-x86_64: terminating on signal 15 from pid 4132 (/usr/bin/python3)
<VirtSubproc>: failure: timed out on client shared directory setup
autopkgtest [03:55:08]: ERROR: testbed failure: cannot send to testbed: [Errno 
32] Broken pipe

The same test on firefox runs fine in sid-systemd.img.
This issue is also observed in package version 5.10 shipped with Buster.

This issue seems incompatible with Proposal B in
https://www.debian.org/vote/2019/vote_002#textb
which says "Debian remains an environment where developers and
users can explore and develop alternate init systems and
alternatives to systemd features."

Best regards, Ryutaroh Matsumoto


-- System Information:
Debian Release: 10.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.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 autopkgtest depends on:
ii  apt-utils       1.8.2.1
ii  libdpkg-perl    1.19.7
ii  procps          2:3.3.15-2
ii  python3         3.7.3-1
ii  python3-debian  0.1.35

Versions of packages autopkgtest recommends:
ii  autodep8  0.22

Versions of packages autopkgtest suggests:
pn  lxc               <none>
pn  lxd               <none>
ii  ovmf              0~20181115.85588389-3+deb10u1
pn  qemu-efi-aarch64  <none>
pn  qemu-efi-arm      <none>
pn  qemu-system       <none>
ii  qemu-utils        1:3.1+dfsg-8+deb10u5
pn  schroot           <none>
ii  vmdb2             0.14.1-1

-- no debconf information

--- End Message ---
--- Begin Message ---
On Sun, May 17, 2020 at 04:20:39AM +0900, Ryutaroh Matsumoto wrote:
> Package: autopkgtest
> Version: 5.13.1
> Severity: important
> Tags: buster, sid
> Control: found -1 5.10
> 
> Dear Maintainer,
> 
> (1) autopkgtest-build-qemu sid /var/lib/libvirt/images/sid-systemd.img
> (2) Clone sid-systemd.img to sid-systemd-clone.img by virt-manager.
> (3) In sid-systemd-clone.img, run "apt-get --purge install sysvinit-core", and
>     edit /etc/inittab to enable getty on ttyS0 and ttyS1.
> (4) autopkgtest -B -o /var/tmp/firefox-sysvinit firefox -- qemu 
> --ram-size=2048 /var/lib/libvirt/images/sid-systemd-clone.img 
> gives
> root@buster:~# autopkgtest -B -o /var/tmp/firefox-sysvinit firefox -- qemu 
> --ram-size=2048 /var/lib/libvirt/images/sid-systemd-clone.img 
> autopkgtest [03:54:28]: starting date: 2020-05-17
> autopkgtest [03:54:28]: version 5.13.1
> autopkgtest [03:54:28]: host buster; command line: /usr/bin/autopkgtest -B -o 
> /var/tmp/firefox-sysvinit firefox -- qemu --ram-size=2048 
> /var/lib/libvirt/images/sid-systemd-clone.img
> qemu-system-x86_64: warning: host doesn't support requested feature: 
> CPUID.01H:ECX.vmx [bit 5]
> qemu-system-x86_64: terminating on signal 15 from pid 4132 (/usr/bin/python3)
> <VirtSubproc>: failure: timed out on client shared directory setup
> autopkgtest [03:55:08]: ERROR: testbed failure: cannot send to testbed: 
> [Errno 32] Broken pipe

The requirements for images is documented in autopkgtest-virt-qemu(1):

REQUIREMENTS
       autopkgtest-virt-qemu  assumes that you have already prepared a
       suitable Debian based QEMU image (see BUILDING IMAGES below for
       how to create them). But you can use any VM which has python3  or
       python installed and either

       *   opens a root shell on ttyS1, or

       *   has  a  serial  console on ttyS0 where you can log in (getty
       *   or similar) with specified user
           and password. This will then be used to start a root shell on
           ttyS1, to reduce this  to  the first case and to not assume
           that ttyS0 stays operational throughout the whole test.


ie. ttyS1 should be a root shell, or not be enabled at all in which case
autopkgtest-virt-qemu does the setup by itself.

I tried this locally and if the image is setup correctly it just works.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to