!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

64 Members
22 Servers

Load older messages


SenderMessageTime
4 Jun 2023
@baloo_:matrix.orgbaloonevermind, I can just pull the toplevel of the inner system ><22:06:26
10 Jun 2023
@raitobezarius:matrix.orgraitobezarius Robert Hensing (roberth): you might want to take a look to https://github.com/NixOS/nixpkgs/pull/228346 16:17:32
@raitobezarius:matrix.orgraitobezarius(this PR is like only a "model PR" that I hacked to understand the current challenges of netboot testing)16:18:19
@raitobezarius:matrix.orgraitobezarius(directBoot is now merged, diskless VMs might be much simpler thanks to the persistent PR from nikstur, etc, etc.)16:18:36
12 Jun 2023
@baloo_:matrix.orgbaloowould it be possible to get a review on https://github.com/NixOS/nixpkgs/pull/235874 ? Or maybe even a merge? :)16:34:21
13 Jun 2023
@b:chreekat.net@b:chreekat.netI commented :P18:05:32
@baloo_:matrix.orgbalooI'm not too sure I understand how the code is different from the description to be honest.18:39:43
@baloo_:matrix.orgbaloomaybe only review the first commit, the second adds noise because it brings a test to cover the issue.18:40:08
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.20:56:03
14 Jun 2023
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @raitobezarius:matrix.org
(directBoot is now merged, diskless VMs might be much simpler thanks to the persistent PR from nikstur, etc, etc.)
a rebase would reviewers I think
10:27:31
@roberthensing:matrix.orgRobert Hensing (roberth)* a rebase would help reviewers I think12:12:07
8 Jul 2023
@jonge:ukvly.orgjonge hey friends, i created a PR that syncs the docstrings of the Machine class's methods and the nixos docs of the test driver. if anybody would be interested to look at this this would be a great help: https://github.com/NixOS/nixpkgs/pull/242135 10:09:27
@raitobezarius:matrix.orgraitobezariusWill take a look when I can :-)10:53:52
@raitobezarius:matrix.orgraitobezariusThank you!10:53:55
10 Jul 2023
@nikstur:matrix.orgnikstur joined the room.14:29:36
@nikstur:matrix.orgnikstur Is there any simple way I can wait for a machine to reboot? I want to test a service that automatically reboots the machine on success (as unitConfig.SuccessAction = "reboot"; so the reboot is not initiated by the test itself 14:31:18
@nikstur:matrix.orgniksturI'll even take a complex way because I can't figure it out :D14:43:53
@raitobezarius:matrix.orgraitobezariuswait_for_unit("$unit.service") ? :p14:44:13
@raitobezarius:matrix.orgraitobezariusafter a machine.crash() ?14:44:21
@nikstur:matrix.orgniksturWorks only if I trigger the crash from within the test. But the service running in the VM triggers the reboot15:01:01
@raitobezarius:matrix.orgraitobezariushmm15:01:12
@raitobezarius:matrix.orgraitobezariusso you want something to say "now you are rebooting"15:01:22
@nikstur:matrix.orgniksturAnd waiting for reboot.target etc doesnt work either15:01:27
@raitobezarius:matrix.orgraitobezariusour protocol to assert the state of the machine is suboptimal for that15:01:43
@nikstur:matrix.orgniksturwait_for_reboot() or something15:01:44
@raitobezarius:matrix.orgraitobezariusI think you need to do adjustments for that15:01:49
@raitobezarius:matrix.orgraitobezariusin the internal state machine15:01:53
@nikstur:matrix.orgniksturHad hoped, I wouldn't need to touch it15:06:43
@nikstur:matrix.orgniksturmhhhm15:06:49
@nikstur:matrix.orgnikstur Ok so one thing I figured out is that I need to set machine.connected = False so that it reconnects to the shell 15:12:23

Show newer messages


Back to Room ListRoom Version: 9