container-test-ubuntu-22-04-existing-files
checks.x86_64-linux.container-ubuntu-22_04-existing-files
· build #63
· raw
1Running type check2Success: no issues found in 1 source file3Linting test script4additionally exposed symbols:5 ubuntu-22-04-existing-files,6 start_all, subtest, machines, driver, Machine7Starting ubuntu-22-04-existing-files8[0.0s] Container process started9Waiting for ubuntu-22-04-existing-files to boot...10Getting container PID for ubuntu-22-04-existing-files...11Looking for child process of nspawn PID 5212[ubuntu-22-04-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.13[ubuntu-22-04-existing-files] ░ Spawning container ubuntu-22-04-existing-files on /build/tmp4c3qhbmi/ubuntu-22-04-existing-files.14[ubuntu-22-04-existing-files] Using default interface naming scheme 'v261'.15[ubuntu-22-04-existing-files] Network interface name 'vb-ubuntu-22-04-existing-files' has been changed to 'vb-ubuntu-2biiy' to fit length constraints.16[ubuntu-22-04-existing-files] systemd 249.11-0ubuntu3.22 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)17[ubuntu-22-04-existing-files] Detected virtualization systemd-nspawn.18[ubuntu-22-04-existing-files] Detected architecture x86-64.19[ubuntu-22-04-existing-files] 20[ubuntu-22-04-existing-files] Welcome to Ubuntu 22.04.5 LTS!21[ubuntu-22-04-existing-files] 22[ubuntu-22-04-existing-files] Hostname set to <ubuntu>.23[ubuntu-22-04-existing-files] Initializing machine ID from container UUID.24[ubuntu-22-04-existing-files] Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.25[ubuntu-22-04-existing-files] Queued start job for default target Graphical Interface.26[ubuntu-22-04-existing-files] [ OK ] Created slice Slice /system/modprobe.27[ubuntu-22-04-existing-files] [ OK ] Created slice User and Session Slice.28[ubuntu-22-04-existing-files] [ OK ] Started Forward Password Requests to Wall Directory Watch.29[ubuntu-22-04-existing-files] [ OK ] Reached target Slice Units.30[ubuntu-22-04-existing-files] [ OK ] Reached target Swaps.31[ubuntu-22-04-existing-files] [ OK ] Reached target Local Verity Protected Volumes.32[ubuntu-22-04-existing-files] [ OK ] Listening on Device-mapper event daemon FIFOs.33[ubuntu-22-04-existing-files] [ OK ] Listening on LVM2 poll daemon socket.34[ubuntu-22-04-existing-files] [ OK ] Listening on Syslog Socket.35[ubuntu-22-04-existing-files] [ OK ] Listening on initctl Compatibility Named Pipe.36[ubuntu-22-04-existing-files] [ OK ] Listening on Journal Socket (/dev/log).37[ubuntu-22-04-existing-files] [ OK ] Listening on Journal Socket.38[ubuntu-22-04-existing-files] [ OK ] Listening on Network Service Netlink Socket.39[ubuntu-22-04-existing-files] Starting Journal Service...40[ubuntu-22-04-existing-files] Starting Set the console keyboard layout...41[ubuntu-22-04-existing-files] Starting Apply Kernel Variables...42[ubuntu-22-04-existing-files] Starting Create System Users...43[ubuntu-22-04-existing-files] [ OK ] Finished Apply Kernel Variables.44[ubuntu-22-04-existing-files] [ OK ] Started Journal Service.45[ubuntu-22-04-existing-files] Starting Flush Journal to Persistent Storage...46[ubuntu-22-04-existing-files] [ OK ] Finished Set the console keyboard layout.47[ubuntu-22-04-existing-files] [ OK ] Finished Create System Users.48[ubuntu-22-04-existing-files] Starting Create Static Device Nodes in /dev...49[ubuntu-22-04-existing-files] [ OK ] Finished Create Static Device Nodes in /dev.50[ubuntu-22-04-existing-files] [ OK ] Reached target Preparation for Local File Systems.51[ubuntu-22-04-existing-files] [ OK ] Reached target Local File Systems.52[ubuntu-22-04-existing-files] Starting Set console font and keymap...53[ubuntu-22-04-existing-files] Starting Create final runtime dir for shutdown pivot root...54[ubuntu-22-04-existing-files] Starting Tell Plymouth To Write Out Runtime Data...55[ubuntu-22-04-existing-files] [ OK ] Started Dispatch Password Requests to Console Directory Watch.56[ubuntu-22-04-existing-files] [ OK ] Reached target Local Encrypted Volumes.57[ubuntu-22-04-existing-files] Starting Uncomplicated firewall...58[ubuntu-22-04-existing-files] [ OK ] Finished Create final runtime dir for shutdown pivot root.59[ubuntu-22-04-existing-files] [ OK ] Finished Uncomplicated firewall.60[ubuntu-22-04-existing-files] [ OK ] Reached target Preparation for Network.61[ubuntu-22-04-existing-files] Starting Network Configuration...62[ubuntu-22-04-existing-files] [ OK ] Finished Tell Plymouth To Write Out Runtime Data.63[ubuntu-22-04-existing-files] [ OK ] Finished Flush Journal to Persistent Storage.64[ubuntu-22-04-existing-files] Starting Create Volatile Files and Directories...65[ubuntu-22-04-existing-files] [ OK ] Finished Create Volatile Files and Directories.66[ubuntu-22-04-existing-files] [ OK ] Reached target System Time Set.67[ubuntu-22-04-existing-files] Starting Record System Boot/Shutdown in UTMP...68[ubuntu-22-04-existing-files] [ OK ] Finished Record System Boot/Shutdown in UTMP.69[ubuntu-22-04-existing-files] [ OK ] Reached target System Initialization.70[ubuntu-22-04-existing-files] [ OK ] Started Daily apt download activities.71[ubuntu-22-04-existing-files] [ OK ] Started Daily apt upgrade and clean activities.72[ubuntu-22-04-existing-files] [ OK ] Started Daily dpkg database backup timer.73[ubuntu-22-04-existing-files] [ OK ] Started Periodic ext4 Online Metadata Check for All Filesystems.74[ubuntu-22-04-existing-files] [ OK ] Started Daily rotation of log files.75[ubuntu-22-04-existing-files] [ OK ] Started Daily man-db regeneration.76[ubuntu-22-04-existing-files] [ OK ] Started Message of the Day.77[ubuntu-22-04-existing-files] [ OK ] Started Daily Cleanup of Temporary Directories.78[ubuntu-22-04-existing-files] [ OK ] Reached target Path Units.79[ubuntu-22-04-existing-files] [ OK ] Listening on Unix socket for apport crash forwarding.80[ubuntu-22-04-existing-files] [ OK ] Listening on D-Bus System Message Bus Socket.81[ubuntu-22-04-existing-files] [ OK ] Listening on Open-iSCSI iscsid Socket.82[ubuntu-22-04-existing-files] [ OK ] Listening on UUID daemon activation socket.83[ubuntu-22-04-existing-files] [ OK ] Reached target Socket Units.84[ubuntu-22-04-existing-files] [ OK ] Reached target Basic System.85[ubuntu-22-04-existing-files] [ OK ] Started D-Bus System Message Bus.86[ubuntu-22-04-existing-files] [ OK ] Started Save initial kernel messages after boot.87[ubuntu-22-04-existing-files] Starting Dispatcher daemon for systemd-networkd...88[ubuntu-22-04-existing-files] Starting System Logging Service...89[ubuntu-22-04-existing-files] Starting User Login Management...90[ubuntu-22-04-existing-files] [ OK ] Started System Logging Service.91[ubuntu-22-04-existing-files] [ OK ] Started Dispatcher daemon for systemd-networkd.92[1.0s] Found container PID: 5593Container ubuntu-22-04-existing-files has PID 5594[0.0s] Container ubuntu-22-04-existing-files status: starting95[ubuntu-22-04-existing-files] [ OK ] Finished Set console font and keymap.96[ubuntu-22-04-existing-files] [* ] (1 of 2) A start job is running for…work Configuration (2s / 1min 30s)97[ubuntu-22-04-existing-files] 98[ubuntu-22-04-existing-files] [** ] (1 of 2) A start job is running for…work Configuration (3s / 1min 30s)99[ubuntu-22-04-existing-files] 100[ubuntu-22-04-existing-files] [*** ] (1 of 2) A start job is running for…work Configuration (3s / 1min 30s)101[ubuntu-22-04-existing-files] 102[ubuntu-22-04-existing-files] [ OK ] Started Network Configuration.103[ubuntu-22-04-existing-files] [ OK ] Reached target Network.104[ubuntu-22-04-existing-files] [ OK ] Reached target Network is Online.105[ubuntu-22-04-existing-files] [ OK ] Started Download data for packages …at failed at package install time.106[ubuntu-22-04-existing-files] [ OK ] Started Check to see whether there …a new version of Ubuntu available.107[ubuntu-22-04-existing-files] [ OK ] Reached target Timer Units.108[ubuntu-22-04-existing-files] [ OK ] Reached target Preparation for Remote File Systems.109[ubuntu-22-04-existing-files] [ OK ] Reached target Remote File Systems.110[ubuntu-22-04-existing-files] Starting LSB: automatic crash report generation...111[ubuntu-22-04-existing-files] [ OK ] Finished Availability of block devices.112[ubuntu-22-04-existing-files] [ OK ] Started Regular background program processing daemon.113[ubuntu-22-04-existing-files] Starting OpenBSD Secure Shell server...114[ubuntu-22-04-existing-files] Starting Permit User Sessions...115[ubuntu-22-04-existing-files] [ OK ] Finished Permit User Sessions.116[ubuntu-22-04-existing-files] Starting Hold until boot process finishes up...117[ubuntu-22-04-existing-files] Starting Terminate Plymouth Boot Screen...118[ubuntu-22-04-existing-files] [ OK ] Finished Hold until boot process finishes up.119[ubuntu-22-04-existing-files] [ OK ] Started Console Getty.120[ubuntu-22-04-existing-files] [ OK ] Created slice Slice /system/getty.121[ubuntu-22-04-existing-files] [ OK ] Reached target Login Prompts.122[ubuntu-22-04-existing-files] [ OK ] Started LSB: automatic crash report generation.123[ubuntu-22-04-existing-files] [ OK ] Finished Terminate Plymouth Boot Screen.124[ubuntu-22-04-existing-files] [FAILED] Failed to start OpenBSD Secure Shell server.125[ubuntu-22-04-existing-files] See 'systemctl status ssh.service' for details.126[ubuntu-22-04-existing-files] [ OK ] Stopped OpenBSD Secure Shell server.127[ubuntu-22-04-existing-files] Starting OpenBSD Secure Shell server...128[ubuntu-22-04-existing-files] [FAILED] Failed to start OpenBSD Secure Shell server.129[ubuntu-22-04-existing-files] See 'systemctl status ssh.service' for details.130[ubuntu-22-04-existing-files] [ OK ] Stopped OpenBSD Secure Shell server.131[ubuntu-22-04-existing-files] Starting OpenBSD Secure Shell server...132[ubuntu-22-04-existing-files] [ OK ] Started User Login Management.133[ubuntu-22-04-existing-files] [ OK ] Started Unattended Upgrades Shutdown.134[ubuntu-22-04-existing-files] [FAILED] Failed to start OpenBSD Secure Shell server.135[ubuntu-22-04-existing-files] See 'systemctl status ssh.service' for details.136[ubuntu-22-04-existing-files] [ OK ] Reached target Multi-User System.137[ubuntu-22-04-existing-files] [ OK ] Reached target Graphical Interface.138[ubuntu-22-04-existing-files] Starting Record Runlevel Change in UTMP...139[ubuntu-22-04-existing-files] [ OK ] Finished Record Runlevel Change in UTMP.140[4.0s] Container ubuntu-22-04-existing-files status: running141[4.0s] Container ubuntu-22-04-existing-files boot complete: running142[5.0s] Boot complete143ubuntu-22-04-existing-files: Installing Nix via nix-installer144[ubuntu-22-04-existing-files] 145[ubuntu-22-04-existing-files] 146[ubuntu-22-04-existing-files] Ubuntu 22.04.5 LTS ubuntu console147[ubuntu-22-04-existing-files] 148ubuntu-22-04-existing-files: waiting for unit 'nix-daemon.socket'149(finished: waiting for unit 'nix-daemon.socket', in 0.01 seconds)150(finished: Installing Nix via nix-installer, in 4.33 seconds)151[4.3s] Nix installation complete152ubuntu-22-04-existing-files: Copying profile /nix/store/cx67i6ksxfryv94zys62gdqf31w85nsl-system-manager to container153Copying 151 store paths...154(finished: Copying profile /nix/store/cx67i6ksxfryv94zys62gdqf31w85nsl-system-manager to container, in 4.59 seconds)155[4.6s] Profile copy complete156[14.0s] All containers ready157To attach to container ubuntu-22-04-existing-files run on the same machine that runs the test:158 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 159ubuntu-22-04-existing-files: waiting for unit 'multi-user.target'160(finished: waiting for unit 'multi-user.target', in 0.02 seconds)161ubuntu-22-04-existing-files: must succeed: echo -n 'original copy content' > /etc/force-copy-test162(finished: must succeed: echo -n 'original copy content' > /etc/force-copy-test, in 0.00 seconds)163ubuntu-22-04-existing-files: must succeed: echo -n 'original symlink content' > /etc/force-symlink-test164(finished: must succeed: echo -n 'original symlink content' > /etc/force-symlink-test, in 0.00 seconds)165ubuntu-22-04-existing-files: must succeed: echo -n 'do not touch' > /etc/no-replace-test166(finished: must succeed: echo -n 'do not touch' > /etc/no-replace-test, in 0.01 seconds)167ubuntu-22-04-existing-files: must succeed: mkdir -p /etc/systemd/system/timers.target.wants168(finished: must succeed: mkdir -p /etc/systemd/system/timers.target.wants, in 0.00 seconds)169ubuntu-22-04-existing-files: must succeed: ln -sf /lib/systemd/system/fake-existing.timer /etc/systemd/system/timers.target.wants/existing.timer170(finished: must succeed: ln -sf /lib/systemd/system/fake-existing.timer /etc/systemd/system/timers.target.wants/existing.timer, in 0.01 seconds)171ubuntu-22-04-existing-files: must succeed: /nix/store/cx67i6ksxfryv94zys62gdqf31w85nsl-system-manager/bin/activate 2>&1 | tee /tmp/output.log172(finished: must succeed: /nix/store/cx67i6ksxfryv94zys62gdqf31w85nsl-system-manager/bin/activate 2>&1 | tee /tmp/output.log, in 0.52 seconds)173ubuntu-22-04-existing-files: must succeed: grep -F 'File /etc/no-replace-test already exists' /tmp/output.log174(finished: must succeed: grep -F 'File /etc/no-replace-test already exists' /tmp/output.log, in 0.00 seconds)175ubuntu-22-04-existing-files: must succeed: cat /etc/no-replace-test176(finished: must succeed: cat /etc/no-replace-test, in 0.00 seconds)177ubuntu-22-04-existing-files: must fail: test -e /etc/no-replace-test.system-manager-backup178(finished: must fail: test -e /etc/no-replace-test.system-manager-backup, in 0.00 seconds)179ubuntu-22-04-existing-files: must succeed: cat /etc/force-copy-test180(finished: must succeed: cat /etc/force-copy-test, in 0.00 seconds)181ubuntu-22-04-existing-files: must succeed: cat /etc/force-copy-test.system-manager-backup182(finished: must succeed: cat /etc/force-copy-test.system-manager-backup, in 0.00 seconds)183ubuntu-22-04-existing-files: must succeed: test -L /etc/force-symlink-test184(finished: must succeed: test -L /etc/force-symlink-test, in 0.00 seconds)185ubuntu-22-04-existing-files: must succeed: cat /etc/force-symlink-test186(finished: must succeed: cat /etc/force-symlink-test, in 0.00 seconds)187ubuntu-22-04-existing-files: must succeed: cat /etc/force-symlink-test.system-manager-backup188(finished: must succeed: cat /etc/force-symlink-test.system-manager-backup, in 0.00 seconds)189ubuntu-22-04-existing-files: must succeed: test -L /etc/systemd/system/system-manager.target.wants/existing.timer190(finished: must succeed: test -L /etc/systemd/system/system-manager.target.wants/existing.timer, in 0.00 seconds)191ubuntu-22-04-existing-files: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer192(finished: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer, in 0.00 seconds)193ubuntu-22-04-existing-files: must succeed: cat /etc/systemd/system/existing.timer194(finished: must succeed: cat /etc/systemd/system/existing.timer, in 0.00 seconds)195ubuntu-22-04-existing-files: must succeed: /nix/store/cx67i6ksxfryv94zys62gdqf31w85nsl-system-manager/bin/deactivate 2>&1 | tee /tmp/output.log196(finished: must succeed: /nix/store/cx67i6ksxfryv94zys62gdqf31w85nsl-system-manager/bin/deactivate 2>&1 | tee /tmp/output.log, in 0.27 seconds)197ubuntu-22-04-existing-files: must succeed: ! grep -F 'ERROR' /tmp/output.log198(finished: must succeed: ! grep -F 'ERROR' /tmp/output.log, in 0.00 seconds)199ubuntu-22-04-existing-files: must succeed: cat /etc/force-copy-test200(finished: must succeed: cat /etc/force-copy-test, in 0.00 seconds)201ubuntu-22-04-existing-files: must fail: test -e /etc/force-copy-test.system-manager-backup202(finished: must fail: test -e /etc/force-copy-test.system-manager-backup, in 0.00 seconds)203ubuntu-22-04-existing-files: must succeed: cat /etc/force-symlink-test204(finished: must succeed: cat /etc/force-symlink-test, in 0.00 seconds)205ubuntu-22-04-existing-files: must fail: test -e /etc/force-symlink-test.system-manager-backup206(finished: must fail: test -e /etc/force-symlink-test.system-manager-backup, in 0.00 seconds)207ubuntu-22-04-existing-files: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer208(finished: must succeed: readlink /etc/systemd/system/timers.target.wants/existing.timer, in 0.00 seconds)209ubuntu-22-04-existing-files: must succeed: cat /etc/no-replace-test210(finished: must succeed: cat /etc/no-replace-test, in 0.00 seconds)