Two men wearing masks were robbing the supermarket with police at the door.