Robert Hensing
aa0f27abb0
treewide: machine -> nodes.machine
2 years ago
Jan Tojnar
8e251dfd7a
nixosTests.gnome: fix tests
...
GNOME Terminal is no longer installed by default,
breaking the tests that depend on it.
Let’s re-add it for now to unbreak them.
2 years ago
Naïm Favier
e869dc0ce0
Revert "nixosTests.gnome: add autologin delay to catch GDM failures"
2 years ago
Naïm Favier
e9ebd5e90e
nixosTests.gnome: add autologin delay to catch GDM failures
...
Catches failures like https://github.com/NixOS/nixpkgs/issues/149539
that don't happen with AutomaticLoginEnable.
We still have a 0-delay autologin test in gnome-xorg, in case there's
ever an issue that only arises with AutomaticLoginEnable.
3 years ago
Artturin
54ece050b8
nixos/qemu-vm: default memorySize 384 -> 1024
...
the default hasn't been changed since 2009
this can improve our test performances
nixos/tests: remove explicit memorySize <1024
1024MiB is now the default
3 years ago
Jan Tojnar
b2ef3e68e7
nixosTests.gnome: fix
...
GNOME Shell 41 made the Eval command we use for NixOS tests internal
so in order to be still able to use it, we need to run the shell
in an unsafe mode.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1970
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1983
Hopefully, the test driver will eventually get better so that
we will not need hacks like this forever.
3 years ago
Jan Tojnar
468cb5980b
gnome: rename from gnome3
...
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
3 years ago
Tor Hedin Brønner
7aaf526225
nixos/tests/gnome3: start terminal with autostart file ( #96102 )
...
For some reason starting the terminal using `su user -c '...'` have
a tendency to fail. Simply use an autostart file instead.
4 years ago
Jan Tojnar
13e22e4607
nixosTests.gnome3: enable debug mode
...
The tests fail too often on Hydra without much of a hint what went wrong. Hopefully, this will provide some clue.
4 years ago
worldofpeace
490cd7889e
nixos/displayManager: make autoLogin options independent of DM type
...
Co-authored-by: volth <volth@volth.com>
4 years ago
Jan Tojnar
15002f1cfd
tree-wide: Switch from gnome3.maintainers to lib.teams.gnome
4 years ago
worldofpeace
7651fcfe48
nixosTests.gnome3: wait_for_wayland at login
...
This prevents the default.target check from just failing.
Blaming it on using systemctl in wait_for_unit (and it's particularly
buggy for user units).
4 years ago
worldofpeace
9888b30924
nixosTests.gnome3: port to python
4 years ago
c0bw3b
1f7455cf0d
nixos.tests: silence getfacl absolute path message
...
Default getfacl behavior is to remove leading slash on absolute
paths in its header printed to stdout.
Before the header it will also print a message about it...
Switches -p -or --absolute-names can turn this off
and remove some noise from our tests logs.
5 years ago
worldofpeace
9d0996ff11
nixosTests.gnome3{xorg}: add gnome3 maintainers
5 years ago
worldofpeace
5efe51ccc2
nixosTests.gnome3: rename from gnome3-gdm
...
The actual only difference from the gnome3-xorg
test is that this tests the wayland session.
It's also more accurate to call it just "gnome3"
since wayland is default here.
5 years ago
Tor Hedin Brønner
75e223bf7a
nixos/tests/gnome3-gdm: port to wayland
...
The test now runs wayland, which means we can no longer use X11 style testing.
Instead we get gnome shell to execute javascript through its dbus interface.
6 years ago
lassulus
fc035da4a4
xserver.displayManager: change default
...
Switch from slim to lightdm as the display-manager.
If plasma5 is used as desktop-manager use sdddm.
If gnome3 is used as desktop-manager use gdm.
Based on #12516
6 years ago
volth
2e979e8ceb
[bot] nixos/*: remove unused arguments in lambdas
6 years ago
xeji
4c14202bd1
nixos/tests/gnome3-gdm: fix broken test
...
test always failed due to multiple bugs
6 years ago
Jan Tojnar
dfdfb97f0f
nixos/tests/gnome3-gdm: Increase memory limit
...
The test was failing on x86_64 prematurely due to memory being exhausted.
See also 3b9f0c6a46
7 years ago
Robin Gloster
ce953d0bc9
panomatic: remove
7 years ago
Eelco Dolstra
9153d8ed64
Fix X11 tests broken by the removal of -ac
...
Probably missed a few. Also adding xauth to the system path (it was
already in the closure).
8 years ago
Luca Bruno
dfeee51818
nixos tests: add gdm test
9 years ago
Luca Bruno
38dd4f5ce1
gnome3 test: revert back to using slim
...
GDM needs more time to load on hydra, need a better way to find out
when the user has logged in.
9 years ago
Luca Bruno
119a6ef543
gnome3 test: use gdm with autologin instead of slim
9 years ago
Joachim Schiele
0731489953
all tests: added meta.maintainers section
9 years ago
Luca Bruno
5d2b3ff8cf
nixos: increase allocated memory for gnome tests. Closes #4651
10 years ago
Domen Kožar
130e56cd42
nixos.tests.gnome3: wait 20sec for the screenshot
10 years ago
Florian Friesdorf
9b7dbcc83e
name nixos tests, close #3078
10 years ago
Eelco Dolstra
abe218950c
Make it easier to run the tests
...
You can now run a test in the nixos/tests directory directly using
nix-build, e.g.
$ nix-build '<nixos/tests/login.nix>' -A test
This gets rid of having to add the test to nixos/tests/default.nix.
(Of course, you still need to add it to nixos/release.nix if you want
Hydra to run the test.)
10 years ago
Domen Kožar
028379be28
nixos: add most basic gnome3 test and take a screenshot
11 years ago
Shea Levy
51de280c0a
nixos X tests: wait for logind to link a session to the server
...
There seems to be some race causing failures if an X command gets in before slim starts the session
Signed-off-by: Shea Levy <shea@shealevy.com>
11 years ago
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
11 years ago
Eelco Dolstra
17457297cb
Update all legacy-style modules
...
I.e., modules that use "require = [options]". Nowadays that should be
written as
{
options = { ... };
config = { ... };
};
Also, use "imports" instead of "require" in places where we actually
import another module.
11 years ago
Domen Kozar
fde8e002ce
tests.xfce: attempt to fix terminal command
11 years ago
Eelco Dolstra
c04d1477de
svn path=/nixos/trunk/; revision=29435
13 years ago
Peter Simons
eb6e1310b8
strip trailing whitespace; no functional change
...
svn path=/nixos/trunk/; revision=29285
13 years ago
Eelco Dolstra
80d817fcb7
* Verify whether Xfce users get ownership of devices.
...
svn path=/nixos/trunk/; revision=28396
13 years ago
Eelco Dolstra
c52aeacf1a
* Factor out some test commonality.
...
svn path=/nixos/trunk/; revision=26394
13 years ago
Eelco Dolstra
ff458f3fc8
* Add a very basic test for Xfce.
...
svn path=/nixos/trunk/; revision=26284
13 years ago