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-prepopulate-ubuntu_23_04_cloudimg [x86_64-linux] succeeded Oct 2, 2023 in 12m 51s

Run results

Build succeeded

Details

Last 100 lines of logs:

node1 # [  OK  ] Reached target sockets.target - Socket Units.
node1 # [  OK  ] Reached target basic.target - Basic System.
node1 #          Starting apport.service…tomatic crash report generation...
node1 # [  OK  ] Started cron.service -…kground program processing daemon.
node1 #          Starting dbus.service - D-Bus System Message Bus...
node1 # [  OK  ] Started dmesg.service …nitial kernel messages after boot.
node1 #          Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
node1 #          Starting grub-common.servi…Record successful boot for GRUB...
node1 # [  OK  ] Started irqbalance.service - irqbalance daemon.
node1 #          Starting mount-store.service...
node1 #          Starting pollinate.service… pseudo random number generator...
node1 #          Starting rsyslog.service - System Logging Service...
node1 # [  OK  ] Started snapd.aa-prompt-li…rspace listener for prompt events.
node1 # [  OK  ] Reached target getty-pre.target - Preparation for Logins.
node1 #          Starting systemd-logind.se…ice - User Login Management...
node1 #          Starting systemd-user-sess…vice - Permit User Sessions...
node1 # [  OK  ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.
node1 # [  OK  ] Finished systemd-user-sess…ervice - Permit User Sessions.
node1 #          Starting plymouth-quit-wai… until boot process finishes up...
node1 #          Starting plymouth-quit.ser… Terminate Plymouth Boot Screen...
node1 # [  OK  ] Started dbus.service - D-Bus System Message Bus.
node1 # [  OK  ] Finished plymouth-quit-wai…ld until boot process finishes up.
node1 # [  OK  ] Finished grub-common.servi…- Record successful boot for GRUB.
node1 # [  OK  ] Finished plymouth-quit.ser… - Terminate Plymouth Boot Screen.
node1 #          Starting grub-initrd-fallb…0m - GRUB failed boot detection...
node1 #          Starting setvtrgb.service - Set console scheme...
node1 # [  OK  ] Started systemd-logind.service - User Login Management.
node1 # [  OK  ] Started unattended-upgrade…0m - Unattended Upgrades Shutdown.
node1 # [  OK  ] Finished setvtrgb.service - Set console scheme.
node1 # [  OK  ] Finished grub-initrd-fallb… - GRUB failed boot detection.
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 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 # [  OK  ] Finished 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.99 seconds)
(finished: waiting for the VM to finish booting, in 18.99 seconds)
(finished: waiting for unit default.target, in 19.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.26 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.00 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.00 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.28 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 succeed: cat /etc/foo_new
(finished: must succeed: cat /etc/foo_new, in 0.00 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.17 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
node1 # Unit new-service.service could not be found.
(finished: must fail: systemctl status new-service.service, in 0.00 seconds)
node1: must fail: cat /etc/foo_new
node1 # cat: /etc/foo_new: No such file or directory
(finished: must fail: cat /etc/foo_new, in 0.00 seconds)
(finished: run the VM test script, in 24.01 seconds)
test script finished in 24.06s
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)