Running type check Success: no issues found in 1 source file Linting test script additionally exposed symbols: debian-13-state-v0-v1-migration-deactivate, start_all, subtest, machines, driver, Machine Starting debian-13-state-v0-v1-migration-deactivate [0.0s] Container process started Waiting for debian-13-state-v0-v1-migration-deactivate to boot... Getting container PID for debian-13-state-v0-v1-migration-deactivate... Looking for child process of nspawn PID 52 [debian-13-state-v0-v1-migration-deactivate] 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-state-v0-v1-migration-deactivate] ░ Spawning container debian-13-state-v0-v1-migration-deactivate on /build/tmps6e381qp/debian-13-state-v0-v1-migration-deactivate. [debian-13-state-v0-v1-migration-deactivate] Using default interface naming scheme 'v261'. [debian-13-state-v0-v1-migration-deactivate] Network interface name 'vb-debian-13-state-v0-v1-migration-deactivate' has been changed to 'vb-debian-1eZSy' to fit length constraints. [debian-13-state-v0-v1-migration-deactivate] 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-state-v0-v1-migration-deactivate] Detected virtualization systemd-nspawn. [debian-13-state-v0-v1-migration-deactivate] Detected architecture x86-64. [debian-13-state-v0-v1-migration-deactivate] [debian-13-state-v0-v1-migration-deactivate] Welcome to Debian GNU/Linux 13 (trixie)! [debian-13-state-v0-v1-migration-deactivate] [debian-13-state-v0-v1-migration-deactivate] Initializing machine ID from container UUID. [debian-13-state-v0-v1-migration-deactivate] bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported. [debian-13-state-v0-v1-migration-deactivate] Queued start job for default target graphical.target. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Created slice system-getty.slice - Slice /system/getty. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Created slice system-modprobe.slice - Slice /system/modprobe. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Created slice user.slice - User and Session Slice. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target paths.target - Path Units. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target remote-fs.target - Remote File Systems. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target slices.target - Slice Units. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target swap.target - Swaps. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on systemd-creds.socket - Credential Encryption/Decryption. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on systemd-journald.socket - Journal Sockets. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on systemd-networkd.socket - Network Service Netlink Socket. [debian-13-state-v0-v1-migration-deactivate] Mounting run-lock.mount - Legacy Locks Directory /run/lock... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-journald.service - Journal Service... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-network-generator.service - Generate network units from Kernel command line... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-sysctl.service - Apply Kernel Variables... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Mounted run-lock.mount - Legacy Locks Directory /run/lock. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-network-generator.service - Generate network units from Kernel command line. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-sysctl.service - Apply Kernel Variables. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target network-pre.target - Preparation for Network. [debian-13-state-v0-v1-migration-deactivate] Starting systemd-sysusers.service - Create System Users... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started systemd-journald.service - Journal Service. [debian-13-state-v0-v1-migration-deactivate] Starting systemd-journal-flush.service - Flush Journal to Persistent Storage... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-sysusers.service - Create System Users. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target time-set.target - System Time Set. [debian-13-state-v0-v1-migration-deactivate] Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target local-fs-pre.target - Preparation for Local File Systems. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target local-fs.target - Local File Systems. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on systemd-sysext.socket - System Extension Image Management. [debian-13-state-v0-v1-migration-deactivate] Starting systemd-networkd.service - Network Configuration... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-journal-flush.service - Flush Journal to Persistent Storage. [debian-13-state-v0-v1-migration-deactivate] Starting systemd-tmpfiles-setup.service - Create System Files and Directories... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-tmpfiles-setup.service - Create System Files and Directories. [debian-13-state-v0-v1-migration-deactivate] Starting ldconfig.service - Rebuild Dynamic Linker Cache... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-journal-catalog-update.service - Rebuild Journal Catalog... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-journal-catalog-update.service - Rebuild Journal Catalog. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished ldconfig.service - Rebuild Dynamic Linker Cache. [debian-13-state-v0-v1-migration-deactivate] Starting systemd-update-done.service - Update is Completed... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-update-done.service - Update is Completed. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target sysinit.target - System Initialization. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started apt-daily.timer - Daily apt download activities. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started apt-daily-upgrade.timer - Daily apt upgrade and clean activities. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started apt-listchanges.timer - Try hourly to initialize apt-listchanges database for APT. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started dpkg-db-backup.timer - Daily dpkg database backup timer. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started e2scrub_all.timer - Periodic ext4 Online Metadata Check for All Filesystems. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started man-db.timer - Daily man-db regeneration. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started systemd-tmpfiles-clean.timer - Daily Cleanup of Temporary Directories. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target timers.target - Timer Units. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on dbus.socket - D-Bus System Message Bus Socket. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on sshd-unix-export.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Export). [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target ssh-access.target - SSH Access Available. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on sshd-unix-local.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local). [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on systemd-hostnamed.socket - Hostname Service Socket. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Listening on uuidd.socket - UUID daemon activation socket. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target sockets.target - Socket Units. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target basic.target - Basic System. [debian-13-state-v0-v1-migration-deactivate] Starting dbus.service - D-Bus System Message Bus... [debian-13-state-v0-v1-migration-deactivate] Starting grub-common.service - Record successful boot for GRUB... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-logind.service - User Login Management... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started dbus.service - D-Bus System Message Bus. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished grub-common.service - Record successful boot for GRUB. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started systemd-networkd.service - Network Configuration. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target network.target - Network. [debian-13-state-v0-v1-migration-deactivate] Starting ssh.service - OpenBSD Secure Shell server... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd... [debian-13-state-v0-v1-migration-deactivate] Starting systemd-user-sessions.service - Permit User Sessions... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-user-sessions.service - Permit User Sessions. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started console-getty.service - Console Getty. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target getty.target - Login Prompts. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd. [debian-13-state-v0-v1-migration-deactivate] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server. [debian-13-state-v0-v1-migration-deactivate] See 'systemctl status ssh.service' for details. [debian-13-state-v0-v1-migration-deactivate] Starting ssh.service - OpenBSD Secure Shell server... [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started systemd-logind.service - User Login Management. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Started unattended-upgrades.service - Unattended Upgrades Shutdown. [debian-13-state-v0-v1-migration-deactivate] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server. [debian-13-state-v0-v1-migration-deactivate] See 'systemctl status ssh.service' for details. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target multi-user.target - Multi-User System. [debian-13-state-v0-v1-migration-deactivate] [ OK ] Reached target graphical.target - Graphical Interface. [1.0s] Found container PID: 55 Container debian-13-state-v0-v1-migration-deactivate has PID 55 [0.0s] Container debian-13-state-v0-v1-migration-deactivate status: running [0.0s] Container debian-13-state-v0-v1-migration-deactivate boot complete: running [1.0s] Boot complete debian-13-state-v0-v1-migration-deactivate: Installing Nix via nix-installer [debian-13-state-v0-v1-migration-deactivate] [debian-13-state-v0-v1-migration-deactivate] [debian-13-state-v0-v1-migration-deactivate] Debian GNU/Linux 13 debian-13-state-v0-v1-migration-deactivate pts/0 [debian-13-state-v0-v1-migration-deactivate] debian-13-state-v0-v1-migration-deactivate: waiting for unit 'nix-daemon.socket' (finished: waiting for unit 'nix-daemon.socket', in 0.01 seconds) (finished: Installing Nix via nix-installer, in 2.39 seconds) [2.4s] Nix installation complete debian-13-state-v0-v1-migration-deactivate: Copying profile /nix/store/4vx8laps97x0bwwf1ksvd33l72inba5f-system-manager to container Copying 291 store paths... (finished: Copying profile /nix/store/4vx8laps97x0bwwf1ksvd33l72inba5f-system-manager to container, in 2.44 seconds) [2.4s] Profile copy complete [5.9s] All containers ready To attach to container debian-13-state-v0-v1-migration-deactivate 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-state-v0-v1-migration-deactivate: waiting for unit 'multi-user.target' (finished: waiting for unit 'multi-user.target', in 0.01 seconds) debian-13-state-v0-v1-migration-deactivate: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate (finished: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate, in 0.26 seconds) debian-13-state-v0-v1-migration-deactivate: waiting for unit 'system-manager.target' (finished: waiting for unit 'system-manager.target', in 0.01 seconds) subtest: Verify correct files are created (finished: subtest: Verify correct files are created, in 0.04 seconds) debian-13-state-v0-v1-migration-deactivate: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate (finished: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate, in 0.44 seconds) debian-13-state-v0-v1-migration-deactivate: must succeed: /nix/store/4vx8laps97x0bwwf1ksvd33l72inba5f-system-manager/bin/deactivate (finished: must succeed: /nix/store/4vx8laps97x0bwwf1ksvd33l72inba5f-system-manager/bin/deactivate, in 0.37 seconds) subtest: v1 deactivation restores the backups from a v0 generated state debian-13-state-v0-v1-migration-deactivate: must succeed: test -f /etc/b/bar (finished: must succeed: test -f /etc/b/bar, in 0.00 seconds) debian-13-state-v0-v1-migration-deactivate: must succeed: test -f /etc/b/link (finished: must succeed: test -f /etc/b/link, in 0.00 seconds) (finished: subtest: v1 deactivation restores the backups from a v0 generated state, in 0.02 seconds)