My passport is failing drive status and drive test.... What I should do? Please advise

How I can check that I have any warranty left or not?