add ota asserts

Change-Id: Ib8c473f29063e873014b3a5471187aae3481ef9d