Title: attach_compute should set exit code after exception · Issue #113 · microsoft/MLOpsPython · GitHub
Open Graph Title: attach_compute should set exit code after exception · Issue #113 · microsoft/MLOpsPython
X Title: attach_compute should set exit code after exception · Issue #113 · microsoft/MLOpsPython
Description: I got a transient service error while retrieving compute. An error was logged but the pipeline continued. The script fails to set an exit code when catching the exception: MLOpsPython/ml_service/util/attach_compute.py Line 42 in d4a7633 ...
Open Graph Description: I got a transient service error while retrieving compute. An error was logged but the pipeline continued. The script fails to set an exit code when catching the exception: MLOpsPython/ml_service/ut...
X Description: I got a transient service error while retrieving compute. An error was logged but the pipeline continued. The script fails to set an exit code when catching the exception: MLOpsPython/ml_service/ut...
Opengraph URL: https://github.com/microsoft/MLOpsPython/issues/113
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"attach_compute should set exit code after exception","articleBody":"I got a transient service error while retrieving compute. An error was logged but the pipeline continued. The script fails to set an exit code when catching the exception:\r\n\r\nhttps://github.com/microsoft/MLOpsPython/blob/d4a7633152c32335bb43209be3a7d84ff8f4ed0b/ml_service/util/attach_compute.py#L42\r\n\r\n```\r\nComputeTargetException:\r\n\tMessage: Error occurred retrieving targets:\r\nResponse Code: 500\r\nHeaders: {'Cache-Control': 'no-cache', 'Pragma': 'no-cache', 'Content-Length': '294', 'Content-Type': 'application/json; charset=utf-8', 'Expires': '-1', 'x-ms-ratelimit-remaining-subscription-reads': '11999', 'x-ms-failure-cause': 'service', 'Request-Context': 'appId=cid-v1:6a27ce65-5555-41a3-85f7-b7a1ce31fd6b', 'x-ms-request-id': '|eaf2c3b2dc39574abbc4581269bde67b.8a46c099_1.1bf9b6d7_', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'x-ms-correlation-request-id': 'f3c9e09d-9986-43dc-a81e-9328fbb63de9', 'x-ms-routing-request-id': 'WESTEUROPE:20191126T054559Z:f3c9e09d-9986-43dc-a81e-9328fbb63de9', 'X-Content-Type-Options': 'nosniff', 'Date': 'Tue, 26 Nov 2019 05:45:59 GMT', 'Connection': 'close'}\r\nContent: b'{\"error\":{\"code\":\"InternalServerError\",\"message\":\"An internal server error occurred. Please try again. If the problem persists, contact support\",\"innererror\":{\"clientRequestId\":\"888141ac-de9b-418a-87e7-987fa829b2ae\",\"serviceRequestId\":\"|eaf2c3b2dc39574abbc4581269bde67b.8a46c099_1.1bf9b6d7_\"}}}'\r\n\tInnerException None\r\n\tErrorResponse \r\n{\r\n \"error\": {\r\n \"message\": \"Error occurred retrieving targets:\\nResponse Code: 500\\nHeaders: {'Cache-Control': 'no-cache', 'Pragma': 'no-cache', 'Content-Length': '294', 'Content-Type': 'application/json; charset=utf-8', 'Expires': '-1', 'x-ms-ratelimit-remaining-subscription-reads': '11999', 'x-ms-failure-cause': 'service', 'Request-Context': 'appId=cid-v1:6a27ce65-5555-41a3-85f7-b7a1ce31fd6b', 'x-ms-request-id': '|eaf2c3b2dc39574abbc4581269bde67b.8a46c099_1.1bf9b6d7_', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'x-ms-correlation-request-id': 'f3c9e09d-9986-43dc-a81e-9328fbb63de9', 'x-ms-routing-request-id': 'WESTEUROPE:20191126T054559Z:f3c9e09d-9986-43dc-a81e-9328fbb63de9', 'X-Content-Type-Options': 'nosniff', 'Date': 'Tue, 26 Nov 2019 05:45:59 GMT', 'Connection': 'close'}\\nContent: b'{\\\"error\\\":{\\\"code\\\":\\\"InternalServerError\\\",\\\"message\\\":\\\"An internal server error occurred. Please try again. If the problem persists, contact support\\\",\\\"innererror\\\":{\\\"clientRequestId\\\":\\\"888141ac-de9b-418a-87e7-987fa829b2ae\\\",\\\"serviceRequestId\\\":\\\"|eaf2c3b2dc39574abbc4581269bde67b.8a46c099_1.1bf9b6d7_\\\"}}}'\"\r\n }\r\n}\r\nAn error occurred trying to provision compute.\r\n```","author":{"url":"https://github.com/algattik","@type":"Person","name":"algattik"},"datePublished":"2019-11-26T06:00:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/113/MLOpsPython/issues/113"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fb77f116-77f5-0707-3f8d-b5197a5a16aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 802A:30D095:199662:22457B:697D1923 |
| html-safe-nonce | f83070cb515102602db6b03ec5c462428a5a5b36c4653e5bb745d53b8ca2ec72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDJBOjMwRDA5NToxOTk2NjI6MjI0NTdCOjY5N0QxOTIzIiwidmlzaXRvcl9pZCI6Ijc2NjMwNDc0MzQwMTU5Mzg4NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2bf6137dece226c5b9b26df6a2347dd20afbe5aa20bbc1438b60eb5e8ac57a21 |
| hovercard-subject-tag | issue:528507365 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/MLOpsPython/113/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b0d041a227f255daef3d03ffcd5939c804c10fd19455a577d1327d9a95f3973b/microsoft/MLOpsPython/issues/113 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0d041a227f255daef3d03ffcd5939c804c10fd19455a577d1327d9a95f3973b/microsoft/MLOpsPython/issues/113 |
| og:image:alt | I got a transient service error while retrieving compute. An error was logged but the pipeline continued. The script fails to set an exit code when catching the exception: MLOpsPython/ml_service/ut... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | algattik |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6bac6431e041e40aadf6b728ae7d4714d3e9db06146c32859d7f755bfd99f370 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/MLOpsPython git https://github.com/microsoft/MLOpsPython.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 168217581 |
| octolytics-dimension-repository_nwo | microsoft/MLOpsPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 168217581 |
| octolytics-dimension-repository_network_root_nwo | microsoft/MLOpsPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 16471c97de653e844cc3021141a92460ac261244 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width