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

flake.nix: add workaround for ipetkov/crane#385 #44

Merged
merged 1 commit into from
Oct 2, 2023

flake.nix: add workaround for ipetkov/crane#385

69dd053
Select commit
Loading
Failed to load commit list.
Merged

flake.nix: add workaround for ipetkov/crane#385 #44

flake.nix: add workaround for ipetkov/crane#385
69dd053
Select commit
Loading
Failed to load commit list.
Garnix CI / check vm-test-example-ubuntu_23_04_cloudimg [x86_64-linux] succeeded Oct 2, 2023 in 14m 24s

Run results

Build succeeded

Details

Last 100 lines of logs:

node1 # [  OK  ] Finished plymouth-quit.ser… - Terminate Plymouth Boot Screen.
node1 # [  OK  ] Finished setvtrgb.service - Set console scheme.
node1 # [  OK  ] Created slice system-getty.slice - Slice /system/getty.
node1 # [  OK  ] Started getty@tty1.service - Getty on tty1.
node1 # [  OK  ] Reached target getty.target - Login Prompts.
node1 # [  OK  ] Started unattended-upgrade…0m - Unattended Upgrades Shutdown.
node1 # [  OK  ] Finished grub-common.servi…- Record successful boot for GRUB.
node1 #          Starting grub-initrd-fallb…0m - GRUB failed boot detection...
node1 # [  OK  ] Finished grub-initrd-fallb… - GRUB failed boot detection.
node1 # [  OK  ] Started rsyslog.service - System Logging Service.
node1 # [  OK  ] Finished pollinate.service…he pseudo random number generator.
node1 # [  OK  ] Finished apport.service…automatic crash report generation.
node1 # [  OK  ] Finished mount-store.service.
node1 # [  OK  ] Started backdoor.service.
node1 # [  OK  ] Reached target multi-user.target - Multi-User System.
node1 # [  OK  ] Reached target graphical.target - Graphical Interface.
node1 #          Starting systemd-update-ut… Record Runlevel Change in UTMP...
node1 # connecting to host...
node1: Guest shell says: b'Spawning backdoor root shell...\n'
node1: connected to guest root shell
node1: (connecting took 18.35 seconds)
(finished: waiting for the VM to finish booting, in 18.35 seconds)
node1 # [  OK  ] Finished systemd-update-ut… - Record Runlevel Change in UTMP.
(finished: waiting for unit default.target, in 18.36 seconds)
node1: must succeed: touch /etc/foo_test
(finished: must succeed: touch /etc/foo_test, in 0.00 seconds)
node1: must succeed: /system-manager-profile/bin/activate 2>&1 | tee /tmp/output.log
(finished: must succeed: /system-manager-profile/bin/activate 2>&1 | tee /tmp/output.log, in 2.29 seconds)
node1: must succeed: grep -F 'Error while creating file in /etc: Unmanaged path already exists in filesystem, please remove it and run system-manager again: /etc/foo_test' /tmp/output.log
(finished: must succeed: grep -F 'Error while creating file in /etc: Unmanaged path already exists in filesystem, please remove it and run system-manager again: /etc/foo_test' /tmp/output.log, in 0.00 seconds)
node1: must succeed: rm /etc/foo_test
(finished: must succeed: rm /etc/foo_test, in 0.00 seconds)
node1: must succeed: /system-manager-profile/bin/activate 2>&1 | tee /tmp/output.log
(finished: must succeed: /system-manager-profile/bin/activate 2>&1 | tee /tmp/output.log, in 0.36 seconds)
node1: must succeed: ! grep -F 'ERROR' /tmp/output.log
(finished: must succeed: ! grep -F 'ERROR' /tmp/output.log, in 0.00 seconds)
node1: waiting for unit system-manager.target
(finished: waiting for unit system-manager.target, in 0.01 seconds)
node1: must succeed: systemctl status service-9.service
(finished: must succeed: systemctl status service-9.service, in 0.00 seconds)
node1: must succeed: cat /etc/baz/bar/foo2
(finished: must succeed: cat /etc/baz/bar/foo2, in 0.00 seconds)
node1: must succeed: cat /etc/a/nested/example/foo3
(finished: must succeed: cat /etc/a/nested/example/foo3, in 0.00 seconds)
node1: must succeed: cat /etc/foo.conf
(finished: must succeed: cat /etc/foo.conf, in 0.00 seconds)
node1: must succeed: grep -F 'launch_the_rockets = true' /etc/foo.conf
(finished: must succeed: grep -F 'launch_the_rockets = true' /etc/foo.conf, in 0.01 seconds)
node1: must fail: grep -F 'launch_the_rockets = false' /etc/foo.conf
(finished: must fail: grep -F 'launch_the_rockets = false' /etc/foo.conf, in 0.00 seconds)
node1: must succeed: //nix/store/pijn3bjdg4ijsxfnd7nw5v142b0i86k0-system-manager/bin/activate 2>&1 | tee /tmp/output.log
(finished: must succeed: //nix/store/pijn3bjdg4ijsxfnd7nw5v142b0i86k0-system-manager/bin/activate 2>&1 | tee /tmp/output.log, in 2.42 seconds)
node1: must succeed: ! grep -F 'ERROR' /tmp/output.log
(finished: must succeed: ! grep -F 'ERROR' /tmp/output.log, in 0.00 seconds)
node1: must succeed: systemctl status new-service.service
(finished: must succeed: systemctl status new-service.service, in 0.01 seconds)
node1: must fail: systemctl status service-9.service
node1 # Unit service-9.service could not be found.
(finished: must fail: systemctl status service-9.service, in 0.01 seconds)
node1: must fail: cat /etc/a/nested/example/foo3
node1 # cat: /etc/a/nested/example/foo3: No such file or directory
(finished: must fail: cat /etc/a/nested/example/foo3, in 0.00 seconds)
node1: must fail: cat /etc/baz/bar/foo2
node1 # cat: /etc/baz/bar/foo2: No such file or directory
(finished: must fail: cat /etc/baz/bar/foo2, in 0.00 seconds)
node1: must fail: cat /etc/systemd/system/nginx.service
node1 # cat: /etc/systemd/system/nginx.service: No such file or directory
(finished: must fail: cat /etc/systemd/system/nginx.service, in 0.00 seconds)
node1: must succeed: cat /etc/foo_new
(finished: must succeed: cat /etc/foo_new, in 0.00 seconds)
node1: sending key 'ret'
(finished: sending key 'ret', in 0.01 seconds)
node1 # [   11.566380] 9pnet_virtio: no channels available for device nix-store
node1: waiting for unit default.target
(finished: waiting for unit default.target, in 0.01 seconds)
node1: must succeed: systemctl status new-service.service
(finished: must succeed: systemctl status new-service.service, in 0.02 seconds)
node1: must fail: systemctl status service-9.service
(finished: must fail: systemctl status service-9.service, in 0.03 seconds)
node1: must fail: cat /etc/a/nested/example/foo3
(finished: must fail: cat /etc/a/nested/example/foo3, in 0.00 seconds)
node1: must fail: cat /etc/baz/bar/foo2
(finished: must fail: cat /etc/baz/bar/foo2, in 0.00 seconds)
node1: must succeed: cat /etc/foo_new
(finished: must succeed: cat /etc/foo_new, in 0.01 seconds)
node1: must succeed: //nix/store/pijn3bjdg4ijsxfnd7nw5v142b0i86k0-system-manager/bin/deactivate 2>&1 | tee /tmp/output.log
(finished: must succeed: //nix/store/pijn3bjdg4ijsxfnd7nw5v142b0i86k0-system-manager/bin/deactivate 2>&1 | tee /tmp/output.log, in 0.21 seconds)
node1: must succeed: ! grep -F 'ERROR' /tmp/output.log
(finished: must succeed: ! grep -F 'ERROR' /tmp/output.log, in 0.00 seconds)
node1: must fail: systemctl status new-service.service
(finished: must fail: systemctl status new-service.service, in 0.00 seconds)
node1: must fail: cat /etc/foo_new
(finished: must fail: cat /etc/foo_new, in 0.00 seconds)
(finished: run the VM test script, in 26.03 seconds)
test script finished in 26.05s
cleanup
kill machine (pid 7)
node1 # qemu-kvm: terminating on signal 15 from pid 5 (/nix/store/vagb0sjv83ybi435i6iiv10hjrdghph9-python3-3.10.12/bin/python3.10)
(finished: cleanup, in 0.04 seconds)
kill vlan (pid 6)