The Gujarat government's competitive examination for the recruitment of junior clerks was cancelled hours before it was scheduled on Sunday over its question paper leak and police detained a suspect in this connection, the state panchayat exam board said.