Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add delete-old flag to automatically remove old generations #195

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

feat: Add delete-old flag to automatically remove old generations

d7bc9ff
Select commit
Loading
Failed to load commit list.
Open

feat: Add delete-old flag to automatically remove old generations #195

feat: Add delete-old flag to automatically remove old generations
d7bc9ff
Select commit
Loading
Failed to load commit list.
Garnix CI / check parallel [x86_64-linux] succeeded Feb 18, 2024 in 38m 10s

Run results

Build succeeded

Details

Last 100 lines of logs:

�[2mgamma # [  404.327778] systemd[1]: Reached target Local File Systems.�[0m
�[2mgamma # [  404.329429] systemd[1]: Reached target Remote File Systems.�[0m
�[2mgamma # [  404.331395] systemd[1]: Reached target All Network Interfaces (deprecated).�[0m
�[2mgamma # [  404.334636] systemd[1]: Starting Load Kernel Module efi_pstore...�[0m
�[2mgamma # [  404.335268] dbus-daemon[593]: [system] Reloaded configuration�[0m
�[2mgamma # [  404.342528] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.�[0m
�[2mdeployer # alpha | reloading the following units: dbus.service�[0m
�[2mgamma # [  404.346652] systemd[1]: Finished Load Kernel Module efi_pstore.�[0m
�[2mbeta # [  407.006481] systemd[1]: Reloading finished in 187 ms.�[0m
�[2mgamma # [  404.347231] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).�[0m
�[2malpha # [  408.800892] systemd[1]: Reloading D-Bus System Message Bus...�[0m
�[2malpha # [  408.810557] dbus-daemon[622]: �[0;1;38;5;185mUnknown username "systemd-timesync" in message bus configuration file�[0m�[0m
�[2malpha # [  408.814500] dbus-daemon[622]: [system] Reloaded configuration�[0m
�[2malpha # [  408.815279] dbus-send[1288]: method return time=1708229052.115717 sender=org.freedesktop.DBus -> destination=:1.22 serial=3 reply_serial=2�[0m
�[2malpha # [  408.821705] dbus-daemon[622]: �[0;1;38;5;185mUnknown username "systemd-timesync" in message bus configuration file�[0m�[0m
�[2mdeployer #  beta | reloading user units for root...�[0m
�[2mgamma # [  404.380276] nixos[1188]: �[0;1;39mfinished switching to system configuration /nix/store/k876y1zikr10fmqkhqm7531b1siarksj-nixos-system-gamma-23.11pre-git�[0m�[0m
�[2malpha # [  408.825519] dbus-daemon[622]: [system] Reloaded configuration�[0m
�[2malpha # [  408.827186] systemd[1]: Reloaded D-Bus System Message Bus.�[0m
�[2mgamma # [  404.386321] sshd[1186]: Received disconnect from 192.168.1.3 port 43034:11: disconnected by user�[0m
�[2mgamma # [  404.386974] sshd[1186]: Disconnected from user root 192.168.1.3 port 43034�[0m
�[2mdeployer # gamma | Activation successful�[0m
�[2mdeployer # gamma | No post-activation keys to upload�[0m
�[2mgamma # [  404.387719] sshd[1186]: pam_unix(sshd:session): session closed for user root�[0m
�[2mbeta # [  407.048398] su[1286]: Successful su for root by root�[0m
�[2mgamma # [  404.390095] systemd-logind[632]: Session 8 logged out. Waiting for processes to exit.�[0m
�[2mbeta # [  407.050211] su[1286]: pam_unix(su:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2mgamma # [  404.391854] systemd[1]: session-8.scope: Deactivated successfully.�[0m
�[2mgamma # [  404.394019] systemd-logind[632]: Removed session 8.�[0m
�[2malpha # [  408.838164] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).�[0m
�[2malpha # [  408.838811] systemd[1]: Reached target Local File Systems.�[0m
�[2malpha # [  408.841206] systemd[1]: Reached target Remote File Systems.�[0m
�[2malpha # [  408.841538] systemd[1]: Reached target All Network Interfaces (deprecated).�[0m
�[2mbeta # [  407.061474] systemd[1091]: Reexecuting requested from client PID 1288 ('systemctl')...�[0m
�[2malpha # [  408.849607] systemd[1]: Starting Load Kernel Module efi_pstore...�[0m
�[2mbeta # [  407.071188] systemd[1091]: �[0;1;39mReexecuting.�[0m�[0m
�[2malpha # [  408.855348] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.�[0m
�[2malpha # [  408.859805] systemd[1]: Finished Load Kernel Module efi_pstore.�[0m
�[2malpha # [  408.860981] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).�[0m
�[2malpha # [  408.890081] nixos[1123]: �[0;1;39mfinished switching to system configuration /nix/store/amzwfad1sy4imlmbrxz5vp6n93rss112-nixos-system-alpha-23.11pre-git�[0m�[0m
�[2malpha # [  408.896221] sshd[1121]: Received disconnect from 192.168.1.3 port 55638:11: disconnected by user�[0m
�[2malpha # [  408.896889] sshd[1121]: Disconnected from user root 192.168.1.3 port 55638�[0m
�[2mdeployer # alpha | Activation successful�[0m
�[2mdeployer # alpha | No post-activation keys to upload�[0m
�[2malpha # [  408.897625] sshd[1121]: pam_unix(sshd:session): session closed for user root�[0m
�[2malpha # [  408.900749] systemd-logind[660]: Session 8 logged out. Waiting for processes to exit.�[0m
�[2malpha # [  408.902059] systemd[1]: session-8.scope: Deactivated successfully.�[0m
�[2malpha # [  408.904098] systemd-logind[660]: Removed session 8.�[0m
�[2mbeta # [  407.156367] systemd[1091]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).�[0m
�[2mbeta # [  407.158102] su[1286]: 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 # [  407.230864] systemd[1]: Reloading D-Bus System Message Bus...�[0m
�[2mbeta # [  407.239342] dbus-daemon[599]: �[0;1;38;5;185mUnknown username "systemd-timesync" in message bus configuration file�[0m�[0m
�[2mbeta # [  407.242780] dbus-daemon[599]: [system] Reloaded configuration�[0m
�[2mbeta # [  407.243476] dbus-send[1297]: method return time=1708229052.732738 sender=org.freedesktop.DBus -> destination=:1.22 serial=3 reply_serial=2�[0m
�[2mbeta # [  407.249196] dbus-daemon[599]: �[0;1;38;5;185mUnknown username "systemd-timesync" in message bus configuration file�[0m�[0m
�[2mbeta # [  407.252472] dbus-daemon[599]: [system] Reloaded configuration�[0m
�[2mbeta # [  407.253818] systemd[1]: Reloaded D-Bus System Message Bus.�[0m
�[2mbeta # [  407.263960] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).�[0m
�[2mbeta # [  407.265302] systemd[1]: Reached target Local File Systems.�[0m
�[2mbeta # [  407.265593] systemd[1]: Reached target Remote File Systems.�[0m
�[2mbeta # [  407.265881] systemd[1]: Reached target All Network Interfaces (deprecated).�[0m
�[2mbeta # [  407.272541] systemd[1]: Starting Load Kernel Module efi_pstore...�[0m
�[2mbeta # [  407.277820] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.�[0m
�[2mbeta # [  407.280444] systemd[1]: Finished Load Kernel Module efi_pstore.�[0m
�[2mbeta # [  407.280897] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).�[0m
�[2mbeta # [  407.309344] nixos[1132]: �[0;1;39mfinished switching to system configuration /nix/store/77j135jxic5ydvhcb6gjh2pzd9p2ck5m-nixos-system-beta-23.11pre-git�[0m�[0m
�[2mbeta # [  407.315111] sshd[1130]: Received disconnect from 192.168.1.3 port 35702:11: disconnected by user�[0m
�[2mbeta # [  407.315694] sshd[1130]: Disconnected from user root 192.168.1.3 port 35702�[0m
�[2mdeployer #  beta | Activation successful�[0m
�[2mbeta # [  407.316294] sshd[1130]: pam_unix(sshd:session): session closed for user root�[0m
�[2mdeployer #  beta | No post-activation keys to upload�[0m
�[2mdeployer #       | All done!�[0m
�[2mbeta # [  407.318768] systemd-logind[608]: Session 8 logged out. Waiting for processes to exit.�[0m
�[2mbeta # [  407.319932] systemd[1]: session-8.scope: Deactivated successfully.�[0m
�[2mbeta # [  407.322059] systemd-logind[608]: Removed session 8.�[0m
(finished: must succeed: cd /tmp/bundle &&run-copy-stderr /nix/store/9gw7im3iapqj9nf75n40ajfrqq0lwl84-colmena-0.5.0-pre/bin/colmena apply switch --eval-node-limit 4 --parallel 4 --on @target, in 17.64 seconds)
alpha: �[1m�[32mmust succeed: grep SUCCESS /etc/deployment�[0m
(finished: must succeed: grep SUCCESS /etc/deployment, in 0.01 seconds)
beta: �[1m�[32mmust succeed: grep SUCCESS /etc/deployment�[0m
(finished: must succeed: grep SUCCESS /etc/deployment, in 0.01 seconds)
gamma: �[1m�[32mmust succeed: grep SUCCESS /etc/deployment�[0m
(finished: must succeed: grep SUCCESS /etc/deployment, in 0.01 seconds)
�[1m�[32msubtest: Check that activation is correctly parallelized�[0m
deployer: Time between activations: 1276.131591796875ms
(finished: subtest: Check that activation is correctly parallelized, in 0.00 seconds)
(finished: run the VM test script, in 419.98 seconds)
test script finished in 420.03s
�[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 33)
�[2mbeta # qemu-kvm: terminating on signal 15 from pid 6 (/nix/store/pzf6dnxg8gf04xazzjdwarm7s03cbrgz-python3-3.10.12/bin/python3.10)�[0m
kill machine (pid 51)
�[2mdeployer # qemu-kvm: terminating on signal 15 from pid 6 (/nix/store/pzf6dnxg8gf04xazzjdwarm7s03cbrgz-python3-3.10.12/bin/python3.10)�[0m
kill machine (pid 79)
�[2mgamma # qemu-kvm: terminating on signal 15 from pid 6 (/nix/store/pzf6dnxg8gf04xazzjdwarm7s03cbrgz-python3-3.10.12/bin/python3.10)�[0m
(finished: cleanup, in 0.48 seconds)
kill vlan (pid 7)