The main thing is not to worry, it's not the end of the world
Is it a non-commercial license road test that you have failed?
Yes, it is
In this instance, your learner permit remains in place until the normal expiration date