I got tested all the time when I was on active duty. I think I remember some of the civilians getting tested as well.
I have only been drug tested one time and that was for a civilian job ... and I will never do it again. If they need a drug test from me, I don't need to work for them. I was just curious because the state never tested me (not even during the pre-employment screening) and I have never met a state or federal employee who had been tested after they started to work. Thought maybe it was just an urban myth ... guess not.