You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently got a false positive report from beaker. After investigating, I found a call trace that occurred when the test machine shutdown and prepared to install a new distro on the current job.
Here is a simple reproducer.
keep the power setting is 'Leave on' on beaker web page.
Create a script that triggers panic
cat /usr/local/bin/calltrace.sh
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
2. Write the script to systemctl and configure it to trigger after shutdown.
First, the power setting of the test machine is 'leave on', which also provides the initialization conditions for this test. When the job of step 3 is submitted, the machine triggers a shutdown and startup operation. The call trace of step 2 is triggered when shutting down. It should be noted that the call trace has been recorded in the beaker job submitted this time. https://beaker.engineering.redhat.com/recipes/16070209/logs/console.log
Finally,
The text was updated successfully, but these errors were encountered:
I recently got a false positive report from beaker. After investigating, I found a call trace that occurred when the test machine shutdown and prepared to install a new distro on the current job.
Here is a simple reproducer.
cat /usr/local/bin/calltrace.sh
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
2. Write the script to systemctl and configure it to trigger after shutdown.
cat /usr/lib/systemd/system/custom_shutdown.service
[Unit]
Description=close services before reboot and shutdown
DefaultDependencies=no
Before=shutdown.target reboot.target halt.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/calltrace.sh
[Install]
WantedBy=halt.target reboot.target shutdown.target
chmod 777 /usr/local/bin/calltrace.sh
systmectl enable custom_shutdown.service
https://beaker.engineering.redhat.com/recipes/16070209#task177261937
First, the power setting of the test machine is 'leave on', which also provides the initialization conditions for this test. When the job of step 3 is submitted, the machine triggers a shutdown and startup operation. The call trace of step 2 is triggered when shutting down. It should be noted that the call trace has been recorded in the beaker job submitted this time. https://beaker.engineering.redhat.com/recipes/16070209/logs/console.log
Finally,
The text was updated successfully, but these errors were encountered: