feat: Add delete-old flag to automatically remove old generations #195
Garnix CI / check build-on-target [x86_64-linux]
succeeded
Feb 18, 2024 in 39m 7s
Run results
Build succeeded
Details
Last 100 lines of logs:
�[2mdeployer # beta | building '/nix/store/3njxdsysgl0af9n1z0k45n403yllv11q-user-units.drv'...�[0m
�[2mdeployer # beta | building '/nix/store/9lvj1wja83f4xmps47sk5qvqwdm4y11f-system-units.drv'...�[0m
�[2mdeployer # beta | building '/nix/store/xzcs4sxpb7y9864fsa7lcajcjbz4lrb6-etc.drv'...�[0m
�[2mdeployer # beta | building '/nix/store/wp7g813n7msmzx8nw9z417gqrdrh7hcs-nixos-system-beta-23.11pre-git.drv'...�[0m
�[2mdeployer # beta | /nix/store/yrwads59cq3dppap3ff4xfcvxn977wbn-nixos-system-beta-23.11pre-git�[0m
�[2mbeta # [ 49.977292] sshd[1001]: Received disconnect from 192.168.1.3 port 57924:11: disconnected by user�[0m
�[2mbeta # [ 49.978170] sshd[1001]: Disconnected from user root 192.168.1.3 port 57924�[0m
�[2mbeta # [ 49.978893] sshd[1001]: pam_unix(sshd:session): session closed for user root�[0m
�[2mdeployer # beta | Built "/nix/store/yrwads59cq3dppap3ff4xfcvxn977wbn-nixos-system-beta-23.11pre-git" on target node�[0m
�[2mdeployer # beta | No pre-activation keys to upload�[0m
�[2mdeployer # beta | Activating system profile�[0m
�[2mbeta # [ 49.982062] systemd-logind[764]: Session 3 logged out. Waiting for processes to exit.�[0m
�[2mbeta # [ 49.984154] systemd[1]: session-3.scope: Deactivated successfully.�[0m
�[2mbeta # [ 49.988267] systemd[1]: session-3.scope: Consumed 2.021s CPU time, no IP traffic.�[0m
�[2mbeta # [ 49.988889] systemd-logind[764]: Removed session 3.�[0m
�[2mbeta # [ 50.112278] sshd[2115]: Accepted publickey for root from 192.168.1.3 port 57936 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2mbeta # [ 50.116058] sshd[2115]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2mbeta # [ 50.120813] systemd-logind[764]: New session 4 of user root.�[0m
�[2mbeta # [ 50.123373] systemd[1]: Started Session 4 of User root.�[0m
�[2mbeta # [ 50.212555] sshd[2115]: Received disconnect from 192.168.1.3 port 57936:11: disconnected by user�[0m
�[2mbeta # [ 50.213360] sshd[2115]: Disconnected from user root 192.168.1.3 port 57936�[0m
�[2mbeta # [ 50.214047] sshd[2115]: pam_unix(sshd:session): session closed for user root�[0m
�[2mbeta # [ 50.216899] systemd-logind[764]: Session 4 logged out. Waiting for processes to exit.�[0m
�[2mbeta # [ 50.219026] systemd[1]: session-4.scope: Deactivated successfully.�[0m
�[2mbeta # [ 50.221264] systemd-logind[764]: Removed session 4.�[0m
�[2mbeta # [ 50.347552] sshd[2119]: Accepted publickey for root from 192.168.1.3 port 57942 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2mbeta # [ 50.351483] sshd[2119]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2mbeta # [ 50.356293] systemd-logind[764]: New session 5 of user root.�[0m
�[2mbeta # [ 50.359382] systemd[1]: Started Session 5 of User root.�[0m
�[2mdeployer # beta | Warning: do not know how to make this configuration bootable; please enable a boot loader.�[0m
�[2mbeta # [ 50.730047] nixos[2121]: �[0;1;39mswitching to system configuration /nix/store/yrwads59cq3dppap3ff4xfcvxn977wbn-nixos-system-beta-23.11pre-git�[0m�[0m
�[2mbeta # [ 50.741164] systemd[1]: Stopped target Local File Systems.�[0m
�[2mbeta # [ 50.743154] systemd[1]: Stopped target All Network Interfaces (deprecated).�[0m
�[2mbeta # [ 50.744416] systemd[1]: Stopped target Remote File Systems.�[0m
�[2mdeployer # beta | activating the configuration...�[0m
�[2mdeployer # beta | setting up /etc...�[0m
�[2mbeta # [ 51.184190] systemd[1]: Reloading requested from client PID 2250 ('systemctl') (unit session-5.scope)...�[0m
�[2mbeta # [ 51.185033] systemd[1]: Reloading...�[0m
�[2mbeta # [ 51.354534] systemd[1]: Reloading finished in 170 ms.�[0m
�[2mdeployer # beta | reloading user units for root...�[0m
�[2mbeta # [ 51.398414] su[2273]: Successful su for root by root�[0m
�[2mbeta # [ 51.399748] su[2273]: pam_unix(su:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2mbeta # [ 51.413834] systemd[966]: Reexecuting requested from client PID 2275 ('systemctl')...�[0m
�[2mbeta # [ 51.422939] systemd[966]: �[0;1;39mReexecuting.�[0m�[0m
�[2mbeta # [ 51.521858] systemd[966]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).�[0m
�[2mbeta # [ 51.524491] su[2273]: pam_unix(su:session): session closed for user root�[0m
�[2mdeployer # beta | setting up tmpfiles�[0m
�[2mdeployer # beta | reloading the following units: dbus.service�[0m
�[2mbeta # [ 51.599833] systemd[1]: Reloading D-Bus System Message Bus...�[0m
�[2mbeta # [ 51.606556] dbus-daemon[758]: �[0;1;38;5;185mUnknown username "systemd-timesync" in message bus configuration file�[0m�[0m
�[2mbeta # [ 51.616811] dbus-daemon[758]: [system] Reloaded configuration�[0m
�[2mbeta # [ 51.617964] dbus-send[2284]: method return time=1708229099.664817 sender=org.freedesktop.DBus -> destination=:1.16 serial=3 reply_serial=2�[0m
�[2mbeta # [ 51.620857] dbus-daemon[758]: �[0;1;38;5;185mUnknown username "systemd-timesync" in message bus configuration file�[0m�[0m
�[2mbeta # [ 51.632288] dbus-daemon[758]: [system] Reloaded configuration�[0m
�[2mbeta # [ 51.634427] systemd[1]: Reloaded D-Bus System Message Bus.�[0m
�[2mbeta # [ 51.649802] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).�[0m
�[2mbeta # [ 51.652774] systemd[1]: Reached target Local File Systems.�[0m
�[2mbeta # [ 51.653294] systemd[1]: Reached target Remote File Systems.�[0m
�[2mbeta # [ 51.653729] systemd[1]: Reached target All Network Interfaces (deprecated).�[0m
�[2mbeta # [ 51.655165] systemd[1]: Starting Load Kernel Module efi_pstore...�[0m
�[2mbeta # [ 51.661972] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.�[0m
�[2mbeta # [ 51.667258] systemd[1]: Finished Load Kernel Module efi_pstore.�[0m
�[2mbeta # [ 51.668362] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).�[0m
�[2mbeta # [ 51.697305] nixos[2121]: �[0;1;39mfinished switching to system configuration /nix/store/yrwads59cq3dppap3ff4xfcvxn977wbn-nixos-system-beta-23.11pre-git�[0m�[0m
�[2mbeta # [ 51.703255] sshd[2119]: Received disconnect from 192.168.1.3 port 57942:11: disconnected by user�[0m
�[2mbeta # [ 51.703997] sshd[2119]: Disconnected from user root 192.168.1.3 port 57942�[0m
�[2mdeployer # beta | Activation successful�[0m
�[2mbeta # [ 51.704577] sshd[2119]: pam_unix(sshd:session): session closed for user root�[0m
�[2mdeployer # beta | No post-activation keys to upload�[0m
�[2mdeployer # | All done!�[0m
�[2mbeta # [ 51.707399] systemd-logind[764]: Session 5 logged out. Waiting for processes to exit.�[0m
�[2mbeta # [ 51.709399] systemd[1]: session-5.scope: Deactivated successfully.�[0m
�[2mbeta # [ 51.712180] systemd-logind[764]: Removed session 5.�[0m
(finished: must succeed: cd /tmp/bundle && /nix/store/9gw7im3iapqj9nf75n40ajfrqq0lwl84-colmena-0.5.0-pre/bin/colmena apply --on beta --build-on-target, in 15.27 seconds)
beta: �[1m�[32mmust succeed: grep SUCCESS /etc/deployment�[0m
beta: �[1m�[32mwaiting for the VM to finish booting�[0m
beta: Guest shell says: b'Spawning backdoor root shell...\n'
beta: connected to guest root shell
beta: (connecting took 0.00 seconds)
(finished: waiting for the VM to finish booting, in 0.00 seconds)
(finished: must succeed: grep SUCCESS /etc/deployment, in 0.01 seconds)
beta: �[1m�[32mmust succeed: readlink /run/current-system�[0m
(finished: must succeed: readlink /run/current-system, in 0.01 seconds)
deployer: �[1m�[32mmust fail: nix-store -qR /nix/store/yrwads59cq3dppap3ff4xfcvxn977wbn-nixos-system-beta-23.11pre-git
�[0m
�[2mdeployer # error: path '/nix/store/yrwads59cq3dppap3ff4xfcvxn977wbn-nixos-system-beta-23.11pre-git' is not valid�[0m
(finished: must fail: nix-store -qR /nix/store/yrwads59cq3dppap3ff4xfcvxn977wbn-nixos-system-beta-23.11pre-git
, in 0.05 seconds)
(finished: subtest: Check that we can override per-node settings and build remotely, in 15.33 seconds)
(finished: run the VM test script, in 53.31 seconds)
test script finished in 53.37s
�[1m�[32mcleanup�[0m
kill machine (pid 8)
�[2malpha # qemu-kvm: terminating on signal 15 from pid 6 (/nix/store/pzf6dnxg8gf04xazzjdwarm7s03cbrgz-python3-3.10.12/bin/python3.10)�[0m
kill machine (pid 28)
�[2mbeta # qemu-kvm: terminating on signal 15 from pid 6 (/nix/store/pzf6dnxg8gf04xazzjdwarm7s03cbrgz-python3-3.10.12/bin/python3.10)�[0m
kill machine (pid 48)
�[2mdeployer # qemu-kvm: terminating on signal 15 from pid 6 (/nix/store/pzf6dnxg8gf04xazzjdwarm7s03cbrgz-python3-3.10.12/bin/python3.10)�[0m
(finished: cleanup, in 0.17 seconds)
kill vlan (pid 7)
Loading