!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

99 Members
25 Servers

Load older messages


SenderMessageTime
9 Dec 2025
@k900:0upti.meK900The test VMs have limited disk space, by design15:21:26
@okamis:matrix.orgokamisWhere can I read up on that? there is the config virtual.diskSize, but I take it its different from the /tmp/shared15:23:33
@okamis:matrix.orgokamis* Where can I read up on that? there is the config virtual.diskSize, but It doesnt affect /tmp/shared15:24:38
@k900:0upti.meK900/tmp/shared specifically is backed by a temporary directory, which is probably backed by tmpfs, which is backed by RAM15:25:39
@k900:0upti.meK900With build-vm you should not have a /tmp/shared at all unless you've configured it explicitly15:25:53
@okamis:matrix.orgokamiswith build-vm I did get a /tmp/shared, but my confusion is more why I cannot see anything in /tmp/shared, I just see it consuming disk15:27:43
@k900:0upti.meK900 See anything where? 15:28:12
@okamis:matrix.orgokamis´ls /tmp/shared´ gives me empty dir15:28:28
@okamis:matrix.orgokamis* 'ls /tmp/shared' gives me empty dir15:28:40
@k900:0upti.meK900 You might want ls -a 15:28:49
@okamis:matrix.orgokamis * 'ls -a /tmp/shared' gives me empty dir 15:28:57
@k900:0upti.meK900If it's still empty, I'm guessing this is just qemu misreporting filesystem size for shared folders15:29:14
@okamis:matrix.orgokamisthank you for sharing your wizdom, bye-bye15:30:25
11 Dec 2025
@suua:matrix.orgsuua joined the room.16:11:27
13 Dec 2025
@vengmark2:matrix.orgl0b0 How do I disable the NixOS "Tour" popup when starting GNOME for the first time? I had a look at nixpkgs/nixos/tests/gnome.nix, but it's not obvious what they do (or even whether they dismiss or disable the popup). 13:01:52
@vengmark2:matrix.orgl0b0 * How do I disable the NixOS "Tour" popup when starting GNOME for the first time? I had a look at nixpkgs/nixos/tests/gnome.nix, but it's not obvious what they do (or even whether they dismiss or disable the popup). Update: nodes.machine.environment.gnome.excludePackages = [ pkgs.gnome-tour ]; seems to have taken care of it. 13:04:54
@vengmark2:matrix.orgl0b0 How do I send the Super key to GNOME in a test? send_key doesn't seem to support it. 13:39:15
@vengmark2:matrix.orgl0b0 * How do I send the Super key to GNOME in a test? send_key doesn't seem to support it. Update: It doesn't seem to be documented anywhere, but an old forum post had the answer: meta_l or meta_r. 13:41:58
@vengmark2:matrix.orgl0b0 Why does machine.wait_for_text(r"some regex", 10) never seem to finish? It prints "machine: waiting for some regex to appear on screen", then continues to print system logs, and never exits. This is the last line of code in the test, so it should exit after 10 seconds. 13:48:24
@vengmark2:matrix.orgl0b0 * Why does machine.wait_for_text(r"some regex", 10) never seem to time out? It prints "machine: waiting for some regex to appear on screen", then continues to print system logs, and never exits. This is the last line of code in the test, so it should exit after 10 seconds. 14:11:01
@vengmark2:matrix.orgl0b0 How do I view screenshot(filename) results locally? My test prints making screenshot /nix/store/yibqm6bh97j7842d8mz5n9zi7ff213ac-vm-test-run-purge-missing-pictures-service/notifications.png, but that path is not available locally, even while the test is still running. 15:24:56
19 Dec 2025
@frederic:scs.ems.hostFrédéric Christ changed their display name from Frédéric Christ to Frédéric Christ (back on 02.01.).15:15:15
27 Oct 2022
@winterqt:nixos.devWinter (she/her) joined the room.14:32:17
@davidak:matrix.org@davidak:matrix.orgi guess everything. improve quality with any method i established the term "package tests" in the manual, i do manual tests before release, i test prs like the gui installer, i test pantheon as part of it's maintainer team, i review prs, i create automated test, i improve and extend the manual, i try to establish a vision for nixpkgs, .....14:36:31
@davidak:matrix.org@davidak:matrix.orgi professionally work in QA and our team does manual tests for release und automate testing where possible. i think that belongs in one team, to have a common goal. there can still be people that only work in one area and maybe separate chat rooms if it helps decluttering, but we should coordinate the efforts more14:42:14
@b:chreekat.netchreekat joined the room.14:46:13
@whentze:matrix.orgWanja Hentze joined the room.14:48:09
@davidak:matrix.org@davidak:matrix.orgi just do my own thing and have my own standards for quality (often too perfectionistic). i would like to have a consensus on what level of quality we work towards and a combined effort on that. maybe even policies or recommendations. it's often unclear to me what and to i do things. so i try to learn how it is done or propose something and hope the reviewers are satisfied. i got a lot of such into the manual, like "how to deprecate packages"14:49:16
@whentze:matrix.orgWanja HentzeI think VM-based NixOS tests are seriously cool14:50:08
@whentze:matrix.orgWanja HentzeWe have a few at work but almost nobody knows how to properly write them14:50:26

Show newer messages


Back to Room ListRoom Version: 9