Emergency/Parking Brake Failed Inspection on 2001 Lexus RX300

I went to the mass inspection for my lexus RX 300 but it failed because of parking brake. The brakes do not work. Even after appliyiong the car moves just like w/o any brake. What could be the cause?

Asked by for the 2001 Lexus RX300