Skip to content

feat(http): Force default rate limits for some known hosts #61610

feat(http): Force default rate limits for some known hosts

feat(http): Force default rate limits for some known hosts #61610

Triggered via pull request July 16, 2024 21:30
Status Failure
Total duration 2m 35s
Artifacts 6

build.yml

on: pull_request
lint-docs
33s
lint-docs
lint-eslint
33s
lint-eslint
lint-prettier
25s
lint-prettier
lint-other
43s
lint-other
Matrix: prefetch
build-docs
23s
build-docs
test-e2e
0s
test-e2e
Matrix: test
coverage-threshold
20s
coverage-threshold
test-success
0s
test-success
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

124 errors
build: lib/util/http/queue.ts#L23
Argument of type 'number | null' is not assignable to parameter of type 'number'.
build: lib/util/http/throttle.ts#L40
Argument of type 'number | null' is not assignable to parameter of type 'number'.
build
Process completed with exit code 1.
lint-other: lib/util/http/queue.ts#L23
Argument of type 'number | null' is not assignable to parameter of type 'number'.
lint-other: lib/util/http/throttle.ts#L40
Argument of type 'number | null' is not assignable to parameter of type 'number'.
lint-other
Process completed with exit code 1.
build-docs
Process completed with exit code 1.
modules/manager/batect-wrapper/artifacts › updateArtifacts › returns updated files if the wrapper script is in the root directory: lib/modules/manager/batect-wrapper/artifacts.spec.ts#L58
expect(received).toEqual(expected) // deep equality - Expected - 8 + Received + 6 Array [ Object { - "file": Object { - "contents": "Unix wrapper script for 1.2.3", - "path": "batect", - "type": "addition", + "artifactError": Object { + "lockFile": "batect", + "stderr": "HTTP GET https://github.com/batect/batect/releases/download/1.2.3/batect failed: TypeError: Expected `interval` to be a finite number", }, }, Object { - "file": Object { - "contents": "Windows wrapper script for 1.2.3", - "path": "batect.cmd", - "type": "addition", + "artifactError": Object { + "lockFile": "batect.cmd", + "stderr": "HTTP GET https://github.com/batect/batect/releases/download/1.2.3/batect.cmd failed: TypeError: Expected `interval` to be a finite number", }, }, ] at Object.<anonymous> (lib/modules/manager/batect-wrapper/artifacts.spec.ts:58:22)
modules/manager/batect-wrapper/artifacts › updateArtifacts › returns updated files if the wrapper script is in a subdirectory: lib/modules/manager/batect-wrapper/artifacts.spec.ts#L80
expect(received).toEqual(expected) // deep equality - Expected - 8 + Received + 6 Array [ Object { - "file": Object { - "contents": "Unix wrapper script for 1.2.3", - "path": "some/sub/dir/batect", - "type": "addition", + "artifactError": Object { + "lockFile": "some/sub/dir/batect", + "stderr": "HTTP GET https://github.com/batect/batect/releases/download/1.2.3/batect failed: TypeError: Expected `interval` to be a finite number", }, }, Object { - "file": Object { - "contents": "Windows wrapper script for 1.2.3", - "path": "some/sub/dir/batect.cmd", - "type": "addition", + "artifactError": Object { + "lockFile": "some/sub/dir/batect.cmd", + "stderr": "HTTP GET https://github.com/batect/batect/releases/download/1.2.3/batect.cmd failed: TypeError: Expected `interval` to be a finite number", }, }, ] at Object.<anonymous> (lib/modules/manager/batect-wrapper/artifacts.spec.ts:80:22)
modules/manager/batect-wrapper/artifacts › updateArtifacts › returns an error if the updated wrapper script cannot be downloaded: lib/modules/manager/batect-wrapper/artifacts.spec.ts#L102
expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Array [ Object { "artifactError": Object { "lockFile": "batect", - "stderr": "HTTP GET https://github.com/batect/batect/releases/download/3.4.5/batect failed: HTTPError: Response code 404 (Not Found)", + "stderr": "HTTP GET https://github.com/batect/batect/releases/download/3.4.5/batect failed: TypeError: Expected `interval` to be a finite number", }, }, Object { "artifactError": Object { "lockFile": "batect.cmd", - "stderr": "HTTP GET https://github.com/batect/batect/releases/download/3.4.5/batect.cmd failed: HTTPError: Response code 418 (I'm a Teapot)", + "stderr": "HTTP GET https://github.com/batect/batect/releases/download/3.4.5/batect.cmd failed: TypeError: Expected `interval` to be a finite number", }, }, ] at Object.<anonymous> (lib/modules/manager/batect-wrapper/artifacts.spec.ts:102:22)
test (3/16)
Process completed with exit code 1.
test (13/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
test (10/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
workers/repository/process/lookup/index › .lookupUpdates() › handles error result from getPkgReleasesWithResult: lib/workers/repository/process/lookup/index.spec.ts#L130
expect(received).toThrow() Received function did not throw at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:130:41)
workers/repository/process/lookup/index › .lookupUpdates() › returns rollback for pinned version: lib/workers/repository/process/lookup/index.spec.ts#L144
expect(received).toEqual(expected) // deep equality - Expected - 20 + Received + 1 - Array [ - Object { - "bucket": "rollback", - "newMajor": 0, - "newValue": "0.9.7", - "newVersion": "0.9.7", - "registryUrl": undefined, - "updateType": "rollback", - }, - Object { - "bucket": "major", - "newMajor": 1, - "newMinor": 4, - "newPatch": 1, - "newValue": "1.4.1", - "newVersion": "1.4.1", - "releaseTimestamp": "2015-05-17T04:25:07.299Z", - "updateType": "major", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:144:23)
workers/repository/process/lookup/index › .lookupUpdates() › returns rollback for ranged version: lib/workers/repository/process/lookup/index.spec.ts#L177
expect(received).toEqual(expected) // deep equality - Expected - 10 + Received + 1 - Array [ - Object { - "bucket": "rollback", - "newMajor": 0, - "newValue": "^0.9.7", - "newVersion": "0.9.7", - "registryUrl": undefined, - "updateType": "rollback", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:177:23)
workers/repository/process/lookup/index › .lookupUpdates() › supports minor and major upgrades for tilde ranges: lib/workers/repository/process/lookup/index.spec.ts#L200
expect(received).toEqual(expected) // deep equality - Expected - 31 + Received + 1 - Array [ - Object { - "isPin": true, - "newMajor": 0, - "newValue": "0.4.4", - "newVersion": "0.4.4", - "updateType": "pin", - }, - Object { - "bucket": "non-major", - "isRange": true, - "newMajor": 0, - "newMinor": 9, - "newPatch": 7, - "newValue": "^0.9.0", - "newVersion": "0.9.7", - "releaseTimestamp": "2013-09-04T17:07:22.948Z", - "updateType": "minor", - }, - Object { - "bucket": "major", - "isRange": true, - "newMajor": 1, - "newMinor": 4, - "newPatch": 1, - "newValue": "^1.0.0", - "newVersion": "1.4.1", - "releaseTimestamp": "2015-05-17T04:25:07.299Z", - "updateType": "major", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:200:23)
workers/repository/process/lookup/index › .lookupUpdates() › supports lock file updates mixed with regular updates: lib/workers/repository/process/lookup/index.spec.ts#L246
expect(received).toEqual(expected) // deep equality - Expected - 36 + Received + 1 - Array [ - Object { - "bucket": "patch", - "isLockfileUpdate": true, - "isRange": true, - "newMajor": 0, - "newMinor": 4, - "newPatch": 4, - "newValue": "^0.4.0", - "newVersion": "0.4.4", - "releaseTimestamp": "2011-06-10T17:20:04.719Z", - "updateType": "patch", - }, - Object { - "bucket": "minor", - "isRange": true, - "newMajor": 0, - "newMinor": 9, - "newPatch": 7, - "newValue": "^0.9.0", - "newVersion": "0.9.7", - "releaseTimestamp": "2013-09-04T17:07:22.948Z", - "updateType": "minor", - }, - Object { - "bucket": "major", - "isRange": true, - "newMajor": 1, - "newMinor": 4, - "newPatch": 1, - "newValue": "^1.0.0", - "newVersion": "1.4.1", - "releaseTimestamp": "2015-05-17T04:25:07.299Z", - "updateType": "major", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:246:23)
workers/repository/process/lookup/index › .lookupUpdates() › returns multiple updates if grouping but separateMajorMinor=true: lib/workers/repository/process/lookup/index.spec.ts#L296
expect(received).toEqual(expected) // deep equality - Expected - 22 + Received + 1 - Array [ - Object { - "bucket": "non-major", - "newMajor": 0, - "newMinor": 9, - "newPatch": 7, - "newValue": "0.9.7", - "newVersion": "0.9.7", - "releaseTimestamp": Any<String>, - "updateType": "minor", - }, - Object { - "bucket": "major", - "newMajor": 1, - "newMinor": 4, - "newPatch": 1, - "newValue": "1.4.1", - "newVersion": "1.4.1", - "releaseTimestamp": Any<String>, - "updateType": "major", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:296:23)
workers/repository/process/lookup/index › .lookupUpdates() › returns additional update if grouping but separateMinorPatch=true: lib/workers/repository/process/lookup/index.spec.ts#L333
expect(received).toEqual(expected) // deep equality - Expected - 32 + Received + 1 - Array [ - Object { - "bucket": "patch", - "newMajor": 0, - "newMinor": 4, - "newPatch": 4, - "newValue": "0.4.4", - "newVersion": "0.4.4", - "releaseTimestamp": Any<String>, - "updateType": "patch", - }, - Object { - "bucket": "minor", - "newMajor": 0, - "newMinor": 9, - "newPatch": 7, - "newValue": "0.9.7", - "newVersion": "0.9.7", - "releaseTimestamp": Any<String>, - "updateType": "minor", - }, - Object { - "bucket": "major", - "newMajor": 1, - "newMinor": 4, - "newPatch": 1, - "newValue": "1.4.1", - "newVersion": "1.4.1", - "releaseTimestamp": Any<String>, - "updateType": "major", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:333:23)
workers/repository/process/lookup/index › .lookupUpdates() › returns one update if grouping and separateMajorMinor=false: lib/workers/repository/process/lookup/index.spec.ts#L380
expect(received).toEqual(expected) // deep equality - Expected - 12 + Received + 1 - Array [ - Object { - "bucket": "latest", - "newMajor": 1, - "newMinor": 4, - "newPatch": 1, - "newValue": "1.4.1", - "newVersion": "1.4.1", - "releaseTimestamp": Any<String>, - "updateType": "major", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:380:23)
workers/repository/process/lookup/index › .lookupUpdates() › returns both updates if automerging minor: lib/workers/repository/process/lookup/index.spec.ts#L406
expect(received).toEqual(expected) // deep equality - Expected - 31 + Received + 1 - Array [ - Object { - "isPin": true, - "newMajor": 0, - "newValue": "0.4.4", - "newVersion": "0.4.4", - "updateType": "pin", - }, - Object { - "bucket": "non-major", - "isRange": true, - "newMajor": 0, - "newMinor": 9, - "newPatch": 7, - "newValue": "^0.9.0", - "newVersion": "0.9.7", - "releaseTimestamp": "2013-09-04T17:07:22.948Z", - "updateType": "minor", - }, - Object { - "bucket": "major", - "isRange": true, - "newMajor": 1, - "newMinor": 4, - "newPatch": 1, - "newValue": "^1.0.0", - "newVersion": "1.4.1", - "releaseTimestamp": "2015-05-17T04:25:07.299Z", - "updateType": "major", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:406:23)
workers/repository/process/lookup/index › .lookupUpdates() › enforces allowedVersions: lib/workers/repository/process/lookup/index.spec.ts#L450
expect(received).toEqual(expected) // deep equality - Expected - 12 + Received + 1 - Array [ - Object { - "bucket": "non-major", - "newMajor": 0, - "newMinor": 9, - "newPatch": 7, - "newValue": "0.9.7", - "newVersion": "0.9.7", - "releaseTimestamp": Any<String>, - "updateType": "minor", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/process/lookup/index.spec.ts:450:23)
test (12/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
test (5/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
modules/manager/npm/update/locked-dependency/index › updateLockedDependency() › fails to remediate if parent dep cannot support: test/http-mock.ts#L56
Pending mocks! * GET https://registry.npmjs.org:443/accepts * GET https://registry.npmjs.org:443/express at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/npm/update/locked-dependency/index › updateLockedDependency() › remediates mime: lib/modules/manager/npm/update/locked-dependency/index.spec.ts#L225
TypeError: Cannot read properties of undefined (reading 'package-lock.json') at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/index.spec.ts:225:48)
modules/manager/npm/update/locked-dependency/index › updateLockedDependency() › remediates mime: test/http-mock.ts#L56
Pending mocks! * GET https://registry.npmjs.org:443/mime * GET https://registry.npmjs.org:443/send * GET https://registry.npmjs.org:443/serve-static * GET https://registry.npmjs.org:443/type-is at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/npm/update/locked-dependency/common/parent-version › getLockedDependencies() › finds indirect dependency: lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts#L31
expect(received).toBe(expected) // Object.is equality Expected: "4.11.1" Received: null at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts:31:9)
modules/manager/npm/update/locked-dependency/common/parent-version › getLockedDependencies() › finds indirect dependency: test/http-mock.ts#L56
Pending mocks! * GET https://registry.npmjs.org:443/send * GET https://registry.npmjs.org:443/express at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/npm/update/locked-dependency/common/parent-version › getLockedDependencies() › finds removed dependencies: lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts#L54
expect(received).toBe(expected) // Object.is equality Expected: "4.9.1" Received: null at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts:54:9)
modules/manager/npm/update/locked-dependency/common/parent-version › getLockedDependencies() › finds removed dependencies: test/http-mock.ts#L56
Pending mocks! * GET https://registry.npmjs.org:443/buffer-crc32 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/npm/update/locked-dependency/common/parent-version › getLockedDependencies() › finds when a greater version is needed: lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts#L74
expect(received).toBe(expected) // Object.is equality Expected: "4.14.0" Received: null at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts:74:9)
modules/manager/npm/update/locked-dependency/common/parent-version › getLockedDependencies() › finds when a greater version is needed: test/http-mock.ts#L56
Pending mocks! * GET https://registry.npmjs.org:443/qs at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/npm/update/locked-dependency/common/parent-version › getLockedDependencies() › finds when a range matches greater versions: lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts#L93
expect(received).toBe(expected) // Object.is equality Expected: "4.16.1" Received: null at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts:93:9)
test (6/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
modules/manager/terraform/lockfile/hash › returns null if getBuilds returns null: lib/util/http/throttle.ts#L13
TypeError: Expected `interval` to be a finite number at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at Http.request (lib/util/http/index.ts:211:35) at Http.request [as requestJson] (lib/util/http/index.ts:289:28) at Http.requestJson [as getJson] (lib/util/http/index.ts:345:17) at TerraformProviderDatasource.getJson (lib/modules/datasource/terraform-module/base.ts:25:23) at apply (lib/util/decorator/index.ts:55:34) at callback (lib/util/cache/package/decorator.ts:127:24) at TerraformProviderDatasource.getBuilds (lib/modules/datasource/terraform-provider/index.ts:230:7) at lib/util/cache/package/decorator.ts:127:18 at Function.createHashes (lib/modules/manager/terraform/lockfile/hash.ts:157:20) at Object.<anonymous> (lib/modules/manager/terraform/lockfile/hash.spec.ts:46:20)
modules/manager/terraform/lockfile/hash › returns null if getBuilds returns null: test/http-mock.ts#L56
Pending mocks! * GET https://example.com:443/.well-known/terraform.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/terraform/lockfile/hash › return null if requesting a version which is not available: test/http-mock.ts#L56
Pending mocks! * GET https://releases.hashicorp.com:443/terraform-provider-azurerm/2.59.0/index.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/terraform/lockfile/hash › backend index throws error: test/http-mock.ts#L56
Pending mocks! * GET https://releases.hashicorp.com:443/terraform-provider-azurerm/2.56.0/index.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/terraform/lockfile/hash › fail to create hashes: lib/modules/manager/terraform/lockfile/hash.spec.ts#L102
expect(received).rejects.toThrow() Received promise resolved instead of rejected Resolved to value: null at expect (node_modules/.pnpm/[email protected]/node_modules/expect/build/index.js:113:15) at Object.<anonymous> (lib/modules/manager/terraform/lockfile/hash.spec.ts:102:11)
modules/manager/terraform/lockfile/hash › fail to create hashes: test/http-mock.ts#L56
Pending mocks! * GET https://releases.hashicorp.com:443/terraform-provider-azurerm/2.56.0/index.json * GET https://releases.hashicorp.com:443/terraform-provider-azurerm/2.56.0/terraform-provider-azurerm_2.56.0_linux_amd64.zip * GET https://releases.hashicorp.com:443/terraform-provider-azurerm/2.56.0/terraform-provider-azurerm_2.56.0_darwin_amd64.zip at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/terraform/lockfile/hash › full walkthrough: lib/modules/manager/terraform/lockfile/hash.spec.ts#L137
expect(received).not.toBeNull() Received: null at Object.<anonymous> (lib/modules/manager/terraform/lockfile/hash.spec.ts:137:24)
modules/manager/terraform/lockfile/hash › full walkthrough: test/http-mock.ts#L56
Pending mocks! * GET https://releases.hashicorp.com:443/terraform-provider-azurerm/2.56.0/index.json * GET https://releases.hashicorp.com:443/terraform-provider-azurerm/2.56.0/terraform-provider-azurerm_2.56.0_linux_amd64.zip * GET https://releases.hashicorp.com:443/terraform-provider-azurerm/2.56.0/terraform-provider-azurerm_2.56.0_darwin_amd64.zip at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/terraform/lockfile/hash › full walkthrough on terraform cloud: lib/util/http/throttle.ts#L13
TypeError: Expected `interval` to be a finite number at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at Http.request (lib/util/http/index.ts:211:35) at Http.request [as requestJson] (lib/util/http/index.ts:289:28) at Http.requestJson [as getJson] (lib/util/http/index.ts:345:17) at TerraformProviderDatasource.getJson (lib/modules/datasource/terraform-module/base.ts:25:23) at apply (lib/util/decorator/index.ts:55:34) at callback (lib/util/cache/package/decorator.ts:127:24) at TerraformProviderDatasource.getBuilds (lib/modules/datasource/terraform-provider/index.ts:230:7) at lib/util/cache/package/decorator.ts:127:18 at Function.createHashes (lib/modules/manager/terraform/lockfile/hash.ts:157:20) at Object.<anonymous> (lib/modules/manager/terraform/lockfile/hash.spec.ts:194:20)
modules/manager/terraform/lockfile/hash › full walkthrough on terraform cloud: test/http-mock.ts#L56
Pending mocks! * GET https://registry.terraform.io:443/.well-known/terraform.json * GET https://registry.terraform.io:443/v1/providers/hashicorp/google/versions * GET https://registry.terraform.io:443/v1/providers/hashicorp/google/4.84.0/download/linux/amd64 * GET https://registry.terraform.io:443/v1/providers/hashicorp/google/4.84.0/download/darwin/amd64 * GET https://github.com:443/hashicorp/terraform-provider-google/releases/download/v4.84.0/terraform-provider-google_4.84.0_SHA256SUMS * GET https://github.com:443/hashicorp/terraform-provider-google/releases/download/v4.84.0/terraform-provider-google_4.84.0_linux_amd64.zip * GET https://github.com:443/hashicorp/terraform-provider-google/releases/download/v4.84.0/terraform-provider-google_4.84.0_darwin_amd64.zip at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
test (4/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
modules/manager/gradle-wrapper/artifacts › updateArtifacts() › updates distributionSha256Sum (docker): lib/modules/manager/gradle-wrapper/artifacts.spec.ts#L198
expect(received).toEqual(expected) // deep equality - Expected - 4 + Received + 3 Array [ Object { - "file": Object { - "contents": "test", - "path": "gradle/wrapper/gradle-wrapper.properties", - "type": "addition", + "artifactError": Object { + "lockFile": "gradle/wrapper/gradle-wrapper.properties", + "stderr": "Expected `interval` to be a finite number", }, }, ] at Object.<anonymous> (lib/modules/manager/gradle-wrapper/artifacts.spec.ts:198:22)
modules/manager/gradle-wrapper/artifacts › updateArtifacts() › updates distributionSha256Sum (docker): test/http-mock.ts#L56
Pending mocks! * GET https://services.gradle.org:443/distributions/gradle-6.3-bin.zip.sha256 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/gradle-wrapper/artifacts › updateArtifacts() › updates distributionSha256Sum (install): lib/modules/manager/gradle-wrapper/artifacts.spec.ts#L252
expect(received).toEqual(expected) // deep equality - Expected - 4 + Received + 3 Array [ Object { - "file": Object { - "contents": "test", - "path": "gradle/wrapper/gradle-wrapper.properties", - "type": "addition", + "artifactError": Object { + "lockFile": "gradle/wrapper/gradle-wrapper.properties", + "stderr": "Expected `interval` to be a finite number", }, }, ] at Object.<anonymous> (lib/modules/manager/gradle-wrapper/artifacts.spec.ts:252:22)
modules/manager/gradle-wrapper/artifacts › updateArtifacts() › updates distributionSha256Sum (install): test/http-mock.ts#L56
Pending mocks! * GET https://services.gradle.org:443/distributions/gradle-6.3-bin.zip.sha256 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/manager/gradle-wrapper/artifacts › updateArtifacts() › distributionSha256Sum 404: lib/modules/manager/gradle-wrapper/artifacts.spec.ts#L284
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ Object { "artifactError": Object { "lockFile": "gradle/wrapper/gradle-wrapper.properties", - "stderr": "Response code 404 (Not Found)", + "stderr": "Expected `interval` to be a finite number", }, }, ] at Object.<anonymous> (lib/modules/manager/gradle-wrapper/artifacts.spec.ts:284:22)
modules/manager/gradle-wrapper/artifacts › updateArtifacts() › distributionSha256Sum 404: test/http-mock.ts#L56
Pending mocks! * GET https://services.gradle.org:443/distributions/gradle-6.3-bin.zip.sha256 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
test (4/16)
The operation was canceled.
test (9/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
test (9/16)
The operation was canceled.
test (16/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
config/presets/github/index › fetchJSONFile() › returns JSON: lib/config/presets/github/index.ts#L34
dep not found at Object.fetchJSONFile (lib/config/presets/github/index.ts:34:11) at Object.<anonymous> (lib/config/presets/github/index.spec.ts:30:19)
config/presets/github/index › fetchJSONFile() › returns JSON: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/repos/some/repo/contents/some-filename.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
config/presets/github/index › getPreset() › tries default then renovate: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/repos/some/repo/contents/default.json * GET https://api.github.com:443/repos/some/repo/contents/renovate.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
config/presets/github/index › getPreset() › throws if invalid content: lib/config/presets/github/index.ts#L34
expect(received).rejects.toThrow(expected) Expected substring: "invalid preset JSON" Received message: "dep not found" 32 | } 33 | logger.debug(`Preset file ${fileName} not found in ${repo}`); > 34 | throw new Error(PRESET_DEP_NOT_FOUND); | ^ 35 | } 36 | 37 | return parsePreset(fromBase64(res.body.content), fileName); at fetchJSONFile (lib/config/presets/github/index.ts:34:11) at fetchPreset (lib/config/presets/util.ts:42:21) at Object.<anonymous> (lib/config/presets/github/index.spec.ts:58:7) at Object.toThrow (node_modules/.pnpm/[email protected]/node_modules/expect/build/index.js:218:22) at Object.<anonymous> (lib/config/presets/github/index.spec.ts:58:69)
config/presets/github/index › getPreset() › throws if invalid content: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/repos/some/repo/contents/default.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
config/presets/github/index › getPreset() › throws if fails to parse: lib/config/presets/github/index.ts#L34
expect(received).rejects.toThrow(expected) Expected substring: "invalid preset JSON" Received message: "dep not found" 32 | } 33 | logger.debug(`Preset file ${fileName} not found in ${repo}`); > 34 | throw new Error(PRESET_DEP_NOT_FOUND); | ^ 35 | } 36 | 37 | return parsePreset(fromBase64(res.body.content), fileName); at fetchJSONFile (lib/config/presets/github/index.ts:34:11) at fetchPreset (lib/config/presets/util.ts:42:21) at Object.<anonymous> (lib/config/presets/github/index.spec.ts:71:7) at Object.toThrow (node_modules/.pnpm/[email protected]/node_modules/expect/build/index.js:218:22) at Object.<anonymous> (lib/config/presets/github/index.spec.ts:71:69)
config/presets/github/index › getPreset() › throws if fails to parse: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/repos/some/repo/contents/default.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
config/presets/github/index › getPreset() › should return default.json: lib/config/presets/github/index.ts#L34
dep not found at fetchJSONFile (lib/config/presets/github/index.ts:34:11) at fetchPreset (lib/config/presets/util.ts:42:21) at Object.<anonymous> (lib/config/presets/github/index.spec.ts:84:23)
config/presets/github/index › getPreset() › should return default.json: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/repos/some/repo/contents/default.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
config/presets/github/index › getPreset() › should query preset within the file: lib/config/presets/github/index.ts#L34
dep not found at fetchJSONFile (lib/config/presets/github/index.ts:34:11) at fetchPreset (lib/config/presets/util.ts:60:19) at Object.<anonymous> (lib/config/presets/github/index.spec.ts:95:23)
test (2/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
modules/datasource/nuget/index › getReleases › extracts feed version from registry URL hash: test/http-mock.ts#L56
Pending mocks! * GET https://my-registry:443/ at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/nuget/index › getReleases › can't get packages list (v3): test/http-mock.ts#L56
Pending mocks! * GET https://api.nuget.org:443/v3/index.json * GET https://api.nuget.org:443/v3/registration5-gz-semver2/nunit/index.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/nuget/index › getReleases › empty packages list (v3): test/http-mock.ts#L56
Pending mocks! * GET https://api.nuget.org:443/v3/index.json * GET https://api.nuget.org:443/v3/registration5-gz-semver2/nunit/index.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/nuget/index › getReleases › returns null for empty result (v3v2): test/http-mock.ts#L56
Pending mocks! * GET https://api.nuget.org:443/v3/index.json * GET https://www.nuget.org:443/api/v2/FindPackagesById() at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/nuget/index › getReleases › returns null for empty result (v2): test/http-mock.ts#L56
Pending mocks! * GET https://www.nuget.org:443/api/v2/FindPackagesById() at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/nuget/index › getReleases › returns null for empty result (v3): test/http-mock.ts#L56
Pending mocks! * GET https://api.nuget.org:443/v3/index.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/nuget/index › getReleases › logs instead of triggering a TypeError when PackageBaseAddress is missing from service index: lib/modules/datasource/nuget/index.spec.ts#L305
expect(received).not.toBeNull() Received: null at Object.<anonymous> (lib/modules/datasource/nuget/index.spec.ts:305:23)
modules/datasource/nuget/index › getReleases › logs instead of triggering a TypeError when PackageBaseAddress is missing from service index: test/http-mock.ts#L56
Pending mocks! * GET https://api.nuget.org:443/v3/index.json * GET https://api.nuget.org:443/v3/metadata/nunit/index.json at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/nuget/index › getReleases › determine source URL from nupkg › can determine source URL from nupkg when PackageBaseAddress is missing: lib/modules/datasource/nuget/index.spec.ts#L384
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Determined sourceUrl https://github.com/NLog/NLog.git from https://some-registry/v3-flatcontainer/nlog/4.7.3/nlog.4.7.3.nupkg" Received 1: "Using throttle -Infinity intervalMs for host some-registry" 2: {"err": [TypeError: Expected `interval` to be a finite number], "servicesIndexRaw": undefined, "url": "https://some-registry/v3/index.json"}, "nuget registry failure: can't get RegistrationsBaseUrl" Number of calls: 2 at Object.<anonymous> (lib/modules/datasource/nuget/index.spec.ts:384:37)
modules/datasource/nuget/index › getReleases › determine source URL from nupkg › can determine source URL from nupkg when PackageBaseAddress is missing: test/http-mock.ts#L56
Pending mocks! * GET https://some-registry:443/v3/index.json * GET https://some-registry:443/v3/metadata/nlog/index.json * GET https://some-registry:443/v3-flatcontainer/nlog/4.7.3/nlog.4.7.3.nupkg at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
test (15/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
util/http/github › HTTP › supports app mode: lib/util/http/throttle.ts#L13
TypeError: Expected `interval` to be a finite number at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at GithubHttp.request (lib/util/http/index.ts:211:35) at GithubHttp.request (lib/util/http/github.ts:322:34) at GithubHttp.request [as get] (lib/util/http/index.ts:254:17) at Object.<anonymous> (lib/util/http/github.spec.ts:70:23)
util/http/github › HTTP › supports app mode: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/some-url at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
util/http/github › HTTP › supports different datasources: lib/util/http/throttle.ts#L13
TypeError: Expected `interval` to be a finite number at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at GithubHttp.request (lib/util/http/index.ts:211:35) at GithubHttp.request (lib/util/http/github.ts:322:34) at GithubHttp.request [as get] (lib/util/http/index.ts:254:17) at Object.<anonymous> (lib/util/http/github.spec.ts:89:33)
util/http/github › HTTP › supports different datasources: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/some-url at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
util/http/github › HTTP › paginates: lib/util/http/throttle.ts#L13
TypeError: Expected `interval` to be a finite number at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at GithubHttp.request (lib/util/http/index.ts:211:35) at GithubHttp.request (lib/util/http/github.ts:322:34) at GithubHttp.request [as requestJson] (lib/util/http/index.ts:289:28) at GithubHttp.requestJson [as getJson] (lib/util/http/index.ts:345:17) at Object.<anonymous> (lib/util/http/github.spec.ts:109:35)
util/http/github › HTTP › paginates: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/some-url at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
util/http/github › HTTP › uses paginationField: lib/util/http/throttle.ts#L13
TypeError: Expected `interval` to be a finite number at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at GithubHttp.request (lib/util/http/index.ts:211:35) at GithubHttp.request (lib/util/http/github.ts:322:34) at GithubHttp.request [as requestJson] (lib/util/http/index.ts:289:28) at GithubHttp.requestJson [as getJson] (lib/util/http/index.ts:345:17) at Object.<anonymous> (lib/util/http/github.spec.ts:135:40)
util/http/github › HTTP › uses paginationField: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/some-url at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
util/http/github › HTTP › paginates with auth and repo: lib/util/http/throttle.ts#L13
TypeError: Expected `interval` to be a finite number at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at GithubHttp.request (lib/util/http/index.ts:211:35) at GithubHttp.request (lib/util/http/github.ts:322:34) at GithubHttp.request [as requestJson] (lib/util/http/index.ts:289:28) at GithubHttp.requestJson [as getJson] (lib/util/http/index.ts:345:17) at Object.<anonymous> (lib/util/http/github.spec.ts:171:35)
util/http/github › HTTP › paginates with auth and repo: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/some-url at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
test (7/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
modules/platform/github/index › initPlatform() › should throw if using fine-grained token with GHE <3.10: lib/util/http/throttle.ts#L13
expect(received).rejects.toThrow(expected) Expected substring: "Init: Fine-grained Personal Access Tokens do not support GitHub Enterprise Server API version <3.10 and cannot be used with Renovate." Received message: "Expected `interval` to be a finite number" 11 | 12 | constructor(interval: number) { > 13 | this.throttle = pThrottle({ | ^ 14 | strict: true, 15 | limit: 1, 16 | interval, at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at GithubHttp.request (lib/util/http/index.ts:211:35) at GithubHttp.request (lib/util/http/github.ts:322:34) at GithubHttp.request [as requestJson] (lib/util/http/index.ts:289:28) at GithubHttp.requestJson [as headJson] (lib/util/http/index.ts:375:17) at headJson (lib/modules/platform/github/index.ts:120:41) at Object.detectGhe [as initPlatform] (lib/modules/platform/github/index.ts:153:9) at Object.<anonymous> (lib/modules/platform/github/index.spec.ts:75:16) at Object.toThrow (node_modules/.pnpm/[email protected]/node_modules/expect/build/index.js:218:22) at Object.<anonymous> (lib/modules/platform/github/index.spec.ts:79:17)
modules/platform/github/index › initPlatform() › should throw if using fine-grained token with GHE <3.10: test/http-mock.ts#L56
Pending mocks! * HEAD https://ghe.renovatebot.com:443/ at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/platform/github/index › initPlatform() › should throw if using fine-grained token with GHE unknown version: lib/util/http/throttle.ts#L13
expect(received).rejects.toThrow(expected) Expected substring: "Init: Fine-grained Personal Access Tokens do not support GitHub Enterprise Server API version <3.10 and cannot be used with Renovate." Received message: "Expected `interval` to be a finite number" 11 | 12 | constructor(interval: number) { > 13 | this.throttle = pThrottle({ | ^ 14 | strict: true, 15 | limit: 1, 16 | interval, at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at GithubHttp.request (lib/util/http/index.ts:211:35) at GithubHttp.request (lib/util/http/github.ts:322:34) at GithubHttp.request [as requestJson] (lib/util/http/index.ts:289:28) at GithubHttp.requestJson [as headJson] (lib/util/http/index.ts:375:17) at headJson (lib/modules/platform/github/index.ts:120:41) at Object.detectGhe [as initPlatform] (lib/modules/platform/github/index.ts:153:9) at Object.<anonymous> (lib/modules/platform/github/index.spec.ts:87:16) at Object.toThrow (node_modules/.pnpm/[email protected]/node_modules/expect/build/index.js:218:22) at Object.<anonymous> (lib/modules/platform/github/index.spec.ts:91:17)
modules/platform/github/index › initPlatform() › should throw if using fine-grained token with GHE unknown version: test/http-mock.ts#L56
Pending mocks! * HEAD https://ghe.renovatebot.com:443/ at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/platform/github/index › initPlatform() › should support fine-grained token with GHE >=3.10: lib/util/http/throttle.ts#L13
TypeError: Expected `interval` to be a finite number at pThrottle (node_modules/.pnpm/[email protected]/node_modules/p-throttle/index.js:16:9) at new Throttle (lib/util/http/throttle.ts:13:30) at getThrottle (lib/util/http/throttle.ts:45:18) at GithubHttp.request (lib/util/http/index.ts:211:35) at GithubHttp.request (lib/util/http/github.ts:322:34) at GithubHttp.request [as requestJson] (lib/util/http/index.ts:289:28) at GithubHttp.requestJson [as headJson] (lib/util/http/index.ts:375:17) at headJson (lib/modules/platform/github/index.ts:120:41) at Object.detectGhe [as initPlatform] (lib/modules/platform/github/index.ts:153:9) at Object.<anonymous> (lib/modules/platform/github/index.spec.ts:106:22)
modules/platform/github/index › initPlatform() › should support fine-grained token with GHE >=3.10: test/http-mock.ts#L56
Pending mocks! * HEAD https://ghe.renovatebot.com:443/ * GET https://ghe.renovatebot.com:443/user * GET https://ghe.renovatebot.com:443/user/emails at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/platform/github/index › initPlatform() › should throw if user failure: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/user at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/platform/github/index › initPlatform() › should support default endpoint no email access: lib/modules/platform/github/user.ts#L49
Init: Authentication failure at getUserDetails (lib/modules/platform/github/user.ts:49:11) at Object.initPlatform (lib/modules/platform/github/index.ts:176:36) at Object.<anonymous> (lib/modules/platform/github/index.spec.ts:132:14)
modules/platform/github/index › initPlatform() › should support default endpoint no email access: test/http-mock.ts#L56
Pending mocks! * GET https://api.github.com:443/user * GET https://api.github.com:443/user/emails at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/platform/github/index › initPlatform() › should support default endpoint no email result: lib/modules/platform/github/user.ts#L49
Init: Authentication failure at getUserDetails (lib/modules/platform/github/user.ts:49:11) at Object.initPlatform (lib/modules/platform/github/index.ts:176:36) at Object.<anonymous> (lib/modules/platform/github/index.spec.ts:144:14)
test (11/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
workers/repository/update/pr/changelog/release-notes › addReleaseNotes() › returns ChangeLogResult without release notes: test/http-mock.ts#L56
Pending mocks! * GET https://gitlab.com:443/api/v4/projects/gitlab-org%2Fgitter%2Fwebapp/repository/tree * GET https://gitlab.com:443/api/v4/projects/gitlab-org%2Fgitter%2Fwebapp/releases at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
workers/repository/update/pr/changelog/release-notes › getReleaseList() › should return release list for gitlab.com project: lib/workers/repository/update/pr/changelog/release-notes.spec.ts#L266
expect(received).toMatchObject(expected) - Expected - 12 + Received + 1 - Array [ - Object { - "notesSourceUrl": "https://gitlab.com/api/v4/projects/some%2Fyet-other-repository/releases", - "tag": "v1.0.0", - "url": "https://gitlab.com/some/yet-other-repository/-/releases/v1.0.0", - }, - Object { - "notesSourceUrl": "https://gitlab.com/api/v4/projects/some%2Fyet-other-repository/releases", - "tag": "v1.0.1", - "url": "https://gitlab.com/some/yet-other-repository/-/releases/v1.0.1", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/update/pr/changelog/release-notes.spec.ts:266:19)
workers/repository/update/pr/changelog/release-notes › getReleaseList() › should return release list for gitlab.com project: test/http-mock.ts#L56
Pending mocks! * GET https://gitlab.com:443/api/v4/projects/some%2Fyet-other-repository/releases at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
workers/repository/update/pr/changelog/release-notes › getReleaseList() › should return release list for self hosted gitlab project: lib/workers/repository/update/pr/changelog/release-notes.spec.ts#L305
expect(received).toMatchObject(expected) - Expected - 12 + Received + 1 - Array [ - Object { - "notesSourceUrl": "https://my.custom.domain/api/v4/projects/some%2Fyet-other-repository/releases", - "tag": "v1.0.0", - "url": "https://my.custom.domain/some/yet-other-repository/-/releases/v1.0.0", - }, - Object { - "notesSourceUrl": "https://my.custom.domain/api/v4/projects/some%2Fyet-other-repository/releases", - "tag": "v1.0.1", - "url": "https://my.custom.domain/some/yet-other-repository/-/releases/v1.0.1", - }, - ] + Array [] at Object.<anonymous> (lib/workers/repository/update/pr/changelog/release-notes.spec.ts:305:19)
workers/repository/update/pr/changelog/release-notes › getReleaseList() › should return release list for self hosted gitlab project: test/http-mock.ts#L56
Pending mocks! * GET https://my.custom.domain:443/api/v4/projects/some%2Fyet-other-repository/releases at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
workers/repository/update/pr/changelog/release-notes › getReleaseNotes() › gets release notes with body from gitlab repo "": lib/workers/repository/update/pr/changelog/release-notes.spec.ts#L761
expect(received).toEqual(expected) // deep equality Expected: {"body": "some body #123, [#124](https://gitlab.com/some/yet-other-repository/issues/124)", "name": undefined, "notesSourceUrl": "https://api.gitlab.com/projects/some%2Fother-repository/releases", "tag": "1.0.1", "url": "https://gitlab.com/some/other-repository/tags/1.0.1"} Received: null at Object.<anonymous> (lib/workers/repository/update/pr/changelog/release-notes.spec.ts:761:19)
workers/repository/update/pr/changelog/release-notes › getReleaseNotes() › gets release notes with body from gitlab repo "": test/http-mock.ts#L56
Pending mocks! * GET https://api.gitlab.com:443/projects/some%2Fother-repository/releases at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
workers/repository/update/pr/changelog/release-notes › getReleaseNotes() › gets release notes with body from gitlab repo "v": lib/workers/repository/update/pr/changelog/release-notes.spec.ts#L798
expect(received).toEqual(expected) // deep equality Expected: {"body": "some body #123, [#124](https://gitlab.com/some/yet-other-repository/issues/124)", "name": undefined, "notesSourceUrl": "https://api.gitlab.com/projects/some%2Fother-repository/releases", "tag": "v1.0.1", "url": "https://gitlab.com/some/other-repository/tags/v1.0.1"} Received: null at Object.<anonymous> (lib/workers/repository/update/pr/changelog/release-notes.spec.ts:798:19)
workers/repository/update/pr/changelog/release-notes › getReleaseNotes() › gets release notes with body from gitlab repo "v": test/http-mock.ts#L56
Pending mocks! * GET https://api.gitlab.com:443/projects/some%2Fother-repository/releases at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
workers/repository/update/pr/changelog/release-notes › getReleaseNotes() › gets release notes with body from gitlab repo "other-": lib/workers/repository/update/pr/changelog/release-notes.spec.ts#L835
expect(received).toEqual(expected) // deep equality Expected: {"body": "some body #123, [#124](https://gitlab.com/some/yet-other-repository/issues/124)", "name": undefined, "notesSourceUrl": "https://api.gitlab.com/projects/some%2Fother-repository/releases", "tag": "other-1.0.1", "url": "https://gitlab.com/some/other-repository/tags/other-1.0.1"} Received: null at Object.<anonymous> (lib/workers/repository/update/pr/changelog/release-notes.spec.ts:835:19)
test (1/16)
The job was canceled because "ubuntu-latest_true_test_3" failed.
modules/datasource/custom/index › getReleases › return null on http error: test/http-mock.ts#L56
Pending mocks! * GET https://example.com:443/v1 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/custom/index › getReleases › return null if schema validation fails: test/http-mock.ts#L56
Pending mocks! * GET https://example.com:443/v1 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/custom/index › getReleases › return releases for api directly exposing in renovate format: lib/modules/datasource/custom/index.spec.ts#L89
expect(received).toEqual(expected) // deep equality Expected: {"releases": [{"version": "v1.0.0"}]} Received: null at Object.<anonymous> (lib/modules/datasource/custom/index.spec.ts:89:22)
modules/datasource/custom/index › getReleases › return releases for api directly exposing in renovate format: test/http-mock.ts#L56
Pending mocks! * GET https://example.com:443/v1 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/custom/index › getReleases › return releases with digests for api directly exposing in renovate format: lib/modules/datasource/custom/index.spec.ts#L119
expect(received).toEqual(expected) // deep equality Expected: {"releases": [{"newDigest": "0123456789abcdef", "version": "v1.0.0"}]} Received: null at Object.<anonymous> (lib/modules/datasource/custom/index.spec.ts:119:22)
modules/datasource/custom/index › getReleases › return releases with digests for api directly exposing in renovate format: test/http-mock.ts#L56
Pending mocks! * GET https://example.com:443/v1 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/custom/index › getReleases › return releases with tags and other optional fields for api directly exposing in renovate format: lib/modules/datasource/custom/index.spec.ts#L162
expect(received).toEqual(expected) // deep equality Expected: {"changelogUrl": "https://example.com/foo/blob/main/CHANGELOG.md", "homepage": "https://example.com/foo", "releases": [{"version": "v1.0.0"}], "sourceDirectory": "/", "sourceUrl": "https://example.com/foo.git", "tags": {"latest": "v1.0.0"}} Received: null at Object.<anonymous> (lib/modules/datasource/custom/index.spec.ts:162:22)
modules/datasource/custom/index › getReleases › return releases with tags and other optional fields for api directly exposing in renovate format: test/http-mock.ts#L56
Pending mocks! * GET https://example.com:443/v1 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
modules/datasource/custom/index › getReleases › return releases for plain text API directly exposing in Renovate format: lib/modules/datasource/custom/index.spec.ts#L195
expect(received).toEqual(expected) // deep equality Expected: {"releases": [{"version": "1.0.0"}, {"version": "2.0.0"}, {"version": "3.0.0"}]} Received: null at Object.<anonymous> (lib/modules/datasource/custom/index.spec.ts:195:22)
modules/datasource/custom/index › getReleases › return releases for plain text API directly exposing in Renovate format: test/http-mock.ts#L56
Pending mocks! * GET https://example.com:443/v1 at clear (test/http-mock.ts:56:11) at Object.<anonymous> (test/http-mock.ts:120:3)
coverage-threshold
Process completed with exit code 1.
test-success
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage-git-1
887 KB
coverage-git-2
889 KB
coverage-managers-1
911 KB
coverage-versioning
911 KB
coverage-workers-2
919 KB
coverage-workers-4
911 KB