!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

85 Members
23 Servers

Load older messages


SenderMessageTime
10 Jul 2023
@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
@nikstur:matrix.orgnikstur Now I can machine.sleep but thats obv not a very robus solution 15:12:50
@raitobezarius:matrix.orgraitobezariusThere was discussion in NixOS Systemd about RIIR the protocol between VM and driver15:16:52
@raitobezarius:matrix.orgraitobezariusso it would have proper framing, et.15:16:56
@raitobezarius:matrix.orgraitobezarius * so it would have proper framing, etc.15:16:58
@nikstur:matrix.orgniksturI read that thread but I don't think this would really improve the situation for waiting for a reboot 15:56:05
22 Jul 2023
@raitobezarius:matrix.orgraitobezarius nikstur: I think something is very wrong with our NixOS tests wrt to boot 21:42:34
@raitobezarius:matrix.orgraitobezariusAnd reason for why it's breaking also Lanzaboote tests21:42:42
@raitobezarius:matrix.orgraitobezariusbut I feel like this is driver specific21:43:20
@raitobezarius:matrix.orgraitobezariusok it's potentially layer 8 but we need to fix timeouts21:59:13
@raitobezarius:matrix.orgraitobezariusif you try to boot QEMU test with no media nothing, it will just loop infinitely21:59:33
25 Jul 2023
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.01:56:58
26 Jul 2023
@olafklingt:matrix.org@olafklingt:matrix.org joined the room.23:06:48
27 Jul 2023
@ribosomerocker:matrix.orgribosomerocker joined the room.03:03:13
13 Aug 2023
@10leej:matrix.org@10leej:matrix.org joined the room.01:25:21
15 Aug 2023
@10leej:matrix.org@10leej:matrix.org left the room.19:34:17
21 Aug 2023
@k900:0upti.meK900 joined the room.14:21:56

Show newer messages


Back to Room ListRoom Version: 9