!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

91 Members
24 Servers

Load older messages


SenderMessageTime
27 Oct 2023
@vengmark2:matrix.orgl0b0 It looks like nc never returns (it has no timeout by default), meaning the 900 second timeout never triggers. Forcing a timeout with a horrible hack might work. If so, I'd like to implement https://github.com/NixOS/nixpkgs/issues/157195 to work around this more permanently. 06:01:30
@vengmark2:matrix.orgl0b0Redacted or Malformed Event08:33:30
@raitobezarius:matrix.orgraitobezariusI think you are misunderstanding that we have no guarantee Python is running inside the VM08:34:00
@vengmark2:matrix.orgl0b0Oh right, only on the orchestrator. My bad.08:34:38
@k900:0upti.meK900 ⚡️ changed their profile picture.08:34:56
@k900:0upti.meK900 ⚡️How am I not in this room08:35:05
@raitobezarius:matrix.orgraitobezariusto protect you08:35:13
@vengmark2:matrix.orgl0b0Feck. That does mean I need to keep digging into arcane shell tools to fix my tests.08:36:07
@pederbs:pvv.ntnu.nopbsds joined the room.12:40:08
@rvdp:infosec.exchangeRamses 🇵🇸 joined the room.22:53:36
29 Oct 2023
@raitobezarius:matrix.orgraitobezarius Robert Hensing (roberth): do you have leftover concerns for the timeout PR or would you allow me to send it? 15:56:05
31 Oct 2023
@vengmark2:matrix.orgl0b0

I'm starting to think some unreliable test runs

waiting for the VM to finish booting

never finishing — could be caused by KVM not being set up:

Virtualisation disk image created.
Could not access KVM kernel module: No such file or directory
qemu-kvm: failed to initialize kvm: No such file or directory
qemu-kvm: falling back to tcg
02:43:42
@vengmark2:matrix.orgl0b0 *

I'm starting to think some unreliable test runs — "waiting for the VM to finish booting" never being paired up with a "(finished: waiting for the VM to finish booting, in N.M seconds)" — could be caused by KVM not being set up:

Virtualisation disk image created.
Could not access KVM kernel module: No such file or directory
qemu-kvm: failed to initialize kvm: No such file or directory
qemu-kvm: falling back to tcg
02:44:48
@vengmark2:matrix.orgl0b0 *

I'm starting to think some unreliable test runs — "waiting for the VM to finish booting" never being paired up with a "(finished: waiting for the VM to finish booting, in N.M seconds)" — could be caused by KVM not being set up:

Virtualisation disk image created.
Could not access KVM kernel module: No such file or directory
qemu-kvm: failed to initialize kvm: No such file or directory
qemu-kvm: falling back to tcg

I don't know which level this happens at, but I'm running the nixos/nix:2.18.1 container and setting system-features = benchmark big-parallel kvm nixos-test.

02:46:14
@vengmark2:matrix.orgl0b0 *

I'm starting to think some unreliable test runs — "waiting for the VM to finish booting" never being paired up with a "(finished: waiting for the VM to finish booting, in N.M seconds)" — could be caused by KVM not being set up:

Virtualisation disk image created.
Could not access KVM kernel module: No such file or directory
qemu-kvm: failed to initialize kvm: No such file or directory
qemu-kvm: falling back to tcg

I don't know which level this happens at, but I'm running the nixos/nix:2.18.1 container and setting system-features = benchmark big-parallel kvm nixos-test. What else do I need to do to enable KVM?

02:46:36
@vengmark2:matrix.orgl0b0 *

I'm starting to think some unreliable test runs — "waiting for the VM to finish booting" never being paired up with a "(finished: waiting for the VM to finish booting, in N.M seconds)" — could be caused by KVM not being set up:

Virtualisation disk image created.
Could not access KVM kernel module: No such file or directory
qemu-kvm: failed to initialize kvm: No such file or directory
qemu-kvm: falling back to tcg

I don't know which level this happens at, but I'm running the nixos/nix:2.18.1 container and setting system-features = benchmark big-parallel kvm nixos-test. What else do I need to do to enable KVM? /dev/kvm does not exist within the Docker image.

02:53:07
@k900:0upti.meK900 ⚡️Gitlab managed runners aren't guaranteed to have KVM AFAIK07:55:16
@vengmark2:matrix.orgl0b0
In reply to @k900:0upti.me
Gitlab managed runners aren't guaranteed to have KVM AFAIK
Oh, OK. I couldn't find a definitive answer for this anywhere, so that makes sense.
08:59:21
@k900:0upti.meK900 ⚡️ They have it sometimes IME 08:59:30
@k900:0upti.meK900 ⚡️But they use multiple cloud providers for those08:59:46
@vengmark2:matrix.orgl0b0Still, I have no idea why my tests are failing randomly, and even less how to fix it now.08:59:46
@k900:0upti.meK900 ⚡️Well if there's no KVM it will fall back to software emulation09:00:28
@k900:0upti.meK900 ⚡️Which is not fast09:00:29
@k900:0upti.meK900 ⚡️So it'll probably just time out09:00:39
@vengmark2:matrix.orgl0b0 Oh, by the way, they don't always fail when KVM is missing. 09:00:51
@vengmark2:matrix.orgl0b0So it can't be as simple as that, either.09:01:05
@k900:0upti.meK900 ⚡️Well they can succeed if the CPU is fast enough09:01:35
@k900:0upti.meK900 ⚡️To actually run the JIT at a reasonable speed09:01:42
@vengmark2:matrix.orgl0b0 I haven't found a single common theme that separates 8-minute successes from 3-hour failures, except for the obvious one, that nixosTests' start_all never seems to finish during failed runs. 09:02:20
@vengmark2:matrix.orgl0b0And that's despite both nodes running happily, spitting out journalctl rotation messages every few minutes.09:02:50

Show newer messages


Back to Room ListRoom Version: 9