{"action":"opened","issue":{"url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/78","repository_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices","labels_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/78/comments","events_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/78/events","html_url":"https://github.com/conda-forge/conda-forge-webservices/issues/78","id":181927981,"number":78,"title":"Failure to Create Re-rendering PR","user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars.githubusercontent.com/u/3019665?v=3","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-10T02:26:17Z","updated_at":"2016-10-10T02:26:17Z","closed_at":null,"body":"Appears that in some cases the re-rendering PR cannot be created and so the re-rendering service just crashes. If failing to create a PR is acceptable in these circumstances, we should handle it better. If not, we should fix how we create PRs. Example below. In this case, it seems a re-rendering PR would be needed.\r\n\r\n```\r\n2016-10-10T02:16:46.520952+00:00 app[rerender.1]: Fetching  cf_units\r\n2016-10-10T02:16:46.520965+00:00 app[rerender.1]: Checking cf_units-feedstock\r\n2016-10-10T02:16:48.994418+00:00 app[rerender.1]: Fetching package metadata .........\r\n2016-10-10T02:16:52.747445+00:00 app[rerender.1]: Fetching package metadata .........\r\n2016-10-10T02:16:56.953141+00:00 app[rerender.1]: Fetching package metadata .........\r\n2016-10-10T02:17:00.901689+00:00 app[rerender.1]: Fetching package metadata .........\r\n2016-10-10T02:17:04.054861+00:00 app[rerender.1]: Fetching package metadata .........\r\n2016-10-10T02:17:07.040194+00:00 app[rerender.1]: Using Anaconda API: https://api.anaconda.org\r\n2016-10-10T02:17:07.052282+00:00 app[rerender.1]: Traceback (most recent call last):\r\n2016-10-10T02:17:07.052284+00:00 app[rerender.1]:   File \"/tmp/conda-execute_3vum1m9s\", line 268, in <module>\r\n2016-10-10T02:17:07.052285+00:00 app[rerender.1]:     conda_smithy.configure_feedstock.main(feedstock.directory)\r\n2016-10-10T02:17:07.052287+00:00 app[rerender.1]:   File \"/app/.conda/tmp_envs/145606824d653854b036/lib/python3.5/contextlib.py\", line 66, in __exit__\r\n2016-10-10T02:17:07.052288+00:00 app[rerender.1]:     next(self.gen)\r\n2016-10-10T02:17:07.052289+00:00 app[rerender.1]:   File \"/tmp/conda-execute_3vum1m9s\", line 219, in create_update_pr\r\n2016-10-10T02:17:07.052289+00:00 app[rerender.1]:     head=\"conda-forge-admin:{}\".format(target_branch), base=remote_head)\r\n2016-10-10T02:17:07.052290+00:00 app[rerender.1]:   File \"/app/.conda/tmp_envs/145606824d653854b036/lib/python3.5/site-packages/github/Repository.py\", line 976, in create_pull\r\n2016-10-10T02:17:07.052291+00:00 app[rerender.1]:     return self.__create_pull_1(*args, **kwds)\r\n2016-10-10T02:17:07.052292+00:00 app[rerender.1]:   File \"/app/.conda/tmp_envs/145606824d653854b036/lib/python3.5/site-packages/github/Repository.py\", line 985, in __create_pull_1\r\n2016-10-10T02:17:07.052293+00:00 app[rerender.1]:     return self.__create_pull(title=title, body=body, base=base, head=head)\r\n2016-10-10T02:17:07.052293+00:00 app[rerender.1]:   File \"/app/.conda/tmp_envs/145606824d653854b036/lib/python3.5/site-packages/github/Repository.py\", line 998, in __create_pull\r\n2016-10-10T02:17:07.052294+00:00 app[rerender.1]:     input=post_parameters\r\n2016-10-10T02:17:07.052296+00:00 app[rerender.1]:     return self.__check(*self.requestJson(verb, url, parameters, headers, input, cnx))\r\n2016-10-10T02:17:07.052296+00:00 app[rerender.1]:   File \"/app/.conda/tmp_envs/145606824d653854b036/lib/python3.5/site-packages/github/Requester.py\", line 180, in __check\r\n2016-10-10T02:17:07.052295+00:00 app[rerender.1]:   File \"/app/.conda/tmp_envs/145606824d653854b036/lib/python3.5/site-packages/github/Requester.py\", line 172, in requestJsonAndCheck\r\n2016-10-10T02:17:07.052297+00:00 app[rerender.1]:     raise self.__createException(status, responseHeaders, output)\r\n2016-10-10T02:17:07.052298+00:00 app[rerender.1]: github.GithubException.GithubException: 422 {'documentation_url': 'https://developer.github.com/v3/pulls/#create-a-pull-request', 'message': 'Validation Failed', 'errors': [{'message': 'No commits between conda-forge:master and conda-forge-admin:feedstock_rerender_master', 'code': 'custom', 'resource': 'PullRequest'}]}\r\n2016-10-10T02:17:07.703712+00:00 app[rerender.1]: CalledProcessError: Command '['python', '/tmp/conda-execute_3vum1m9s', '--feedstocks-dir', 'feedstocks', '--limit', '5']' returned non-zero exit status 1\r\n2016-10-10T02:17:09.928541+00:00 heroku[rerender.1]: State changed from crashed to starting\r\n2016-10-10T02:17:09.927528+00:00 heroku[rerender.1]: State changed from up to crashed\r\n2016-10-10T02:17:09.915179+00:00 heroku[rerender.1]: Process exited with status 1\r\n```"}}
{"actor":{"display_login":"jakirkham"}}