GE washing machine power goes on and off

Just to rule out an electrical issue try plugging the washer in a different outlet if one is near or use a heavy gauge extension cord. Then run a load or two and give us the results.