The self test is nothing to do with marlin, its just somtthing the bltouch does when power is applied.
What is causing the power outage would be my concern.
What is causing the power outage would be my concern.