1
0
-1

I'm trying to complete the onboard of the vFW demo with Amsterdam but am getting some errors when I go to preload the VNF. It appears something did not load properly somewhere, but its hard to tell from the logs. It looks like maybe robot itself?



root@onap-robot:/opt# ./demo.sh preload DemoVNF DemoModule
Starting Xvfb on display :89 with res 1280x1024x24
Executing robot tests at log level TRACE
==============================================================================
OpenECOMP ETE
==============================================================================
OpenECOMP ETE.Robot
==============================================================================
OpenECOMP ETE.Robot.Testsuites
==============================================================================
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestration Test ...
==============================================================================
Preload VNF | FAIL |
Dictionary does not contain key 'vFWCL'.
------------------------------------------------------------------------------
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
OpenECOMP ETE.Robot.Testsuites | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
OpenECOMP ETE.Robot | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
OpenECOMP ETE | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output: /share/logs/demo/PreloadDemo/output.xml
Log: /share/logs/demo/PreloadDemo/log.html
Report: /share/logs/demo/PreloadDemo/report.html






<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${GLOBAL_SERVICE_TEMPLATE_MAPPING}</arg>
<arg>${vnf_service}</arg>
</arguments>
<assign>
<var>${list}</var>
</assign>
<msg timestamp="20171214 16:16:00.775" level="TRACE">Arguments: [ {b'vCPE': [{b'isBase': b'true', b'name_pattern': b'base_clearwater', b'template': b'vcpe_preload.template'}],
b'vFW': [{b'isBase': b'true', b'name_pattern': b'base_vfw', b'template': b'vfw_preload.template'}],
b'vFWSNK': [{b'isBase': b'true', b'name_pattern': b'base_vfw', b'template': b'vfwsnk_preload.template'}],
b'vLB': [{b'isBase': b'true', b'name_pattern': b'base_vlb', b'template': b'vlb_preload.template'}, {b'isBase': b'false', b'name_pattern': b'dnsscaling', b'prefix': b'vDNS_', b'template': b'dnsscaling_preload.template'}],
b'vPKG': [{b'isBase': b'true', b'name_pattern': b'base_vpkg', b'template': b'vpkg_preload.template'}],
b'vVG': [{b'isBase': b'true', b'name_pattern': b'base_vvg', b'template': b'vvg_preload.template'}]} | 'vFWCL' ]</msg>
<msg timestamp="20171214 16:16:00.778" level="FAIL">Dictionary does not contain key 'vFWCL'.</msg>
<msg timestamp="20171214 16:16:00.778" level="DEBUG">Traceback (most recent call last):
None</msg>
<status status="FAIL" endtime="20171214 16:16:00.778" starttime="20171214 16:16:00.775"></status>
</kw>
<status status="FAIL" endtime="20171214 16:16:00.778" starttime="20171214 16:16:00.772"></status>
</kw>
<kw type="teardown" name="Close All Browsers" library="ExtendedSelenium2Library">
<doc>Closes all open browsers and resets the browser cache.</doc>
<msg timestamp="20171214 16:16:00.779" level="TRACE">Arguments: [ ]</msg>

<msg timestamp="20171214 16:16:00.779" level="DEBUG">Closing all browsers</msg>
<msg timestamp="20171214 16:16:00.780" level="DEBUG">DELETE http://127.0.0.1:53869/session/b469f7e8c15bc8cf100aabce8151f4fb {"sessionId": "b469f7e8c15bc8cf100aabce8151f4fb"}</msg>
<msg timestamp="20171214 16:16:00.832" level="DEBUG">Finished Request</msg>
<msg timestamp="20171214 16:16:01.578" level="TRACE">Return: None</msg>
<status status="PASS" endtime="20171214 16:16:01.579" starttime="20171214 16:16:00.779"></status>
</kw>
<status status="FAIL" endtime="20171214 16:16:01.579" starttime="20171214 16:15:47.871"></status>
</kw>
<tags>
<tag>PreloadDemo</tag>
</tags>
<status status="FAIL" endtime="20171214 16:16:01.580" critical="yes" starttime="20171214 16:15:47.870">Dictionary does not contain key 'vFWCL'.</status>
</test>
<doc>Executes the VNF Orchestration Test cases including setup and teardown
</doc>
<status status="FAIL" endtime="20171214 16:16:01.583" starttime="20171214 16:15:46.954"></status>
</suite>
<status status="FAIL" endtime="20171214 16:16:01.589" starttime="20171214 16:15:46.952"></status>
</suite>
<status status="FAIL" endtime="20171214 16:16:01.593" starttime="20171214 16:15:46.949"></status>
</suite>
<status status="FAIL" endtime="20171214 16:16:01.596" starttime="20171214 16:15:46.928"></status>
</suite>
<statistics>
<total>
<stat fail="1" pass="0">Critical Tests</stat>
<stat fail="1" pass="0">All Tests</stat>
</total>
<tag>

<stat fail="1" pass="0">PreloadDemo</stat>
</tag>
<suite>
<stat fail="1" id="s1" name="OpenECOMP ETE" pass="0">OpenECOMP ETE</stat>
<stat fail="1" id="s1-s1" name="Robot" pass="0">OpenECOMP ETE.Robot</stat>
<stat fail="1" id="s1-s1-s1" name="Testsuites" pass="0">OpenECOMP ETE.Robot.Testsuites</stat>
<stat fail="1" id="s1-s1-s1-s1" name="Demo" pass="0">OpenECOMP ETE.Robot.Testsuites.Demo</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      I've worked around this issue by modifying /var/opt/OpenECOMP_ETE/robot/assets/service_mappings.py in the openecompete_container docker on the robot VM. I copied the dict entry in GLOBAL_SERVICE_TEMPLATE_MAPPING for vFW and made it vFWCL.

      "vFWCL" : [{"isBase" : "true", "template" : "vfw_preload.template", "name_pattern": "base_vfw"}],


      I've got a complete preload, but SDNC still has issues.

        CommentAdd your comment...