1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-27 16:13:09 +00:00

Compare commits

..

3 Commits

Author SHA1 Message Date
Adam Williamson
8bcabe25a8 Give some long-running package install operations a bit longer
These have timed out quite often recently.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-03 09:04:48 -08:00
Adam Williamson
245903dd0c Reduce a match area on firefox addon_success needle
Now we sometimes have to scroll the page down to add the addon,
the Remove button isn't always fully visible behind the popup.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-03 09:01:43 -08:00
Adam Williamson
6a7c11466c Get updvercheck.py from main now it's merged
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-03 08:58:38 -08:00
5 changed files with 66 additions and 67 deletions

View File

@ -669,7 +669,7 @@ sub _repo_setup_updates {
# where the updated packages should have been installed # where the updated packages should have been installed
# already and we want to fail if they weren't, or CANNED # already and we want to fail if they weren't, or CANNED
# tests, there's no point updating the toolbox # tests, there's no point updating the toolbox
script_run "dnf -y update", 900 unless (get_var("UPGRADE") || get_var("INSTALL") || get_var("CANNED")); script_run "dnf -y update", 1200 unless (get_var("UPGRADE") || get_var("INSTALL") || get_var("CANNED"));
# however, on liveinst tests, we need to update the packages # however, on liveinst tests, we need to update the packages
# we installed above, just in case they're in the update # we installed above, just in case they're in the update
# under test; otherwise we get a bogus failure for the package # under test; otherwise we get a bogus failure for the package
@ -1158,8 +1158,7 @@ sub advisory_check_nonmatching_packages {
upload_logs "/tmp/installedupdatepkgs.txt", failok => 1; upload_logs "/tmp/installedupdatepkgs.txt", failok => 1;
upload_logs "/mnt/updatepkgs.txt", failok => 1; upload_logs "/mnt/updatepkgs.txt", failok => 1;
# download the check script and run it # download the check script and run it
# FIXME: change this to main when the PR is merged assert_script_run 'curl -o updvercheck.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/updvercheck.py', timeout => 120;
assert_script_run 'curl -o updvercheck.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/better-check-nonmatching/f/updvercheck.py', timeout => 120;
my $advisory = get_var("ADVISORY"); my $advisory = get_var("ADVISORY");
my $cmd = 'python3 ./updvercheck.py /mnt/updatepkgs.txt /tmp/installedupdatepkgs.txt'; my $cmd = 'python3 ./updvercheck.py /mnt/updatepkgs.txt /tmp/installedupdatepkgs.txt';
$cmd .= " $advisory" if ($advisory); $cmd .= " $advisory" if ($advisory);

View File

@ -1,22 +1,22 @@
{ {
"area": [ "area": [
{ {
"ypos": 521, "height": 17,
"type": "match", "type": "match",
"xpos": 521, "width": 42,
"height": 17, "xpos": 521,
"width": 62 "ypos": 521
}, },
{ {
"width": 20, "height": 19,
"height": 19, "type": "match",
"ypos": 84, "width": 20,
"xpos": 953, "xpos": 953,
"type": "match" "ypos": 84
} }
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"firefox_addon_success" "firefox_addon_success"
] ]
} }

View File

@ -1,22 +1,22 @@
{ {
"area": [ "area": [
{ {
"xpos": 529, "height": 17,
"height": 17, "type": "match",
"width": 62, "width": 42,
"ypos": 521, "xpos": 529,
"type": "match" "ypos": 521
}, },
{ {
"type": "match", "height": 19,
"height": 19, "type": "match",
"ypos": 84, "width": 20,
"width": 20, "xpos": 953,
"xpos": 953 "ypos": 84
} }
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"firefox_addon_success" "firefox_addon_success"
] ]
} }

View File

@ -1,22 +1,22 @@
{ {
"area": [ "area": [
{ {
"height": 17, "height": 17,
"width": 62, "type": "match",
"type": "match", "width": 42,
"ypos": 524, "xpos": 529,
"xpos": 529 "ypos": 524
}, },
{ {
"height": 19, "height": 19,
"xpos": 550, "type": "match",
"type": "match", "width": 20,
"width": 20, "xpos": 550,
"ypos": 128 "ypos": 128
} }
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"firefox_addon_success" "firefox_addon_success"
] ]
} }

View File

@ -78,7 +78,7 @@ sub run {
# upload the kickstart so we can check it # upload the kickstart so we can check it
upload_logs "openqa.ks"; upload_logs "openqa.ks";
# now install the tools into the mock # now install the tools into the mock
assert_script_run "mock -r openqa --isolation=simple --install bash coreutils glibc-all-langpacks lorax-lmc-novirt selinux-policy-targeted shadow-utils util-linux", 600; assert_script_run "mock -r openqa --isolation=simple --install bash coreutils glibc-all-langpacks lorax-lmc-novirt selinux-policy-targeted shadow-utils util-linux", 900;
# now make the image build directory inside the mock root and put the kickstart there # now make the image build directory inside the mock root and put the kickstart there
assert_script_run 'mock -r openqa --isolation=simple --chroot "mkdir -p /chroot_tmpdir"'; assert_script_run 'mock -r openqa --isolation=simple --chroot "mkdir -p /chroot_tmpdir"';
assert_script_run "mock -r openqa --isolation=simple --copyin openqa.ks /chroot_tmpdir"; assert_script_run "mock -r openqa --isolation=simple --copyin openqa.ks /chroot_tmpdir";