one of our 3500xl switches running ios12.0 reboots a random time intervals. it's happened after a few minutes, or hours. we took the switch out of service and installed a replacement.
i scanned for known bugs but nothing came up.
sounds to me like a hardware issue.
however, at startup, it passes all the POST.