!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

91 Members
24 Servers

Load older messages


SenderMessageTime
31 Oct 2023
@vengmark2:matrix.orgl0b0 So I'm starting to be more inclined towards start_all being buggy, and not actually detecting the system startup properly. 09:03:28
@raitobezarius:matrix.orgraitobezariusTo debug this properly, you'd need to attach all sorts of logs from the firmware, the kernel and QEMU itself09:53:42
@raitobezarius:matrix.orgraitobezariusOtherwise this is all speculation09:53:47
@vengmark2:matrix.orgl0b0Oof10:26:11
1 Nov 2023
@vengmark2:matrix.orgl0b0
In reply to @raitobezarius:matrix.org
To debug this properly, you'd need to attach all sorts of logs from the firmware, the kernel and QEMU itself
Any pointers to do any of this? I've no idea whether this is even possible on GitLab.
05:59:08
@raitobezarius:matrix.orgraitobezariusWell if it's a VM, you can enable debugging of OVMF if you are using UEFI, you can modify the scripts to make QEMU log information about itself and you can boot the kernel with the right log level, send this as artifacts and bring them11:00:17
@rvdp:infosec.exchangeRamses 🇵🇸 changed their display name from Ramses to Ramses 🇵🇸.19:58:28
2 Nov 2023
@vengmark2:matrix.orgl0b0
In reply to @raitobezarius:matrix.org
Well if it's a VM, you can enable debugging of OVMF if you are using UEFI, you can modify the scripts to make QEMU log information about itself and you can boot the kernel with the right log level, send this as artifacts and bring them
I guess none of that is possible in GitLab, since I can't control how anything outside the Nix container runs.
04:31:43
@vengmark2:matrix.orgl0b0 How do I run multiple NixOS tests in one go? If I use nixosLib.runTest with a separate import per test, the imports conflict. 05:32:50
@vengmark2:matrix.orgl0b0 * How do I run multiple NixOS tests in one go? If I use nixosLib.runTest with a separate import per test, the imports conflict because they are setting the same attributes. But there's no runTests in /nixos/lib. 05:33:28
@k900:0upti.meK900 ⚡️Tests are just derivations05:34:44
@vengmark2:matrix.orgl0b0Yep05:34:56
@k900:0upti.meK900 ⚡️ So you can symlinkJoin them or whatever 05:35:00
@vengmark2:matrix.orgl0b0Isn't there a standard pattern for this?05:35:32
@vengmark2:matrix.orgl0b0 * Isn't there a standard pattern for this? Like the runTests you can use with non-NixOS tests? 05:35:51
@k900:0upti.meK900 ⚡️I don't think there is? 05:36:19
@vengmark2:matrix.orgl0b0 Oh, actually I can just use the same pattern as nixos/tests/all-tests.nix, which assigns runTestresults to attributes in an attrset. 05:39:01
@vengmark2:matrix.orgl0b0 * Oh, actually I can just use the same pattern as nixos/tests/all-tests.nix, which assigns runTestresults to attributes in an attrset. 05:49:23
7 Nov 2023
@k900:0upti.meK900 ⚡️Anyone knows if something changed with Selenium recently?08:04:30
@k900:0upti.meK900 ⚡️https://github.com/NixOS/nixpkgs/pull/265818 breaks and I can't figure out why08:04:42
@vengmark2:matrix.orgl0b0
In reply to @k900:0upti.me
https://github.com/NixOS/nixpkgs/pull/265818 breaks and I can't figure out why

server # [ 11.649647] vaultwarden[980]: [2023-11-06 17:56:48.979][panic][ERROR] thread 'main' panicked at 'Error running migrations: DatabaseError(Unknown, "permission denied for schema public")': src/db/mod.rs:485
This seems to be the actual error

08:35:07
@vengmark2:matrix.orgl0b0
In reply to @k900:0upti.me
https://github.com/NixOS/nixpkgs/pull/265818 breaks and I can't figure out why
*

server # [ 11.649647] vaultwarden[980]: [2023-11-06 17:56:48.979][panic][ERROR] thread 'main' panicked at 'Error running migrations: DatabaseError(Unknown, "permission denied for schema public")': src/db/mod.rs:485

This seems to be the actual error

08:35:11
@k900:0upti.meK900 ⚡️Yeah that one I get08:35:21
@k900:0upti.meK900 ⚡️I don't get why the Selenium tests are failing08:35:29
@raitobezarius:matrix.orgraitobezarius

server # KeyError: 'CONDA_PREFIX'

08:36:20
@raitobezarius:matrix.orgraitobezariuswhat the fresh hell08:36:22
@raitobezarius:matrix.orgraitobezariuswhy is there conda in my selenium08:36:26
@k900:0upti.meK900 ⚡️It's trying to download a browser08:37:05
@raitobezarius:matrix.orgraitobezariushttps://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1935053.html looks awfully similar08:37:05
@raitobezarius:matrix.orgraitobezariusah08:37:09

Show newer messages


Back to Room ListRoom Version: 9