bld4: building xfixqmha9h9cab96kwpy3dq21irbla8r-container-test-debian-13-existing-files.drv Running type check Success: no issues found in 1 source file Linting test script additionally exposed symbols: debian-13-existing-files, start_all, subtest, machines, driver, Machine Starting debian-13-existing-files [0.1s] Container process started Waiting for debian-13-existing-files to boot... Getting container PID for debian-13-existing-files... Looking for child process of nspawn PID 52 [debian-13-existing-files] Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. [debian-13-existing-files] ░ Spawning container debian-13-existing-files on /build/tmps4rwtmev/debian-13-existing-files. [debian-13-existing-files] Using default interface naming scheme 'v261'. [debian-13-existing-files] Network interface name 'vb-debian-13-existing-files' has been changed to 'vb-debian-1HlvG' to fit length constraints. [debian-13-existing-files] systemd 257.9-1~deb13u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE) [debian-13-existing-files] Detected virtualization systemd-nspawn. [debian-13-existing-files] Detected architecture arm64. [debian-13-existing-files] [debian-13-existing-files] Welcome to Debian GNU/Linux 13 (trixie)! [debian-13-existing-files] [debian-13-existing-files] Initializing machine ID from container UUID. [debian-13-existing-files] bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported. [1.0s] Found container PID: 55 Container debian-13-existing-files has PID 55 [0.0s] Container debian-13-existing-files status: Failed to connect to system scope bus via local transport: No such file or directory [debian-13-existing-files] Queued start job for default target graphical.target. [debian-13-existing-files] [ OK ] Created slice system-getty.slice - Slice /system/getty. [debian-13-existing-files] [ OK ] Created slice system-modprobe.slice - Slice /system/modprobe. [debian-13-existing-files] [ OK ] Created slice user.slice - User and Session Slice. [debian-13-existing-files] [ OK ] Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch. [debian-13-existing-files] [ OK ] Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [debian-13-existing-files] [ OK ] Reached target paths.target - Path Units. [debian-13-existing-files] [ OK ] Reached target remote-fs.target - Remote File Systems. [debian-13-existing-files] [ OK ] Reached target slices.target - Slice Units. [debian-13-existing-files] [ OK ] Reached target swap.target - Swaps. [debian-13-existing-files] [ OK ] Listening on systemd-creds.socket - Credential Encryption/Decryption. [debian-13-existing-files] [ OK ] Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [debian-13-existing-files] [ OK ] Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [debian-13-existing-files] [ OK ] Listening on systemd-journald.socket - Journal Sockets. [debian-13-existing-files] [ OK ] Listening on systemd-networkd.socket - Network Service Netlink Socket. [debian-13-existing-files] Mounting run-lock.mount - Legacy Locks Directory /run/lock... [debian-13-existing-files] Starting systemd-journald.service - Journal Service... [debian-13-existing-files] Starting systemd-network-generator.service - Generate network units from Kernel command line... [debian-13-existing-files] Starting systemd-sysctl.service - Apply Kernel Variables... [debian-13-existing-files] Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully... [debian-13-existing-files] Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials... [debian-13-existing-files] [ OK ] Started systemd-journald.service - Journal Service. [debian-13-existing-files] [ OK ] Mounted run-lock.mount - Legacy Locks Directory /run/lock. [debian-13-existing-files] Starting systemd-journal-flush.service - Flush Journal to Persistent Storage... [debian-13-existing-files] [ OK ] Finished systemd-network-generator.service - Generate network units from Kernel command line. [debian-13-existing-files] [ OK ] Finished systemd-sysctl.service - Apply Kernel Variables. [debian-13-existing-files] [ OK ] Reached target network-pre.target - Preparation for Network. [debian-13-existing-files] [ OK ] Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials. [debian-13-existing-files] [ OK ] Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully. [debian-13-existing-files] Starting systemd-sysusers.service - Create System Users... [debian-13-existing-files] [ OK ] Finished systemd-journal-flush.service - Flush Journal to Persistent Storage. [debian-13-existing-files] [ OK ] Finished systemd-sysusers.service - Create System Users. [debian-13-existing-files] [ OK ] Reached target time-set.target - System Time Set. [debian-13-existing-files] Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev... [debian-13-existing-files] [ OK ] Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev. [debian-13-existing-files] [ OK ] Reached target local-fs-pre.target - Preparation for Local File Systems. [debian-13-existing-files] [ OK ] Reached target local-fs.target - Local File Systems. [debian-13-existing-files] [ OK ] Listening on systemd-sysext.socket - System Extension Image Management. [debian-13-existing-files] Starting systemd-tmpfiles-setup.service - Create System Files and Directories... [debian-13-existing-files] Starting systemd-networkd.service - Network Configuration... [debian-13-existing-files] [ OK ] Finished systemd-tmpfiles-setup.service - Create System Files and Directories. [debian-13-existing-files] Starting ldconfig.service - Rebuild Dynamic Linker Cache... [debian-13-existing-files] Starting systemd-journal-catalog-update.service - Rebuild Journal Catalog... [debian-13-existing-files] [ OK ] Finished systemd-journal-catalog-update.service - Rebuild Journal Catalog. [1.1s] Container debian-13-existing-files status: initializing [debian-13-existing-files] [ OK ] Started systemd-networkd.service - Network Configuration. [debian-13-existing-files] [ OK ] Reached target network.target - Network. [debian-13-existing-files] Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd... [debian-13-existing-files] [ OK ] Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd. [debian-13-existing-files] [ OK ] Finished ldconfig.service - Rebuild Dynamic Linker Cache. [debian-13-existing-files] Starting systemd-update-done.service - Update is Completed... [debian-13-existing-files] [ OK ] Finished systemd-update-done.service - Update is Completed. [debian-13-existing-files] [ OK ] Reached target sysinit.target - System Initialization. [debian-13-existing-files] [ OK ] Started apt-daily.timer - Daily apt download activities. [debian-13-existing-files] [ OK ] Started apt-daily-upgrade.timer - Daily apt upgrade and clean activities. [debian-13-existing-files] [ OK ] Started apt-listchanges.timer - Try hourly to initialize apt-listchanges database for APT. [debian-13-existing-files] [ OK ] Started dpkg-db-backup.timer - Daily dpkg database backup timer. [debian-13-existing-files] [ OK ] Started e2scrub_all.timer - Periodic ext4 Online Metadata Check for All Filesystems. [debian-13-existing-files] [ OK ] Started man-db.timer - Daily man-db regeneration. [debian-13-existing-files] [ OK ] Started systemd-tmpfiles-clean.timer - Daily Cleanup of Temporary Directories. [debian-13-existing-files] [ OK ] Reached target timers.target - Timer Units. [debian-13-existing-files] [ OK ] Listening on dbus.socket - D-Bus System Message Bus Socket. [debian-13-existing-files] [ OK ] Listening on sshd-unix-export.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Export). [debian-13-existing-files] [ OK ] Reached target ssh-access.target - SSH Access Available. [debian-13-existing-files] [ OK ] Listening on sshd-unix-local.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local). [debian-13-existing-files] [ OK ] Listening on systemd-hostnamed.socket - Hostname Service Socket. [debian-13-existing-files] [ OK ] Listening on uuidd.socket - UUID daemon activation socket. [debian-13-existing-files] [ OK ] Reached target sockets.target - Socket Units. [debian-13-existing-files] [ OK ] Reached target basic.target - Basic System. [debian-13-existing-files] Starting dbus.service - D-Bus System Message Bus... [debian-13-existing-files] Starting grub-common.service - Record successful boot for GRUB... [debian-13-existing-files] Starting ssh.service - OpenBSD Secure Shell server... [debian-13-existing-files] Starting systemd-logind.service - User Login Management... [debian-13-existing-files] Starting systemd-user-sessions.service - Permit User Sessions... [debian-13-existing-files] [ OK ] Started dbus.service - D-Bus System Message Bus. [debian-13-existing-files] [ OK ] Finished systemd-user-sessions.service - Permit User Sessions. [debian-13-existing-files] [ OK ] Started console-getty.service - Console Getty. [debian-13-existing-files] [ OK ] Reached target getty.target - Login Prompts. [debian-13-existing-files] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server. [debian-13-existing-files] See 'systemctl status ssh.service' for details. [2.2s] Container debian-13-existing-files status: starting [debian-13-existing-files] [ OK ] Finished grub-common.service - Record successful boot for GRUB. [debian-13-existing-files] Starting ssh.service - OpenBSD Secure Shell server... [debian-13-existing-files] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server. [debian-13-existing-files] See 'systemctl status ssh.service' for details. [debian-13-existing-files] Starting ssh.service - OpenBSD Secure Shell server... [debian-13-existing-files] [ OK ] Started systemd-logind.service - User Login Management. [debian-13-existing-files] [ OK ] Started unattended-upgrades.service - Unattended Upgrades Shutdown. [debian-13-existing-files] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server. [debian-13-existing-files] See 'systemctl status ssh.service' for details. [debian-13-existing-files] [ OK ] Reached target multi-user.target - Multi-User System. [debian-13-existing-files] [ OK ] Reached target graphical.target - Graphical Interface. [3.2s] Container debian-13-existing-files status: running [3.2s] Container debian-13-existing-files boot complete: running [4.2s] Boot complete debian-13-existing-files: Installing Nix via nix-installer [debian-13-existing-files] [debian-13-existing-files] [debian-13-existing-files] Debian GNU/Linux 13 debian-13-existing-files pts/0 [debian-13-existing-files] debian-13-existing-files: waiting for unit 'nix-daemon.socket' (finished: waiting for unit 'nix-daemon.socket', in 0.10 seconds) (finished: Installing Nix via nix-installer, in 17.73 seconds) [17.7s] Nix installation complete debian-13-existing-files: Copying profile /nix/store/z08szm2dajksvjv3imhkljn0cf2k77wr-system-manager to container Copying 149 store paths... (finished: Copying profile /nix/store/z08szm2dajksvjv3imhkljn0cf2k77wr-system-manager to container, in 11.02 seconds) [11.0s] Profile copy complete [33.1s] All containers ready To attach to container debian-13-existing-files run on the same machine that runs the test: sudo nsenter --target 55 --mount --uts --ipc --net --pid --cgroup -- /usr/bin/env PATH=/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin /bin/bash debian-13-existing-files: waiting for unit 'multi-user.target' (finished: waiting for unit 'multi-user.target', in 0.08 seconds) debian-13-existing-files: must succeed: echo -n 'original copy content' > /etc/force-copy-test (finished: must succeed: echo -n 'original copy content' > /etc/force-copy-test, in 0.03 seconds) debian-13-existing-files: must succeed: echo -n 'original symlink content' > /etc/force-symlink-test (finished: must succeed: echo -n 'original symlink content' > /etc/force-symlink-test, in 0.03 seconds) debian-13-existing-files: must succeed: echo -n 'do not touch' > /etc/no-replace-test (finished: must succeed: echo -n 'do not touch' > /etc/no-replace-test, in 0.02 seconds) debian-13-existing-files: must succeed: mkdir -p /etc/systemd/system/timers.target.wants (finished: must succeed: mkdir -p /etc/systemd/system/timers.target.wants, in 0.02 seconds) debian-13-existing-files: must succeed: ln -sf /lib/systemd/system/fake-existing.timer /etc/systemd/system/timers.target.wants/existing.timer (finished: must succeed: ln -sf /lib/systemd/system/fake-existing.timer /etc/systemd/system/timers.target.wants/existing.timer, in 0.05 seconds) debian-13-existing-files: must succeed: /nix/store/z08szm2dajksvjv3imhkljn0cf2k77wr-system-manager/bin/activate 2>&1 | tee /tmp/output.log (finished: must succeed: /nix/store/z08szm2dajksvjv3imhkljn0cf2k77wr-system-manager/bin/activate 2>&1 | tee /tmp/output.log, in 4.57 seconds) debian-13-existing-files: must succeed: grep -F 'File /etc/no-replace-test already exists' /tmp/output.log (finished: must succeed: grep -F 'File /etc/no-replace-test already exists' /tmp/output.log, in 0.11 seconds) debian-13-existing-files: must succeed: cat /etc/no-replace-test (finished: must succeed: cat /etc/no-replace-test, in 0.04 seconds) debian-13-existing-files: must fail: test -e /etc/no-replace-test.system-manager-backup (finished: must fail: test -e /etc/no-replace-test.system-manager-backup, in 0.03 seconds) debian-13-existing-files: must succeed: cat /etc/force-copy-test (finished: must succeed: cat /etc/force-copy-test, in 0.06 seconds) debian-13-existing-files: must succeed: cat /etc/force-copy-test.system-manager-backup (finished: must succeed: cat /etc/force-copy-test.system-manager-backup, in 0.02 seconds) debian-13-existing-files: must succeed: test -L /etc/force-symlink-test (finished: must succeed: test -L /etc/force-symlink-test, in 0.03 seconds) debian-13-existing-files: must succeed: cat /etc/force-symlink-test (finished: must succeed: cat /etc/force-symlink-test, in 0.02 seconds) debian-13-existing-files: must succeed: cat /etc/force-symlink-test.system-manager-backup (finished: must succeed: cat /etc/force-symlink-test.system-manager-backup, in 0.03 seconds) debian-13-existing-files: must succeed: test -L /etc/systemd/system/system-manager.target.wants/existing.timer (finished: must succeed: test -L /etc/systemd/system/system-manager.target.wants/existing.timer, in 0.01 seconds) debian-13-existing-files: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer (finished: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer, in 0.02 seconds) debian-13-existing-files: must succeed: cat /etc/systemd/system/existing.timer (finished: must succeed: cat /etc/systemd/system/existing.timer, in 0.02 seconds) debian-13-existing-files: must succeed: /nix/store/z08szm2dajksvjv3imhkljn0cf2k77wr-system-manager/bin/deactivate 2>&1 | tee /tmp/output.log (finished: must succeed: /nix/store/z08szm2dajksvjv3imhkljn0cf2k77wr-system-manager/bin/deactivate 2>&1 | tee /tmp/output.log, in 1.45 seconds) debian-13-existing-files: must succeed: ! grep -F 'ERROR' /tmp/output.log (finished: must succeed: ! grep -F 'ERROR' /tmp/output.log, in 0.02 seconds) debian-13-existing-files: must succeed: cat /etc/force-copy-test (finished: must succeed: cat /etc/force-copy-test, in 0.01 seconds) debian-13-existing-files: must fail: test -e /etc/force-copy-test.system-manager-backup (finished: must fail: test -e /etc/force-copy-test.system-manager-backup, in 0.01 seconds) debian-13-existing-files: must succeed: cat /etc/force-symlink-test (finished: must succeed: cat /etc/force-symlink-test, in 0.00 seconds) debian-13-existing-files: must fail: test -e /etc/force-symlink-test.system-manager-backup (finished: must fail: test -e /etc/force-symlink-test.system-manager-backup, in 0.00 seconds) debian-13-existing-files: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer (finished: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer, in 0.01 seconds) debian-13-existing-files: must succeed: cat /etc/no-replace-test (finished: must succeed: cat /etc/no-replace-test, in 0.01 seconds)