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 flakes-streaming [x86_64-linux] succeeded Feb 18, 2024 in 38m 36s

Run results

Build succeeded

Details

Last 100 lines of logs:

�[2malpha # [  434.910341] systemd[1]: user@0.service: Deactivated successfully.�[0m
�[2malpha # [  434.912132] systemd[1]: Stopped User Manager for UID 0.�[0m
�[2malpha # [  434.926781] systemd[1]: Stopping User Runtime Directory /run/user/0...�[0m
�[2malpha # [  434.937249] systemd[1]: run-user-0.mount: Deactivated successfully.�[0m
�[2malpha # [  434.941015] systemd[1]: user-runtime-dir@0.service: Deactivated successfully.�[0m
�[2malpha # [  434.943138] systemd[1]: Stopped User Runtime Directory /run/user/0.�[0m
�[2malpha # [  435.061102] sshd[1555]: Accepted publickey for root from 192.168.1.2 port 57344 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [  435.063506] sshd[1555]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [  435.074213] systemd[1]: Starting User Runtime Directory /run/user/0...�[0m
�[2malpha # [  435.084152] systemd-logind[635]: New session 11 of user root.�[0m
�[2malpha # [  435.091412] systemd[1]: Finished User Runtime Directory /run/user/0.�[0m
�[2malpha # [  435.096590] systemd[1]: Starting User Manager for UID 0...�[0m
�[2malpha # [  435.100455] (systemd)[1561]: pam_unix(systemd-user:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [  435.176478] systemd[1561]: Queued start job for default target Main User Target.�[0m
�[2malpha # [  435.180060] systemd[1561]: Created slice User Application Slice.�[0m
�[2malpha # [  435.181041] systemd[1561]: Reached target Paths.�[0m
�[2malpha # [  435.181337] systemd[1561]: Reached target Timers.�[0m
�[2malpha # [  435.182332] systemd[1561]: Starting D-Bus User Message Bus Socket...�[0m
�[2malpha # [  435.189282] systemd[1561]: Listening on D-Bus User Message Bus Socket.�[0m
�[2malpha # [  435.189851] systemd[1561]: Reached target Sockets.�[0m
�[2malpha # [  435.190204] systemd[1561]: Reached target Basic System.�[0m
�[2malpha # [  435.191803] systemd[1]: Started User Manager for UID 0.�[0m
�[2malpha # [  435.192178] systemd[1561]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).�[0m
�[2malpha # [  435.192906] systemd[1561]: Reached target Main User Target.�[0m
�[2malpha # [  435.196285] systemd[1561]: Startup finished in 82ms.�[0m
�[2malpha # [  435.196561] systemd[1]: Started Session 11 of User root.�[0m
�[2mdeployer # alpha | �[K�[Kcopying 3 paths...�[0m
�[2mdeployer # alpha | copying path '/nix/store/znwfbmsp03xnrfkd03nzr28w16ixcxm5-etc-deployment' to 'ssh-ng://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/gl11jnkf3jcpda3yn17a862fx1xpjy7c-etc' to 'ssh-ng://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/c4gs88p484m2lrl5awzdi4sdigsl3wyj-nixos-system-alpha-23.11pre-git' to 'ssh-ng://root@alpha'...�[0m
�[2malpha # [  435.284609] sshd[1555]: pam_unix(sshd:session): session closed for user root�[0m
�[2mdeployer # alpha | Pushed system closure�[0m
�[2mdeployer # alpha | No pre-activation keys to upload�[0m
�[2malpha # [  435.287483] systemd-logind[635]: Session 11 logged out. Waiting for processes to exit.�[0m
�[2mdeployer # alpha | Activating system profile�[0m
�[2malpha # [  435.291706] systemd[1]: session-11.scope: Deactivated successfully.�[0m
�[2malpha # [  435.295045] systemd-logind[635]: Removed session 11.�[0m
�[2malpha # [  435.422027] sshd[1597]: Accepted publickey for root from 192.168.1.2 port 57350 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [  435.424573] sshd[1597]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [  435.428832] systemd-logind[635]: New session 13 of user root.�[0m
�[2malpha # [  435.432324] systemd[1]: Started Session 13 of User root.�[0m
�[2malpha # [  435.506800] sshd[1597]: Received disconnect from 192.168.1.2 port 57350:11: disconnected by user�[0m
�[2malpha # [  435.507536] sshd[1597]: Disconnected from user root 192.168.1.2 port 57350�[0m
�[2malpha # [  435.508193] sshd[1597]: pam_unix(sshd:session): session closed for user root�[0m
�[2malpha # [  435.510748] systemd-logind[635]: Session 13 logged out. Waiting for processes to exit.�[0m
�[2malpha # [  435.511864] systemd[1]: session-13.scope: Deactivated successfully.�[0m
�[2malpha # [  435.514347] systemd-logind[635]: Removed session 13.�[0m
�[2malpha # [  435.642097] sshd[1601]: Accepted publickey for root from 192.168.1.2 port 57364 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [  435.644605] sshd[1601]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [  435.648811] systemd-logind[635]: New session 14 of user root.�[0m
�[2malpha # [  435.651814] systemd[1]: Started Session 14 of User root.�[0m
�[2mdeployer # alpha | Warning: do not know how to make this configuration bootable; please enable a boot loader.�[0m
�[2malpha # [  435.907212] nixos[1603]: �[0;1;39mswitching to system configuration /nix/store/c4gs88p484m2lrl5awzdi4sdigsl3wyj-nixos-system-alpha-23.11pre-git�[0m�[0m
�[2malpha # [  435.914376] systemd[1]: Stopped target Local File Systems.�[0m
�[2malpha # [  435.915657] systemd[1]: Stopped target All Network Interfaces (deprecated).�[0m
�[2malpha # [  435.916568] systemd[1]: Stopped target Remote File Systems.�[0m
�[2mdeployer # alpha | activating the configuration...�[0m
�[2mdeployer # alpha | setting up /etc...�[0m
�[2malpha # [  436.203079] systemd[1]: Reloading requested from client PID 1732 ('systemctl') (unit session-14.scope)...�[0m
�[2malpha # [  436.203591] systemd[1]: Reloading...�[0m
�[2malpha # [  436.345696] systemd[1]: Reloading finished in 141 ms.�[0m
�[2mdeployer # alpha | reloading user units for root...�[0m
�[2malpha # [  436.376754] su[1755]: Successful su for root by root�[0m
�[2malpha # [  436.378281] su[1755]: pam_unix(su:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [  436.388619] systemd[1561]: Reexecuting requested from client PID 1757 ('systemctl')...�[0m
�[2malpha # [  436.397825] systemd[1561]: �[0;1;39mReexecuting.�[0m�[0m
�[2malpha # [  436.478196] systemd[1561]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).�[0m
�[2malpha # [  436.480331] su[1755]: pam_unix(su:session): session closed for user root�[0m
�[2mdeployer # alpha | setting up tmpfiles�[0m
�[2malpha # [  436.525684] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).�[0m
�[2malpha # [  436.526323] systemd[1]: Reached target Local File Systems.�[0m
�[2malpha # [  436.529438] systemd[1]: Reached target Remote File Systems.�[0m
�[2malpha # [  436.529780] systemd[1]: Reached target All Network Interfaces (deprecated).�[0m
�[2malpha # [  436.535363] systemd[1]: Starting Load Kernel Module efi_pstore...�[0m
�[2malpha # [  436.541285] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.�[0m
�[2malpha # [  436.546368] systemd[1]: Finished Load Kernel Module efi_pstore.�[0m
�[2malpha # [  436.547754] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).�[0m
�[2malpha # [  436.573424] nixos[1603]: �[0;1;39mfinished switching to system configuration /nix/store/c4gs88p484m2lrl5awzdi4sdigsl3wyj-nixos-system-alpha-23.11pre-git�[0m�[0m
�[2malpha # [  436.582217] sshd[1601]: Received disconnect from 192.168.1.2 port 57364:11: disconnected by user�[0m
�[2malpha # [  436.582842] sshd[1601]: Disconnected from user root 192.168.1.2 port 57364�[0m
�[2mdeployer # alpha | Activation successful�[0m
�[2malpha # [  436.583482] sshd[1601]: pam_unix(sshd:session): session closed for user root�[0m
�[2mdeployer # alpha | No post-activation keys to upload�[0m
�[2mdeployer #       | All done!�[0m
�[2malpha # [  436.586326] systemd-logind[635]: Session 14 logged out. Waiting for processes to exit.�[0m
�[2malpha # [  436.587589] systemd[1]: session-14.scope: Deactivated successfully.�[0m
�[2malpha # [  436.591043] systemd-logind[635]: Removed session 14.�[0m
(finished: must succeed: cd /tmp/bundle && /nix/store/9gw7im3iapqj9nf75n40ajfrqq0lwl84-colmena-0.5.0-pre/bin/colmena apply --on @target --evaluator streaming --impure, in 7.30 seconds)
alpha: �[1m�[32mmust succeed: grep deployer /etc/deployment�[0m
(finished: must succeed: grep deployer /etc/deployment, in 0.01 seconds)
(finished: subtest: Check that impure expressions can be allowed with --impure, in 7.31 seconds)
(finished: run the VM test script, in 446.34 seconds)
test script finished in 446.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 26)
�[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.32 seconds)
kill vlan (pid 7)