1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-03-03 19:14:32 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Adam Williamson
9cd8ed804e GDM language login needles: Rename, move and mark as workarounds
These are all the new needles for the 'no blue outline on
password entry box any more' issue. The naming was a bit non-
standard and they were not in the right directories, and they
need to be actually tagged as workarounds, like the English
one is. Also, add the correct issue link to the workaround note
for the English one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-11 10:47:11 -07:00
Adam Williamson
91bf4e423f Disable forced use of HTTP 1.1 for curl and git
To see if the bug has gone away now -
https://pagure.io/fedora-infrastructure/issue/11426#comment-867456

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-10 15:13:04 -07:00
19 changed files with 117 additions and 100 deletions

View File

@ -949,9 +949,9 @@ sub download_modularity_tests {
my ($whitelist) = @_; my ($whitelist) = @_;
# we need python3-yaml for the script to run # we need python3-yaml for the script to run
assert_script_run 'dnf -y install python3-yaml', 180; assert_script_run 'dnf -y install python3-yaml', 180;
assert_script_run 'curl --http1.1 --verbose --retry-delay 10 --max-time 30 --retry 5 -o /root/test.py https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/modular_functions.py', timeout => 180; assert_script_run 'curl --verbose --retry-delay 10 --max-time 30 --retry 5 -o /root/test.py https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/modular_functions.py', timeout => 180;
if ($whitelist eq 'whitelist') { if ($whitelist eq 'whitelist') {
assert_script_run 'curl --http1.1 --verbose --retry-delay 10 --max-time 30 --retry 5 -o /root/whitelist https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/whitelist', timeout => 180; assert_script_run 'curl --verbose --retry-delay 10 --max-time 30 --retry 5 -o /root/whitelist https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/whitelist', timeout => 180;
} }
assert_script_run 'chmod 755 /root/test.py'; assert_script_run 'chmod 755 /root/test.py';
} }
@ -1113,7 +1113,7 @@ sub advisory_check_nonmatching_packages {
upload_logs "/tmp/installedupdatepkgs.txt", failok => 1; upload_logs "/tmp/installedupdatepkgs.txt", failok => 1;
upload_logs "/mnt/updateiso/updatepkgs.txt", failok => 1; upload_logs "/mnt/updateiso/updatepkgs.txt", failok => 1;
# download the check script and run it # download the check script and run it
assert_script_run 'curl --http1.1 --verbose --retry-delay 10 --max-time 30 --retry 5 -o updvercheck.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/updvercheck.py', timeout => 180; assert_script_run 'curl --verbose --retry-delay 10 --max-time 30 --retry 5 -o updvercheck.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/updvercheck.py', timeout => 180;
my $advisory = get_var("ADVISORY"); my $advisory = get_var("ADVISORY");
my $cmd = 'python3 ./updvercheck.py /mnt/updateiso/updatepkgs.txt /tmp/installedupdatepkgs.txt'; my $cmd = 'python3 ./updvercheck.py /mnt/updateiso/updatepkgs.txt /tmp/installedupdatepkgs.txt';
$cmd .= " $advisory" if ($advisory); $cmd .= " $advisory" if ($advisory);
@ -1495,7 +1495,7 @@ sub download_testdata {
assert_script_run("mkdir temp"); assert_script_run("mkdir temp");
assert_script_run("cd temp"); assert_script_run("cd temp");
# Download the compressed file with the repository content. # Download the compressed file with the repository content.
assert_script_run("curl --http1.1 --verbose --retry-delay 10 --max-time 120 --retry 5 -o repository.tar.gz https://pagure.io/fedora-qa/openqa_testdata/blob/thetree/f/repository.tar.gz", timeout => 600); assert_script_run("curl --verbose --retry-delay 10 --max-time 120 --retry 5 -o repository.tar.gz https://pagure.io/fedora-qa/openqa_testdata/blob/thetree/f/repository.tar.gz", timeout => 600);
# Untar it. # Untar it.
assert_script_run("tar -zxvf repository.tar.gz"); assert_script_run("tar -zxvf repository.tar.gz");
# Copy out the files into the VMs directory structure. # Copy out the files into the VMs directory structure.

View File

@ -0,0 +1,22 @@
{
"area": [
{
"type": "match",
"xpos": 588,
"height": 59,
"ypos": 451,
"width": 58
}
],
"properties": [
{
"name": "workaround",
"value": "the text box should be surrounded with a blue line to indicate it's active: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6880"
}
],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-arabic",
"graphical_login_input"
]
}

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"type": "match",
"height": 44,
"xpos": 385,
"ypos": 458,
"width": 84
}
],
"properties": [
{
"name": "workaround",
"value": "the text box should be surrounded with a blue line to indicate it's active: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6880"
}
],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-french",
"graphical_login_input"
]
}

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"width": 73,
"ypos": 455,
"height": 49,
"xpos": 385,
"type": "match"
}
],
"properties": [
{
"name": "workaround",
"value": "the text box should be surrounded with a blue line to indicate it's active: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6880"
}
],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-japanese",
"graphical_login_input"
]
}

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -11,7 +11,7 @@
"properties": [ "properties": [
{ {
"name": "workaround", "name": "workaround",
"value": "the text box should be surrounded with a blue line to indicate it's active, this broke in 45-beta" "value": "the text box should be surrounded with a blue line to indicate it's active: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6880"
} }
], ],
"tags": [ "tags": [
@ -19,4 +19,4 @@
"DESKTOP-gnome", "DESKTOP-gnome",
"LANGUAGE-english" "LANGUAGE-english"
] ]
} }

View File

@ -1,17 +0,0 @@
{
"area": [
{
"type": "match",
"xpos": 588,
"height": 59,
"ypos": 451,
"width": 58
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-arabic",
"graphical_login_input"
]
}

View File

@ -1,17 +0,0 @@
{
"area": [
{
"type": "match",
"height": 44,
"xpos": 385,
"ypos": 458,
"width": 84
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-french",
"graphical_login_input"
]
}

View File

@ -1,17 +0,0 @@
{
"area": [
{
"width": 73,
"ypos": 455,
"height": 49,
"xpos": 385,
"type": "match"
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-japanese",
"graphical_login_input"
]
}

View File

@ -1,17 +0,0 @@
{
"area": [
{
"ypos": 457,
"width": 49,
"type": "match",
"height": 44,
"xpos": 384
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-russian",
"graphical_login_input"
]
}

View File

@ -1,17 +0,0 @@
{
"area": [
{
"type": "match",
"height": 46,
"xpos": 387,
"ypos": 457,
"width": 41
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-turkish",
"graphical_login_input"
]
}

View File

@ -0,0 +1,22 @@
{
"area": [
{
"ypos": 457,
"width": 49,
"type": "match",
"height": 44,
"xpos": 384
}
],
"properties": [
{
"name": "workaround",
"value": "the text box should be surrounded with a blue line to indicate it's active: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6880"
}
],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-russian",
"graphical_login_input"
]
}

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"type": "match",
"height": 46,
"xpos": 387,
"ypos": 457,
"width": 41
}
],
"properties": [
{
"name": "workaround",
"value": "the text box should be surrounded with a blue line to indicate it's active: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6880"
}
],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-turkish",
"graphical_login_input"
]
}

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -67,10 +67,6 @@ sub run {
# upload the config so we can check it's OK # upload the config so we can check it's OK
upload_logs "/etc/mock/openqa.cfg"; upload_logs "/etc/mock/openqa.cfg";
# now check out the kickstarts # now check out the kickstarts
# FIXME using HTTP 1.1 seems to avoid some weird hangs we're
# seeing on pagure.io lately as of 2023/07:
# https://pagure.io/fedora-infrastructure/issue/11426
assert_script_run 'git config --global http.version HTTP/1.1';
assert_script_run 'git clone https://pagure.io/fedora-kickstarts.git'; assert_script_run 'git clone https://pagure.io/fedora-kickstarts.git';
assert_script_run 'cd fedora-kickstarts'; assert_script_run 'cd fedora-kickstarts';
assert_script_run "git checkout ${branch}"; assert_script_run "git checkout ${branch}";

View File

@ -36,10 +36,6 @@ sub run {
assert_script_run "setenforce Permissive"; assert_script_run "setenforce Permissive";
# install the tools we need # install the tools we need
assert_script_run "dnf -y install git lorax flatpak ostree rpm-ostree dbus-daemon moreutils", 300; assert_script_run "dnf -y install git lorax flatpak ostree rpm-ostree dbus-daemon moreutils", 300;
# FIXME using HTTP 1.1 seems to avoid some weird hangs we're
# seeing on pagure.io lately as of 2023/07:
# https://pagure.io/fedora-infrastructure/issue/11426
assert_script_run 'git config --global http.version HTTP/1.1';
# now check out workstation-ostree-config # now check out workstation-ostree-config
assert_script_run 'git clone https://pagure.io/workstation-ostree-config.git'; assert_script_run 'git clone https://pagure.io/workstation-ostree-config.git';
assert_script_run 'pushd workstation-ostree-config'; assert_script_run 'pushd workstation-ostree-config';
@ -89,7 +85,7 @@ sub run {
assert_script_run 'git clone https://pagure.io/pungi-fedora.git'; assert_script_run 'git clone https://pagure.io/pungi-fedora.git';
assert_script_run 'cd pungi-fedora/'; assert_script_run 'cd pungi-fedora/';
assert_script_run "git checkout ${branch}"; assert_script_run "git checkout ${branch}";
assert_script_run 'curl --http1.1 --retry-delay 10 --max-time 30 --retry 5 -o ostree-parse-pungi.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/ostree-parse-pungi.py', timeout => 180; assert_script_run 'curl --retry-delay 10 --max-time 30 --retry 5 -o ostree-parse-pungi.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/ostree-parse-pungi.py', timeout => 180;
my $loraxargs = script_output "python3 ostree-parse-pungi.py $lcsubv $arch"; my $loraxargs = script_output "python3 ostree-parse-pungi.py $lcsubv $arch";
# this 'temporary file cleanup' thing can actually wipe bits of # this 'temporary file cleanup' thing can actually wipe bits of