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 allow-apply-all [x86_64-linux] succeeded Feb 18, 2024 in 35m 43s

Run results

Build succeeded

Details

Last 100 lines of logs:

�[2malpha # [  232.428334] systemd[1125]: Starting D-Bus User Message Bus Socket...�[0m
�[2malpha # [  232.508841] systemd[1125]: Listening on D-Bus User Message Bus Socket.�[0m
�[2malpha # [  232.510357] systemd[1125]: Reached target Sockets.�[0m
�[2malpha # [  232.572377] systemd[1125]: Reached target Basic System.�[0m
�[2malpha # [  232.573382] systemd[1]: Started User Manager for UID 0.�[0m
�[2malpha # [  232.574185] systemd[1125]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).�[0m
�[2malpha # [  232.575605] systemd[1125]: Reached target Main User Target.�[0m
�[2malpha # [  232.594312] systemd[1125]: Startup finished in 1.027s.�[0m
�[2malpha # [  232.603401] systemd[1]: Started Session 3 of User root.�[0m
�[2mdeployer # alpha | copying 13 paths...�[0m
�[2mdeployer # alpha | copying path '/nix/store/5j4n46q657x02x8qba6xvmli03psd7d7-etc-pam-environment' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/6dxlkaivl0l055ib8gr12vqxcgb6860z-system-path' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/ac6j28v0hy9p20dqmh9sn6y0rgw63hnh-dbus-1' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/hmi6bx9l5bb3m8g29rip2pybw5s0qixr-set-environment' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/p4zgjvv8qnfhflg3j25zdlgd9sm06r8p-issue' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/qm06pcxx01zyr7z1cxvs7lvjshl57mcr-X-Restart-Triggers-dbus' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/8h8136phnq8v5hm298n0jjgs4k4pyi7b-etc-profile' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/adr3q4v0yl6h2vh9k0a49bdhkvifb8xa-unit-dbus.service' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/klxbyprnw644g9k6l5512gx68s2a6psl-unit-dbus.service' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/5pd8yj9ddl7w5a4xzx01j912nrwm1b4x-system-units' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/6r6zcvndn4ak5x0sn8ijmb5n83rym9d9-user-units' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/bw2nlj9ymdp8y1gpqmrgvhivgjwxvhqb-etc' to 'ssh://root@alpha'...�[0m
�[2mdeployer # alpha | copying path '/nix/store/838c06zbrzzgffmvap52in33kjzdqq6y-nixos-system-alpha-23.11pre-git' to 'ssh://root@alpha'...�[0m
�[2malpha # [  237.841718] sshd[1120]: 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
�[2mdeployer # alpha | Activating system profile�[0m
�[2malpha # [  237.905261] systemd-logind[635]: Session 3 logged out. Waiting for processes to exit.�[0m
�[2malpha # [  237.938662] systemd[1]: session-3.scope: Deactivated successfully.�[0m
�[2malpha # [  238.027865] systemd[1]: session-3.scope: Consumed 4.372s CPU time, no IP traffic.�[0m
�[2malpha # [  238.115365] systemd-logind[635]: Removed session 3.�[0m
�[2malpha # [  238.836140] sshd[1160]: Accepted publickey for root from 192.168.1.2 port 40888 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [  238.844316] sshd[1160]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [  238.870991] systemd-logind[635]: New session 5 of user root.�[0m
�[2malpha # [  238.997465] systemd[1]: Started Session 5 of User root.�[0m
�[2malpha # [  239.611576] sshd[1160]: Received disconnect from 192.168.1.2 port 40888:11: disconnected by user�[0m
�[2malpha # [  239.662844] sshd[1160]: Disconnected from user root 192.168.1.2 port 40888�[0m
�[2malpha # [  239.664552] systemd-logind[635]: Session 5 logged out. Waiting for processes to exit.�[0m
�[2malpha # [  239.684839] sshd[1160]: pam_unix(sshd:session): session closed for user root�[0m
�[2malpha # [  239.838289] systemd[1]: session-5.scope: Deactivated successfully.�[0m
�[2malpha # [  239.839586] systemd-logind[635]: Removed session 5.�[0m
�[2malpha # [  240.925613] sshd[1164]: Accepted publickey for root from 192.168.1.2 port 40902 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [  240.933515] sshd[1164]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [  240.963617] systemd-logind[635]: New session 6 of user root.�[0m
�[2malpha # [  241.001279] systemd[1]: Started Session 6 of User root.�[0m
�[2mdeployer # alpha | Warning: do not know how to make this configuration bootable; please enable a boot loader.�[0m
�[2malpha # [  247.776189] nixos[1166]: �[0;1;39mswitching to system configuration /nix/store/838c06zbrzzgffmvap52in33kjzdqq6y-nixos-system-alpha-23.11pre-git�[0m�[0m
�[2malpha # [  247.952750] systemd[1]: Stopped target Local File Systems.�[0m
�[2malpha # [  248.031591] systemd[1]: Stopped target All Network Interfaces (deprecated).�[0m
�[2mdeployer # alpha | activating the configuration...�[0m
�[2malpha # [  248.091077] systemd[1]: Stopped target Remote File Systems.�[0m
�[2mdeployer # alpha | setting up /etc...�[0m
�[2malpha # [  252.390618] systemd[1]: Reloading requested from client PID 1295 ('systemctl') (unit session-6.scope)...�[0m
�[2malpha # [  252.392769] systemd[1]: Reloading...�[0m
�[2malpha # [  254.015359] systemd[1]: Reloading finished in 1575 ms.�[0m
�[2mdeployer # alpha | reloading user units for root...�[0m
�[2malpha # [  254.330167] su[1318]: Successful su for root by root�[0m
�[2malpha # [  254.333450] su[1318]: pam_unix(su:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [  254.509831] systemd[1125]: Reexecuting requested from client PID 1320 ('systemctl')...�[0m
�[2malpha # [  254.641802] systemd[1125]: �[0;1;39mReexecuting.�[0m�[0m
�[2malpha # [  255.395194] systemd[1125]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).�[0m
�[2mdeployer # alpha | setting up tmpfiles�[0m
�[2malpha # [  255.466234] su[1318]: pam_unix(su:session): session closed for user root�[0m
�[2mdeployer # alpha | reloading the following units: dbus.service�[0m
�[2malpha # [  256.563811] systemd[1]: Reloading D-Bus System Message Bus...�[0m
�[2malpha # [  256.775598] dbus-daemon[608]: �[0;1;38;5;185mUnknown username "systemd-timesync" in message bus configuration file�[0m�[0m
�[2malpha # [  256.881393] dbus-daemon[608]: [system] Reloaded configuration�[0m
�[2malpha # [  256.900929] dbus-send[1329]: method return time=1708228902.113027 sender=org.freedesktop.DBus -> destination=:1.18 serial=3 reply_serial=2�[0m
�[2malpha # [  257.175601] systemd[1]: Reloaded D-Bus System Message Bus.�[0m
�[2malpha # [  257.333971] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).�[0m
�[2malpha # [  257.421416] systemd[1]: Reached target Local File Systems.�[0m
�[2malpha # [  257.422339] systemd[1]: Reached target Remote File Systems.�[0m
�[2malpha # [  257.671625] dbus-daemon[608]: �[0;1;38;5;185mUnknown username "systemd-timesync" in message bus configuration file�[0m�[0m
�[2malpha # [  257.695522] systemd[1]: Reached target All Network Interfaces (deprecated).�[0m
�[2malpha # [  257.767767] systemd[1]: Starting Load Kernel Module efi_pstore...�[0m
�[2malpha # [  257.900575] dbus-daemon[608]: [system] Reloaded configuration�[0m
�[2malpha # [  258.022834] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.�[0m
�[2malpha # [  258.057197] systemd[1]: Finished Load Kernel Module efi_pstore.�[0m
�[2malpha # [  258.099550] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).�[0m
�[2malpha # [  258.583974] nixos[1166]: �[0;1;39mfinished switching to system configuration /nix/store/838c06zbrzzgffmvap52in33kjzdqq6y-nixos-system-alpha-23.11pre-git�[0m�[0m
�[2mdeployer # alpha | Activation successful�[0m
�[2mdeployer # alpha | No post-activation keys to upload�[0m
�[2mdeployer #       | All done!�[0m
�[2malpha # [  258.773035] sshd[1164]: Received disconnect from 192.168.1.2 port 40902:11: disconnected by user�[0m
�[2malpha # [  258.774590] sshd[1164]: Disconnected from user root 192.168.1.2 port 40902�[0m
�[2malpha # [  258.787953] sshd[1164]: pam_unix(sshd:session): session closed for user root�[0m
�[2malpha # [  258.870566] systemd-logind[635]: Session 6 logged out. Waiting for processes to exit.�[0m
�[2malpha # [  258.872125] systemd[1]: session-6.scope: Deactivated successfully.�[0m
�[2malpha # [  258.873974] systemd[1]: session-6.scope: Consumed 11.243s CPU time, no IP traffic.�[0m
�[2malpha # [  258.875890] systemd-logind[635]: Removed session 6.�[0m
(finished: must succeed: cd /tmp/bundle && run-copy-stderr /nix/store/9gw7im3iapqj9nf75n40ajfrqq0lwl84-colmena-0.5.0-pre/bin/colmena apply --on @target, in 160.32 seconds)
(finished: run the VM test script, in 272.48 seconds)
test script finished in 272.65s
�[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 1.49 seconds)
kill vlan (pid 7)