Running with gitlab-runner 16.3.0~beta.108.g2b6048b4 (2b6048b4)  on green-5.saas-linux-small-amd64.runners-manager.gitlab.com/default xS6Vzpvo, system ID: s_6b1e4f06fcfd  feature flags: FF_USE_IMPROVED_URL_MASKING:true, FF_RESOLVE_FULL_TLS_CHAIN:false section_start:1699430008:prepare_executor Preparing the "docker+machine" executor Using Docker executor with image node:lts-alpine ... Pulling docker image node:lts-alpine ... Using docker image sha256:3a617f439a70c99c88b4f6179a9c23bdc9ab21df2ad7354aae079c52caa5e3a7 for node:lts-alpine with digest node@sha256:8e015de364a2eb2ed7c52a558e9f716dcb615560ffd132234087c10ccc1f2c63 ... section_end:1699430014:prepare_executor section_start:1699430014:prepare_script Preparing environment Running on runner-xs6vzpvo-project-51979645-concurrent-0 via runner-xs6vzpvo-s-l-s-amd64-1699429971-0f8a170d... section_end:1699430016:prepare_script section_start:1699430016:get_sources Getting source from Git repository Fetching changes with git depth set to 20... Initialized empty Git repository in /builds/phuocnb/semantic-release-plugin-gitlab-test/.git/ Created fresh repository. Checking out 6e18a9ff as detached HEAD (ref is main)... Updating/initializing submodules recursively with git depth set to 20... Updated submodules $ git remote set-url origin "${CI_REPOSITORY_URL}" section_end:1699430019:get_sources section_start:1699430019:step_script Executing "step_script" stage of the job script Using docker image sha256:3a617f439a70c99c88b4f6179a9c23bdc9ab21df2ad7354aae079c52caa5e3a7 for node:lts-alpine with digest node@sha256:8e015de364a2eb2ed7c52a558e9f716dcb615560ffd132234087c10ccc1f2c63 ... $ apk update && apk add bash git curl jq zip fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz v3.18.4-152-gcdf3c00435d [https://dl-cdn.alpinelinux.org/alpine/v3.18/main] v3.18.4-161-gd1914d23639 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community] OK: 20076 distinct packages available (1/18) Installing ncurses-terminfo-base (6.4_p20230506-r0) (2/18) Installing libncursesw (6.4_p20230506-r0) (3/18) Installing readline (8.2.1-r1) (4/18) Installing bash (5.2.15-r5) Executing bash-5.2.15-r5.post-install (5/18) Installing ca-certificates (20230506-r0) (6/18) Installing brotli-libs (1.0.9-r14) (7/18) Installing libunistring (1.1-r1) (8/18) Installing libidn2 (2.3.4-r1) (9/18) Installing nghttp2-libs (1.57.0-r0) (10/18) Installing libcurl (8.4.0-r0) (11/18) Installing curl (8.4.0-r0) (12/18) Installing libexpat (2.5.0-r1) (13/18) Installing pcre2 (10.42-r1) (14/18) Installing git (2.40.1-r0) (15/18) Installing oniguruma (6.9.8-r1) (16/18) Installing jq (1.6-r3) (17/18) Installing unzip (6.0-r14) (18/18) Installing zip (3.0-r12) Executing busybox-1.36.1-r2.trigger Executing ca-certificates-20230506-r0.trigger OK: 25 MiB in 35 packages $ node -v v20.9.0 $ npm -v 10.1.0 $ npm install -g semantic-release @semantic-release/gitlab npm WARN deprecated read-pkg-up@11.0.0: Renamed to read-package-up added 347 packages in 16s 91 packages are looking for funding run `npm fund` for details $ ## release # collapsed multi-line command [7:53:57 AM] [semantic-release] › ℹ Running semantic-release version 22.0.7 (node:44) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js. (Use `node --trace-warnings ...` to show where the warning was created) (node:44) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time [7:53:58 AM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/gitlab" [7:53:58 AM] [semantic-release] › ✔ Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer" [7:53:58 AM] [semantic-release] › ✔ Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator" [7:53:58 AM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/gitlab" [7:53:58 AM] [semantic-release] › ✔ Loaded plugin "success" from "@semantic-release/gitlab" [7:53:58 AM] [semantic-release] › ✔ Loaded plugin "fail" from "@semantic-release/gitlab" [7:53:59 AM] [semantic-release] › ✔ Run automated release from branch main on repository https://gitlab-ci-token:[secure]@gitlab.com/phuocnb/semantic-release-plugin-gitlab-test.git [7:54:00 AM] [semantic-release] › ✔ Allowed to push to the Git repository [7:54:00 AM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/gitlab" [7:54:00 AM] [semantic-release] [@semantic-release/gitlab] › ℹ Verify GitLab authentication (https://gitlab.com/api/v4) [7:54:00 AM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/gitlab" [7:54:00 AM] [semantic-release] › ℹ Found git tag v1.0.5 associated with version 1.0.5 on branch main [7:54:00 AM] [semantic-release] › ℹ Found 1 commits since last release [7:54:00 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer" [7:54:00 AM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ Analyzing commit: fix: label test for generic_pakage [7:54:00 AM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ The release type for the commit is patch [7:54:00 AM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ Analysis of 1 commits complete: patch release [7:54:00 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer" [7:54:00 AM] [semantic-release] › ℹ The next release version is 1.0.6 [7:54:00 AM] [semantic-release] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator" [7:54:00 AM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator" [7:54:02 AM] [semantic-release] › ✔ Created tag v1.0.6 [7:54:02 AM] [semantic-release] › ℹ Start step "publish" of plugin "@semantic-release/gitlab" [7:54:02 AM] [semantic-release] [@semantic-release/gitlab] › ✘ An error occurred while uploading /builds/phuocnb/semantic-release-plugin-gitlab-test/assets/single-file.md to the GitLab generics package API: HTTPError: Response code 400 (Bad Request) at Request. (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/as-promise/index.js:86:42) at Object.onceWrapper (node:events:629:26) at Request.emit (node:events:526:35) at Request._onResponseBase (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/core/index.js:726:22) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Request._onResponse (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/core/index.js:768:13) { input: undefined, code: 'ERR_NON_2XX_3XX_RESPONSE', timings: { start: 1699430042467, socket: 1699430042467, lookup: 1699430042467, connect: 1699430042467, secureConnect: 1699430042467, upload: 1699430042467, response: 1699430042543, end: 1699430042544, error: undefined, abort: undefined, phases: { wait: 0, dns: 0, tcp: 0, tls: 0, request: 0, firstByte: 76, download: 1, total: 77 } }, options: { request: undefined, agent: { http: undefined, https: undefined, http2: undefined }, h2session: undefined, decompress: true, timeout: { connect: undefined, lookup: undefined, read: undefined, request: undefined, response: undefined, secureConnect: undefined, send: undefined, socket: undefined }, prefixUrl: '', body: , form: undefined, json: undefined, cookieJar: undefined, ignoreInvalidCookies: false, searchParams: undefined, dnsLookup: undefined, dnsCache: undefined, context: {}, hooks: { init: [], beforeRequest: [], beforeError: [], beforeRedirect: [], beforeRetry: [], afterResponse: [] }, followRedirect: true, maxRedirects: 10, cache: undefined, throwHttpErrors: true, username: '', password: '', http2: false, allowGetBody: false, headers: { 'user-agent': 'got (https://github.com/sindresorhus/got)', 'private-token': '[secure]', accept: 'application/json', 'content-length': '0', 'accept-encoding': 'gzip, deflate, br' }, methodRewriting: false, dnsLookupIpVersion: undefined, parseJson: [Function: parse], stringifyJson: [Function: stringify], retry: { limit: 2, methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ], statusCodes: [ 408, 413, 429, 500, 502, 503, 504, 521, 522, 524 ], errorCodes: [ 'ETIMEDOUT', 'ECONNRESET', 'EADDRINUSE', 'ECONNREFUSED', 'EPIPE', 'ENOTFOUND', 'ENETUNREACH', 'EAI_AGAIN' ], maxRetryAfter: undefined, calculateDelay: [Function: calculateDelay], backoffLimit: Infinity, noise: 100 }, localAddress: undefined, method: 'PUT', createConnection: undefined, cacheOptions: { shared: undefined, cacheHeuristic: undefined, immutableMinTimeToLive: undefined, ignoreCargoCult: undefined }, https: { alpnProtocols: undefined, rejectUnauthorized: undefined, checkServerIdentity: undefined, certificateAuthority: undefined, key: undefined, certificate: undefined, passphrase: undefined, pfx: undefined, ciphers: undefined, honorCipherOrder: undefined, minVersion: undefined, maxVersion: undefined, signatureAlgorithms: undefined, tlsSessionLifetime: undefined, dhparam: undefined, ecdhCurve: undefined, certificateRevocationLists: undefined }, encoding: undefined, resolveBodyOnly: false, isStream: false, responseType: 'text', url: URL { href: 'https://gitlab.com/api/v4/projects/phuocnb%2Fsemantic-release-plugin-gitlab-test/packages/generic/release/1.0.6/Single%20Label?select=package_file', origin: 'https://gitlab.com', protocol: 'https:', username: '', password: '', host: 'gitlab.com', hostname: 'gitlab.com', port: '', pathname: '/api/v4/projects/phuocnb%2Fsemantic-release-plugin-gitlab-test/packages/generic/release/1.0.6/Single%20Label', search: '?select=package_file', searchParams: URLSearchParams { 'select' => 'package_file' }, hash: '' }, pagination: { transform: [Function: transform], paginate: [Function: paginate], filter: [Function: filter], shouldContinue: [Function: shouldContinue], countLimit: Infinity, backoff: 0, requestLimit: 10000, stackAllItems: false }, setHost: true, maxHeaderSize: undefined, signal: undefined, enableUnixSockets: false } } [7:54:02 AM] [semantic-release] › ✘ Failed step "publish" of plugin "@semantic-release/gitlab" [7:54:02 AM] [semantic-release] › ✘ An error occurred while running semantic-release: HTTPError: Response code 400 (Bad Request) at Request. (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/as-promise/index.js:86:42) at Object.onceWrapper (node:events:629:26) at Request.emit (node:events:526:35) at Request._onResponseBase (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/core/index.js:726:22) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Request._onResponse (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/core/index.js:768:13) { input: undefined, code: 'ERR_NON_2XX_3XX_RESPONSE', timings: { start: 1699430042467, socket: 1699430042467, lookup: 1699430042467, connect: 1699430042467, secureConnect: 1699430042467, upload: 1699430042467, response: 1699430042543, end: 1699430042544, error: undefined, abort: undefined, phases: { wait: 0, dns: 0, tcp: 0, tls: 0, request: 0, firstByte: 76, download: 1, total: 77 } }, options: { request: undefined, agent: { http: undefined, https: undefined, http2: undefined }, h2session: undefined, decompress: true, timeout: { connect: undefined, lookup: undefined, read: undefined, request: undefined, response: undefined, secureConnect: undefined, send: undefined, socket: undefined }, prefixUrl: '', body: , form: undefined, json: undefined, cookieJar: undefined, ignoreInvalidCookies: false, searchParams: undefined, dnsLookup: undefined, dnsCache: undefined, context: {}, hooks: { init: [], beforeRequest: [], beforeError: [], beforeRedirect: [], beforeRetry: [], afterResponse: [] }, followRedirect: true, maxRedirects: 10, cache: undefined, throwHttpErrors: true, username: '', password: '', http2: false, allowGetBody: false, headers: { 'user-agent': 'got (https://github.com/sindresorhus/got)', 'private-token': '[secure]', accept: 'application/json', 'content-length': '0', 'accept-encoding': 'gzip, deflate, br' }, methodRewriting: false, dnsLookupIpVersion: undefined, parseJson: [Function: parse], stringifyJson: [Function: stringify], retry: { limit: 2, methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ], statusCodes: [ 408, 413, 429, 500, 502, 503, 504, 521, 522, 524 ], errorCodes: [ 'ETIMEDOUT', 'ECONNRESET', 'EADDRINUSE', 'ECONNREFUSED', 'EPIPE', 'ENOTFOUND', 'ENETUNREACH', 'EAI_AGAIN' ], maxRetryAfter: undefined, calculateDelay: [Function: calculateDelay], backoffLimit: Infinity, noise: 100 }, localAddress: undefined, method: 'PUT', createConnection: undefined, cacheOptions: { shared: undefined, cacheHeuristic: undefined, immutableMinTimeToLive: undefined, ignoreCargoCult: undefined }, https: { alpnProtocols: undefined, rejectUnauthorized: undefined, checkServerIdentity: undefined, certificateAuthority: undefined, key: undefined, certificate: undefined, passphrase: undefined, pfx: undefined, ciphers: undefined, honorCipherOrder: undefined, minVersion: undefined, maxVersion: undefined, signatureAlgorithms: undefined, tlsSessionLifetime: undefined, dhparam: undefined, ecdhCurve: undefined, certificateRevocationLists: undefined }, encoding: undefined, resolveBodyOnly: false, isStream: false, responseType: 'text', url: URL { href: 'https://gitlab.com/api/v4/projects/phuocnb%2Fsemantic-release-plugin-gitlab-test/packages/generic/release/1.0.6/Single%20Label?select=package_file', origin: 'https://gitlab.com', protocol: 'https:', username: '', password: '', host: 'gitlab.com', hostname: 'gitlab.com', port: '', pathname: '/api/v4/projects/phuocnb%2Fsemantic-release-plugin-gitlab-test/packages/generic/release/1.0.6/Single%20Label', search: '?select=package_file', searchParams: URLSearchParams { 'select' => 'package_file' }, hash: '' }, pagination: { transform: [Function: transform], paginate: [Function: paginate], filter: [Function: filter], shouldContinue: [Function: shouldContinue], countLimit: Infinity, backoff: 0, requestLimit: 10000, stackAllItems: false }, setHost: true, maxHeaderSize: undefined, signal: undefined, enableUnixSockets: false }, pluginName: '@semantic-release/gitlab' } HTTPError: Response code 400 (Bad Request) at Request. (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/as-promise/index.js:86:42)  at Object.onceWrapper (node:events:629:26)  at Request.emit (node:events:526:35) at Request._onResponseBase (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/core/index.js:726:22)  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Request._onResponse (file:///usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/core/index.js:768:13) { input: undefined, code: 'ERR_NON_2XX_3XX_RESPONSE', timings: { start: 1699430042467, socket: 1699430042467, lookup: 1699430042467, connect: 1699430042467, secureConnect: 1699430042467, upload: 1699430042467, response: 1699430042543, end: 1699430042544, error: undefined, abort: undefined, phases: { wait: 0, dns: 0, tcp: 0, tls: 0, request: 0, firstByte: 76, download: 1, total: 77 } }, options: { request: undefined, agent: { http: undefined, https: undefined, http2: undefined }, h2session: undefined, decompress: true, timeout: { connect: undefined, lookup: undefined, read: undefined, request: undefined, response: undefined, secureConnect: undefined, send: undefined, socket: undefined }, prefixUrl: '', body: , form: undefined, json: undefined, cookieJar: undefined, ignoreInvalidCookies: false, searchParams: undefined, dnsLookup: undefined, dnsCache: undefined, context: {}, hooks: { init: [], beforeRequest: [], beforeError: [], beforeRedirect: [], beforeRetry: [], afterResponse: [] }, followRedirect: true, maxRedirects: 10, cache: undefined, throwHttpErrors: true, username: '', password: '', http2: false, allowGetBody: false, headers: { 'user-agent': 'got (https://github.com/sindresorhus/got)', 'private-token': '[secure]', accept: 'application/json', 'content-length': '0', 'accept-encoding': 'gzip, deflate, br' }, methodRewriting: false, dnsLookupIpVersion: undefined, parseJson: [Function: parse], stringifyJson: [Function: stringify], retry: { limit: 2, methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ], statusCodes: [ 408, 413, 429, 500, 502, 503, 504, 521, 522, 524 ], errorCodes: [ 'ETIMEDOUT', 'ECONNRESET', 'EADDRINUSE', 'ECONNREFUSED', 'EPIPE', 'ENOTFOUND', 'ENETUNREACH', 'EAI_AGAIN' ], maxRetryAfter: undefined, calculateDelay: [Function: calculateDelay], backoffLimit: Infinity, noise: 100 }, localAddress: undefined, method: 'PUT', createConnection: undefined, cacheOptions: { shared: undefined, cacheHeuristic: undefined, immutableMinTimeToLive: undefined, ignoreCargoCult: undefined }, https: { alpnProtocols: undefined, rejectUnauthorized: undefined, checkServerIdentity: undefined, certificateAuthority: undefined, key: undefined, certificate: undefined, passphrase: undefined, pfx: undefined, ciphers: undefined, honorCipherOrder: undefined, minVersion: undefined, maxVersion: undefined, signatureAlgorithms: undefined, tlsSessionLifetime: undefined, dhparam: undefined, ecdhCurve: undefined, certificateRevocationLists: undefined }, encoding: undefined, resolveBodyOnly: false, isStream: false, responseType: 'text', url: URL { href: 'https://gitlab.com/api/v4/projects/phuocnb%2Fsemantic-release-plugin-gitlab-test/packages/generic/release/1.0.6/Single%20Label?select=package_file', origin: 'https://gitlab.com', protocol: 'https:', username: '', password: '', host: 'gitlab.com', hostname: 'gitlab.com', port: '', pathname: '/api/v4/projects/phuocnb%2Fsemantic-release-plugin-gitlab-test/packages/generic/release/1.0.6/Single%20Label', search: '?select=package_file', searchParams: URLSearchParams { 'select' => 'package_file' }, hash: '' }, pagination: { transform: [Function: transform], paginate: [Function: paginate], filter: [Function: filter], shouldContinue: [Function: shouldContinue], countLimit: Infinity, backoff: 0, requestLimit: 10000, stackAllItems: false }, setHost: true, maxHeaderSize: undefined, signal: undefined, enableUnixSockets: false }, pluginName: '@semantic-release/gitlab' }section_end:1699430043:step_script section_start:1699430043:cleanup_file_variables Cleaning up project directory and file based variables section_end:1699430044:cleanup_file_variables ERROR: Job failed: exit code 1