container-test-debian-13-existing-files
checks.aarch64-linux.container-debian-13-existing-files
· build #39
· raw
1bld3: building i3dm9lxhnxw7p3b7wijgk86zfk51h28v-container-test-debian-13-existing-files.drv2Running type check3Success: no issues found in 1 source file4Linting test script5additionally exposed symbols:6 debian-13-existing-files,7 start_all, subtest, machines, driver, Machine8Starting debian-13-existing-files9[0.1s] Container process started10Waiting for debian-13-existing-files to boot...11Getting container PID for debian-13-existing-files...12Looking for child process of nspawn PID 5213[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.14[debian-13-existing-files] ░ Spawning container debian-13-existing-files on /build/tmphxsyhmkx/debian-13-existing-files.15[debian-13-existing-files] Using default interface naming scheme 'v261'.16[debian-13-existing-files] Network interface name 'vb-debian-13-existing-files' has been changed to 'vb-debian-1HlvG' to fit length constraints.17[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)18[debian-13-existing-files] Detected virtualization systemd-nspawn.19[debian-13-existing-files] Detected architecture arm64.20[debian-13-existing-files] 21[debian-13-existing-files] Welcome to Debian GNU/Linux 13 (trixie)!22[debian-13-existing-files] 23[debian-13-existing-files] Initializing machine ID from container UUID.24[debian-13-existing-files] bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported.25[debian-13-existing-files] Queued start job for default target graphical.target.26[debian-13-existing-files] [ OK ] Created slice system-getty.slice - Slice /system/getty.27[debian-13-existing-files] [ OK ] Created slice system-modprobe.slice - Slice /system/modprobe.28[debian-13-existing-files] [ OK ] Created slice user.slice - User and Session Slice.29[debian-13-existing-files] [ OK ] Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.30[debian-13-existing-files] [ OK ] Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.31[debian-13-existing-files] [ OK ] Reached target paths.target - Path Units.32[debian-13-existing-files] [ OK ] Reached target remote-fs.target - Remote File Systems.33[debian-13-existing-files] [ OK ] Reached target slices.target - Slice Units.34[debian-13-existing-files] [ OK ] Reached target swap.target - Swaps.35[debian-13-existing-files] [ OK ] Listening on systemd-creds.socket - Credential Encryption/Decryption.36[debian-13-existing-files] [ OK ] Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.37[debian-13-existing-files] [ OK ] Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).38[debian-13-existing-files] [ OK ] Listening on systemd-journald.socket - Journal Sockets.39[debian-13-existing-files] [ OK ] Listening on systemd-networkd.socket - Network Service Netlink Socket.40[debian-13-existing-files] Mounting run-lock.mount - Legacy Locks Directory /run/lock...41[debian-13-existing-files] Starting systemd-journald.service - Journal Service...42[debian-13-existing-files] Starting systemd-network-generator.service - Generate network units from Kernel command line...43[debian-13-existing-files] Starting systemd-sysctl.service - Apply Kernel Variables...44[debian-13-existing-files] Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...45[debian-13-existing-files] Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials...46[debian-13-existing-files] [ OK ] Mounted run-lock.mount - Legacy Locks Directory /run/lock.47[debian-13-existing-files] [ OK ] Finished systemd-network-generator.service - Generate network units from Kernel command line.48[debian-13-existing-files] [ OK ] Finished systemd-sysctl.service - Apply Kernel Variables.49[debian-13-existing-files] [ OK ] Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully.50[debian-13-existing-files] [ OK ] Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials.51[debian-13-existing-files] [ OK ] Reached target network-pre.target - Preparation for Network.52[debian-13-existing-files] Starting systemd-sysusers.service - Create System Users...53[debian-13-existing-files] [ OK ] Started systemd-journald.service - Journal Service.54[debian-13-existing-files] Starting systemd-journal-flush.service - Flush Journal to Persistent Storage...55[debian-13-existing-files] [ OK ] Finished systemd-sysusers.service - Create System Users.56[debian-13-existing-files] [ OK ] Reached target time-set.target - System Time Set.57[debian-13-existing-files] Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...58[debian-13-existing-files] [ OK ] Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.59[debian-13-existing-files] [ OK ] Reached target local-fs-pre.target - Preparation for Local File Systems.60[debian-13-existing-files] [ OK ] Reached target local-fs.target - Local File Systems.61[debian-13-existing-files] [ OK ] Listening on systemd-sysext.socket - System Extension Image Management.62[debian-13-existing-files] Starting systemd-networkd.service - Network Configuration...63[debian-13-existing-files] [ OK ] Finished systemd-journal-flush.service - Flush Journal to Persistent Storage.64[debian-13-existing-files] Starting systemd-tmpfiles-setup.service - Create System Files and Directories...65[debian-13-existing-files] [ OK ] Finished systemd-tmpfiles-setup.service - Create System Files and Directories.66[debian-13-existing-files] Starting ldconfig.service - Rebuild Dynamic Linker Cache...67[debian-13-existing-files] Starting systemd-journal-catalog-update.service - Rebuild Journal Catalog...68[debian-13-existing-files] [ OK ] Finished systemd-journal-catalog-update.service - Rebuild Journal Catalog.69[debian-13-existing-files] [ OK ] Finished ldconfig.service - Rebuild Dynamic Linker Cache.70[debian-13-existing-files] Starting systemd-update-done.service - Update is Completed...71[debian-13-existing-files] [ OK ] Finished systemd-update-done.service - Update is Completed.72[debian-13-existing-files] [ OK ] Reached target sysinit.target - System Initialization.73[debian-13-existing-files] [ OK ] Started apt-daily.timer - Daily apt download activities.74[debian-13-existing-files] [ OK ] Started apt-daily-upgrade.timer - Daily apt upgrade and clean activities.75[debian-13-existing-files] [ OK ] Started apt-listchanges.timer - Try hourly to initialize apt-listchanges database for APT.76[debian-13-existing-files] [ OK ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.77[debian-13-existing-files] [ OK ] Started e2scrub_all.timer - Periodic ext4 Online Metadata Check for All Filesystems.78[debian-13-existing-files] [ OK ] Started man-db.timer - Daily man-db regeneration.79[debian-13-existing-files] [ OK ] Started systemd-tmpfiles-clean.timer - Daily Cleanup of Temporary Directories.80[debian-13-existing-files] [ OK ] Reached target timers.target - Timer Units.81[debian-13-existing-files] [ OK ] Listening on dbus.socket - D-Bus System Message Bus Socket.82[debian-13-existing-files] [ OK ] Listening on sshd-unix-export.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Export).83[debian-13-existing-files] [ OK ] Reached target ssh-access.target - SSH Access Available.84[debian-13-existing-files] [ OK ] Listening on sshd-unix-local.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local).85[debian-13-existing-files] [ OK ] Listening on systemd-hostnamed.socket - Hostname Service Socket.86[debian-13-existing-files] [ OK ] Listening on uuidd.socket - UUID daemon activation socket.87[debian-13-existing-files] [ OK ] Reached target sockets.target - Socket Units.88[debian-13-existing-files] [ OK ] Reached target basic.target - Basic System.89[debian-13-existing-files] Starting dbus.service - D-Bus System Message Bus...90[debian-13-existing-files] Starting grub-common.service - Record successful boot for GRUB...91[debian-13-existing-files] Starting systemd-logind.service - User Login Management...92[debian-13-existing-files] [ OK ] Started dbus.service - D-Bus System Message Bus.93[debian-13-existing-files] [ OK ] Finished grub-common.service - Record successful boot for GRUB.94[debian-13-existing-files] [ OK ] Started systemd-networkd.service - Network Configuration.95[debian-13-existing-files] [ OK ] Reached target network.target - Network.96[debian-13-existing-files] Starting ssh.service - OpenBSD Secure Shell server...97[debian-13-existing-files] Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd...98[debian-13-existing-files] Starting systemd-user-sessions.service - Permit User Sessions...99[debian-13-existing-files] [ OK ] Finished systemd-user-sessions.service - Permit User Sessions.100[debian-13-existing-files] [ OK ] Started console-getty.service - Console Getty.101[debian-13-existing-files] [ OK ] Reached target getty.target - Login Prompts.102[debian-13-existing-files] [ OK ] Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd.103[debian-13-existing-files] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server.104[debian-13-existing-files] See 'systemctl status ssh.service' for details.105[debian-13-existing-files] Starting ssh.service - OpenBSD Secure Shell server...106[debian-13-existing-files] [ OK ] Started systemd-logind.service - User Login Management.107[debian-13-existing-files] [ OK ] Started unattended-upgrades.service - Unattended Upgrades Shutdown.108[debian-13-existing-files] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server.109[debian-13-existing-files] See 'systemctl status ssh.service' for details.110[debian-13-existing-files] [ OK ] Reached target multi-user.target - Multi-User System.111[debian-13-existing-files] [ OK ] Reached target graphical.target - Graphical Interface.112[1.0s] Found container PID: 55113Container debian-13-existing-files has PID 55114[0.0s] Container debian-13-existing-files status: running115[0.0s] Container debian-13-existing-files boot complete: running116[1.0s] Boot complete117debian-13-existing-files: Installing Nix via nix-installer118[debian-13-existing-files] 119[debian-13-existing-files] 120[debian-13-existing-files] Debian GNU/Linux 13 debian-13-existing-files pts/0121[debian-13-existing-files] 122debian-13-existing-files: waiting for unit 'nix-daemon.socket'123(finished: waiting for unit 'nix-daemon.socket', in 0.02 seconds)124(finished: Installing Nix via nix-installer, in 4.15 seconds)125[4.2s] Nix installation complete126debian-13-existing-files: Copying profile /nix/store/3mcxc4cq5q5sg7ll5awx6cnfbi3g0ypa-system-manager to container127Copying 150 store paths...128(finished: Copying profile /nix/store/3mcxc4cq5q5sg7ll5awx6cnfbi3g0ypa-system-manager to container, in 3.22 seconds)129[3.2s] Profile copy complete130[8.5s] All containers ready131To attach to container debian-13-existing-files run on the same machine that runs the test:132 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 133debian-13-existing-files: waiting for unit 'multi-user.target'134(finished: waiting for unit 'multi-user.target', in 0.03 seconds)135debian-13-existing-files: must succeed: echo -n 'original copy content' > /etc/force-copy-test136(finished: must succeed: echo -n 'original copy content' > /etc/force-copy-test, in 0.00 seconds)137debian-13-existing-files: must succeed: echo -n 'original symlink content' > /etc/force-symlink-test138(finished: must succeed: echo -n 'original symlink content' > /etc/force-symlink-test, in 0.00 seconds)139debian-13-existing-files: must succeed: echo -n 'do not touch' > /etc/no-replace-test140(finished: must succeed: echo -n 'do not touch' > /etc/no-replace-test, in 0.00 seconds)141debian-13-existing-files: must succeed: mkdir -p /etc/systemd/system/timers.target.wants142(finished: must succeed: mkdir -p /etc/systemd/system/timers.target.wants, in 0.01 seconds)143debian-13-existing-files: must succeed: ln -sf /lib/systemd/system/fake-existing.timer /etc/systemd/system/timers.target.wants/existing.timer144(finished: must succeed: ln -sf /lib/systemd/system/fake-existing.timer /etc/systemd/system/timers.target.wants/existing.timer, in 0.01 seconds)145debian-13-existing-files: must succeed: /nix/store/3mcxc4cq5q5sg7ll5awx6cnfbi3g0ypa-system-manager/bin/activate 2>&1 | tee /tmp/output.log146(finished: must succeed: /nix/store/3mcxc4cq5q5sg7ll5awx6cnfbi3g0ypa-system-manager/bin/activate 2>&1 | tee /tmp/output.log, in 0.50 seconds)147debian-13-existing-files: must succeed: grep -F 'File /etc/no-replace-test already exists' /tmp/output.log148(finished: must succeed: grep -F 'File /etc/no-replace-test already exists' /tmp/output.log, in 0.01 seconds)149debian-13-existing-files: must succeed: cat /etc/no-replace-test150(finished: must succeed: cat /etc/no-replace-test, in 0.01 seconds)151debian-13-existing-files: must fail: test -e /etc/no-replace-test.system-manager-backup152(finished: must fail: test -e /etc/no-replace-test.system-manager-backup, in 0.01 seconds)153debian-13-existing-files: must succeed: cat /etc/force-copy-test154(finished: must succeed: cat /etc/force-copy-test, in 0.01 seconds)155debian-13-existing-files: must succeed: cat /etc/force-copy-test.system-manager-backup156(finished: must succeed: cat /etc/force-copy-test.system-manager-backup, in 0.01 seconds)157debian-13-existing-files: must succeed: test -L /etc/force-symlink-test158(finished: must succeed: test -L /etc/force-symlink-test, in 0.00 seconds)159debian-13-existing-files: must succeed: cat /etc/force-symlink-test160(finished: must succeed: cat /etc/force-symlink-test, in 0.01 seconds)161debian-13-existing-files: must succeed: cat /etc/force-symlink-test.system-manager-backup162(finished: must succeed: cat /etc/force-symlink-test.system-manager-backup, in 0.01 seconds)163debian-13-existing-files: must succeed: test -L /etc/systemd/system/system-manager.target.wants/existing.timer164(finished: must succeed: test -L /etc/systemd/system/system-manager.target.wants/existing.timer, in 0.00 seconds)165debian-13-existing-files: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer166(finished: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer, in 0.01 seconds)167debian-13-existing-files: must succeed: cat /etc/systemd/system/existing.timer168(finished: must succeed: cat /etc/systemd/system/existing.timer, in 0.01 seconds)169debian-13-existing-files: must succeed: /nix/store/3mcxc4cq5q5sg7ll5awx6cnfbi3g0ypa-system-manager/bin/deactivate 2>&1 | tee /tmp/output.log170(finished: must succeed: /nix/store/3mcxc4cq5q5sg7ll5awx6cnfbi3g0ypa-system-manager/bin/deactivate 2>&1 | tee /tmp/output.log, in 0.30 seconds)171debian-13-existing-files: must succeed: ! grep -F 'ERROR' /tmp/output.log172(finished: must succeed: ! grep -F 'ERROR' /tmp/output.log, in 0.01 seconds)173debian-13-existing-files: must succeed: cat /etc/force-copy-test174(finished: must succeed: cat /etc/force-copy-test, in 0.01 seconds)175debian-13-existing-files: must fail: test -e /etc/force-copy-test.system-manager-backup176(finished: must fail: test -e /etc/force-copy-test.system-manager-backup, in 0.00 seconds)177debian-13-existing-files: must succeed: cat /etc/force-symlink-test178(finished: must succeed: cat /etc/force-symlink-test, in 0.01 seconds)179debian-13-existing-files: must fail: test -e /etc/force-symlink-test.system-manager-backup180(finished: must fail: test -e /etc/force-symlink-test.system-manager-backup, in 0.00 seconds)181debian-13-existing-files: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer182(finished: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer, in 0.00 seconds)183debian-13-existing-files: must succeed: cat /etc/no-replace-test184(finished: must succeed: cat /etc/no-replace-test, in 0.01 seconds)