contrib: add a wrapper to be able to check deploys use up-to-date git #198
Garnix CI / check apply-streaming [x86_64-linux]
succeeded
Mar 5, 2024 in 3m 20s
Run results
Build succeeded
Details
Last 100 lines of logs:
�[2malpha # [ 103.609491] systemd[1]: Reached target Local File Systems.�[0m
�[2malpha # [ 103.617328] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.�[0m
�[2malpha # [ 103.624272] systemd[1]: Finished Load Kernel Module efi_pstore.�[0m
�[2malpha # [ 103.625417] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).�[0m
�[2malpha # [ 103.651944] nixos[1551]: �[0;1;39mfinished switching to system configuration /nix/store/b7ckpjpnkvl007mqzsa4zw2bpxkyhv9v-nixos-system-alpha-23.11pre-git�[0m�[0m
�[2malpha # [ 103.657967] sshd[1549]: Received disconnect from 192.168.1.3 port 54992:11: disconnected by user�[0m
�[2malpha # [ 103.658778] sshd[1549]: Disconnected from user root 192.168.1.3 port 54992�[0m
�[2mdeployer # alpha | Activation successful�[0m
�[2mdeployer # alpha | Uploading keys�[0m
�[2malpha # [ 103.659687] sshd[1549]: pam_unix(sshd:session): session closed for user root�[0m
�[2mdeployer # alpha | Uploading post-activation keys...�[0m
�[2mdeployer # alpha | Uploading key post-activation�[0m
�[2malpha # [ 103.662954] systemd-logind[756]: Session 24 logged out. Waiting for processes to exit.�[0m
�[2malpha # [ 103.665108] systemd[1]: session-24.scope: Deactivated successfully.�[0m
�[2malpha # [ 103.669250] systemd-logind[756]: Removed session 24.�[0m
�[2malpha # [ 103.800491] sshd[1728]: Accepted publickey for root from 192.168.1.3 port 57024 ssh2: ECDSA SHA256:+oCBm1A1Mzt3CuOnz392raccJznodBlQkGTcQQa5HUg�[0m
�[2malpha # [ 103.803258] sshd[1728]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)�[0m
�[2malpha # [ 103.807542] systemd-logind[756]: New session 25 of user root.�[0m
�[2malpha # [ 103.810196] systemd[1]: Started Session 25 of User root.�[0m
�[2malpha # [ 103.900260] systemd[1]: post-activation-key.service: Deactivated successfully.�[0m
�[2malpha # [ 103.901945] sshd[1728]: Received disconnect from 192.168.1.3 port 57024:11: disconnected by user�[0m
�[2mdeployer # alpha | Uploaded keys (post-activation)�[0m
�[2malpha # [ 103.903505] sshd[1728]: Disconnected from user root 192.168.1.3 port 57024�[0m
�[2mdeployer # | Failed: Child process exited with error code: 1�[0m
�[2malpha # [ 103.904357] sshd[1728]: pam_unix(sshd:session): session closed for user root�[0m
�[2malpha # [ 103.907672] systemd-logind[756]: Session 25 logged out. Waiting for processes to exit.�[0m
�[2malpha # [ 103.909630] systemd[1]: session-25.scope: Deactivated successfully.�[0m
�[2malpha # [ 103.912250] systemd-logind[756]: Removed session 25.�[0m
�[2malpha # [ 104.067478] systemd[1]: post-activation-key.service: Scheduled restart job, restart counter is at 1.�[0m
�[2malpha # [ 104.069879] systemd[1]: Starting post-activation-key.service...�[0m
�[2malpha # [ 104.077271] post-activation-key-pre-start[1739]: flapped down�[0m
�[2malpha # [ 104.077736] systemd[1]: �[0;1;38;5;185mpost-activation-key.service: Found left-over process 1740 (post-activation) in control group while starting unit. Ignoring.�[0m�[0m
�[2malpha # [ 104.078782] systemd[1]: �[0;1;38;5;185mpost-activation-key.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.�[0m�[0m
�[2malpha # [ 104.079858] systemd[1]: Started post-activation-key.service.�[0m
�[2mdeployer # [ERROR] Failed to complete requested operation - Last 1 lines of logs:�[0m
�[2mdeployer # [ERROR] failure) Child process exited with error code: 1�[0m
�[2mdeployer # [ERROR] Failed to push system closure to beta - Last 5 lines of logs:�[0m
�[2mdeployer # [ERROR] created)�[0m
�[2mdeployer # [ERROR] state) Running�[0m
�[2mdeployer # [ERROR] stderr) ssh: connect to host beta port 22: Connection refused�[0m
�[2mdeployer # [ERROR] stderr) error: failed to start SSH connection to 'root@beta'�[0m
�[2mdeployer # [ERROR] failure) Child process exited with error code: 1�[0m
�[2mdeployer # [ERROR] -----�[0m
�[2mdeployer # [ERROR] Operation failed with error: Child process exited with error code: 1�[0m
�[2mdeployer # Hint: Backtrace available - Use `RUST_BACKTRACE=1` environment variable to display a backtrace�[0m
(finished: must fail: cd /tmp/bundle &&/nix/store/8gxzspl7bzr4ybaqjsfxdqqyg93sknbj-colmena-0.5.0-pre/bin/colmena apply --evaluator streaming --eval-node-limit 4 --on @target, in 19.60 seconds)
alpha: �[1m�[32mmust succeed: grep SECOND /etc/deployment�[0m
(finished: must succeed: grep SECOND /etc/deployment, in 0.01 seconds)
beta: �[1m�[32mmust succeed: grep FIRST /etc/deployment�[0m
(finished: must succeed: grep FIRST /etc/deployment, in 0.01 seconds)
gamma: �[1m�[32mmust succeed: grep SECOND /etc/deployment�[0m
(finished: must succeed: grep SECOND /etc/deployment, in 0.01 seconds)
(finished: subtest: Check that we can correctly deploy to remaining nodes despite failures, in 19.68 seconds)
�[1m�[32msubtest: Check that key contents are not in the Nix store�[0m
deployer: �[1m�[32mmust succeed: ls /nix/store�[0m
(finished: must succeed: ls /nix/store, in 0.03 seconds)
deployer: 345 store paths were created
(finished: subtest: Check that key contents are not in the Nix store, in 0.15 seconds)
�[1m�[32msubtest: Check that our Nix store test is actually working�[0m
deployer: �[1m�[32mmust succeed: nix-build -E 'with import <nixpkgs> {}; writeText "forbidden-text.txt" "this must not appear in the nix store"'�[0m
�[2mdeployer # this derivation will be built:�[0m
�[2mdeployer # /nix/store/4rmgqp8b9b19j130qz3flpr4g4lx11ab-forbidden-text.txt.drv�[0m
�[2mdeployer # building '/nix/store/4rmgqp8b9b19j130qz3flpr4g4lx11ab-forbidden-text.txt.drv'...�[0m
(finished: must succeed: nix-build -E 'with import <nixpkgs> {}; writeText "forbidden-text.txt" "this must not appear in the nix store"', in 0.35 seconds)
deployer: �[1m�[32mmust succeed: ls /nix/store�[0m
(finished: must succeed: ls /nix/store, in 0.03 seconds)
deployer: 347 store paths were created
deployer: �[1m�[32mmust succeed: grep -r 'this must not appear in the nix store' /nix/store/japfr063cjz1v40fq4kk10pvf0v3k539-udev-rules.drv /nix/store/mrshy3xhq9l57jdzaxdnwwg3jzrsfhp4-source.drv /nix/store/cfhsazyc7w01nq4yd50sf27jx0rs3x7p-unit-pre-activation-key.path /nix/store/qwdziljfdw9fixkcmlj3gwag6db6hdb2-python3.10-anyio-3.7.1.drv /nix/store/am4ysz90jdgsn4bdbyb9xz2bqyihlz54-Cython-3.0.2.tar.gz.drv /nix/store/54718smpi8zr2c2gnm0cv0jx1yfdkgpv-nixos-system-beta-23.11pre-git /nix/store/mfkf9fg0s9rdn8nbyczjlvx24n4d30kn-unit-script-original-name-key-start /nix/store/vmgf5vqdz0zzqwly3jjq5yqrb47rzyzl-pexpect-4.8.0.tar.gz.drv /nix/store/jnshcfn…
(finished: must succeed: grep -r 'this must not appear in the nix store' /nix/store/japfr063cjz1v40fq4kk10pvf0v3k539-udev-rules.drv /nix/store/mrshy3xhq9l57jdzaxdnwwg3jzrsfhp4-source.drv /nix/store/cfhsazyc7w01nq4yd50sf27jx0rs3x7p-unit-pre-activation-key.path /nix/store/qwdziljfdw9fixkcmlj3gwag6db6hdb2-python3.10-anyio-3.7.1.drv /nix/store/am4ysz90jdgsn4bdbyb9xz2bqyihlz54-Cython-3.0.2.tar.gz.drv /nix/store/54718smpi8zr2c2gnm0cv0jx1yfdkgpv-nixos-system-beta-23.11pre-git /nix/store/mfkf9fg0s9rdn8nbyczjlvx24n4d30kn-unit-script-original-name-key-start /nix/store/vmgf5vqdz0zzqwly3jjq5yqrb47rzyzl-pexpect-4.8.0.tar.gz.drv /nix/store/jnshcfndxdwwpig…
(finished: subtest: Check that our Nix store test is actually working, in 0.49 seconds)
�[1m�[32msubtest: Check that we can build nodes with dots in their names�[0m
deployer: �[1m�[32mmust succeed: cd /tmp/bundle &&/nix/store/8gxzspl7bzr4ybaqjsfxdqqyg93sknbj-colmena-0.5.0-pre/bin/colmena build --evaluator streaming --eval-node-limit 4 --on gamma.tld�[0m
�[2mdeployer # [INFO ] Using configuration: /tmp/bundle/hive.nix�[0m
�[2mdeployer # [INFO ] Enumerating nodes...�[0m
�[2mdeployer # [INFO ] Selected 1 out of 5 hosts.�[0m
�[2mdeployer # [WARN ] Streaming evaluation is an experimental feature�[0m
�[2mdeployer # gamma.tld | Evaluating gamma.tld�[0m
�[2mdeployer # gamma.tld | warning: unknown setting 'allowed-users'�[0m
�[2mdeployer # gamma.tld | warning: unknown setting 'trusted-users'�[0m
�[2mdeployer # gamma.tld | warning: `--gc-roots-dir' not specified�[0m
�[2mdeployer # gamma.tld | Building gamma.tld�[0m
�[2mdeployer # gamma.tld | Evaluated gamma.tld�[0m
�[2mdeployer # gamma.tld | /nix/store/g61xk1s18spxx4m00hn1p7hlwa49614l-nixos-system-gamma-23.11pre-git�[0m
�[2mdeployer # gamma.tld | Built "/nix/store/g61xk1s18spxx4m00hn1p7hlwa49614l-nixos-system-gamma-23.11pre-git"�[0m
�[2mdeployer # | All done!�[0m
(finished: must succeed: cd /tmp/bundle &&/nix/store/8gxzspl7bzr4ybaqjsfxdqqyg93sknbj-colmena-0.5.0-pre/bin/colmena build --evaluator streaming --eval-node-limit 4 --on gamma.tld, in 6.33 seconds)
(finished: subtest: Check that we can build nodes with dots in their names, in 6.33 seconds)
(finished: run the VM test script, in 113.91 seconds)
test script finished in 113.98s
�[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
kill machine (pid 68)
�[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.34 seconds)
kill vlan (pid 7)
Loading