14 Nov 2023 |
raitobezarius | We have examples already of such tests | 13:04:27 |
raitobezarius | You just parametrize the test | 13:04:39 |
bendlas | In reply to @raitobezarius:matrix.org You don't need to use a nixos module for that might have been convenient though ... but ok, I'm taking that as a "no" | 13:05:56 |
15 Nov 2023 |
| @grahamc:nixos.orgchanged room power levels. | 16:17:50 |
| @grahamc:nixos.org left the room. | 16:17:50 |
| Alyssa Ross joined the room. | 17:26:47 |
| NixOS Moderation Botchanged room power levels. | 18:12:39 |
| NixOS Moderation Botchanged room power levels. | 18:12:39 |
19 Nov 2023 |
| pbsds changed their display name from pbsds to pbsds (federation borken, may not see reply). | 03:35:39 |
| ZXGU joined the room. | 10:59:25 |
| pbsds changed their display name from pbsds (federation borken, may not see reply) to pbsds. | 20:38:53 |
22 Nov 2023 |
| zarel joined the room. | 09:36:35 |
25 Nov 2023 |
Artturin | Which one should be used in nixos/test/all-tests.nix
handleTest or runTest ?
| 14:13:04 |
Artturin | I suppose runTest when the file has only one test | 14:13:39 |
nikstur | runTest uses the read-only pkgs set so is generally a little faster | 21:23:54 |
1 Dec 2023 |
Artturin | https://www.phoronix.com/news/xwayland-run | 06:38:05 |
4 Dec 2023 |
| Philip Taron (UTC-8) joined the room. | 20:59:56 |
5 Dec 2023 |
| Federico Damián Schonborn changed their profile picture. | 00:38:58 |
9 Dec 2023 |
| * lewo is trying to find which subtest is failing with a log stream of 10msg/sec :( | 16:32:21 |
15 Dec 2023 |
| emily joined the room. | 18:24:11 |
emily | do we have a set of images and other media files in nixpkgs for use in VM tests? | 18:26:44 |
raitobezarius | I am not aware of any beyond classical images coming from existing DE | 19:41:15 |
| Alex S changed their profile picture. | 21:02:38 |
17 Dec 2023 |
| deej joined the room. | 12:27:05 |
deej | Hello folks,
I was looking for a bit of guidance on a use case for the Nix integration testing library.
I have a project which connects to different Linux boxes and does some discovery of about the system and performs some tasks (think something like Ansible).
I've really liked using the Nix integration testing library for testing applications on NixOS, however in this project I need to be able to test against many different distro types (Ubuntu, Arch, etc). So, it would be great if I could define some VMs with Vagrantfiles and use those as definitions for nodes in a .nix test file.
All documentation around the integration testing library (understandably) focuses on NixOS VMs. So my first questions before I go too far down this rabbit hole are:
- Is this even remotely feasible or is the integration testing tool intrinsically tied to NixOS?
- If it is feasible, can anyone suggest some example tests or documentation that might point me in the direction of achieving my goal?
| 12:27:43 |
raitobezarius | It's possible but no one wrote any doc or example test AFAIK to achieve this | 12:37:06 |
raitobezarius | You need to rework the agent to interact with the guest VMs and make the test driver aware of the underlying distribution | 12:37:28 |
| infinisil left the room. | 13:39:24 |
tomberek | I want to say that I had done a proof-of-concept of this a while ago, but I may be confusing it with getting NixOps to manage non-NixOS. And my google-fu isn't helping me right now. Yes, running other distros would be excellent and likely wouldn't take too many changes. | 13:46:42 |
| Dandellion joined the room. | 23:57:00 |