when I failed in the examination或 when I did not pass the examination 这两种表达都行的哦!
When I failed my exam, ....
When i don't pass the exam,
这样when i fail in my exam。或when i do not pass the exam
when I didn't pass the exam