{"action":"created","issue":{"url":"https://api.github.com/repos/RackHD/on-core/issues/172","repository_url":"https://api.github.com/repos/RackHD/on-core","labels_url":"https://api.github.com/repos/RackHD/on-core/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/RackHD/on-core/issues/172/comments","events_url":"https://api.github.com/repos/RackHD/on-core/issues/172/events","html_url":"https://github.com/RackHD/on-core/pull/172","id":163305831,"number":172,"title":"Create alert for poller status changes","user":{"login":"pengz1","id":13991453,"avatar_url":"https://avatars.githubusercontent.com/u/13991453?v=3","gravatar_id":"","url":"https://api.github.com/users/pengz1","html_url":"https://github.com/pengz1","followers_url":"https://api.github.com/users/pengz1/followers","following_url":"https://api.github.com/users/pengz1/following{/other_user}","gists_url":"https://api.github.com/users/pengz1/gists{/gist_id}","starred_url":"https://api.github.com/users/pengz1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengz1/subscriptions","organizations_url":"https://api.github.com/users/pengz1/orgs","repos_url":"https://api.github.com/users/pengz1/repos","events_url":"https://api.github.com/users/pengz1/events{/privacy}","received_events_url":"https://api.github.com/users/pengz1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-01T02:15:33Z","updated_at":"2016-07-08T07:52:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RackHD/on-core/pulls/172","html_url":"https://github.com/RackHD/on-core/pull/172","diff_url":"https://github.com/RackHD/on-core/pull/172.diff","patch_url":"https://github.com/RackHD/on-core/pull/172.patch"},"body":"This PR is to add alert capability in workitem .setFailed and .setSucceededwhen methods when pollers status changed and it is decided node alert should be issued.\r\n\r\nA new argument is inserted in .setFailed and .setSucceded method and old tasks might be impacted and need update.\r\n\r\nCode is Verified on D51, vPDU.\r\n\r\nRelated PR:\r\nhttps://github.com/RackHD/on-tasks/pull/262"},"comment":{"url":"https://api.github.com/repos/RackHD/on-core/issues/comments/231297750","html_url":"https://github.com/RackHD/on-core/pull/172#issuecomment-231297750","issue_url":"https://api.github.com/repos/RackHD/on-core/issues/172","id":231297750,"user":{"login":"JenkinsRHD","id":16692395,"avatar_url":"https://avatars.githubusercontent.com/u/16692395?v=3","gravatar_id":"","url":"https://api.github.com/users/JenkinsRHD","html_url":"https://github.com/JenkinsRHD","followers_url":"https://api.github.com/users/JenkinsRHD/followers","following_url":"https://api.github.com/users/JenkinsRHD/following{/other_user}","gists_url":"https://api.github.com/users/JenkinsRHD/gists{/gist_id}","starred_url":"https://api.github.com/users/JenkinsRHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JenkinsRHD/subscriptions","organizations_url":"https://api.github.com/users/JenkinsRHD/orgs","repos_url":"https://api.github.com/users/JenkinsRHD/repos","events_url":"https://api.github.com/users/JenkinsRHD/events{/privacy}","received_events_url":"https://api.github.com/users/JenkinsRHD/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T07:52:32Z","updated_at":"2016-07-08T07:52:32Z","body":"```\n*** BUILD #706 ***\nTest Name: test_get_chassis\nError Details: (404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'Content-Length': '2265', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/\"8d9-fCJ14RZOjGkUoSqZDyTorQ\"', 'Date': 'Fri, 08 Jul 2016 07:50:51 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 577f57b628b868c708d7c284.Perhaps it has not been run yet?\",\"stack\":\"NotFoundError: There is no cache record for the poller with ID 577f57b628b868c708d7c284.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:158:35)\\n    at Promise.resolve.then.then.message.resolve.Result.value (/home/vagrant/src/on-taskgraph/node_modules/on-core/lib/protocol/task.js:451: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:507:31)\\n    at Promise._settlePromiseAt (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)\\n    at Promise._settlePromiseAtPostResolution (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:245: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 Async.drainQueues (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\\n    at process._tickDomainCallback (node.js:459:13)\",\"context\":{},\"status\":404},\"Description\":\"Contains the detailed error message contents\"}]}}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.redfish_1_0.chassis_tests: INFO: 577f57b628b868c708d7c282\n--------------------- >> end captured logging << ---------------------\nStack Trace:   File \"/usr/lib/python2.7/unittest/case.py\", line 331, in run\n    testMethod()\n  File \"/usr/lib/python2.7/unittest/case.py\", line 1043, in runTest\n    self._testFunc()\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py\", line 296, in testng_method_mistake_capture_func\n    compatability.capture_type_error(s_func)\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py\", line 27, in capture_type_error\n    func()\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py\", line 350, in func\n    func(test_case.state.get_state())\n  File \"/home/jenkins/workspace/on-core/RackHD/test/tests/api/redfish_1_0/chassis_tests.py\", line 48, in test_get_chassis\n    redfish().get_chassis(dataId)\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/apis/redfishv_api.py\", line 890, in get_chassis\n    callback=params.get('callback'))\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py\", line 322, in call_api\n    response_type, auth_settings, callback)\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py\", line 149, in __call_api\n    post_params=post_params, body=body)\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py\", line 342, in request\n    headers=headers)\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py\", line 184, in GET\n    query_params=query_params)\n  File \"/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py\", line 177, in request\n    raise ApiException(http_resp=r)\n'(404)\\nReason: Not Found\\nHTTP response headers: HTTPHeaderDict({\\'Content-Length\\': \\'2265\\', \\'X-Powered-By\\': \\'Express\\', \\'Connection\\': \\'keep-alive\\', \\'ETag\\': \\'W/\"8d9-fCJ14RZOjGkUoSqZDyTorQ\"\\', \\'Date\\': \\'Fri, 08 Jul 2016 07:50:51 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 577f57b628b868c708d7c284.Perhaps it has not been run yet?\",\"stack\":\"NotFoundError: There is no cache record for the poller with ID 577f57b628b868c708d7c284.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:158:35)\\\\n    at Promise.resolve.then.then.message.resolve.Result.value (/home/vagrant/src/on-taskgraph/node_modules/on-core/lib/protocol/task.js:451: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:507:31)\\\\n    at Promise._settlePromiseAt (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)\\\\n    at Promise._settlePromiseAtPostResolution (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:245: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 Async.drainQueues (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\\\\n    at process._tickDomainCallback (node.js:459:13)\",\"context\":{},\"status\":404},\"Description\":\"Contains the detailed error message contents\"}]}}\\n\\n-------------------- >> begin captured logging << --------------------\\ntests.api.redfish_1_0.chassis_tests: INFO: 577f57b628b868c708d7c282\\n--------------------- >> end captured logging << ---------------------'\n\n```\n"}}
{"actor":{"display_login":"JenkinsRHD"}}