[2019-07-03 02:36] Lorenz <lorenzo.r...@gmail.com> > Dmitry, > sorry it took so long to send the patches,
No need to be sorry :) You are doing awesome job at tasks I do not dare to tackle. > but while updating the test i run into several issues i'm not able to > solve by myself: > * I try to include openssh into the test but it makes the test fail because > ssh get stuck > at boot (same issue as reported by Martin Pitt in #838480 message #49) I confirm addition of `openssh-server' into test dependency indeed makes it hang (my log is at bottom). I will take a look and try to reproduce bug interactively (over VNC). > * then i try a Vbox VM and i failed to reproduce the ssh issue, but i run > into several other issues, see #931356 Can't we just conflict with libnss-systemd? > Althought the test as it is now in the patches pass, we should deal > with the above issues as they are likely hitting users that attempt > the switch Not sure about libnss, but I agree -- ssh server is extremely important. Can you please file separate bug about hang boot? autopkgtest [01:18:34]: version 5.10 autopkgtest [01:18:34]: host neophite.local; command line: /usr/bin/autopkgtest ../runit-init_2.1.2-32_all.deb ../runit_2.1.2-32_amd64.deb ../getty-run_2.1.2-32_all.deb ../runit_2.1.2-32_amd64.deb . -- qemu ../autopkgtest.img qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5] autopkgtest [01:18:52]: testbed dpkg architecture: amd64 autopkgtest [01:18:55]: testbed running kernel: Linux 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) autopkgtest [01:18:56]: @@@@@@@@@@@@@@@@@@@@ built-tree . autopkgtest [01:18:56]: testing package runit version 2.1.2-32 autopkgtest [01:18:56]: test init-switch: preparing testbed Get:1 file:/tmp/autopkgtest.zHJCWY/binaries InRelease Ign:1 file:/tmp/autopkgtest.zHJCWY/binaries InRelease Get:2 file:/tmp/autopkgtest.zHJCWY/binaries Release [816 B] Get:2 file:/tmp/autopkgtest.zHJCWY/binaries Release [816 B] Get:3 file:/tmp/autopkgtest.zHJCWY/binaries Release.gpg Ign:3 file:/tmp/autopkgtest.zHJCWY/binaries Release.gpg Get:4 file:/tmp/autopkgtest.zHJCWY/binaries Packages [3921 B] Reading package lists... Reading package lists... Building dependency tree... Reading state information... Correcting dependencies...Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Done Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libwrap0 openssh-client openssh-server openssh-sftp-server runit runit-helper sysuser-helper Suggested packages: krb5-doc krb5-user keychain libpam-ssh monkeysphere ssh-askpass molly-guard rssh ufw Recommended packages: krb5-locales xauth ncurses-term runit-sysv | runit-init | runit-systemd The following NEW packages will be installed: libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libwrap0 openssh-client openssh-server openssh-sftp-server runit runit-helper sysuser-helper 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 2070 kB/2194 kB of archives. After this operation, 8259 kB of additional disk space will be used. Get:1 file:/tmp/autopkgtest.zHJCWY/binaries runit 2.1.2-32 [124 kB] Get:2 http://deb.debian.org/debian unstable/main amd64 runit-helper all 2.8.6 [4900 B] Get:3 http://deb.debian.org/debian unstable/main amd64 sysuser-helper all 1.3.3 [3844 B] Get:4 http://deb.debian.org/debian unstable/main amd64 libedit2 amd64 3.1-20181209-1 [94.0 kB] Get:5 http://deb.debian.org/debian unstable/main amd64 libkeyutils1 amd64 1.6-6 [15.0 kB] Get:6 http://deb.debian.org/debian unstable/main amd64 libkrb5support0 amd64 1.17-3 [65.6 kB] Get:7 http://deb.debian.org/debian unstable/main amd64 libk5crypto3 amd64 1.17-3 [121 kB] Get:8 http://deb.debian.org/debian unstable/main amd64 libkrb5-3 amd64 1.17-3 [370 kB] Get:9 http://deb.debian.org/debian unstable/main amd64 libgssapi-krb5-2 amd64 1.17-3 [158 kB] Get:10 http://deb.debian.org/debian unstable/main amd64 openssh-client amd64 1:7.9p1-10 [782 kB] Get:11 http://deb.debian.org/debian unstable/main amd64 openssh-sftp-server amd64 1:7.9p1-10 [44.6 kB] Get:12 http://deb.debian.org/debian unstable/main amd64 libwrap0 amd64 7.6.q-28 [58.7 kB] Get:13 http://deb.debian.org/debian unstable/main amd64 openssh-server amd64 1:7.9p1-10 [352 kB] Preconfiguring packages ... Fetched 2070 kB in 0s (21.3 MB/s) Selecting previously unselected package runit-helper. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18668 files and directories currently installed.) Preparing to unpack .../00-runit-helper_2.8.6_all.deb ... Unpacking runit-helper (2.8.6) ... Selecting previously unselected package sysuser-helper. Preparing to unpack .../01-sysuser-helper_1.3.3_all.deb ... Unpacking sysuser-helper (1.3.3) ... Selecting previously unselected package runit. Preparing to unpack .../02-runit.deb ... runit: setting up for runsvchdir runit: current symlink succesfully created Unpacking runit (2.1.2-32) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../03-libedit2_3.1-20181209-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20181209-1) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../04-libkeyutils1_1.6-6_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6-6) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../05-libkrb5support0_1.17-3_amd64.deb ... Unpacking libkrb5support0:amd64 (1.17-3) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../06-libk5crypto3_1.17-3_amd64.deb ... Unpacking libk5crypto3:amd64 (1.17-3) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../07-libkrb5-3_1.17-3_amd64.deb ... Unpacking libkrb5-3:amd64 (1.17-3) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../08-libgssapi-krb5-2_1.17-3_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.17-3) ... Selecting previously unselected package openssh-client. Preparing to unpack .../09-openssh-client_1%3a7.9p1-10_amd64.deb ... Unpacking openssh-client (1:7.9p1-10) ... Selecting previously unselected package openssh-sftp-server. Preparing to unpack .../10-openssh-sftp-server_1%3a7.9p1-10_amd64.deb ... Unpacking openssh-sftp-server (1:7.9p1-10) ... Selecting previously unselected package libwrap0:amd64. Preparing to unpack .../11-libwrap0_7.6.q-28_amd64.deb ... Unpacking libwrap0:amd64 (7.6.q-28) ... Selecting previously unselected package openssh-server. Preparing to unpack .../12-openssh-server_1%3a7.9p1-10_amd64.deb ... Unpacking openssh-server (1:7.9p1-10) ... Setting up runit-helper (2.8.6) ... Setting up libkeyutils1:amd64 (1.6-6) ... Setting up libedit2:amd64 (3.1-20181209-1) ... Setting up libkrb5support0:amd64 (1.17-3) ... Setting up libwrap0:amd64 (7.6.q-28) ... Setting up libk5crypto3:amd64 (1.17-3) ... Setting up sysuser-helper (1.3.3) ... Setting up libkrb5-3:amd64 (1.17-3) ... Setting up runit (2.1.2-32) ... Setting up libgssapi-krb5-2:amd64 (1.17-3) ... Setting up openssh-client (1:7.9p1-10) ... Setting up openssh-sftp-server (1:7.9p1-10) ... Setting up openssh-server (1:7.9p1-10) ... Creating config file /etc/ssh/sshd_config with new version Creating SSH2 RSA key; this may take some time ... 2048 SHA256:zRWOlk6hAEzfyAkfDdAHL4klAqrqI81zBF/Oe5S9P1U root@host (RSA) Creating SSH2 ECDSA key; this may take some time ... 256 SHA256:C5p3lM9n52enD5QP6k1qE+M4POstadyX0xVUvJ1Mz+g root@host (ECDSA) Creating SSH2 ED25519 key; this may take some time ... 256 SHA256:m9ICiWvJ4RiRzlXtAqBN5rVOYIbBmw9q44RiZNycvZo root@host (ED25519) ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Created symlink /etc/systemd/system/sshd.service → /lib/systemd/system/ssh.service. Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /lib/systemd/system/ssh.service. rescue-ssh.target is a disabled or a static unit, not starting it. Setting up autopkgtest-satdep (0) ... Processing triggers for systemd (241-5) ... Processing triggers for libc-bin (2.28-10) ... (Reading database ... 18882 files and directories currently installed.) Removing autopkgtest-satdep (0) ... autopkgtest [01:19:13]: test init-switch: [----------------------- testbed is running with systemd installing runit-init Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: fgetty getty-run initscripts insserv psmisc startpar sysv-rc Suggested packages: bootchart2 The following packages will be REMOVED: init libpam-systemd systemd-sysv The following NEW packages will be installed: fgetty getty-run initscripts insserv psmisc runit-init startpar sysv-rc WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing! init systemd-sysv (due to init) 0 upgraded, 8 newly installed, 3 to remove and 0 not upgraded. Need to get 399 kB/446 kB of archives. After this operation, 871 kB of additional disk space will be used. Get:1 file:/tmp/autopkgtest.zHJCWY/binaries getty-run 2.1.2-32 [18.9 kB] Get:2 file:/tmp/autopkgtest.zHJCWY/binaries runit-init 2.1.2-32 [27.4 kB] Get:3 http://deb.debian.org/debian unstable/main amd64 insserv amd64 1.18.0-2 [64.8 kB] Get:4 http://deb.debian.org/debian unstable/main amd64 startpar amd64 0.61-1 [20.7 kB] Get:5 http://deb.debian.org/debian unstable/main amd64 sysv-rc all 2.93-8 [71.0 kB] Get:6 http://deb.debian.org/debian unstable/main amd64 fgetty amd64 0.7-6 [22.8 kB] Get:7 http://deb.debian.org/debian unstable/main amd64 initscripts amd64 2.93-8 [93.8 kB] Get:8 http://deb.debian.org/debian unstable/main amd64 psmisc amd64 23.2-1 [126 kB] Fetched 399 kB in 0s (20.9 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18882 files and directories currently installed.) Removing init (1.57) ... Removing libpam-systemd:amd64 (241-5) ... Removing systemd-sysv (241-5) ... Selecting previously unselected package insserv. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18856 files and directories currently installed.) Preparing to unpack .../0-insserv_1.18.0-2_amd64.deb ... Unpacking insserv (1.18.0-2) ... Selecting previously unselected package startpar. Preparing to unpack .../1-startpar_0.61-1_amd64.deb ... Unpacking startpar (0.61-1) ... Selecting previously unselected package sysv-rc. Preparing to unpack .../2-sysv-rc_2.93-8_all.deb ... Unpacking sysv-rc (2.93-8) ... Selecting previously unselected package fgetty. Preparing to unpack .../3-fgetty_0.7-6_amd64.deb ... Unpacking fgetty (0.7-6) ... Selecting previously unselected package getty-run. Preparing to unpack .../4-getty-run.deb ... Unpacking getty-run (2.1.2-32) ... Selecting previously unselected package initscripts. Preparing to unpack .../5-initscripts_2.93-8_amd64.deb ... Unpacking initscripts (2.93-8) ... Selecting previously unselected package psmisc. Preparing to unpack .../6-psmisc_23.2-1_amd64.deb ... Unpacking psmisc (23.2-1) ... Selecting previously unselected package runit-init. Preparing to unpack .../7-runit-init.deb ... Unpacking runit-init (2.1.2-32) ... Setting up psmisc (23.2-1) ... Setting up startpar (0.61-1) ... Setting up insserv (1.18.0-2) ... insserv: FATAL: service mountkernfs has to exists for service udev insserv: FATAL: service urandom has to exists for service networking insserv: FATAL: service mountdevsubfs has to exists for service hwclock insserv: exiting now! Setting up getty-run (2.1.2-32) ... Setting up sysv-rc (2.93-8) ... Setting up fgetty (0.7-6) ... Setting up initscripts (2.93-8) ... Setting up runit-init (2.1.2-32) ... Processing triggers for systemd (241-5) ... enabling the serial getty Done preparing for reboot Killed autopkgtest [01:19:24]: test process requested preparation for reboot with marker runit1 autopkgtest-virt-qemu [01:19:25]: state saved, waiting for testbed to reboot... qemu-system-x86_64: terminating on signal 15 from pid 32397 (/usr/bin/python3) <VirtSubproc>: failure: timed out waiting for "login prompt on ttyS0" autopkgtest [01:20:25]: ERROR: testbed failure: cannot send to testbed: [Errno 32] Broken pipe -- Note, that I send and fetch email in batch, once in a few days. Please, mention in body of your reply when you add or remove recepients.