apache / apache/openwhisk-wskdeploy

GitHub "revert" task/code fails; "code: already_exists"

Open
#919 2 comments 0 reactions 1 assignee Claimed by @houshengbo View on GitHub
bug build priority: medium
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

When attempting to revert PR https://github.com/apache/incubator-openwhisk-wskdeploy/issues/909
with PR https://github.com/apache/incubator-openwhisk-wskdeploy/pull/911

we found Travis died trying to copy the binaries at the same place indicating the files "already existed" on multiple attempts.

Here are the details noted and copies from Travis logs:
failed same place… on revert… looks like it is trying to push the binaries back to github and failing (using Carlos’ credentials)
looks like our “revert” code is broken.. here is the full error:

```
Preparing deploy
remote: Not Found
fatal: repository 'https://github.com/apache/incubator-openwhisk-wskdeploy/' not found
Current tag is:
/home/travis/.rvm/gems/ruby-2.2.7/gems/octokit-4.6.2/lib/octokit/response/raise_error.rb:16:in `on_complete': PATCH https://api.github.com/repos/apache/incubator-openwhisk-wskdeploy/releases/11075214: 422 - Validation Failed (Octokit::UnprocessableEntity)
Error summary:
resource: Release
code: already_exists
field: tag_name // See: https://developer.github.com/v3/repos/releases/#edit-a-release
from /home/travis/.rvm/gems/ruby-2.2.7/gems/faraday-```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.