Continue with the closed loop testing but I think HB_VNF should be vCPEvGMUX so that when it does the GLOBAL_VALIDATE_NAME_MAPPING it find vgmux_name_0 (this is data in the demo repository for the VNFs that is put into the robot container)
Brian https://gerrit.onap.org/r/gitweb?p=demo.git;a=blob;f=service_mapping/vCPEvGMUX/service_mapping.json;h=47cf5aab9bc903bb7332d6c6ea3a8902c6bdfab8;hb=refs/heads/master 17 "GLOBAL_VALIDATE_NAME_MAPPING": { 18 "vCPEvGMUX" : "vgmux_name_0" 19 } https://gerrit.onap.org/r/gitweb?p=testsuite/python-testing-utils.git;a=blob;f=robotframework-onap/ONAPLibrary/ServiceMappingKeywords.py;h=5ed572eb141cd3510986dc43fb5337deff033cb7;hb=refs/heads/master 64 def get_validate_name_mapping(self, alias, service, vnf): 65 """returns an array of strings that are the names to validate in heatbridge for the vnf. 66 Used by the Heatbridge Validate Query to A&AI to locate the vserver name""" 67 return self._service_mapping(alias, service)['GLOBAL_VALIDATE_NAME_MAPPING'][vnf] 68 From: [email protected] <[email protected]> On Behalf Of Devangam Manjunatha Sent: Tuesday, March 10, 2020 9:45 AM To: Brian Freeman via Lists.Onap.Org <[email protected]>; [email protected] Cc: JOMY JOSE <[email protected]> Subject: Re: [onap-discuss] [El-Alto][VCPE]- issue while running heatbridge as part of "closed loop testing" Hi Brian, Thanks for the inputs, I will proceed with closed loop testing. Please let us know if you find any solution to this service mapping issue. Also i will let you know closed loop testing result. Regards, Manjunath. ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Brian Freeman via Lists.Onap.Org <[email protected]<mailto:[email protected]>> Sent: Tuesday, March 10, 2020 6:57 PM To: Devangam Manjunatha <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Subject: Re: [onap-discuss] [El-Alto][VCPE]- issue while running heatbridge as part of "closed loop testing" Did you try to run the closed loop test ? I think this error is on the reverse validation and the easier test is to do the closed loop. I'll look deeper into the python mapping issue but I suspect that the vnf in service mapping isn't the service_instance_id as I indicated but the generic name in the service mapping tables - probably vCPEvGMUX but I need to check. Brian From: Devangam Manjunatha <[email protected]<mailto:[email protected]>> Sent: Tuesday, March 10, 2020 4:27 AM To: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: [El-Alto][VCPE]- issue while running heatbridge as part of "closed loop testing" Hi Brian, Thanks for the replay. After changing demo-k8s.sh file as suggested below(i.e. VARIABLES="$VARIABLES -v HB_SERVICE_INSTANCE_ID:$1 -v HB_VNF:$1") we are getting below error. Please find the attached log file "log_24.html". + DISPLAY_NUM=114 + VARIABLEFILES='-V /share/config/robot_properties.py' + kubectl --namespace onap exec rnd-robot-robot-c74bc6964-76jgb -- /var/opt/ONAP/runTags.sh -V /share/config/robot_properties.py -v HB_STACK:vcpe_vfmodule_vcpevspvgmux0403a_202003041808 -v HB_SERVICE_INSTANCE_ID:f6a4a6ad-2fdc-45f0-9874-351b19ce7eb8 -v HB_VNF:f6a4a6ad-2fdc-45f0-9874-351b19ce7eb8 -v HB_SERVICE:vCPEvGMUX -v HB_IPV4_OAM_ADDRESS:50.0.0.65 -d /share/logs/0024_demo_heatbridge -i heatbridge --display 114 Starting Xvfb on display :114 with res 1280x1024x24 Executing robot tests at log level TRACE ============================================================================== Testsuites ============================================================================== Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu... ============================================================================== Run Heatbridge :: Try to run heatbridge | FAIL | KeyError: u'f6a4a6ad-2fdc-45f0-9874-351b19ce7eb8' ------------------------------------------------------------------------------ Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Testsuites | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Output: /share/logs/0024_demo_heatbridge/output.xml Log: /share/logs/0024_demo_heatbridge/log.html Report: /share/logs/0024_demo_heatbridge/report.html So i tried to hard-code "HB_VNF:$1" value in demo-k8s.sh file to "HB_VNF:zdcpe1cpe01mux01", Then we are getting below error. Please find the attached log file "log_25.html". + OUTPUT_FOLDER=0025_demo_heatbridge + DISPLAY_NUM=115 + VARIABLEFILES='-V /share/config/robot_properties.py' + kubectl --namespace onap exec rnd-robot-robot-c74bc6964-76jgb -- /var/opt/ONAP/runTags.sh -V /share/config/robot_properties.py -v HB_STACK:vcpe_vfmodule_vcpevspvgmux0403a_202003041808 -v HB_SERVICE_INSTANCE_ID:f6a4a6ad-2fdc-45f0-9874-351b19ce7eb8 -v HB_VNF:zdcpe1cpe01mux01 -v HB_SERVICE:vCPEvGMUX -v HB_IPV4_OAM_ADDRESS:50.0.0.65 -d /share/logs/0025_demo_heatbridge -i heatbridge --display 115 Starting Xvfb on display :115 with res 1280x1024x24 Executing robot tests at log level TRACE ============================================================================== Testsuites ============================================================================== Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu... ============================================================================== Run Heatbridge :: Try to run heatbridge | FAIL | KeyError: u'zdcpe1cpe01mux01' ------------------------------------------------------------------------------ Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Testsuites | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Output: /share/logs/0025_demo_heatbridge/output.xml Log: /share/logs/0025_demo_heatbridge/log.html Report: /share/logs/0025_demo_heatbridge/report.html I tried by hard-coding complete vnf-name as "HB_VNF:zdcpe1cpe01mux01_202003041808", even then i am getting same error. Please find the attached log file "log_27.html". + OUTPUT_FOLDER=0027_demo_heatbridge + DISPLAY_NUM=117 + VARIABLEFILES='-V /share/config/robot_properties.py' + kubectl --namespace onap exec rnd-robot-robot-c74bc6964-76jgb -- /var/opt/ONAP/runTags.sh -V /share/config/robot_properties.py -v HB_STACK:vcpe_vfmodule_vcpevspvgmux0403a_202003041808 -v HB_SERVICE_INSTANCE_ID:f6a4a6ad-2fdc-45f0-9874-351b19ce7eb8 -v HB_VNF:zdcpe1cpe01mux01_202003041808 -v HB_SERVICE:vCPEvGMUX -v HB_IPV4_OAM_ADDRESS:50.0.0.65 -d /share/logs/0027_demo_heatbridge -i heatbridge --display 117 Starting Xvfb on display :117 with res 1280x1024x24 Executing robot tests at log level TRACE ============================================================================== Testsuites ============================================================================== Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu... ============================================================================== Run Heatbridge :: Try to run heatbridge | FAIL | KeyError: u'zdcpe1cpe01mux01_202003041808' ------------------------------------------------------------------------------ Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Testsuites | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Output: /share/logs/0027_demo_heatbridge/output.xml Log: /share/logs/0027_demo_heatbridge/log.html Report: /share/logs/0027_demo_heatbridge/report.html Please let us know anything we are missing. Regards, Manjunath. ________________________________ From: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>> Sent: Monday, March 9, 2020 6:46 PM To: Devangam Manjunatha <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Subject: RE: [El-Alto][VCPE]- issue while running heatbridge as part of "closed loop testing" I think the update of AAI succeeded so it was the reverse validation that failed but that should not affect your test. This line in demo-k8s.sh seems to be out of synch with the heatbridge keyword. VARIABLES="$VARIABLES -v HB_SERVICE_INSTANCE_ID:$1" Change it to: VARIABLES="$VARIABLES -v HB_SERVICE_INSTANCE_ID:$1 -v HB_VNF:$1" So that it matches /var/opt/ONAP/robot/robot/testsuites/demo.robot: Run Heatbridge [Documentation] ... Try to run heatbridge [Tags] heatbridge Execute Heatbridge ${HB_STACK} ${HB_VNF} ${HB_SERVICE} ${HB_IPV4_OAM_ADDRESS} Heatbridge is deprecated going forward since SO should be doing the AAI updates as part of the workflow. Brian From: Devangam Manjunatha <[email protected]<mailto:[email protected]>> Sent: Monday, March 9, 2020 6:56 AM To: [email protected]<mailto:[email protected]>; FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>> Subject: [El-Alto][VCPE]- issue while running heatbridge as part of "closed loop testing" Hi Team, On ONAP El-Alto, I am executing "heatbridge" command as part of "Closed Loop Test". I am getting below error. Please find the attached logs. root@elaltornd-nfs:~/integration/test/vcpe# ~/oom/kubernetes/robot/demo-k8s.sh onap heatbridge vcpe_vfmodule_vcpevspvgmux0403a_202003041808 f6a4a6ad-2fdc-45f0-9874-351b19ce7eb8 vCPEvGMUX 50.0.0.65 Number of parameters: 6 KEY: heatbridge ++ kubectl --namespace onap get pods ++ sed 's/ .*//' ++ grep robot + POD=rnd-robot-robot-c74bc6964-76jgb ++ dirname /root/oom/kubernetes/robot/demo-k8s.sh + DIR=/root/oom/kubernetes/robot + SCRIPTDIR=scripts/demoscript + ETEHOME=/var/opt/ONAP + '[' ']' ++ kubectl --namespace onap exec rnd-robot-robot-c74bc6964-76jgb -- bash -c 'ls -1q /share/logs/ | wc -l' + export GLOBAL_BUILD_NUMBER=21 + GLOBAL_BUILD_NUMBER=21 ++ printf %04d 21 + OUTPUT_FOLDER=0021_demo_heatbridge + DISPLAY_NUM=111 + VARIABLEFILES='-V /share/config/robot_properties.py' + kubectl --namespace onap exec rnd-robot-robot-c74bc6964-76jgb -- /var/opt/ONAP/runTags.sh -V /share/config/robot_properties.py -v HB_STACK:vcpe_vfmodule_vcpevspvgmux0403a_202003041808 -v HB_SERVICE_INSTANCE_ID:f6a4a6ad-2fdc-45f0-9874-351b19ce7eb8 -v HB_SERVICE:vCPEvGMUX -v HB_IPV4_OAM_ADDRESS:50.0.0.65 -d /share/logs/0021_demo_heatbridge -i heatbridge --display 111 Starting Xvfb on display :111 with res 1280x1024x24 Executing robot tests at log level TRACE ============================================================================== Testsuites ============================================================================== Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu... ============================================================================== Run Heatbridge :: Try to run heatbridge | FAIL | KeyError: '' ------------------------------------------------------------------------------ Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Testsuites | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Output: /share/logs/0021_demo_heatbridge/output.xml Log: /share/logs/0021_demo_heatbridge/log.html Report: /share/logs/0021_demo_heatbridge/report.html root@elaltornd-nfs:~/integration/test/vcpe# Please let us know how to fix this issue. Regards, Manjunath. L&T Technology Services Ltd www.LTTS.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Find01.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-2D252Furl-2D253Fu-2D253Dhttp-2D2D3A-2D5F-2D5Fwww.LTTS.com-2D2526d-2D253DDwQFAw-2D2526c-2D253DLFYZ-2D2Do9-2D5FHUMeMTSQicvjIg-2D2526r-2D253De3d1ehx3DI5AoMgDmi2Fzw-2D2526m-2D253DflbaMoIyddVxF8KCdh7aS5pBDym7JHyWYrLFTQ7Nx-2D5Fk-2D2526s-2D253DjgYywSnpDWu3t8a0n-2D2D6PhIxG-2D5F1BYAcjoDxUcV1Gv1m0-2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257CDevangam.Manjunatha-2D2540ltts.com-2D257C538bf42e8bf1423d020a08d7c42c1480-2D257C311b33788e8a4b5ea33fe80a3d8ba60a-2D257C0-2D257C0-2D257C637193565913663379-2D26sdata-2D3DzTX6WmaTXHgw3zNgNcWAgYg5ZpCasg96RF-2D252B-2D252FDqg2-2D252B6Y-2D253D-2D26reserved-2D3D0-2526d-253DDwMFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DH7WQqSAt3LBJQVCCIxxuU-2DGptlj7006h7bg1CeM5v4A-2526s-253DjrWWthXrBQiOUSEsfdK-5FO6O6hINCJf1h8sMHXY9pmFA-2526e-253D-26data-3D02-257C01-257Cdevangam.manjunatha-2540ltts.com-257C3604805a19b64eae5c0208d7c4f6c2b7-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637194436425818820-26sdata-3DWlinYiHemHEV4uoBWmaFz3vuniKyfX7peKo21dKZKBw-253D-26reserved-3D0&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=lug7vK8BWNRjnu52CgpxyjtI8CvqlmHpIdXG32ObhQU&s=XLTRws8Fpl7RMk5qixthNKnLJlT4PFjvDHXMAjOJaV8&e=> L&T Technology Services Limited (LTTS) is committed to safeguard your data privacy. For more information to view our commitment towards data privacy under GDPR, please visit the privacy policy on our website www.Ltts.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Find01.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-2D252Furl-2D253Fu-2D253Dhttp-2D2D3A-2D5F-2D5Fwww.Ltts.com-2D2526d-2D253DDwQFAw-2D2526c-2D253DLFYZ-2D2Do9-2D5FHUMeMTSQicvjIg-2D2526r-2D253De3d1ehx3DI5AoMgDmi2Fzw-2D2526m-2D253DflbaMoIyddVxF8KCdh7aS5pBDym7JHyWYrLFTQ7Nx-2D5Fk-2D2526s-2D253D4RHnhpyDObkHWR41BUJ7MEFnirMuX2Bcv0cD6GcWmWg-2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257CDevangam.Manjunatha-2D2540ltts.com-2D257C538bf42e8bf1423d020a08d7c42c1480-2D257C311b33788e8a4b5ea33fe80a3d8ba60a-2D257C0-2D257C0-2D257C637193565913663379-2D26sdata-2D3D-2D252BDSmRTtU-2D252BEB-2D252BdCeFxOET-2D252FbNoqzLihWvwKKly9JetsW4-2D253D-2D26reserved-2D3D0-2526d-253DDwMFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DH7WQqSAt3LBJQVCCIxxuU-2DGptlj7006h7bg1CeM5v4A-2526s-253DscpCxov5xWL5RHixvvjXR5uyUWkBiQO6uEayR-2DCdpVA-2526e-253D-26data-3D02-257C01-257Cdevangam.manjunatha-2540ltts.com-257C3604805a19b64eae5c0208d7c4f6c2b7-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637194436425828817-26sdata-3DXioAJPuxYpOSumrHTCq-252FK1xrb8rXB24zZos7YVT8fbc-253D-26reserved-3D0&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=lug7vK8BWNRjnu52CgpxyjtI8CvqlmHpIdXG32ObhQU&s=T3moUfydJnsElo5iRCXtIFTV-A8mk3JOaTju1TL6kEY&e=>. This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. L&T Technology Services Ltd www.LTTS.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttp-2D3A-5F-5Fwww.LTTS.com-2526d-253DDwQFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DH7WQqSAt3LBJQVCCIxxuU-2DGptlj7006h7bg1CeM5v4A-2526s-253DeFiJrL5O3P7GKSGTemozq-5FhA2CzihjA7l3m36TGsfA0-2526e-253D-26data-3D02-257C01-257Cdevangam.manjunatha-2540ltts.com-257C3604805a19b64eae5c0208d7c4f6c2b7-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637194436425838811-26sdata-3DZ9f8rgu-252B3AxOL7MyCH5PTd1axNPE8g6zEe2G2-252F9uFNk-253D-26reserved-3D0&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=lug7vK8BWNRjnu52CgpxyjtI8CvqlmHpIdXG32ObhQU&s=pj0X5-zQ_Idf9M_wGYaWpAMy103WCh-HqG-1rn-P6pI&e=> L&T Technology Services Limited (LTTS) is committed to safeguard your data privacy. For more information to view our commitment towards data privacy under GDPR, please visit the privacy policy on our website www.Ltts.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttp-2D3A-5F-5Fwww.Ltts.com-2526d-253DDwQFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DH7WQqSAt3LBJQVCCIxxuU-2DGptlj7006h7bg1CeM5v4A-2526s-253Ds-2Dd6X1-5FozFLh9dhqxfndZBfxwpOLbeNy59eNGFIVJyM-2526e-253D-26data-3D02-257C01-257Cdevangam.manjunatha-2540ltts.com-257C3604805a19b64eae5c0208d7c4f6c2b7-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637194436425838811-26sdata-3Degwn9KpKC80ELoPwHjS7ev-252FgylmK5S-252FYMsNswrkz110-253D-26reserved-3D0&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=lug7vK8BWNRjnu52CgpxyjtI8CvqlmHpIdXG32ObhQU&s=dOB6OC0B91XFwM9moju2XEShtNvJIo2mflvy9YZO8s0&e=>. This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. L&T Technology Services Ltd www.LTTS.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.LTTS.com&d=DwQF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=lug7vK8BWNRjnu52CgpxyjtI8CvqlmHpIdXG32ObhQU&s=dssWmHe-DrUepNuvJ0YXJxcLz_PzQrjXihKUIYysEgo&e=> L&T Technology Services Limited (LTTS) is committed to safeguard your data privacy. For more information to view our commitment towards data privacy under GDPR, please visit the privacy policy on our website www.Ltts.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.Ltts.com&d=DwQF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=lug7vK8BWNRjnu52CgpxyjtI8CvqlmHpIdXG32ObhQU&s=-tT4V34YmyGfe72jBdnHHYdLYkqtI5C1dAhaRHp70Pg&e=>. This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20211): https://lists.onap.org/g/onap-discuss/message/20211 Mute This Topic: https://lists.onap.org/mt/71832068/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
