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
# already and we want to fail if they weren't, or CANNED
# 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
# we installed above, just in case they're in the update
# 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 "/mnt/updatepkgs.txt", failok => 1;
# 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/better-check-nonmatching/f/updvercheck.py', timeout => 120;
assert_script_run 'curl -o updvercheck.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/updvercheck.py', timeout => 120;
my $advisory = get_var("ADVISORY");
my $cmd = 'python3 ./updvercheck.py /mnt/updatepkgs.txt /tmp/installedupdatepkgs.txt';
$cmd .= " $advisory" if ($advisory);

View File

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

View File

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

View File

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

View File

@ -78,7 +78,7 @@ sub run {
# upload the kickstart so we can check it
upload_logs "openqa.ks";
# 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
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";