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]>
Sent: Tuesday, March 10, 2020 4:27 AM
To: FREEMAN, BRIAN D <[email protected]>; [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-253Dhttp-2D3A-5F-5Fwww.LTTS.com-2526d-253DDwQFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DflbaMoIyddVxF8KCdh7aS5pBDym7JHyWYrLFTQ7Nx-5Fk-2526s-253DjgYywSnpDWu3t8a0n-2D6PhIxG-5F1BYAcjoDxUcV1Gv1m0-2526e-253D-26data-3D02-257C01-257CDevangam.Manjunatha-2540ltts.com-257C538bf42e8bf1423d020a08d7c42c1480-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637193565913663379-26sdata-3DzTX6WmaTXHgw3zNgNcWAgYg5ZpCasg96RF-252B-252FDqg2-252B6Y-253D-26reserved-3D0&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=H7WQqSAt3LBJQVCCIxxuU-Gptlj7006h7bg1CeM5v4A&s=jrWWthXrBQiOUSEsfdK_O6O6hINCJf1h8sMHXY9pmFA&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-253DflbaMoIyddVxF8KCdh7aS5pBDym7JHyWYrLFTQ7Nx-5Fk-2526s-253D4RHnhpyDObkHWR41BUJ7MEFnirMuX2Bcv0cD6GcWmWg-2526e-253D-26data-3D02-257C01-257CDevangam.Manjunatha-2540ltts.com-257C538bf42e8bf1423d020a08d7c42c1480-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637193565913663379-26sdata-3D-252BDSmRTtU-252BEB-252BdCeFxOET-252FbNoqzLihWvwKKly9JetsW4-253D-26reserved-3D0&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=H7WQqSAt3LBJQVCCIxxuU-Gptlj7006h7bg1CeM5v4A&s=scpCxov5xWL5RHixvvjXR5uyUWkBiQO6uEayR-CdpVA&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=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=H7WQqSAt3LBJQVCCIxxuU-Gptlj7006h7bg1CeM5v4A&s=eFiJrL5O3P7GKSGTemozq_hA2CzihjA7l3m36TGsfA0&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=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=H7WQqSAt3LBJQVCCIxxuU-Gptlj7006h7bg1CeM5v4A&s=s-d6X1_ozFLh9dhqxfndZBfxwpOLbeNy59eNGFIVJyM&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 (#20208): https://lists.onap.org/g/onap-discuss/message/20208
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to