Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gating if system doesnt support hung_task_panic
Summary: D66163794 introduced a fix for yv4 systems, but this change broke the conveyor for flashy as the conveyor tests on older platforms where this tunable option doesnt exist: https://www.internalfb.com/conveyor/openbmc/flashy/releases ``` 2024/12/06 05:49:41.832|4512|MainThread|D|paramiko_utils: 2024/12/06 05:49:41 {Err:Failed to write to hang_task_panic file '/proc/sys/kernel/hung_task_panic': open /proc/sys/kernel/hung_task_panic: no such file or directory github.com/facebook/openbmc/tools/flashy/checks_and_remediations/common.disableHangPanic /data/sandcastle/boxes/trunk-git-openbmc/tools/flashy/checks_and_remediations/common/15_disable_hang_panic.go:42 main.main /data/sandcastle/boxes/trunk-git-openbmc/tools/flashy/flashy.go:139 runtime.main /data/sandcastle/temp/skycastle/tmp.Fi68Iq6JqJ/go1.19.4/go/src/runtime/proc.go:250 runtime.goexit /data/sandcastle/temp/skycastle/tmp.Fi68Iq6JqJ/go1.19.4/go/src/runtime/asm_arm.s:831} ``` Test Plan: it builds and... eyes Reviewed By: amithash Differential Revision: D66903075 fbshipit-source-id: 3c1cb130cf2876a84bff30b96089bd64242b6e4f
- Loading branch information