Ukraine military spy chief says war will be over by the end of 2022