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

Compare commits

..

3 Commits

Author SHA1 Message Date
Adam Williamson
a13cd7a08a Add --squashfs-only to lorax args
We started using this in real composes a year or two back, so
openQA should do the same. It drops the nesting of an ext4 fs
image inside a squashfs image, just using a single squashfs
image instead. This results in smaller images - missing this
is why the images built by openQA were coming out larger than
the real ones.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-07 14:03:19 -08:00
Adam Williamson
4d3673f811 Simply abrt KDE stuff even more
...wait, this is what 'workaround' needles are for.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-07 11:30:08 -08:00
Adam Williamson
9c6d5459e6 Simplify the KDE abrt logic
This does the same, just cleaner.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-07 11:26:27 -08:00
3 changed files with 10 additions and 17 deletions

View File

@ -1,7 +1,12 @@
{
"properties": [],
"properties": [
{
"name": "workaround",
"value": "Abrt reported issues"
}
],
"tags": [
"abrt_runs_found_problem"
"abrt_runs",
],
"area": [
{
@ -12,4 +17,4 @@
"type": "match"
}
]
}
}

View File

@ -19,7 +19,7 @@ sub run {
assert_script_run "pushd /root/imgbuild";
assert_script_run "setenforce Permissive";
# Fedora pungi config always sets rootfs size to 3GiB since F32
my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/${repo} --rootfs-size 3";
my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/${repo} --rootfs-size 3 --squashfs-only";
unless ($version > $currrel) {
$cmd .= " --isfinal --repo=/etc/yum.repos.d/fedora-updates.repo";
}

View File

@ -9,19 +9,7 @@ sub run {
my $self = shift;
# Start the application
menu_launch_type('abrt');
# Check that the application has started.
# On KDE, the test failed when Abrt started
# and there was an error caught.
# Now, if we do not find the needle that
# checks Abrt has started, we will also
# check for a reported issue - if we find that
# we can assume that Abrt has started indeed.
unless (check_screen('abrt_runs', timeout => 30)) {
# The above check needs some timeout because
# it might take some time before Abrt starts.
assert_screen('abrt_runs_found_problem');
record_soft_failure("Abrt has reported issues.");
}
assert_screen 'abrt_runs';
# Close the application
quit_with_shortcut();
}