1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-03-04 03:24:31 +00:00

Compare commits

..

No commits in common. "9cd8ed804e9bd06dff9b276ff9d768788267bf8a" and "94a743b37e85853789507dd8112c420a2e88b967" have entirely different histories.

19 changed files with 100 additions and 117 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 --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 --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;
if ($whitelist eq 'whitelist') { if ($whitelist eq 'whitelist') {
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 '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 '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 --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 --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;
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 --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 --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);
# 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

@ -1,22 +0,0 @@
{
"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

@ -1,22 +0,0 @@
{
"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

@ -1,22 +0,0 @@
{
"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

@ -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: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6880" "value": "the text box should be surrounded with a blue line to indicate it's active, this broke in 45-beta"
} }
], ],
"tags": [ "tags": [

View File

@ -0,0 +1,17 @@
{
"area": [
{
"type": "match",
"xpos": 588,
"height": 59,
"ypos": 451,
"width": 58
}
],
"properties": [],
"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,17 @@
{
"area": [
{
"type": "match",
"height": 44,
"xpos": 385,
"ypos": 458,
"width": 84
}
],
"properties": [],
"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,17 @@
{
"area": [
{
"width": 73,
"ypos": 455,
"height": 49,
"xpos": 385,
"type": "match"
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-japanese",
"graphical_login_input"
]
}

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,17 @@
{
"area": [
{
"ypos": 457,
"width": 49,
"type": "match",
"height": 44,
"xpos": 384
}
],
"properties": [],
"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,17 @@
{
"area": [
{
"type": "match",
"height": 46,
"xpos": 387,
"ypos": 457,
"width": 41
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-turkish",
"graphical_login_input"
]
}

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -1,22 +0,0 @@
{
"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

@ -1,22 +0,0 @@
{
"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

@ -67,6 +67,10 @@ 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,6 +36,10 @@ 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';
@ -85,7 +89,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 --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 --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;
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