mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
Allow lm_sensors service to fail on aarch64
This is another known "fails due to no hardware" case: https://bugzilla.redhat.com/show_bug.cgi?id=1894654 those are explicitly excluded from the release criterion, so a soft failure is appropriate. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d065974cc6
commit
dd9b9a8c5f
@ -23,10 +23,21 @@ sub run {
|
||||
die "More than one services failed to start";
|
||||
}
|
||||
else {
|
||||
my $arch = get_var("ARCH");
|
||||
if ($arch eq "ppc64le") {
|
||||
# fail if it's something other than hcn-init
|
||||
assert_script_run "systemctl is-failed hcn-init.service";
|
||||
record_soft_failure "hcn-init failed - https://bugzilla.redhat.com/show_bug.cgi?id=1894654";
|
||||
}
|
||||
elsif ($arch eq "aarch64") {
|
||||
# fail if it's something other than lm_sensors
|
||||
assert_script_run "systemctl is-failed lm_sensors.service";
|
||||
record_soft_failure "lm_sensors failed - https://bugzilla.redhat.com/show_bug.cgi?id=1899896";
|
||||
}
|
||||
else {
|
||||
die "Unexpected service start failure";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user