contrib: add a wrapper to be able to check deploys use up-to-date git #198
+52
−0
Garnix CI / check flakes [x86_64-linux]
succeeded
Mar 5, 2024 in 2m 25s
Run results
Build succeeded
Details
Last 100 lines of logs:
�[2mdeployer # Hint: Backtrace available - Use `RUST_BACKTRACE=1` environment variable to display a backtrace�[0m
(finished: must fail: cd /tmp/bundle && run-copy-stderr /nix/store/8gxzspl7bzr4ybaqjsfxdqqyg93sknbj-colmena-0.5.0-pre/bin/colmena apply --on @target --evaluator chunked, in 3.73 seconds)
(finished: subtest: Check that impure expressions are forbidden, in 3.74 seconds)
�[1m�[32msubtest: Check that impure expressions can be allowed with --impure�[0m
deployer: �[1m�[32mmust succeed: cd /tmp/bundle && /nix/store/8gxzspl7bzr4ybaqjsfxdqqyg93sknbj-colmena-0.5.0-pre/bin/colmena apply --on @target --evaluator chunked --impure�[0m
�[2mdeployer # warning: Git tree '/tmp/bundle' is dirty�[0m
�[2mdeployer # [INFO ] Using flake: git+file:///tmp/bundle�[0m
�[2mdeployer # [INFO ] Enumerating nodes...�[0m
�[2mdeployer # [INFO ] Selected 1 out of 2 hosts.�[0m
�[2mdeployer # alpha | Evaluating alpha�[0m
�[2mdeployer # alpha | Evaluated alpha�[0m
�[2mdeployer # alpha | Building alpha�[0m
�[2mdeployer # alpha | these 3 derivations will be built:�[0m
�[2mdeployer # alpha | /nix/store/2n75qlwjg6zjbm61i5igca0qnbj7bvny-etc-deployment.drv�[0m
�[2mdeployer # alpha | /nix/store/gwdmn1dzcbfncxx1cbvv2cm0dbsix0lr-etc.drv�[0m
�[2mdeployer # alpha | /nix/store/4nsagx7yxn1dkxvldmyi28walz6ixdjy-nixos-system-alpha-23.11pre-git.drv�[0m
�[2mdeployer # alpha | building '/nix/store/2n75qlwjg6zjbm61i5igca0qnbj7bvny-etc-deployment.drv'...�[0m
�[2mdeployer # alpha | building '/nix/store/gwdmn1dzcbfncxx1cbvv2cm0dbsix0lr-etc.drv'...�[0m
�[2mdeployer # alpha | building '/nix/store/4nsagx7yxn1dkxvldmyi28walz6ixdjy-nixos-system-alpha-23.11pre-git.drv'...�[0m
�[2mdeployer # alpha | /nix/store/c4gs88p484m2lrl5awzdi4sdigsl3wyj-nixos-system-alpha-23.11pre-git�[0m
�[2mdeployer # alpha | Built "/nix/store/c4gs88p484m2lrl5awzdi4sdigsl3wyj-nixos-system-alpha-23.11pre-git"�[0m
�[2mdeployer # alpha | Pushing system closure�[0m
�[2malpha # [ 76.461643] sshd[1396]: Accepted publickey for root from 192.168.1.2 port 33624 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [ 76.464141] sshd[1396]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [ 76.469504] systemd-logind[741]: New session 10 of user root.�[0m
�[2malpha # [ 76.469869] systemd[1]: Started Session 10 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 # [ 76.555134] sshd[1396]: pam_unix(sshd:session): session closed for user root�[0m
�[2malpha # [ 76.557691] systemd-logind[741]: Session 10 logged out. Waiting for processes to exit.�[0m
�[2mdeployer # alpha | Pushed system closure�[0m
�[2mdeployer # alpha | No pre-activation keys to upload�[0m
�[2mdeployer # alpha | Activating system profile�[0m
�[2malpha # [ 76.562554] systemd[1]: session-10.scope: Deactivated successfully.�[0m
�[2malpha # [ 76.565277] systemd-logind[741]: Removed session 10.�[0m
�[2malpha # [ 76.685598] sshd[1425]: Accepted publickey for root from 192.168.1.2 port 33626 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [ 76.687494] sshd[1425]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [ 76.690567] systemd-logind[741]: New session 11 of user root.�[0m
�[2malpha # [ 76.691923] systemd[1]: Started Session 11 of User root.�[0m
�[2malpha # [ 76.761587] sshd[1425]: Received disconnect from 192.168.1.2 port 33626:11: disconnected by user�[0m
�[2malpha # [ 76.762284] sshd[1425]: Disconnected from user root 192.168.1.2 port 33626�[0m
�[2malpha # [ 76.762948] sshd[1425]: pam_unix(sshd:session): session closed for user root�[0m
�[2malpha # [ 76.765726] systemd-logind[741]: Session 11 logged out. Waiting for processes to exit.�[0m
�[2malpha # [ 76.767088] systemd[1]: session-11.scope: Deactivated successfully.�[0m
�[2malpha # [ 76.770032] systemd-logind[741]: Removed session 11.�[0m
�[2malpha # [ 76.891862] sshd[1429]: Accepted publickey for root from 192.168.1.2 port 33632 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [ 76.894465] sshd[1429]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [ 76.898549] systemd-logind[741]: New session 12 of user root.�[0m
�[2malpha # [ 76.899633] systemd[1]: Started Session 12 of User root.�[0m
�[2mdeployer # alpha | Warning: do not know how to make this configuration bootable; please enable a boot loader.�[0m
�[2malpha # [ 77.149574] nixos[1431]: �[0;1;39mswitching to system configuration /nix/store/c4gs88p484m2lrl5awzdi4sdigsl3wyj-nixos-system-alpha-23.11pre-git�[0m�[0m
�[2malpha # [ 77.156564] systemd[1]: Stopped target Local File Systems.�[0m
�[2malpha # [ 77.157519] systemd[1]: Stopped target All Network Interfaces (deprecated).�[0m
�[2malpha # [ 77.158558] systemd[1]: Stopped target Remote File Systems.�[0m
�[2mdeployer # alpha | activating the configuration...�[0m
�[2mdeployer # alpha | setting up /etc...�[0m
�[2malpha # [ 77.455147] systemd[1]: Reloading requested from client PID 1560 ('systemctl') (unit session-12.scope)...�[0m
�[2malpha # [ 77.455639] systemd[1]: Reloading...�[0m
�[2malpha # [ 77.591257] systemd[1]: Reloading finished in 134 ms.�[0m
�[2mdeployer # alpha | reloading user units for root...�[0m
�[2malpha # [ 77.618779] su[1583]: Successful su for root by root�[0m
�[2malpha # [ 77.620086] su[1583]: pam_unix(su:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [ 77.629738] systemd[979]: Reexecuting requested from client PID 1585 ('systemctl')...�[0m
�[2malpha # [ 77.638847] systemd[979]: �[0;1;39mReexecuting.�[0m�[0m
�[2malpha # [ 77.714515] systemd[979]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).�[0m
�[2malpha # [ 77.716142] su[1583]: pam_unix(su:session): session closed for user root�[0m
�[2mdeployer # alpha | setting up tmpfiles�[0m
�[2malpha # [ 77.754533] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).�[0m
�[2malpha # [ 77.755413] systemd[1]: Reached target Local File Systems.�[0m
�[2malpha # [ 77.760028] systemd[1]: Reached target All Network Interfaces (deprecated).�[0m
�[2malpha # [ 77.760616] systemd[1]: Reached target Remote File Systems.�[0m
�[2malpha # [ 77.764515] systemd[1]: Starting Load Kernel Module efi_pstore...�[0m
�[2malpha # [ 77.769638] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.�[0m
�[2malpha # [ 77.772343] systemd[1]: Finished Load Kernel Module efi_pstore.�[0m
�[2malpha # [ 77.773310] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).�[0m
�[2malpha # [ 77.797027] nixos[1431]: �[0;1;39mfinished switching to system configuration /nix/store/c4gs88p484m2lrl5awzdi4sdigsl3wyj-nixos-system-alpha-23.11pre-git�[0m�[0m
�[2malpha # [ 77.801407] sshd[1429]: Received disconnect from 192.168.1.2 port 33632:11: disconnected by user�[0m
�[2malpha # [ 77.802080] sshd[1429]: Disconnected from user root 192.168.1.2 port 33632�[0m
�[2mdeployer # alpha | Activation successful�[0m
�[2malpha # [ 77.802733] sshd[1429]: pam_unix(sshd:session): session closed for user root�[0m
�[2mdeployer # alpha | No post-activation keys to upload�[0m
�[2mdeployer # | All done!�[0m
�[2malpha # [ 77.805258] systemd-logind[741]: Session 12 logged out. Waiting for processes to exit.�[0m
�[2malpha # [ 77.806408] systemd[1]: session-12.scope: Deactivated successfully.�[0m
�[2malpha # [ 77.808845] systemd-logind[741]: Removed session 12.�[0m
(finished: must succeed: cd /tmp/bundle && /nix/store/8gxzspl7bzr4ybaqjsfxdqqyg93sknbj-colmena-0.5.0-pre/bin/colmena apply --on @target --evaluator chunked --impure, in 6.54 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 6.55 seconds)
(finished: run the VM test script, in 79.15 seconds)
test script finished in 79.17s
�[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)
�[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.16 seconds)
kill vlan (pid 7)
Loading