Testing Power Supply Variac-Rectifier-Cap
A variac is an autotransformer and does not provide isolation.  When you connect the ground clip of your scope you are shorting the diode bridge.

(The scope ground is tied to earth ground which connects to the neutral conductor back at your service panel.)

It's much safer and better practice to put an isolation transformer in series before the diode bridge.