My GF's brother just got dishonorably discharged from the Marines for testing positive for pot in his random piss test that he got the day he got back from Iraq.

They do test, my friends in the Army have been tested pretty often, and it is random, so some people will end up tested while others wont each time.