renovatebot / renovate

Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
https://mend.io/renovate
GNU Affero General Public License v3.0
17.14k stars 2.23k forks source link

`gitlabci-include` manager may fail if `yml` file is empty #12529

Open AKorezin opened 2 years ago

AKorezin commented 2 years ago

How are you running Renovate?

Self-hosted

If you're self-hosting Renovate, tell us what version of Renovate you run.

29.2.0

Please select which platform you are using if self-hosting.

gitlab.com

If you're self-hosting Renovate, tell us what version of the platform you run.

14.5.0-pre

Describe the bug

Since renovate version 28.15.0 gitlabci-include is enabled for all **.gitlab-ci.yml because of #12380.

But this manager fails if .gitlab-ci.yml file is invalid, empty or the content of the file is commented.

I created a sample repository.

Relevant debug logs

Logs ``` DEBUG: Using RE2 as regex engine DEBUG: Parsing configs DEBUG: Checking for config file in /usr/src/app/config DEBUG: No config file found on disk - skipping DEBUG: File config "config": {} DEBUG: CLI config "config": {"repositories": ["AKorezin/renovate-issue-12529"]} DEBUG: Env config "config": { "hostRules": [], "binarySource": "docker", "platform": "gitlab", "token": "***********" } DEBUG: Combined config "config": { "hostRules": [], "binarySource": "docker", "platform": "gitlab", "token": "***********", "repositories": ["AKorezin/renovate-issue-12529"] } DEBUG: Using default GitLab endpoint: https://gitlab.com/api/v4/ DEBUG: GitLab version is: 14.5.0-pre DEBUG: Using platform gitAuthor: AKorezin Renovate <***@***> DEBUG: Adding token authentication for gitlab.com to hostRules DEBUG: Using baseDir: /tmp/renovate DEBUG: Using cacheDir: /tmp/renovate/cache DEBUG: Initializing Renovate internal cache into /tmp/renovate/cache/renovate/renovate-cache-v1 DEBUG: Commits limit = null DEBUG: Clearing hostRules DEBUG: Adding token authentication for gitlab.com to hostRules INFO: No docker daemon found INFO: Repository started (repository=AKorezin/renovate-issue-12529) "renovateVersion": "29.2.0" DEBUG: Using localDir: /tmp/renovate/repos/gitlab/AKorezin/renovate-issue-12529 (repository=AKorezin/renovate-issue-12529) DEBUG: AKorezin/renovate-issue-12529 default branch = main (repository=AKorezin/renovate-issue-12529) DEBUG: Enabling Git FS (repository=AKorezin/renovate-issue-12529) DEBUG: using http URL (repository=AKorezin/renovate-issue-12529) "url": "https://gitlab.com/AKorezin/renovate-issue-12529.git" DEBUG: resetMemCache() (repository=AKorezin/renovate-issue-12529) DEBUG: Resetting npmrc (repository=AKorezin/renovate-issue-12529) DEBUG: detectSemanticCommits() (repository=AKorezin/renovate-issue-12529) DEBUG: Initializing git repository into /tmp/renovate/repos/gitlab/AKorezin/renovate-issue-12529 (repository=AKorezin/renovate-issue-12529) DEBUG: Performing blobless clone (repository=AKorezin/renovate-issue-12529) DEBUG: git clone completed (repository=AKorezin/renovate-issue-12529) "durationMs": 2228 DEBUG: latest repository commit (repository=AKorezin/renovate-issue-12529) "latestCommit": { "hash": "f81fd1176b11ec90b38f4b9a9ffaf066a4c8648c", "date": "2021-11-06T11:25:22+03:00", "message": "Debug", "refs": "HEAD -> main, origin/main, origin/HEAD", "body": "", "author_name": "AKorezin", "author_email": "3751653-AKorezin@users.noreply.gitlab.com" } DEBUG: getCommitMessages (repository=AKorezin/renovate-issue-12529) DEBUG: Semantic commits detection: unknown (repository=AKorezin/renovate-issue-12529) DEBUG: No semantic commits detected (repository=AKorezin/renovate-issue-12529) DEBUG: checkOnboarding() (repository=AKorezin/renovate-issue-12529) DEBUG: isOnboarded() (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(renovate.json) (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(renovate.json5) (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(.github/renovate.json) (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(.github/renovate.json5) (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(.gitlab/renovate.json) (repository=AKorezin/renovate-issue-12529) DEBUG: Config file exists (repository=AKorezin/renovate-issue-12529) "fileName": ".gitlab/renovate.json" DEBUG: ensureIssueClosing() (repository=AKorezin/renovate-issue-12529) DEBUG: Repo is onboarded (repository=AKorezin/renovate-issue-12529) DEBUG: Found .gitlab/renovate.json config file (repository=AKorezin/renovate-issue-12529) DEBUG: Repository config (repository=AKorezin/renovate-issue-12529) "fileName": ".gitlab/renovate.json", "config": { "extends": [ "config:base", ":pinAllExceptPeerDependencies", ":dependencyDashboard" ], "pinDigests": true } DEBUG: migrateAndValidate() (repository=AKorezin/renovate-issue-12529) DEBUG: No config migration necessary (repository=AKorezin/renovate-issue-12529) DEBUG: massaged config (repository=AKorezin/renovate-issue-12529) "config": { "extends": [ "config:base", ":pinAllExceptPeerDependencies", ":dependencyDashboard" ], "pinDigests": true } DEBUG: migrated config (repository=AKorezin/renovate-issue-12529) "config": { "extends": [ "config:base", ":pinAllExceptPeerDependencies", ":dependencyDashboard" ], "pinDigests": true } DEBUG: Setting hostRules from config (repository=AKorezin/renovate-issue-12529) DEBUG: Found repo ignorePaths (repository=AKorezin/renovate-issue-12529) "ignorePaths": [ "**/node_modules/**", "**/bower_components/**", "**/vendor/**", "**/examples/**", "**/__tests__/**", "**/test/**", "**/tests/**", "**/__fixtures__/**" ] DEBUG: No vulnerability alerts found (repository=AKorezin/renovate-issue-12529) DEBUG: findIssue(Dependency Dashboard) (repository=AKorezin/renovate-issue-12529) DEBUG: No baseBranches (repository=AKorezin/renovate-issue-12529) DEBUG: extract() (repository=AKorezin/renovate-issue-12529) DEBUG: Setting current branch to main (repository=AKorezin/renovate-issue-12529) DEBUG: latest commit (repository=AKorezin/renovate-issue-12529) "branchName": "main", "latestCommitDate": "2021-11-06T11:25:22+03:00" DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager ansible-galaxy (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)galaxy\.ya?ml$ for manager ansible-galaxy (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: azure.*pipelines?.*\.ya?ml$ for manager azure-pipelines (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)batect(-bundle)?\.yml$ for manager batect (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)batect$ for manager batect-wrapper (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)WORKSPACE(|\.bazel)$ for manager bazel (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.bzl$ for manager bazel (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.?bitbucket-pipelines\.ya?ml$ for manager bitbucket-pipelines (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: buildkite\.ya?ml for manager buildkite (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Gemfile$ for manager bundler (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.cake$ for manager cake (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Cargo.toml$ for manager cargo (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/).circleci/config.yml$ for manager circleci (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)cloudbuild.ya?ml for manager cloudbuild (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Podfile$ for manager cocoapods (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)([\w-]*)composer.json$ for manager composer (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)deps\.edn$ for manager deps-edn (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)docker-compose[^/]*\.ya?ml$ for manager docker-compose (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/|\.)Dockerfile$ for manager dockerfile (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Dockerfile\.[^/]*$ for manager dockerfile (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/).drone.yml$ for manager droneci (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/).gitmodules$ for manager git-submodules (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^(workflow-templates|\.github\/workflows)\/[^/]+\.ya?ml$ for manager github-actions (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|\/)action\.ya?ml$ for manager github-actions (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.gitlab-ci\.yml$ for manager gitlabci (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.gitlab-ci\.yml$ for manager gitlabci-include (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)go.mod$ for manager gomod (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|\/)gradle\.properties$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|\/)gradle\/.+\.toml$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.versions\.toml$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper.properties$ for manager gradle-wrapper (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)requirements\.yaml$ for manager helm-requirements (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)values.yaml$ for manager helm-values (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)helmfile.yaml$ for manager helmfile (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Chart.yaml$ for manager helmv3 (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.html?$ for manager html (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)plugins\.(txt|ya?ml)$ for manager jenkins (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)kustomization\.yaml for manager kustomize (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.pom\.xml$ for manager maven (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)pom\.xml$ for manager maven (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)package.js$ for manager meteor (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)mix\.exs$ for manager mix (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/).node-version$ for manager nodenv (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)package.json$ for manager npm (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.(?:props|targets)$ for manager nuget (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.config\/dotnet-tools\.json$ for manager nuget (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|//)global\.json$ for manager nuget (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.nvmrc$ for manager nvm (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)([\w-]*)requirements\.(txt|pip)$ for manager pip_requirements (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)setup.py$ for manager pip_setup (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.pre-commit-config\.yaml$ for manager pre-commit (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/).python-version$ for manager pyenv (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.sbt$ for manager sbt (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: project/[^/]*.scala$ for manager sbt (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)setup\.cfg$ for manager setup-cfg (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Package\.swift for manager swift (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.tf$ for manager terraform (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.terraform-version$ for manager terraform-version (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)terragrunt\.hcl$ for manager terragrunt (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.terragrunt-version$ for manager terragrunt-version (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^.travis.yml$ for manager travis (repository=AKorezin/renovate-issue-12529) DEBUG: Matched 1 file(s) for manager gitlabci: example/example.gitlab-ci.yml (repository=AKorezin/renovate-issue-12529) DEBUG: Matched 1 file(s) for manager gitlabci-include: example/example.gitlab-ci.yml (repository=AKorezin/renovate-issue-12529) WARN: Error extracting GitLab CI includes (repository=AKorezin/renovate-issue-12529) "err": { "message": "Cannot read property 'include' of null", "stack": "TypeError: Cannot read property 'include' of null\n at Object.extractPackageFile (/usr/src/app/node_modules/renovate/lib/manager/gitlabci-include/extract.ts:43:23)\n at extractPackageFile (/usr/src/app/node_modules/renovate/lib/manager/index.ts:70:9)\n at getManagerPackageFiles (/usr/src/app/node_modules/renovate/lib/workers/repository/extract/manager-files.ts:52:43)\n at /usr/src/app/node_modules/renovate/lib/workers/repository/extract/index.ts:45:28\n at async Promise.all (index 1)\n at extractAllDependencies (/usr/src/app/node_modules/renovate/lib/workers/repository/extract/index.ts:43:26)\n at extract (/usr/src/app/node_modules/renovate/lib/workers/repository/process/extract-update.ts:82:20)\n at extractDependencies (/usr/src/app/node_modules/renovate/lib/workers/repository/process/index.ts:58:26)\n at Object.renovateRepository (/usr/src/app/node_modules/renovate/lib/workers/repository/index.ts:46:52)\n at Object.start (/usr/src/app/node_modules/renovate/lib/workers/global/index.ts:122:7)\n at /usr/src/app/node_modules/renovate/lib/renovate.ts:16:22" } DEBUG: Found 0 package file(s) (repository=AKorezin/renovate-issue-12529) INFO: Dependency extraction complete (repository=AKorezin/renovate-issue-12529) "baseBranch": "main", "stats": {"managers": {}, "total": {"fileCount": 0, "depCount": 0}} DEBUG: Package releases lookups complete (repository=AKorezin/renovate-issue-12529) "baseBranch": "main" DEBUG: branchifyUpgrades (repository=AKorezin/renovate-issue-12529) DEBUG: 0 flattened updates found: (repository=AKorezin/renovate-issue-12529) DEBUG: Returning 0 branch(es) (repository=AKorezin/renovate-issue-12529) DEBUG: config.repoIsOnboarded=true (repository=AKorezin/renovate-issue-12529) DEBUG: packageFiles with updates (repository=AKorezin/renovate-issue-12529) "config": {} DEBUG: processRepo() (repository=AKorezin/renovate-issue-12529) DEBUG: Processing 0 branches: (repository=AKorezin/renovate-issue-12529) DEBUG: Calculating hourly PRs remaining (repository=AKorezin/renovate-issue-12529) DEBUG: currentHourStart=2021-11-06T08:00:00.000+00:00 (repository=AKorezin/renovate-issue-12529) DEBUG: PR hourly limit remaining: 2 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculating prConcurrentLimit (20) (repository=AKorezin/renovate-issue-12529) DEBUG: 0 PRs are currently open (repository=AKorezin/renovate-issue-12529) DEBUG: PR concurrent limit remaining: 20 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculated maximum PRs remaining this run (repository=AKorezin/renovate-issue-12529) "prsRemaining": 2 DEBUG: PullRequests limit = 2 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculating hourly PRs remaining (repository=AKorezin/renovate-issue-12529) DEBUG: currentHourStart=2021-11-06T08:00:00.000+00:00 (repository=AKorezin/renovate-issue-12529) DEBUG: PR hourly limit remaining: 2 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculating branchConcurrentLimit (20) (repository=AKorezin/renovate-issue-12529) DEBUG: 0 already existing branches found: (repository=AKorezin/renovate-issue-12529) DEBUG: Branch concurrent limit remaining: 20 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculated maximum branches remaining this run (repository=AKorezin/renovate-issue-12529) "branchesRemaining": 2 DEBUG: Branches limit = 2 (repository=AKorezin/renovate-issue-12529) DEBUG: Ensuring Dependency Dashboard (repository=AKorezin/renovate-issue-12529) DEBUG: ensureIssue() (repository=AKorezin/renovate-issue-12529) DEBUG: Updating issue (repository=AKorezin/renovate-issue-12529) DEBUG: Removing any stale branches (repository=AKorezin/renovate-issue-12529) DEBUG: config.repoIsOnboarded=true (repository=AKorezin/renovate-issue-12529) DEBUG: No renovate branches found (repository=AKorezin/renovate-issue-12529) DEBUG: ensureIssueClosing() (repository=AKorezin/renovate-issue-12529) DEBUG: Repository timing splits (milliseconds) (repository=AKorezin/renovate-issue-12529) "splits": {"init": 5008, "extract": 641, "lookup": 2, "update": 354}, "total": 6757 DEBUG: http statistics (repository=AKorezin/renovate-issue-12529) "urls": { "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529 (GET)": 1, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/issues (GET)": 1, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/issues/2 (GET)": 2, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/issues/2 (PUT)": 1, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/merge_requests (GET)": 1 }, "hostStats": {"gitlab.com": {"requestCount": 6, "requestAvgMs": 359, "queueAvgMs": 0}}, "totalRequests": 6 INFO: Repository finished (repository=AKorezin/renovate-issue-12529) "durationMs": 6757 DEBUG: Renovate exiting ```

Have you created a minimal reproduction repository?

I have linked to a minimal reproduction repository in the bug description

rarkins commented 2 years ago

Does it still extract other dependencies, or does the presence of an empty file cause all extraction to fail? And what do you expect instead as behavior?

AKorezin commented 2 years ago

The main problem here that the bot creates message in the issue.

These problems occurred while renovating this repository.

  • WARN: Error extracting GitLab CI includes

So the expected behavior should be no warning about empty files like with gitlabci manager.

I have never tried to use gitlabci-include dependencies. So I'll try to do that.

AKorezin commented 2 years ago

Just done some testing. It seems that overall version extraction by gitlabci-include is not broken, if one of the files is empty.

viceice commented 2 years ago

I think we need a null check to fix that warning. Empty files shouldn't be a warning.

github-actions[bot] commented 1 year ago

Hi there,

Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible.

Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this.

To get started, please read our guide on creating a minimal reproduction.

We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment.

Good luck,

The Renovate team

AKorezin commented 1 year ago

I've checked provided repository, and it still has problems.

The URL is the same https://gitlab.com/AKorezin/renovate-issue-12529. Here's a new log with renovate/renovate:35.55.1-slim.

Log ``` DEBUG: Using RE2 as regex engine DEBUG: Parsing configs DEBUG: Checking for config file in /usr/src/app/config.js DEBUG: No config file found on disk - skipping DEBUG: File config "config": {} DEBUG: CLI config "config": {"repositories": ["AKorezin/renovate-issue-12529"]} DEBUG: Env config "config": {"hostRules": [], "platform": "gitlab", "token": "***********"} DEBUG: Combined config "config": { "hostRules": [], "platform": "gitlab", "token": "***********", "repositories": ["AKorezin/renovate-issue-12529"] } DEBUG: Enabling forkProcessing while in non-autodiscover mode DEBUG: Found valid git version: 2.40.0 DEBUG: Using default GitLab endpoint: https://gitlab.com/api/v4/ DEBUG: GitLab version is: 15.11.0-pre DEBUG: Using platform gitAuthor: AKorezin Renovate DEBUG: Adding token authentication for gitlab.com to hostRules DEBUG: Using baseDir: /tmp/renovate DEBUG: Using cacheDir: /tmp/renovate/cache DEBUG: Using containerbaseDir: /tmp/renovate/cache/containerbase DEBUG: Initializing Renovate internal cache into /tmp/renovate/cache/renovate/renovate-cache-v1 DEBUG: Commits limit = null DEBUG: Setting global hostRules DEBUG: Adding token authentication for gitlab.com to hostRules DEBUG: validatePresets() DEBUG: Reinitializing hostRules for repo DEBUG: Clearing hostRules DEBUG: Adding token authentication for gitlab.com to hostRules INFO: Repository started (repository=AKorezin/renovate-issue-12529) "renovateVersion": "35.55.1" DEBUG: Using localDir: /tmp/renovate/repos/gitlab/AKorezin/renovate-issue-12529 (repository=AKorezin/renovate-issue-12529) DEBUG: PackageFiles.clear() - Package files deleted (repository=AKorezin/renovate-issue-12529) DEBUG: AKorezin/renovate-issue-12529 default branch = main (repository=AKorezin/renovate-issue-12529) DEBUG: Enabling Git FS (repository=AKorezin/renovate-issue-12529) DEBUG: Using http URL: https://gitlab.com/AKorezin/renovate-issue-12529.git (repository=AKorezin/renovate-issue-12529) DEBUG: Resetting npmrc (repository=AKorezin/renovate-issue-12529) DEBUG: checkOnboarding() (repository=AKorezin/renovate-issue-12529) DEBUG: isOnboarded() (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(renovate.json) (repository=AKorezin/renovate-issue-12529) DEBUG: Initializing git repository into /tmp/renovate/repos/gitlab/AKorezin/renovate-issue-12529 (repository=AKorezin/renovate-issue-12529) DEBUG: Performing blobless clone (repository=AKorezin/renovate-issue-12529) DEBUG: git clone completed (repository=AKorezin/renovate-issue-12529) "durationMs": 2922 DEBUG: latest repository commit (repository=AKorezin/renovate-issue-12529) "latestCommit": { "hash": "3b98e56f3bfd163e4f97dcc35c4794b26643ebd9", "date": "2021-11-06T14:06:26+03:00", "message": "Debug", "refs": "HEAD -> main, tag: 3.0.0, origin/main, origin/HEAD", "body": "", "author_name": "AKorezin", "author_email": "3751653-AKorezin@users.noreply.gitlab.com" } DEBUG: findFile(renovate.json5) (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(.github/renovate.json) (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(.github/renovate.json5) (repository=AKorezin/renovate-issue-12529) DEBUG: findFile(.gitlab/renovate.json) (repository=AKorezin/renovate-issue-12529) DEBUG: Config file exists, fileName: .gitlab/renovate.json (repository=AKorezin/renovate-issue-12529) DEBUG: ensureIssueClosing() (repository=AKorezin/renovate-issue-12529) DEBUG: Repo is onboarded (repository=AKorezin/renovate-issue-12529) DEBUG: Found .gitlab/renovate.json config file (repository=AKorezin/renovate-issue-12529) DEBUG: Repository config (repository=AKorezin/renovate-issue-12529) "fileName": ".gitlab/renovate.json", "config": { "extends": [ "config:base", ":pinAllExceptPeerDependencies", ":dependencyDashboard" ], "pinDigests": true } DEBUG: migrateAndValidate() (repository=AKorezin/renovate-issue-12529) DEBUG: No config migration necessary (repository=AKorezin/renovate-issue-12529) DEBUG: massaged config (repository=AKorezin/renovate-issue-12529) "config": { "extends": [ "config:base", ":pinAllExceptPeerDependencies", ":dependencyDashboard" ], "pinDigests": true } DEBUG: migrated config (repository=AKorezin/renovate-issue-12529) "config": { "extends": [ "config:base", ":pinAllExceptPeerDependencies", ":dependencyDashboard" ], "pinDigests": true } DEBUG: Setting hostRules from config (repository=AKorezin/renovate-issue-12529) DEBUG: Found repo ignorePaths (repository=AKorezin/renovate-issue-12529) "ignorePaths": [ "**/node_modules/**", "**/bower_components/**", "**/vendor/**", "**/examples/**", "**/__tests__/**", "**/test/**", "**/tests/**", "**/__fixtures__/**" ] DEBUG: No vulnerability alerts found (repository=AKorezin/renovate-issue-12529) DEBUG: findIssue(Dependency Dashboard) (repository=AKorezin/renovate-issue-12529) DEBUG: No baseBranches (repository=AKorezin/renovate-issue-12529) DEBUG: extract() (repository=AKorezin/renovate-issue-12529) DEBUG: Setting current branch to main (repository=AKorezin/renovate-issue-12529) DEBUG: latest commit (repository=AKorezin/renovate-issue-12529) "branchName": "main", "latestCommitDate": "2021-11-06T14:06:26+03:00" DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager ansible-galaxy (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)galaxy\.ya?ml$ for manager ansible-galaxy (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.tool-versions$ for manager asdf (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: azure.*pipelines?.*\.ya?ml$ for manager azure-pipelines (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)batect(-bundle)?\.yml$ for manager batect (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)batect$ for manager batect-wrapper (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)WORKSPACE(|\.bazel)$ for manager bazel (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.bzl$ for manager bazel (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.bazelversion$ for manager bazelisk (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.bicep$ for manager bicep (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.?bitbucket-pipelines\.ya?ml$ for manager bitbucket-pipelines (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: buildkite\.ya?ml for manager buildkite (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Gemfile$ for manager bundler (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.cake$ for manager cake (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Cargo\.toml$ for manager cargo (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.circleci/config\.yml$ for manager circleci (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)cloudbuild\.ya?ml for manager cloudbuild (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Podfile$ for manager cocoapods (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)([\w-]*)composer\.json$ for manager composer (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)conanfile\.(txt|py)$ for manager conan (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)(?:deps|bb)\.edn$ for manager deps-edn (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)(?:docker-)?compose[^/]*\.ya?ml$ for manager docker-compose (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/|\.)(Docker|Container)file$ for manager dockerfile (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)(Docker|Container)file[^/]*$ for manager dockerfile (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.drone\.yml$ for manager droneci (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)fleet\.ya?ml for manager fleet (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)flux-system/(?:.+/)?gotk-components\.yaml$ for manager flux (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.fvm/fvm_config\.json$ for manager fvm (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.gitmodules$ for manager git-submodules (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^(workflow-templates|\.github/workflows)/[^/]+\.ya?ml$ for manager github-actions (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)action\.ya?ml$ for manager github-actions (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.gitlab-ci\.yml$ for manager gitlabci (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.gitlab-ci\.yml$ for manager gitlabci-include (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)go\.mod$ for manager gomod (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)gradle\.properties$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)gradle/.+\.toml$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.versions\.toml$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)versions.props$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)versions.lock$ for manager gradle (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper\.properties$ for manager gradle-wrapper (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)requirements\.yaml$ for manager helm-requirements (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)values\.yaml$ for manager helm-values (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)helmfile\.yaml$ for manager helmfile (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Chart\.yaml$ for manager helmv3 (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)bin/hermit$ for manager hermit (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.html?$ for manager html (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)plugins\.(txt|ya?ml)$ for manager jenkins (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)jsonnetfile\.json$ for manager jsonnet-bundler (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^.+\.main\.kts$ for manager kotlin-script (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)kustomization\.ya?ml$ for manager kustomize (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/|\.)pom\.xml$ for manager maven (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^(((\.mvn)|(\.m2))/)?settings\.xml$ for manager maven (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|\/).mvn/wrapper/maven-wrapper.properties$ for manager maven-wrapper (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)package\.js$ for manager meteor (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Mintfile$ for manager mint (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)mix\.exs$ for manager mix (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)flake\.nix$ for manager nix (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.node-version$ for manager nodenv (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)package\.json$ for manager npm (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.(?:props|targets)$ for manager nuget (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)dotnet-tools\.json$ for manager nuget (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)global\.json$ for manager nuget (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.nvmrc$ for manager nvm (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)src/main/features/.+\.json$ for manager osgi (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)([\w-]*)requirements\.(txt|pip)$ for manager pip_requirements (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)setup\.py$ for manager pip_setup (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.pre-commit-config\.yaml$ for manager pre-commit (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Puppetfile$ for manager puppet (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.python-version$ for manager pyenv (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.sbt$ for manager sbt (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: project/[^/]*\.scala$ for manager sbt (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: project/build\.properties$ for manager sbt (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)setup\.cfg$ for manager setup-cfg (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)Package\.swift for manager swift (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.tf$ for manager terraform (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.terraform-version$ for manager terraform-version (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)terragrunt\.hcl$ for manager terragrunt (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.terragrunt-version$ for manager terragrunt-version (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: \.tflint\.hcl$ for manager tflint-plugin (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^\.travis\.yml$ for manager travis (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: (^|/)\.vela\.ya?ml$ for manager velaci (repository=AKorezin/renovate-issue-12529) DEBUG: Using file match: ^\.woodpecker(?:/[^/]+)?\.ya?ml$ for manager woodpecker (repository=AKorezin/renovate-issue-12529) DEBUG: Matched 4 file(s) for manager gitlabci: example/example1.gitlab-ci.yml, example/example2.gitlab-ci.yml, example/example3.gitlab-ci.yml, templates/.gitlab-ci.yml (repository=AKorezin/renovate-issue-12529) DEBUG: Matched 4 file(s) for manager gitlabci-include: example/example1.gitlab-ci.yml, example/example2.gitlab-ci.yml, example/example3.gitlab-ci.yml, templates/.gitlab-ci.yml (repository=AKorezin/renovate-issue-12529) WARN: Error extracting GitLab CI includes (repository=AKorezin/renovate-issue-12529) "err": { "message": "Cannot convert undefined or null to object", "stack": "TypeError: Cannot convert undefined or null to object\n at Function.keys ()\n at filterIncludeFromGitlabPipeline (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/modules/manager/gitlabci-include/common.ts:17:28)\n at getAllIncludeProjects (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/modules/manager/gitlabci-include/extract.ts:54:69)\n at Object.extractPackageFile (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/modules/manager/gitlabci-include/extract.ts:73:22)\n at extractPackageFile (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/modules/manager/index.ts:71:9)\n at getManagerPackageFiles (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/workers/repository/extract/manager-files.ts:45:43)\n at /opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/workers/repository/extract/index.ts:59:28\n at async Promise.all (index 1)\n at extractAllDependencies (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/workers/repository/extract/index.ts:56:26)\n at extract (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/workers/repository/process/extract-update.ts:141:28)\n at extractDependencies (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/workers/repository/process/index.ts:140:26)\n at Object.renovateRepository (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/workers/repository/index.ts:61:9)\n at attributes.repository (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/workers/global/index.ts:181:11)\n at start (/opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/workers/global/index.ts:166:7)\n at /opt/buildpack/tools/renovate/35.55.1/node_modules/renovate/lib/renovate.ts:18:22" } DEBUG: manager extract durations (ms) (repository=AKorezin/renovate-issue-12529) "managers": {"gitlabci": 17, "gitlabci-include": 17} DEBUG: Found gitlabci-include package files (repository=AKorezin/renovate-issue-12529) DEBUG: Found 2 package file(s) (repository=AKorezin/renovate-issue-12529) INFO: Dependency extraction complete (repository=AKorezin/renovate-issue-12529, baseBranch=main) "stats": { "managers": {"gitlabci-include": {"fileCount": 2, "depCount": 2}}, "total": {"fileCount": 2, "depCount": 2} } DEBUG: PackageFiles.add() - Package file saved for base branch (repository=AKorezin/renovate-issue-12529, baseBranch=main) DEBUG: Package releases lookups complete (repository=AKorezin/renovate-issue-12529, baseBranch=main) DEBUG: branchifyUpgrades (repository=AKorezin/renovate-issue-12529) DEBUG: detectSemanticCommits() (repository=AKorezin/renovate-issue-12529) DEBUG: getCommitMessages (repository=AKorezin/renovate-issue-12529) DEBUG: semanticCommits: detected "unknown" (repository=AKorezin/renovate-issue-12529) DEBUG: semanticCommits: disabled (repository=AKorezin/renovate-issue-12529) DEBUG: 4 flattened updates found: AKorezin/renovate-issue-12529, AKorezin/renovate-issue-12529, AKorezin/renovate-issue-12529, AKorezin/renovate-issue-12529 (repository=AKorezin/renovate-issue-12529) DEBUG: Returning 2 branch(es) (repository=AKorezin/renovate-issue-12529) DEBUG: config.repoIsOnboarded=true (repository=AKorezin/renovate-issue-12529) DEBUG: packageFiles with updates (repository=AKorezin/renovate-issue-12529, baseBranch=main) "config": { "gitlabci-include": [ { "deps": [ { "datasource": "gitlab-tags", "depName": "AKorezin/renovate-issue-12529", "depType": "repository", "currentValue": "1.0.0", "registryUrls": ["https://gitlab.com"], "updates": [ { "bucket": "major", "newVersion": "3.0.0", "newValue": "3.0.0", "releaseTimestamp": "2021-11-06T11:06:26.000Z", "newMajor": 3, "newMinor": 0, "updateType": "major", "newDigest": "3b98e56f3bfd163e4f97dcc35c4794b26643ebd9", "branchName": "renovate/akorezin-renovate-issue-12529-3.x" }, { "isPinDigest": true, "updateType": "pinDigest", "newValue": "1.0.0", "newDigest": "3b98e56f3bfd163e4f97dcc35c4794b26643ebd9", "branchName": "renovate/pin-dependencies" } ], "packageName": "AKorezin/renovate-issue-12529", "warnings": [], "versioning": "semver", "sourceUrl": "https://gitlab.com/AKorezin/renovate-issue-12529", "registryUrl": "https://gitlab.com", "currentVersion": "1.0.0", "isSingleVersion": true, "fixedVersion": "1.0.0" } ], "packageFile": "example/example1.gitlab-ci.yml" }, { "deps": [ { "datasource": "gitlab-tags", "depName": "AKorezin/renovate-issue-12529", "depType": "repository", "currentValue": "2.0.0", "registryUrls": ["https://gitlab.com"], "updates": [ { "bucket": "major", "newVersion": "3.0.0", "newValue": "3.0.0", "releaseTimestamp": "2021-11-06T11:06:26.000Z", "newMajor": 3, "newMinor": 0, "updateType": "major", "newDigest": "3b98e56f3bfd163e4f97dcc35c4794b26643ebd9", "branchName": "renovate/akorezin-renovate-issue-12529-3.x" }, { "isPinDigest": true, "updateType": "pinDigest", "newValue": "2.0.0", "newDigest": "3b98e56f3bfd163e4f97dcc35c4794b26643ebd9", "branchName": "renovate/pin-dependencies" } ], "packageName": "AKorezin/renovate-issue-12529", "warnings": [], "versioning": "semver", "sourceUrl": "https://gitlab.com/AKorezin/renovate-issue-12529", "registryUrl": "https://gitlab.com", "currentVersion": "2.0.0", "isSingleVersion": true, "fixedVersion": "2.0.0" } ], "packageFile": "example/example3.gitlab-ci.yml" } ] } DEBUG: detectSemanticCommits() (repository=AKorezin/renovate-issue-12529) DEBUG: semanticCommits: returning "disabled" from cache (repository=AKorezin/renovate-issue-12529) DEBUG: processRepo() (repository=AKorezin/renovate-issue-12529) DEBUG: Processing 2 branches: renovate/akorezin-renovate-issue-12529-3.x, renovate/pin-dependencies (repository=AKorezin/renovate-issue-12529) DEBUG: Calculating hourly PRs remaining (repository=AKorezin/renovate-issue-12529) DEBUG: currentHourStart=2023-04-21T07:00:00.000+00:00 (repository=AKorezin/renovate-issue-12529) DEBUG: PR hourly limit remaining: 2 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculating prConcurrentLimit (10) (repository=AKorezin/renovate-issue-12529) DEBUG: getBranchPr(renovate/pin-dependencies) (repository=AKorezin/renovate-issue-12529) DEBUG: findPr(renovate/pin-dependencies, undefined, open) (repository=AKorezin/renovate-issue-12529) DEBUG: getBranchPr(renovate/akorezin-renovate-issue-12529-3.x) (repository=AKorezin/renovate-issue-12529) DEBUG: findPr(renovate/akorezin-renovate-issue-12529-3.x, undefined, open) (repository=AKorezin/renovate-issue-12529) DEBUG: 0 PRs are currently open (repository=AKorezin/renovate-issue-12529) DEBUG: PR concurrent limit remaining: 10 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculated maximum PRs remaining this run: 2 (repository=AKorezin/renovate-issue-12529) DEBUG: PullRequests limit = 2 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculating hourly PRs remaining (repository=AKorezin/renovate-issue-12529) DEBUG: currentHourStart=2023-04-21T07:00:00.000+00:00 (repository=AKorezin/renovate-issue-12529) DEBUG: PR hourly limit remaining: 2 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculating branchConcurrentLimit (10) (repository=AKorezin/renovate-issue-12529) DEBUG: 0 already existing branches found: (repository=AKorezin/renovate-issue-12529) DEBUG: Branch concurrent limit remaining: 10 (repository=AKorezin/renovate-issue-12529) DEBUG: Calculated maximum branches remaining this run: 2 (repository=AKorezin/renovate-issue-12529) DEBUG: Branches limit = 2 (repository=AKorezin/renovate-issue-12529) DEBUG: syncBranchState() (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: syncBranchState(): Branch cache not found, creating minimal branchState (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: getBranchPr(renovate/pin-dependencies) (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: findPr(renovate/pin-dependencies, undefined, open) (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: branchExists=false (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: dependencyDashboardCheck=undefined (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: recreateClosed is false (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: findPr(renovate/pin-dependencies, Pin dependency AKorezin/renovate-issue-12529 to 3b98e56, !open) (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: prAlreadyExisted=false (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: Checking schedule(at any time, null) (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: No schedule defined (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: Branch needs creating (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: Using reuseExistingBranch: false (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: Setting current branch to main (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: latest commit (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) "branchName": "main", "latestCommitDate": "2021-11-06T14:06:26+03:00" DEBUG: manager.getUpdatedPackageFiles() reuseExistingBranch=false (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: Starting search at index 68 (repository=AKorezin/renovate-issue-12529, packageFile=example/example3.gitlab-ci.yml, branch=renovate/pin-dependencies) "depName": "AKorezin/renovate-issue-12529" DEBUG: Found match at index 68 (repository=AKorezin/renovate-issue-12529, packageFile=example/example3.gitlab-ci.yml, branch=renovate/pin-dependencies) "depName": "AKorezin/renovate-issue-12529" DEBUG: Digest is not updated (repository=AKorezin/renovate-issue-12529, packageFile=example/example3.gitlab-ci.yml, branch=renovate/pin-dependencies) "manager": "gitlabci-include", "expectedValue": "3b98e56f3bfd163e4f97dcc35c4794b26643ebd9", "foundValue": undefined WARN: Error updating branch: update failure (repository=AKorezin/renovate-issue-12529, branch=renovate/pin-dependencies) DEBUG: syncBranchState() (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: syncBranchState(): Branch cache not found, creating minimal branchState (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: getBranchPr(renovate/akorezin-renovate-issue-12529-3.x) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: findPr(renovate/akorezin-renovate-issue-12529-3.x, undefined, open) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: branchExists=false (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: dependencyDashboardCheck=undefined (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: recreateClosed is false (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: findPr(renovate/akorezin-renovate-issue-12529-3.x, Update dependency AKorezin/renovate-issue-12529 to v3, !open) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: prAlreadyExisted=false (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Checking schedule(at any time, null) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: No schedule defined (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Branch needs creating (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Using reuseExistingBranch: false (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Setting current branch to main (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: latest commit (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) "branchName": "main", "latestCommitDate": "2021-11-06T14:06:26+03:00" DEBUG: manager.getUpdatedPackageFiles() reuseExistingBranch=false (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Starting search at index 68 (repository=AKorezin/renovate-issue-12529, packageFile=example/example3.gitlab-ci.yml, branch=renovate/akorezin-renovate-issue-12529-3.x) "depName": "AKorezin/renovate-issue-12529" DEBUG: Found match at index 68 (repository=AKorezin/renovate-issue-12529, packageFile=example/example3.gitlab-ci.yml, branch=renovate/akorezin-renovate-issue-12529-3.x) "depName": "AKorezin/renovate-issue-12529" DEBUG: Contents updated (repository=AKorezin/renovate-issue-12529, packageFile=example/example3.gitlab-ci.yml, branch=renovate/akorezin-renovate-issue-12529-3.x) "depName": "AKorezin/renovate-issue-12529" DEBUG: Value is not updated (repository=AKorezin/renovate-issue-12529, packageFile=example/example1.gitlab-ci.yml, branch=renovate/akorezin-renovate-issue-12529-3.x) "manager": "gitlabci-include", "expectedValue": "3.0.0", "foundValue": "1.0.0" DEBUG: Starting search at index 68 (repository=AKorezin/renovate-issue-12529, packageFile=example/example1.gitlab-ci.yml, branch=renovate/akorezin-renovate-issue-12529-3.x) "depName": "AKorezin/renovate-issue-12529" DEBUG: Found match at index 68 (repository=AKorezin/renovate-issue-12529, packageFile=example/example1.gitlab-ci.yml, branch=renovate/akorezin-renovate-issue-12529-3.x) "depName": "AKorezin/renovate-issue-12529" DEBUG: Contents updated (repository=AKorezin/renovate-issue-12529, packageFile=example/example1.gitlab-ci.yml, branch=renovate/akorezin-renovate-issue-12529-3.x) "depName": "AKorezin/renovate-issue-12529" DEBUG: Updated 2 package files (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: No updated lock files in branch (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: 2 file(s) to commit (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Preparing files for committing to branch renovate/akorezin-renovate-issue-12529-3.x (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Setting git author name: AKorezin Renovate (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Setting git author email: source-email+renovate@yandex.ru (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: git commit (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) "deletedFiles": [], "ignoredFiles": [], "result": { "author": null, "branch": "renovate/akorezin-renovate-issue-12529-3.x", "commit": "2d322dc5958e60c147157048a97dee9a4134ecf0", "root": false, "summary": {"changes": 2, "insertions": 2, "deletions": 2} } DEBUG: Pushing refSpec renovate/akorezin-renovate-issue-12529-3.x:renovate/akorezin-renovate-issue-12529-3.x (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: git push (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) "result": { "pushed": [ { "deleted": false, "tag": false, "branch": true, "new": true, "alreadyUpdated": false, "local": "refs/heads/renovate/akorezin-renovate-issue-12529-3.x", "remote": "refs/heads/renovate/akorezin-renovate-issue-12529-3.x" } ], "ref": { "local": "refs/remotes/origin/renovate/akorezin-renovate-issue-12529-3.x" }, "remoteMessages": { "all": [ "To create a merge request for renovate/akorezin-renovate-issue-12529-3.x, visit:", "https://gitlab.com/AKorezin/renovate-issue-12529/-/merge_requests/new?merge_request%5Bsource_branch%5D=renovate%2Fakorezin-renovate-issue-12529-3.x" ], "pullRequestUrl": "https://gitlab.com/AKorezin/renovate-issue-12529/-/merge_requests/new?merge_request%5Bsource_branch%5D=renovate%2Fakorezin-renovate-issue-12529-3.x" } } DEBUG: Setting current branch to main (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: latest commit (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) "branchName": "main", "latestCommitDate": "2021-11-06T14:06:26+03:00" INFO: Branch created (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) "commitSha": "2d322dc5958e60c147157048a97dee9a4134ecf0" DEBUG: Ensuring PR (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: There are 0 errors and 0 warnings (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: getBranchPr(renovate/akorezin-renovate-issue-12529-3.x) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: findPr(renovate/akorezin-renovate-issue-12529-3.x, undefined, open) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: getPrCache() (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Fetching changelog: https://gitlab.com/AKorezin/renovate-issue-12529 (2.0.0 -> 3.0.0) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Fetching changelog: https://gitlab.com/AKorezin/renovate-issue-12529 (1.0.0 -> 3.0.0) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Creating PR (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) "prTitle": "Update dependency AKorezin/renovate-issue-12529 to v3" DEBUG: Creating Merge Request: Update dependency AKorezin/renovate-issue-12529 to v3 (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) INFO: PR created (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) "pr": 2, "prTitle": "Update dependency AKorezin/renovate-issue-12529 to v3" DEBUG: addParticipants(pr=2) (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: setPrCache() (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: Created Pull Request #2 (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: PR is not configured for automerge (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: setBranchCommit() (repository=AKorezin/renovate-issue-12529, branch=renovate/akorezin-renovate-issue-12529-3.x) DEBUG: getPrCache() (repository=AKorezin/renovate-issue-12529) DEBUG: getBranchPr(renovate/akorezin-renovate-issue-12529-3.x) (repository=AKorezin/renovate-issue-12529) DEBUG: findPr(renovate/akorezin-renovate-issue-12529-3.x, undefined, open) (repository=AKorezin/renovate-issue-12529) DEBUG: getPrCache() (repository=AKorezin/renovate-issue-12529) DEBUG: Ensuring Dependency Dashboard (repository=AKorezin/renovate-issue-12529) DEBUG: ensureIssue() (repository=AKorezin/renovate-issue-12529) INFO: Issue created (repository=AKorezin/renovate-issue-12529) DEBUG: Removing any stale branches (repository=AKorezin/renovate-issue-12529) DEBUG: config.repoIsOnboarded=true (repository=AKorezin/renovate-issue-12529) DEBUG: Branch lists (repository=AKorezin/renovate-issue-12529) "branchList": ["renovate/akorezin-renovate-issue-12529-3.x", "renovate/pin-dependencies"], "renovateBranches": ["renovate/akorezin-renovate-issue-12529-3.x"] DEBUG: remainingBranches= (repository=AKorezin/renovate-issue-12529) DEBUG: No branches to clean up (repository=AKorezin/renovate-issue-12529) DEBUG: ensureIssueClosing() (repository=AKorezin/renovate-issue-12529) DEBUG: PackageFiles.clear() - Package files deleted (repository=AKorezin/renovate-issue-12529) DEBUG: Branch summary (repository=AKorezin/renovate-issue-12529) "cacheModified": undefined, "baseBranches": [{"branchName": "main", "sha": "3b98e56f3bfd163e4f97dcc35c4794b26643ebd9"}], "branches": [ { "automerge": false, "baseBranch": "main", "baseBranchSha": "3b98e56f3bfd163e4f97dcc35c4794b26643ebd9", "branchName": "renovate/akorezin-renovate-issue-12529-3.x", "branchSha": "2d322dc5958e60c147157048a97dee9a4134ecf0", "isModified": false, "isPristine": true } ], "inactiveBranches": ["renovate/pin-dependencies"] DEBUG: Renovate repository PR statistics (repository=AKorezin/renovate-issue-12529) "stats": {"total": 1, "open": 0, "closed": 0, "merged": 0} DEBUG: Repository result: done, status: onboarded, enabled: true, onboarded: true (repository=AKorezin/renovate-issue-12529) DEBUG: Repository timing splits (milliseconds) (repository=AKorezin/renovate-issue-12529) "splits": {"init": 6021, "extract": 738, "lookup": 1532, "onboarding": 1, "update": 4761}, "total": 14093 DEBUG: Package cache statistics (repository=AKorezin/renovate-issue-12529) "get": {"count": 6, "avgMs": 2, "medianMs": 0, "maxMs": 7}, "set": {"count": 8, "avgMs": 10, "medianMs": 5, "maxMs": 24} DEBUG: http statistics (repository=AKorezin/renovate-issue-12529) "urls": { "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/issues (GET,200)": 2, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/issues (POST,201)": 1, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/merge_requests (GET,200)": 1, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/merge_requests (POST,201)": 1, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/releases (GET,200)": 1, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/repository/commits/3.0.0 (GET,200)": 1, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/repository/tags (GET,200)": 2, "https://gitlab.com/api/v4/projects/AKorezin%2Frenovate-issue-12529/repository/tree (GET,200)": 1 }, "hostStats": {"gitlab.com": {"requestCount": 10, "requestAvgMs": 514, "queueAvgMs": 0}}, "totalRequests": 10 DEBUG: Package lookup durations (repository=AKorezin/renovate-issue-12529) "gitlab-tags": {"count": 2, "averageMs": 1383, "totalMs": 2766, "maximumMs": 1387} DEBUG: dns cache (repository=AKorezin/renovate-issue-12529) "hosts": [] INFO: Repository finished (repository=AKorezin/renovate-issue-12529) "cloned": true, "durationMs": 14093 DEBUG: Checking file package cache for expired items DEBUG: Deleted 0 of 6 file cached entries in 12ms DEBUG: Renovate exiting ```
rarkins commented 1 year ago

Repo not found. Please import it to a public repo on github.com

AKorezin commented 1 year ago

Oh, I'm sorry. For some reason, the repo was private. Do I still have to import it to GitHub?

rarkins commented 1 year ago

Yes please, otherwise we can't fork it

AKorezin commented 1 year ago

Here you are https://github.com/AKorezin/renovate-issue-12529

rarkins commented 1 year ago

Reproduction forked to https://github.com/renovate-reproductions/12529