Skip to content

Conversation

@AlliumApotheosis
Copy link
Contributor

@AlliumApotheosis AlliumApotheosis commented Mar 16, 2017

Partially fixes https://rackhd.atlassian.net/browse/RAC-637
supports RackHD/on-taskgraph#226

@pscharla @RackHD/corecommitters

Just return the undefined instead of crashing trying to query it.

@JenkinsRHD
Copy link
Contributor

BUILD on-core #6 : FAILURE

@panpan0000
Copy link
Contributor

test this please

@PengTian0
Copy link
Contributor

test this please

@JenkinsRHD
Copy link
Contributor

BUILD on-core #126 : FAILURE

BUILD on-core #126 Error Logs ▼Test Name: setup_ipmi_obm Error Details: (404) Reason: Not Found HTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-pUc+ujqJYt9UeJDcliVuUWh3j3Y"', 'Date': 'Mon, 20 Mar 2017 06:47:40 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'}) HTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"58d871f7-8c69-4551-90fa-c85bba3f72b8"}

-------------------- >> begin captured logging << --------------------
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a85e4e1bfbf0a217b97)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ab9e4e1bfbf0a217ba3)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ac7e4e1bfbf0a217baf)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7acae4e1bfbf0a217bbb)
--------------------- >> end captured logging << ---------------------
Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_tests.py", line 27, in setup_ipmi_obm
assert_equal(len(obmSettings().setup_nodes(service_type='ipmi-obm-service')), 0)
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_settings.py", line 65, in setup_nodes
if self._set_ipmi(uid) == False:
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_settings.py", line 23, in _set_ipmi
Api().nodes_get_catalog_source_by_id(uid,'bmc')
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/apis/api_api.py", line 1862, in nodes_get_catalog_source_by_id
callback=params.get('callback'))
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 342, in request
headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 184, in GET
query_params=query_params)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
'(404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-pUc+ujqJYt9UeJDcliVuUWh3j3Y"', 'Date': 'Mon, 20 Mar 2017 06:47:40 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})\nHTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"58d871f7-8c69-4551-90fa-c85bba3f72b8"}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a85e4e1bfbf0a217b97)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ab9e4e1bfbf0a217ba3)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ac7e4e1bfbf0a217baf)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7acae4e1bfbf0a217bbb)\n--------------------- >> end captured logging << ---------------------'

Test Name: test_node_catalogs_bysource
Error Details: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-/5lCwK2JSDsslWD4eRYdHUPdJEY"', 'Date': 'Mon, 20 Mar 2017 06:46:55 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"a606d205-51fe-4c13-ba29-0dff9f6c0f52"}

Stack Trace: Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/nodes_tests.py", line 266, in test_node_catalogs_bysource
Api().nodes_get_catalog_source_by_id(identifier=n.get('id'), source='bmc')
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/apis/api_api.py", line 1862, in nodes_get_catalog_source_by_id
callback=params.get('callback'))
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 342, in request
headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 184, in GET
query_params=query_params)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-/5lCwK2JSDsslWD4eRYdHUPdJEY"', 'Date': 'Mon, 20 Mar 2017 06:46:55 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"a606d205-51fe-4c13-ba29-0dff9f6c0f52"}

Test Name: setup_ipmi_obm
Error Details: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-1af1z99sIJwO4XWemZvGQgBIFSk"', 'Date': 'Mon, 20 Mar 2017 06:46:55 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"795056a4-45bf-4be5-b6f3-0732d3fe6b94"}

-------------------- >> begin captured logging << --------------------
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a5f120028c30a4c4f16)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a8a120028c30a4c4f22)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a99120028c30a4c4f2e)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a99120028c30a4c4f3a)
--------------------- >> end captured logging << ---------------------
Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_tests.py", line 27, in setup_ipmi_obm
assert_equal(len(obmSettings().setup_nodes(service_type='ipmi-obm-service')), 0)
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_settings.py", line 65, in setup_nodes
if self._set_ipmi(uid) == False:
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_settings.py", line 23, in _set_ipmi
Api().nodes_get_catalog_source_by_id(uid,'bmc')
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/apis/api_api.py", line 1862, in nodes_get_catalog_source_by_id
callback=params.get('callback'))
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 342, in request
headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 184, in GET
query_params=query_params)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
'(404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-1af1z99sIJwO4XWemZvGQgBIFSk"', 'Date': 'Mon, 20 Mar 2017 06:46:55 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})\nHTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"795056a4-45bf-4be5-b6f3-0732d3fe6b94"}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a5f120028c30a4c4f16)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a8a120028c30a4c4f22)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a99120028c30a4c4f2e)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7a99120028c30a4c4f3a)\n--------------------- >> end captured logging << ---------------------'

Test Name: post_skupacks
Error Details: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-UXqFRF3dJjtywfpY1oJ7PU9wdJ0"', 'Date': 'Mon, 20 Mar 2017 06:47:29 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"e7ec25b9-ac8e-4085-92d5-571925b6d3ee"}

Stack Trace: Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/sel_alert_poller_tests.py", line 58, in post_skupacks
Api().nodes_get_catalog_source_by_id(identifier=node_id, source='bmc')
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/apis/api_api.py", line 1862, in nodes_get_catalog_source_by_id
callback=params.get('callback'))
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 342, in request
headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 184, in GET
query_params=query_params)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-UXqFRF3dJjtywfpY1oJ7PU9wdJ0"', 'Date': 'Mon, 20 Mar 2017 06:47:29 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"e7ec25b9-ac8e-4085-92d5-571925b6d3ee"}

Test Name: test_get_chassis
Error Details: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '2251', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"8cb-+goKb39VTU854DgO5loc9l+wvxg"', 'Date': 'Mon, 20 Mar 2017 06:47:29 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"error":{"code":"Base.1.0.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information.","@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"Base.1.0.Messages.InternalError","Description":"Indicates that the request failed for an unknown internal error but that the service is still operational.","Message":"The request failed due to an internal service error. The service is still operational.","Resolution":"Resubmit the request. If the problem persists, consider resetting the service.","Severity":"Critical"},{"MessageId":"RackHD.1.0.DetailedErrorMessage","Message":{"name":"NotFoundError","message":"There is no cache record for the poller with ID 58cf7adcff5254bd0abbbbe4.Perhaps it has not been run yet?","stack":"NotFoundError: There is no cache record for the poller with ID 58cf7adcff5254bd0abbbbe4.Perhaps it has not been run yet?\n at PollerMessageCacheJob.requestPollerCacheCallback (/home/vagrant/src/on-taskgraph/node_modules/on-tasks/lib/jobs/message-cache-job.js:169:35)\n at /home/vagrant/src/on-taskgraph/node_modules/on-core/lib/protocol/task.js:437:28\n at tryCatcher (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n at Promise._settlePromiseFromHandler (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n at Promise._settlePromiseAt (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n at Promise._settlePromiseAtPostResolution (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n at Async._drainQueue (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n at Async._drainQueues (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n at Immediate.Async.drainQueues [as _onImmediate] (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n at processImmediate [as _immediateCallback] (timers.js:383:17)","context":{},"status":404},"Description":"Contains the detailed error message contents"}]}}

-------------------- >> begin captured logging << --------------------
tests.api.redfish_1_0.chassis_tests: INFO: 58cf7adcff5254bd0abbbbe1
--------------------- >> end captured logging << ---------------------
Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/redfish_1_0/chassis_tests.py", line 48, in test_get_chassis
redfish().get_chassis(dataId)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/apis/redfishv_api.py", line 890, in get_chassis
callback=params.get('callback'))
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 342, in request
headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py", line 184, in GET
query_params=query_params)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
'(404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'Content-Length': '2251', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"8cb-+goKb39VTU854DgO5loc9l+wvxg"', 'Date': 'Mon, 20 Mar 2017 06:47:29 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})\nHTTP response body: {"error":{"code":"Base.1.0.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information.","@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"Base.1.0.Messages.InternalError","Description":"Indicates that the request failed for an unknown internal error but that the service is still operational.","Message":"The request failed due to an internal service error. The service is still operational.","Resolution":"Resubmit the request. If the problem persists, consider resetting the service.","Severity":"Critical"},{"MessageId":"RackHD.1.0.DetailedErrorMessage","Message":{"name":"NotFoundError","message":"There is no cache record for the poller with ID 58cf7adcff5254bd0abbbbe4.Perhaps it has not been run yet?","stack":"NotFoundError: There is no cache record for the poller with ID 58cf7adcff5254bd0abbbbe4.Perhaps it has not been run yet?\n at PollerMessageCacheJob.requestPollerCacheCallback (/home/vagrant/src/on-taskgraph/node_modules/on-tasks/lib/jobs/message-cache-job.js:169:35)\n at /home/vagrant/src/on-taskgraph/node_modules/on-core/lib/protocol/task.js:437:28\n at tryCatcher (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n at Promise._settlePromiseFromHandler (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n at Promise._settlePromiseAt (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n at Promise._settlePromiseAtPostResolution (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n at Async._drainQueue (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n at Async._drainQueues (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n at Immediate.Async.drainQueues [as _onImmediate] (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n at processImmediate [as _immediateCallback] (timers.js:383:17)","context":{},"status":404},"Description":"Contains the detailed error message contents"}]}}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.redfish_1_0.chassis_tests: INFO: 58cf7adcff5254bd0abbbbe1\n--------------------- >> end captured logging << ---------------------'

Test Name: setup_ipmi_obm
Error Details: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-wxPSZ5TsLNEyMNjo/IOQKNJi92k"', 'Date': 'Mon, 20 Mar 2017 06:48:45 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"64fbd4e5-4a8d-4c98-ac96-ae85f43560ed"}

-------------------- >> begin captured logging << --------------------
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7aacc3faa5c20ad35763)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ad7c3faa5c20ad3576f)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ae4c3faa5c20ad3577b)
tests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ae9c3faa5c20ad35787)
--------------------- >> end captured logging << ---------------------
Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_tests.py", line 27, in setup_ipmi_obm
assert_equal(len(obmSettings().setup_nodes(service_type='ipmi-obm-service')), 0)
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_settings.py", line 65, in setup_nodes
if self._set_ipmi(uid) == False:
File "/home/jenkins/workspace/on-core/RackHD/test/tests/api/v2_0/obm_settings.py", line 23, in _set_ipmi
Api().nodes_get_catalog_source_by_id(uid,'bmc')
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/apis/api_api.py", line 1862, in nodes_get_catalog_source_by_id
callback=params.get('callback'))
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 342, in request
headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 184, in GET
query_params=query_params)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
'(404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'Content-Length': '110', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"6e-wxPSZ5TsLNEyMNjo/IOQKNJi92k"', 'Date': 'Mon, 20 Mar 2017 06:48:45 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})\nHTTP response body: {"message":"No Catalogs Found for Source (bmc).","status":"404","UUID":"64fbd4e5-4a8d-4c98-ac96-ae85f43560ed"}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7aacc3faa5c20ad35763)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ad7c3faa5c20ad3576f)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ae4c3faa5c20ad3577b)\ntests.api.v2_0.obm_settings: WARNING: No OBM settings for node type compute (id=58cf7ae9c3faa5c20ad35787)\n--------------------- >> end captured logging << ---------------------'

@yyscamper yyscamper merged commit a4e14a0 into RackHD:master Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants