Hi,
Quoting Francesco Poli (2020-01-27 23:24:22)
> I: running --customize-hook directly:
> /usr/share/autopkgtest/setup-commands/setup-testbed
> ${HOME}/Downloads/mmdebstrap.2GP5UNhTac
> /usr/share/autopkgtest/setup-commands/setup-testbed: Attempting to set up
> Debian/Ubuntu apt sources automatically
> /usr/share/autopkgtest/setup-commands/setup-testbed: Distribution assumed
> to resemble Debian
> update-initramfs: Generating /boot/initrd.img-5.4.0-3-amd64
> W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module
> r8169
> [...]
> W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module
> r8169
> cp: failed to access './/mkinitramfs_SqDsE7/lib/systemd/network/': No such
> file or directory
> E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
> update-initramfs: failed for /boot/initrd.img-5.4.0-3-amd64 with 1.
> E: run_chroot failed: E: command failed:
> /usr/share/autopkgtest/setup-commands/setup-testbed
> I: main() received signal PIPE: waiting for setup...
> W: listening on child socket failed: E: received eof on socket
>
> I: removing tempdir ${HOME}/Downloads/mmdebstrap.2GP5UNhTac...
> $ ls -s
> total 0
> 0 debian-unstable.tar
>
> As you can see, I still obtain an empty file.
>
> Did I misunderstand the situation?
> I thought it could work correctly, now...this looks as if the error comes from /usr/share/autopkgtest/setup-commands/setup-testbed. To figure out what goes wrong, maybe try running setup-testbed with sh -x like so: --customize-hook='sh -x /usr/share/autopkgtest/setup-commands/setup-testbed "$1"' Your command works fine on my system, so this must be something specific to your setup. Thanks! cheers, josch
signature.asc
Description: signature

