General elections a national duty: COAS