mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +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,9 +23,20 @@ sub run {
|
||||
die "More than one services failed to start";
|
||||
}
|
||||
else {
|
||||
# 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";
|
||||
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