dappnode / DAppNodeSDK

dappnodesdk is a tool to mantain dappnode packages. It helps to initialize and publish an Aragon Package Manager Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error uploading release assets through github actions when they already exist

eduadiez opened this issue · comments

When a version is already published on github (but it isn't on APM) it seems to fail to upload the new assets.

If you manually re-run the action after a failure process it works.

This are the logs from github actions:

2020-02-28T09:23:34.3495023Z [@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
2020-02-28T09:23:34.3705688Z [09:23:34] Handle tags [started]
2020-02-28T09:23:35.2316568Z [09:23:35] → Releasing commit f4ed4476781ab1591f7a12f851f4977adea1dded at tag v0.2.24
2020-02-28T09:23:35.9005033Z [09:23:35] Handle tags [completed]
2020-02-28T09:23:35.9005999Z [09:23:35] Create release [started]
2020-02-28T09:23:35.9013009Z [09:23:35] → Deleting existing release...
2020-02-28T09:23:37.0846502Z [09:23:37] → Creating release for tag v0.2.24...
2020-02-28T09:23:37.3756823Z [09:23:37] Create release [completed]
2020-02-28T09:23:37.3757892Z [09:23:37] Upload release assets [started]
2020-02-28T09:23:37.3764128Z [09:23:37] → Uploading /home/runner/work/DNP_DAPPMANAGER/DNP_DAPPMANAGER/build_0.2.24/avatar.png...
2020-02-28T09:23:37.3822541Z { Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
2020-02-28T09:23:37.3823981Z     at Object.keys.forEach.key (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js:13145:26)
2020-02-28T09:23:37.3824488Z     at Array.forEach (<anonymous>)
2020-02-28T09:23:37.3825531Z     at Object.patchedMethod [as uploadReleaseAsset] (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js:13142:26)
2020-02-28T09:23:37.3826083Z     at retry (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/src/tasks/createGithubRelease.js:226:22)
2020-02-28T09:23:37.3827018Z     at RetryOperation.runAttempt [as _fn] (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/async-retry/lib/index.js:41:15)
2020-02-28T09:23:37.3827580Z     at RetryOperation.attempt (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/retry/lib/retry_operation.js:112:8)
2020-02-28T09:23:37.3828440Z     at run (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/async-retry/lib/index.js:54:8)
2020-02-28T09:23:37.3828819Z     at new Promise (<anonymous>)
2020-02-28T09:23:37.3829627Z     at retry (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/async-retry/lib/index.js:57:10)
2020-02-28T09:23:37.3830532Z     at Task.task (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/src/tasks/createGithubRelease.js:223:21) name: 'Deprecation' }
2020-02-28T09:23:38.7331529Z { Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
2020-02-28T09:23:38.7338342Z     at Object.keys.forEach.key (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js:13145:26)
2020-02-28T09:23:38.7338818Z     at Array.forEach (<anonymous>)
2020-02-28T09:23:38.7340483Z     at Object.patchedMethod [as uploadReleaseAsset] (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js:13142:26)
2020-02-28T09:23:38.7341080Z     at retry (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/src/tasks/createGithubRelease.js:226:22)
2020-02-28T09:23:38.7342204Z     at RetryOperation.runAttempt [as _fn] (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/async-retry/lib/index.js:41:15)
2020-02-28T09:23:38.7342796Z     at Timeout._onTimeout (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/retry/lib/retry_operation.js:81:10)
2020-02-28T09:23:38.7343127Z     at ontimeout (timers.js:436:11)
2020-02-28T09:23:38.7343413Z     at tryOnTimeout (timers.js:300:5)
2020-02-28T09:23:38.7343692Z     at listOnTimeout (timers.js:263:5)
2020-02-28T09:23:38.7344399Z     at Timer.processTimers (timers.js:223:10) name: 'Deprecation' }
2020-02-28T09:23:42.6381063Z { Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
2020-02-28T09:23:42.6382299Z     at Object.keys.forEach.key (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js:13145:26)
2020-02-28T09:23:42.6382532Z     at Array.forEach (<anonymous>)
2020-02-28T09:23:42.6383559Z     at Object.patchedMethod [as uploadReleaseAsset] (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js:13142:26)
2020-02-28T09:23:42.6383925Z     at retry (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/src/tasks/createGithubRelease.js:226:22)
2020-02-28T09:23:42.6384598Z     at RetryOperation.runAttempt [as _fn] (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/async-retry/lib/index.js:41:15)
2020-02-28T09:23:42.6384953Z     at Timeout._onTimeout (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/retry/lib/retry_operation.js:81:10)
2020-02-28T09:23:42.6385134Z     at ontimeout (timers.js:436:11)
2020-02-28T09:23:42.6385296Z     at tryOnTimeout (timers.js:300:5)
2020-02-28T09:23:42.6385463Z     at listOnTimeout (timers.js:263:5)
2020-02-28T09:23:42.6385864Z     at Timer.processTimers (timers.js:223:10) name: 'Deprecation' }
2020-02-28T09:23:49.3533984Z { Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
2020-02-28T09:23:49.3535238Z     at Object.keys.forEach.key (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js:13145:26)
2020-02-28T09:23:49.3535467Z     at Array.forEach (<anonymous>)
2020-02-28T09:23:49.3536171Z     at Object.patchedMethod [as uploadReleaseAsset] (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js:13142:26)
2020-02-28T09:23:49.3536542Z     at retry (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/src/tasks/createGithubRelease.js:226:22)
2020-02-28T09:23:49.3537171Z     at RetryOperation.runAttempt [as _fn] (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/async-retry/lib/index.js:41:15)
2020-02-28T09:23:49.3537519Z     at Timeout._onTimeout (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/retry/lib/retry_operation.js:81:10)
2020-02-28T09:23:49.3537702Z     at ontimeout (timers.js:436:11)
2020-02-28T09:23:49.3537865Z     at tryOnTimeout (timers.js:300:5)
2020-02-28T09:23:49.3538025Z     at listOnTimeout (timers.js:263:5)
2020-02-28T09:23:49.3538422Z     at Timer.processTimers (timers.js:223:10) name: 'Deprecation' }
2020-02-28T09:23:49.6830912Z { HttpError: Error uploading release asset: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
2020-02-28T09:23:49.6833787Z     at response.text.then.message (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/request/dist-node/index.js:66:23)
2020-02-28T09:23:49.6834043Z     at process._tickCallback (internal/process/next_tick.js:68:7)
2020-02-28T09:23:49.6834373Z   name: 'HttpError',
2020-02-28T09:23:49.6834510Z   status: 422,
2020-02-28T09:23:49.6834638Z   headers:
2020-02-28T09:23:49.6834947Z    { 'cache-control': 'no-cache',
2020-02-28T09:23:49.6835282Z      connection: 'close',
2020-02-28T09:23:49.6835603Z      'content-length': '209',
2020-02-28T09:23:49.6835946Z      'content-security-policy': 'default-src \'none\'',
2020-02-28T09:23:49.6837656Z      'content-type': 'application/json; charset=utf-8',
2020-02-28T09:23:49.6838368Z      date: 'Fri, 28 Feb 2020 09:23:49 GMT',
2020-02-28T09:23:49.6839019Z      'strict-transport-security': 'max-age=31557600',
2020-02-28T09:23:49.6839710Z      vary: 'Accept-Encoding, Accept, X-Requested-With',
2020-02-28T09:23:49.6840307Z      'x-accepted-oauth-scopes': 'repo',
2020-02-28T09:23:49.6842300Z      'x-content-type-options': 'nosniff',
2020-02-28T09:23:49.6842917Z      'x-frame-options': 'deny',
2020-02-28T09:23:49.6849170Z      'x-github-media-type': 'github.v3; format=json',
2020-02-28T09:23:49.6850456Z      'x-github-request-id': '07C3:2302:C0CF9:F7FF2:5E58DC25',
2020-02-28T09:23:49.6853471Z      'x-oauth-scopes': 'repo',
2020-02-28T09:23:49.6892133Z      'x-xss-protection': '1; mode=block' },
2020-02-28T09:23:49.6892393Z   request:
2020-02-28T09:23:49.6893021Z    { method: 'POST',
2020-02-28T09:23:49.6893159Z      url:
2020-02-28T09:23:49.6894704Z       'https://uploads.github.com/repos/dappnode/DNP_DAPPMANAGER/releases/24067194/assets?name=avatar.png&',
2020-02-28T09:23:49.6895504Z      headers:
2020-02-28T09:23:49.6895916Z       { accept: 'application/vnd.github.v3+json',
2020-02-28T09:23:49.6896373Z         'user-agent': 'octokit.js/16.43.1 Node.js/10.19.0 (Linux 5.0; x64)',
2020-02-28T09:23:49.6897724Z         'content-type': 'image/png',
2020-02-28T09:23:49.6898087Z         'content-length': 46861,
2020-02-28T09:23:49.6898428Z         authorization: 'token [REDACTED]' },
2020-02-28T09:23:49.6898563Z      body:
2020-02-28T09:23:49.6898702Z       ReadStream {
2020-02-28T09:23:49.6898863Z         _readableState: [ReadableState],
2020-02-28T09:23:49.6899030Z         readable: false,
2020-02-28T09:23:49.6899184Z         _events: [Object],
2020-02-28T09:23:49.6899321Z         _eventsCount: 2,
2020-02-28T09:23:49.6899479Z         _maxListeners: undefined,
2020-02-28T09:23:49.6899622Z         path:
2020-02-28T09:23:49.6900322Z          '/home/runner/work/DNP_DAPPMANAGER/DNP_DAPPMANAGER/build_0.2.24/avatar.png',
2020-02-28T09:23:49.6900501Z         fd: null,
2020-02-28T09:23:49.6900811Z         flags: 'r',
2020-02-28T09:23:49.6900938Z         mode: 438,
2020-02-28T09:23:49.6901083Z         start: undefined,
2020-02-28T09:23:49.6901239Z         end: Infinity,
2020-02-28T09:23:49.6901384Z         autoClose: true,
2020-02-28T09:23:49.6901532Z         pos: undefined,
2020-02-28T09:23:49.6901665Z         bytesRead: 46861,
2020-02-28T09:23:49.6901816Z         closed: true },
2020-02-28T09:23:49.6901947Z      request:
2020-02-28T09:23:49.6902143Z       { hook: [Function: bound bound register], validate: [Object] } },
2020-02-28T09:23:49.6902524Z   request_id: '07C3:2302:C0CF9:F7FF2:5E58DC25',
2020-02-28T09:23:49.6902909Z   documentation_url: 'https://developer.github.com/v3',
2020-02-28T09:23:49.6903079Z   errors:
2020-02-28T09:23:49.6903468Z    [ { resource: 'ReleaseAsset',
2020-02-28T09:23:49.6903782Z        code: 'already_exists',
2020-02-28T09:23:49.6906138Z        field: 'name' } ] }
2020-02-28T09:23:49.6906392Z [09:23:49] Upload release assets [failed]
2020-02-28T09:23:49.6907120Z [09:23:49] → Error uploading release asset: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
2020-02-28T09:23:49.6908236Z { HttpError: Error uploading release asset: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
2020-02-28T09:23:49.6909186Z     at response.text.then.message (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/request/dist-node/index.js:66:23)
2020-02-28T09:23:49.6909439Z     at process._tickCallback (internal/process/next_tick.js:68:7)
2020-02-28T09:23:49.6909751Z   name: 'HttpError',
2020-02-28T09:23:49.6909890Z   status: 422,
2020-02-28T09:23:49.6910020Z   headers:
2020-02-28T09:23:49.6910329Z    { 'cache-control': 'no-cache',
2020-02-28T09:23:49.6910633Z      connection: 'close',
2020-02-28T09:23:49.6911966Z      'content-length': '209',
2020-02-28T09:23:49.6912402Z      'content-security-policy': 'default-src \'none\'',
2020-02-28T09:23:49.6912772Z      'content-type': 'application/json; charset=utf-8',
2020-02-28T09:23:49.6913128Z      date: 'Fri, 28 Feb 2020 09:23:49 GMT',
2020-02-28T09:23:49.6913501Z      'strict-transport-security': 'max-age=31557600',
2020-02-28T09:23:49.6914304Z      vary: 'Accept-Encoding, Accept, X-Requested-With',
2020-02-28T09:23:49.6914624Z      'x-accepted-oauth-scopes': 'repo',
2020-02-28T09:23:49.6914953Z      'x-content-type-options': 'nosniff',
2020-02-28T09:23:49.6915271Z      'x-frame-options': 'deny',
2020-02-28T09:23:49.6916503Z      'x-github-media-type': 'github.v3; format=json',
2020-02-28T09:23:49.6917076Z      'x-github-request-id': '07C3:2302:C0CF9:F7FF2:5E58DC25',
2020-02-28T09:23:49.6917415Z      'x-oauth-scopes': 'repo',
2020-02-28T09:23:49.6918177Z      'x-xss-protection': '1; mode=block' },
2020-02-28T09:23:49.6918326Z   request:
2020-02-28T09:23:49.6918617Z    { method: 'POST',
2020-02-28T09:23:49.6918750Z      url:
2020-02-28T09:23:49.6919253Z       'https://uploads.github.com/repos/dappnode/DNP_DAPPMANAGER/releases/24067194/assets?name=avatar.png&',
2020-02-28T09:23:49.6919443Z      headers:
2020-02-28T09:23:49.6919980Z       { accept: 'application/vnd.github.v3+json',
2020-02-28T09:23:49.6920411Z         'user-agent': 'octokit.js/16.43.1 Node.js/10.19.0 (Linux 5.0; x64)',
2020-02-28T09:23:49.6920757Z         'content-type': 'image/png',
2020-02-28T09:23:49.6921079Z         'content-length': 46861,
2020-02-28T09:23:49.6921415Z         authorization: 'token [REDACTED]' },
2020-02-28T09:23:49.6921545Z      body:
2020-02-28T09:23:49.6921684Z       ReadStream {
2020-02-28T09:23:49.6921850Z         _readableState: [ReadableState],
2020-02-28T09:23:49.6922002Z         readable: false,
2020-02-28T09:23:49.6922155Z         _events: [Object],
2020-02-28T09:23:49.6922290Z         _eventsCount: 2,
2020-02-28T09:23:49.6922446Z         _maxListeners: undefined,
2020-02-28T09:23:49.6922587Z         path:
2020-02-28T09:23:49.6923003Z          '/home/runner/work/DNP_DAPPMANAGER/DNP_DAPPMANAGER/build_0.2.24/avatar.png',
2020-02-28T09:23:49.6923176Z         fd: null,
2020-02-28T09:23:49.6923448Z         flags: 'r',
2020-02-28T09:23:49.6923589Z         mode: 438,
2020-02-28T09:23:49.6923737Z         start: undefined,
2020-02-28T09:23:49.6923886Z         end: Infinity,
2020-02-28T09:23:49.6924034Z         autoClose: true,
2020-02-28T09:23:49.6924168Z         pos: undefined,
2020-02-28T09:23:49.6924312Z         bytesRead: 46861,
2020-02-28T09:23:49.6924461Z         closed: true },
2020-02-28T09:23:49.6924592Z      request:
2020-02-28T09:23:49.6924786Z       { hook: [Function: bound bound register], validate: [Object] } },
2020-02-28T09:23:49.6925147Z   request_id: '07C3:2302:C0CF9:F7FF2:5E58DC25',
2020-02-28T09:23:49.6925533Z   documentation_url: 'https://developer.github.com/v3',
2020-02-28T09:23:49.6925699Z   errors:
2020-02-28T09:23:49.6926001Z    [ { resource: 'ReleaseAsset',
2020-02-28T09:23:49.6926307Z        code: 'already_exists',
2020-02-28T09:23:49.6926608Z        field: 'name' } ],
2020-02-28T09:23:49.6926726Z   context:
2020-02-28T09:23:49.6926871Z    [Object: null prototype] {
2020-02-28T09:23:49.6927176Z      nextVersion: '0.2.24',
2020-02-28T09:23:49.6927615Z      buildDir: 'build_0.2.24',
2020-02-28T09:23:49.6928013Z      releaseHash: '/ipfs/QmebYR1vsoBXgkvW1U7ARpmcqxWh5kQGeCjBoPGSsyEQJ2',
2020-02-28T09:23:49.6928425Z      releaseMultiHash: '/ipfs/QmebYR1vsoBXgkvW1U7ARpmcqxWh5kQGeCjBoPGSsyEQJ2',
2020-02-28T09:23:49.6928588Z      registry:
2020-02-28T09:23:49.6928727Z       Contract {
2020-02-28T09:23:49.6928868Z         abi: [Array],
2020-02-28T09:23:49.6929013Z         query: [Eth],
2020-02-28T09:23:49.6929388Z         address: '0x266bfdb2124a68beb6769dc887bd655f78778923',
2020-02-28T09:23:49.6929705Z         bytecode: '0x',
2020-02-28T09:23:49.6929855Z         defaultTxObject: {},
2020-02-28T09:23:49.6930010Z         filters: [EthFilter],
2020-02-28T09:23:49.6930189Z         hasInitialized: [Function: contractFunction],
2020-02-28T09:23:49.6930384Z         getEVMScriptExecutor: [Function: contractFunction],
2020-02-28T09:23:49.6930553Z         registrar: [Function: contractFunction],
2020-02-28T09:23:49.6930971Z         getRecoveryVault: [Function: contractFunction],
2020-02-28T09:23:49.6931157Z         ens: [Function: contractFunction],
2020-02-28T09:23:49.6931341Z         CREATE_REPO_ROLE: [Function: contractFunction],
2020-02-28T09:23:49.6931537Z         allowRecoverability: [Function: contractFunction],
2020-02-28T09:23:49.6931705Z         appId: [Function: contractFunction],
2020-02-28T09:23:49.6931901Z         getInitializationBlock: [Function: contractFunction],
2020-02-28T09:23:49.6932170Z         transferToVault: [Function: contractFunction],
2020-02-28T09:23:49.6932356Z         canPerform: [Function: contractFunction],
2020-02-28T09:23:49.6932548Z         getEVMScriptRegistry: [Function: contractFunction],
2020-02-28T09:23:49.6932878Z         newAppProxyPinned: [Function: contractFunction],
2020-02-28T09:23:49.6933047Z         kernel: [Function: contractFunction],
2020-02-28T09:23:49.6933226Z         isPetrified: [Function: contractFunction],
2020-02-28T09:23:49.6933407Z         newAppProxy: [Function: contractFunction],
2020-02-28T09:23:49.6933587Z         NewRepo: [Function: contractEvent],
2020-02-28T09:23:49.6933763Z         NewAppProxy: [Function: contractEvent],
2020-02-28T09:23:49.6933943Z         ScriptResult: [Function: contractEvent],
2020-02-28T09:23:49.6934107Z         RecoverToVault: [Function: contractEvent],
2020-02-28T09:23:49.6934287Z         initialize: [Function: contractFunction],
2020-02-28T09:23:49.6934464Z         newRepo: [Function: contractFunction],
2020-02-28T09:23:49.6934658Z         newRepoWithVersion: [Function: contractFunction] },
2020-02-28T09:23:49.6934811Z      repository:
2020-02-28T09:23:49.6934935Z       Contract {
2020-02-28T09:23:49.6935075Z         abi: [Array],
2020-02-28T09:23:49.6935220Z         query: [Eth],
2020-02-28T09:23:49.6935645Z         address: '0x0c564ca7b948008fb324268d8baedaeb1bd47bce',
2020-02-28T09:23:49.6935960Z         bytecode: '0x',
2020-02-28T09:23:49.6936109Z         defaultTxObject: {},
2020-02-28T09:23:49.6936249Z         filters: [EthFilter],
2020-02-28T09:23:49.6936427Z         hasInitialized: [Function: contractFunction],
2020-02-28T09:23:49.6936630Z         getEVMScriptExecutor: [Function: contractFunction],
2020-02-28T09:23:49.6936818Z         getRecoveryVault: [Function: contractFunction],
2020-02-28T09:23:49.6937015Z         allowRecoverability: [Function: contractFunction],
2020-02-28T09:23:49.6937180Z         appId: [Function: contractFunction],
2020-02-28T09:23:49.6938165Z         getInitializationBlock: [Function: contractFunction],
2020-02-28T09:23:49.6938383Z         transferToVault: [Function: contractFunction],
2020-02-28T09:23:49.6938566Z         canPerform: [Function: contractFunction],
2020-02-28T09:23:49.6938754Z         getEVMScriptRegistry: [Function: contractFunction],
2020-02-28T09:23:49.6938949Z         CREATE_VERSION_ROLE: [Function: contractFunction],
2020-02-28T09:23:49.6939114Z         kernel: [Function: contractFunction],
2020-02-28T09:23:49.6939292Z         isPetrified: [Function: contractFunction],
2020-02-28T09:23:49.6939472Z         NewVersion: [Function: contractEvent],
2020-02-28T09:23:49.6939783Z         ScriptResult: [Function: contractEvent],
2020-02-28T09:23:49.6939963Z         RecoverToVault: [Function: contractEvent],
2020-02-28T09:23:49.6940148Z         initialize: [Function: contractFunction],
2020-02-28T09:23:49.6940594Z         newVersion: [Function: contractFunction],
2020-02-28T09:23:49.6941504Z         getLatest: [Function: contractFunction],
2020-02-28T09:23:49.6941717Z         getLatestForContractAddress: [Function: contractFunction],
2020-02-28T09:23:49.6941917Z         getBySemanticVersion: [Function: contractFunction],
2020-02-28T09:23:49.6942106Z         getByVersionId: [Function: contractFunction],
2020-02-28T09:23:49.6942294Z         getVersionsCount: [Function: contractFunction],
2020-02-28T09:23:49.6942467Z         isValidBump: [Function: contractFunction] },
2020-02-28T09:23:49.6942611Z      txData:
2020-02-28T09:23:49.6943097Z       { to: '0x0c564ca7b948008fb324268d8baedaeb1bd47bce',
2020-02-28T09:23:49.6943252Z         value: 0,
2020-02-28T09:23:49.6943392Z         data:
2020-02-28T09:23:49.6945146Z          '0x73053410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000342f697066732f516d656259523176736f4258676b76573155374152706d6371785768356b514765436a426f504753737945514a32000000000000000000000000',
2020-02-28T09:23:49.6945385Z         gasLimit: 300000,
2020-02-28T09:23:49.6945731Z         ensName: 'dappmanager.dnp.dappnode.eth',
2020-02-28T09:23:49.6946071Z         currentVersion: '0.2.24',
2020-02-28T09:23:49.6946502Z         releaseMultiHash: '/ipfs/QmebYR1vsoBXgkvW1U7ARpmcqxWh5kQGeCjBoPGSsyEQJ2' },
2020-02-28T09:23:49.6946912Z      latestSha: 'f4ed4476781ab1591f7a12f851f4977adea1dded',
2020-02-28T09:23:49.6947074Z      uploadUrl:
2020-02-28T09:23:49.6947570Z       'https://uploads.github.com/repos/dappnode/DNP_DAPPMANAGER/releases/24067194/assets{?name,label}' } }
2020-02-28T09:23:49.6948028Z HttpError: Error uploading release asset: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
2020-02-28T09:23:49.6948723Z     at response.text.then.message (/opt/hostedtoolcache/node/10.19.0/x64/lib/node_modules/@dappnode/dappnodesdk/node_modules/@octokit/request/dist-node/index.js:66:23)
2020-02-28T09:23:49.6948965Z     at process._tickCallback (internal/process/next_tick.js:68:7)
2020-02-28T09:23:49.6949190Z [09:23:49] Release on github [failed]
2020-02-28T09:23:49.6949817Z [09:23:49] → Error uploading release asset: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
2020-02-28T09:23:49.6951666Z ##[error]Process completed with exit code 1.
2020-02-28T09:23:49.7095914Z Post job cleanup.
2020-02-28T09:23:49.8173388Z [command]/usr/bin/git version
2020-02-28T09:23:49.8227762Z git version 2.25.0
2020-02-28T09:23:49.8254397Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-02-28T09:23:49.8282961Z http.https://github.com/.extraheader
2020-02-28T09:23:49.8292147Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2020-02-28T09:23:49.8375818Z Cleaning up orphan processes

wasnt able to reproduce it