-
Bug
-
Resolution: Done
-
High
-
Amsterdam Release
The issue was found for ONAP1.1 on Openstack, installed on 09/07/2017
ubuntu@vm1-robot:/opt$ sudo ./demo.sh init 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 ... ============================================================================== Initialize Customer And Models | FAIL | '200 <= 404 < 300' should be true. ------------------------------------------------------------------------------ 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/InitDemo/output.xml Log: /share/logs/demo/InitDemo/log.html Report: /share/logs/demo/InitDemo/report.html
In Robot log.html:
... ... KEYWORD keystone_interface . Run Openstack Auth Request auth Documentation: Runs an Openstack Auth Request and returns the token and service catalog. you need to include the token in future request's x-auth-token headers. Service catalog describes what can be called Start / End / Elapsed: 20170912 16:31:30.559 / 20170912 16:31:30.586 / 00:00:00.027 00:00:00.003KEYWORD ${username}, ${password} = keystone_interface . Set Openstack Credentials ${username}, ${password} 00:00:00.001KEYWORD ${session} = RequestsLibrary . Create Session keystone, ${GLOBAL_INJECTED_KEYSTONE}, verify=True 00:00:00.000KEYWORD ${uuid} = UUID . Generate UUID 00:00:00.000KEYWORD ${data_template} = OperatingSystem . Get File ${OPENSTACK_KEYSTONE_AUTH_BODY_FILE} 00:00:00.001KEYWORD ${arguments} = BuiltIn . Create Dictionary username=${username}, password=${password}, tenantId=${GLOBAL_INJECTED_OPENSTACK_TENANT_ID} 00:00:00.004KEYWORD ${data} = json_templater . Fill JSON Template ${data_template}, ${arguments} 00:00:00.001KEYWORD ${data_path} = BuiltIn . Catenate ${OPENSTACK_KEYSTONE_API_VERSION}${OPENSTACK_KEYSTONE_AUTH_PATH} 00:00:00.001KEYWORD ${headers} = BuiltIn . Create Dictionary Accept=application/json, Content-Type=application/json, X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid}, X-FromAppId=${GLOBAL_APPLICATION_ID} 00:00:00.001KEYWORD BuiltIn . Log Sending authenticate post request ${data_path} with headers ${headers} and data ${data} 00:00:00.010KEYWORD ${resp} = RequestsLibrary . Post Request keystone, ${data_path}, data=${data}, headers=${headers} Documentation: Send a POST request on the session object found using the Start / End / Elapsed: 20170912 16:31:30.575 / 20170912 16:31:30.585 / 00:00:00.010 16:31:30.576 TRACE Arguments: [ 'keystone' | '/v2.0/tokens' | data={'auth': {'passwordCredentials': {'password': 'xxxxxxxxxxx', 'username': 'xxxxxxxxx'}, 'tenantId': 'xxxxxxxxxxxx'}} | headers={'Accept': 'application/json', 'Content-Type': 'application/json', 'X-FromAppId': 'robot-ete', 'X-TransactionId': 'robot-ete-64050115-90d0-4408-b0c7-efee0c967186'} ] 16:31:30.577 DEBUG Starting new HTTP connection (1): 172.21.5.4 16:31:30.584 DEBUG http://172.21.5.4:5000 "POST /v2.0/v2.0/tokens HTTP/1.1" 404 93 16:31:30.585 DEBUG post response: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}} 16:31:30.585 INFO Post Request using : alias=keystone, uri=/v2.0/tokens, data={"auth": {"passwordCredentials": {"username": "xxxxxxxxx", "password": "xxxxxxxxx"}, "tenantId": "xxxxxxxxxxxxxx"}}, headers={u'Accept': u'application/json', u'Content-Type': u'application/json', u'X-TransactionId': u'robot-ete-64050115-90d0-4408-b0c7-efee0c967186', u'X-FromAppId': u'robot-ete'}, files=None, allow_redirects=True 16:31:30.585 TRACE Return: <Response [404]> 16:31:30.585 INFO ${resp} = <Response [404]> 00:00:00.001KEYWORD BuiltIn . Should Be True 200 <= ${resp.status_code} < 300 Documentation: Fails if the given condition is not true. Start / End / Elapsed: 20170912 16:31:30.585 / 20170912 16:31:30.586 / 00:00:00.001 16:31:30.586 TRACE Arguments: [ '200 <= 404 < 300' ] 16:31:30.586 FAIL '200 <= 404 < 300' should be true. 16:31:30.586 DEBUG Traceback (most recent call last): None ... ...
- relates to
-
INT-149 ./demo.sh init - failed with ONAP 1.1 (heat rackspace and oom - 2017-09-05env)
- Closed