!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

85 Members
23 Servers

Load older messages


SenderMessageTime
1 Nov 2023
@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.meK900Tests 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.meK900I 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.meK900Anyone knows if something changed with Selenium recently?08:04:30
@k900:0upti.meK900https://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.meK900Yeah that one I get08:35:21
@k900:0upti.meK900I 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.meK900It'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
@raitobezarius:matrix.orgraitobezariusI'd say more it has to do with Selenium being bumped than our test harness being broken (?)08:38:26
@k900:0upti.meK900Very possible08:39:17
@k900:0upti.meK900Oh08:40:57
@k900:0upti.meK900https://github.com/SeleniumHQ/selenium/pull/1307108:40:57
@raitobezarius:matrix.orgraitobezariushexa fixing things in anger08:41:34

Show newer messages


Back to Room ListRoom Version: 9