Merge #195505: nixosTests: avoid some broken ones, fix some others

This commit is contained in:
Vladimír Čunát 2022-10-17 09:09:53 +02:00
commit 8b880dd5d1
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
7 changed files with 14 additions and 6 deletions

View File

@ -60,6 +60,7 @@ in makeTest {
name = "cloud-init";
meta = with pkgs.lib.maintainers; {
maintainers = [ lewo ];
broken = true; # almost always times out after spending many hours
};
nodes.machine = { ... }:
{

View File

@ -191,5 +191,5 @@ in
firefox = { error = "Security Risk"; };
chromium = { error = "not private"; };
qutebrowser = { args = "-T"; error = "Certificate error"; };
midori = { error = "Security"; };
midori = { args = "-p"; error = "Security"; };
}

View File

@ -20,7 +20,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
machine.wait_for_x()
machine.execute("domination >&2 &")
machine.wait_for_window("Menu")
machine.wait_for_text("New Game")
machine.wait_for_text(r"(New Game|Start Server|Load Game|Help Manual|Join Game|About|Play Online)")
machine.screenshot("screen")
'';
})

View File

@ -32,6 +32,7 @@ import ../make-test-python.nix (
name = "mjolnir";
meta = with pkgs.lib; {
maintainers = teams.matrix.members;
broken = true; # times out after spending many hours
};
nodes = {

View File

@ -2,6 +2,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
name = "systemd-cryptenroll";
meta = with pkgs.lib.maintainers; {
maintainers = [ ymatsiuk ];
broken = true; # times out after two hours, details -> https://github.com/NixOS/nixpkgs/issues/167994
};
nodes.machine = { pkgs, lib, ... }: {

View File

@ -23,8 +23,9 @@ with pkgs.lib;
let tests = {
alacritty.pkg = p: p.alacritty;
contour.pkg = p: p.contour;
contour.cmd = "contour $command";
# times out after spending many hours
#contour.pkg = p: p.contour;
#contour.cmd = "contour $command";
cool-retro-term.pkg = p: p.cool-retro-term;
cool-retro-term.colourTest = false; # broken by gloss effect
@ -103,7 +104,8 @@ let tests = {
wayst.pkg = p: p.wayst;
wayst.pinkValue = "#FF0066";
wezterm.pkg = p: p.wezterm;
# times out after spending many hours
#wezterm.pkg = p: p.wezterm;
xfce4-terminal.pkg = p: p.xfce.xfce4-terminal;

View File

@ -44,5 +44,8 @@ in
listToAttrs (
map (makeWineTest "winePackages" [ hello32 ]) variants
++ optionals pkgs.stdenv.is64bit
(map (makeWineTest "wineWowPackages" [ hello32 hello64 ]) variants)
(map (makeWineTest "wineWowPackages" [ hello32 hello64 ])
# This wayland combination times out after spending many hours.
# https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.wine.wineWowPackages-wayland.x86_64-linux
(pkgs.lib.remove "wayland" variants))
)