-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Low
-
Resolution: Done
-
Affects Version/s: VOLTHA v2.9
-
Fix Version/s: VOLTHA v2.9
-
Component/s: bbsim
-
Labels:
-
Environment:
manual testing
-
Story Points:1
-
Epic Link:
-
Sprint:VOLTHA 2.9 - Sprint 6, VOLTHA 2.9 - Sprint 7
At ONU software download procedure BBSIM indicates the new image too early - already when still downloading the image via OMCI.
The new image should only be indicated (as valid new image) after the EndSwDownload OMCI was received with the (correct) CRC (guess CRC check is not yet done on BBSIM). Before this event still the old/existing software should be indicated in the OMCI software get response messages (like the image still stored on some ONU within the flash).
Current misleading behavior which might cause problems in extended upgrade tests is
(example from a download to the first partition which originally still had BBSM_IMG_00001 as stored/inactive version):
bbsim@bbsim:~/opencord/execute_voltha$ voltctl device onuimage download BBSM_IMG_00002 http://bbsim0:50074/images/software-image.img BBSM false false 0 $DEVICE_ID DEVICEID IMAGESTATE.VERSION IMAGESTATE.DOWNLOADSTATE IMAGESTATE.REASON IMAGESTATE.IMAGESTATE 341f342c-49c3-42fe-8fdd-66304dbee240 BBSM_IMG_00002 DOWNLOAD_STARTED NO_ERROR IMAGE_UNKNOWN bbsim@bbsim:~/opencord/execute_voltha$ voltctl device onuimage abort BBSM_IMG_00002 $DEVICE_ID DEVICEID IMAGESTATE.VERSION IMAGESTATE.DOWNLOADSTATE IMAGESTATE.REASON IMAGESTATE.IMAGESTATE 341f342c-49c3-42fe-8fdd-66304dbee240 BBSM_IMG_00002 DOWNLOAD_CANCELLED CANCELLED_ON_REQUEST IMAGE_DOWNLOADING bbsim@bbsim:~/opencord/execute_voltha$ voltctl device onuimage status BBSM_IMG_00002 $DEVICE_ID DEVICEID IMAGESTATE.VERSION IMAGESTATE.DOWNLOADSTATE IMAGESTATE.REASON IMAGESTATE.IMAGESTATE 341f342c-49c3-42fe-8fdd-66304dbee240 BBSM_IMG_00002 DOWNLOAD_FAILED CANCELLED_ON_REQUEST IMAGE_DOWNLOADING bbsim@bbsim:~/opencord/execute_voltha$ voltctl device onuimage list $DEVICE_ID VERSION ISCOMMITED ISACTIVE ISVALID PRODUCTCODE HASH BBSM_IMG_00002 false false true BBSIM-ONU 4242534d5f494d475f30303030320000 BBSM_IMG_00002 true true true BBSIM-ONU 4242534d5f494d475f30303030320000