jycouet / VSTSExtensions

MIT License
30 stars 11 forks source link

Unsupported platform 'azure' for local preset. #39

Closed kamil-mrzyglod closed 3 years ago

kamil-mrzyglod commented 3 years ago

Describe the bug Hi. Sorry if I missed anything during configuration, but I'm struggling to use the tasks and can't find a reason for that. I'm using YAML pipelines, installed the extension, ensured Node.js version is sufficient and elevated permissions for the build service. I'm using ADO Services.

To Reproduce Steps to reproduce the behavior:

  1. Install the extension
  2. Add Renovate step to the pipeline
  3. Run the pipeline
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Additional context Error log from the pipeline:

/usr/local/bin/npx renovate@latest GPROJECT/GPROJECT --platform azure --endpoint https://thecloudtheory.visualstudio.com/ --token ***
 INFO: Repository started (repository=GPROJECT/GPROJECT)
       "renovateVersion": "24.11.6"
 WARN: Unknown error fetching default owner preset (repository=GPROJECT/GPROJECT)
       "err": {
         "message": "Unsupported platform 'azure' for local preset.",
         "stack": "Error: Unsupported platform 'azure' for local preset.\n    at Object.getPreset (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/config/presets/local/index.js:43:19)\n    at Object.getPreset (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/config/presets/index.js:164:58)\n    at Object.getOnboardingConfig (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/config.js:16:25)\n    at Object.createOnboardingBranch (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/create.js:12:37)\n    at Object.checkOnboardingBranch (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/index.js:42:39)\n    at async Object.getRepoConfig (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/init/config.js:230:14)\n    at async Object.initRepo (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/init/index.js:19:14)\n    at async Object.renovateRepository (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/index.js:60:18)\n    at async Object.start (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/global/index.js:77:13)\n    at async /home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/renovate.js:28:24"
       }
 WARN: Unknown error fetching default owner preset (repository=GPROJECT/GPROJECT)
       "err": {
         "message": "Unsupported platform 'azure' for local preset.",
         "stack": "Error: Unsupported platform 'azure' for local preset.\n    at Object.getPreset (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/config/presets/local/index.js:43:19)\n    at Object.getPreset (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/config/presets/index.js:164:58)\n    at Object.getOnboardingConfig (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/config.js:28:29)\n    at async Object.createOnboardingBranch (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/create.js:12:22)\n    at async Object.checkOnboardingBranch (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/index.js:42:24)\n    at async Object.getRepoConfig (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/init/config.js:230:14)\n    at async Object.initRepo (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/init/index.js:19:14)\n    at async Object.renovateRepository (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/repository/index.js:60:18)\n    at async Object.start (/home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/workers/global/index.js:77:13)\n    at async /home/vsts/.npm/_npx/3136/lib/node_modules/renovate/dist/renovate.js:28:24"
       }
 INFO: Repository has changed during renovation - aborting (repository=GPROJECT/GPROJECT)
 INFO: Repository finished (repository=GPROJECT/GPROJECT)
       "durationMs": 3055
jycouet commented 3 years ago

Let's wait for the main renovate first. Do you have already a renovate.json file or not even? If yes, could you share it?

viceice commented 3 years ago

This is not a bug, that are only warnings, so you can safely ignore them.

jycouet commented 3 years ago

Thx @viceice for the quick comment. I'll wait for @kamil-mrzyglod feedback and proceed.

viceice commented 3 years ago

This warning only occures on onboarding and shouldn't be visible on normal processing

kamil-mrzyglod commented 3 years ago

Hey guys, thanks for quick answer!

@jycouet - sorry, don't have one. Should I introduce one? I based the pipeline on the short tutorial from the extension page and while read about renovate.json in the docs, I wasn't sure it's required.

jycouet commented 3 years ago

It's not required at your stage, it was just to know if you try something 'complex'.

So you are just at the onboarding.

As it was said, it's just a warning, so you should have a PR done to finalize the onboarding process. No?

Le jeu. 7 janv. 2021 à 20:24, Kamil Mrzygłód notifications@github.com a écrit :

Hey guys, thanks for quick answer!

@jycouet https://github.com/jycouet - sorry, don't have one. Should I introduce one? I based the pipeline on the short tutorial from the extension page and while read about renovate.json in the docs, I wasn't sure it's required.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jycouet/VSTSExtensions/issues/39#issuecomment-756327271, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIRAX6UCJ3NVF7VJY7S7S3SYYC75ANCNFSM4VZFKM4Q .

kamil-mrzyglod commented 3 years ago

Unfortunately no PR is created.

jycouet commented 3 years ago

Is it possible to get access to the repo to see or share screen? (DM me) I can have a look this weekend

Le jeu. 7 janv. 2021 à 20:32, Kamil Mrzygłód notifications@github.com a écrit :

Unfortunately no PR is created.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jycouet/VSTSExtensions/issues/39#issuecomment-756333499, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIRAX7PB3CPYMKGYRL6RBTSYYD6DANCNFSM4VZFKM4Q .

kamil-mrzyglod commented 3 years ago

I'll try to create empty project to double-check it's something related with this particular project or my configuration. Then I'll try to arrange some access for you.

viceice commented 3 years ago

Can you please provide all configs. I think there is something wrong.

Have you tried to run again? Looks like the repo was changed while renovate was running.

kamil-mrzyglod commented 3 years ago

The pipeline looks like this:

trigger:
- master

variables:
  LOCATION: 'westeurope'
  APPLICATION_VERSION: '$(Build.BuildNumber)'

stages:
- stage: Build
  jobs:
  - job: BuildWeb
    steps:
    - task: RenovateMe@0
      inputs:
        renovateOptionsVersion: 'latest'
    - task: Npm@1
      inputs:
        command: 'install'
        workingDir: 'GPROJECT.Web'

<additional-code>

There are 3 jobs in the Build stage but they are run one-by-one. I've just changed the pipeline to the following:

stages:
- stage: Renovate
  jobs:
  - job: Renovate
    steps:
    - task: RenovateMe@0
      inputs:
        renovateOptionsVersion: 'latest'
- stage: Build
  jobs:
  - job: BuildWeb
    steps:
    - task: Npm@1
      inputs:
        command: 'install'
        workingDir: 'GPROJECT.Web'

<additional-code>

But the result is still the same. package.json looks like this:

{
  "name": "grproject.web",
  "version": "1.0.0",
  "description": "GRPOJECT.Web",
  "main": "app.js",
  "scripts": {
    "start": "grunt start",
    "start-verbose": "grunt start --verbose",
    "start-debug": "grunt start-debug",
    "build": "grunt build",
    "build-verbose": "grunt build --verbose",
    "build-prod": "grunt build-prod",
    "test": "jest"
  },
  "keywords": [
    "gproject"
  ],
  "author": "TheCloudTheory",
  "license": "ISC",
  "devDependencies": {
    "@testing-library/react": "^9.3.2",
    "@types/jest": "^24.0.23",
    "connect-modrewrite": "^0.10.2",
    "grunt": "^1.0.4",
    "grunt-browserify": "^5.3.0",
    "grunt-contrib-connect": "^2.1.0",
    "grunt-contrib-copy": "^1.0.0",
    "grunt-contrib-watch": "^1.1.0",
    "grunt-env": "^1.0.1",
    "grunt-replace": "^1.0.1",
    "grunt-run": "^0.8.1",
    "grunt-ts": "6.0.0-beta.22",
    "jest": "^24.9.0",
    "ts-jest": "^24.1.0",
    "typescript": "^3.7.2"
  },
  "dependencies": {
    "@microsoft/applicationinsights-react-js": "^2.3.1",
    "@microsoft/applicationinsights-web": "^2.3.1",
    "@types/react": "^16.9.11",
    "@types/react-dom": "^16.9.4",
    "axios": "^0.19.1",
    "history": "^4.10.1",
    "moment": "^2.24.0",
    "react": "^16.12.0",
    "react-aad-msal": "^0.4.12",
    "react-dom": "^16.12.0",
    "react-router-dom": "^5.1.2",
    "react-to-print": "^2.6.3",
    "semantic-ui-calendar-react": "^0.15.3",
    "semantic-ui-react": "^0.87.3"
  }
}
viceice commented 3 years ago

Do you run renovate only on master commits? Renovate should be run on schedule.

Can you please run it again and paste the logs.

viceice commented 3 years ago

Also please run with logLevel=debug

kamil-mrzyglod commented 3 years ago

For now it's just for the sake of trying - in the end I want to use it in a separate pipeline run with CRON expression. Debug log below.

2021-01-07T20:24:46.0566668Z ==============================================================================
2021-01-07T20:24:46.0566959Z Task         : Renovate Me
2021-01-07T20:24:46.0567174Z Description  : Renovate your libs on your selected VSTS repo
2021-01-07T20:24:46.0567371Z Version      : 0.1.0
2021-01-07T20:24:46.0567570Z Author       : Jean-Yves COUET
2021-01-07T20:24:46.0567951Z Help         : [Renovate Me](https://marketplace.visualstudio.com/items?itemName=jyc.vsts-extensions-renovate-me) based on [renovate](https://github.com/singapore/renovate)
2021-01-07T20:24:46.0568508Z ==============================================================================
2021-01-07T20:24:46.1295033Z ##[debug]Using node path: /home/vsts/agents/2.179.0/externals/node/bin/node
2021-01-07T20:24:46.4667598Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2021-01-07T20:24:46.4668780Z ##[debug]loading inputs and endpoints
2021-01-07T20:24:46.4669215Z ##[debug]loading INPUT_RENOVATEOPTIONSVERSION
2021-01-07T20:24:46.4669595Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2021-01-07T20:24:46.4670439Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2021-01-07T20:24:46.4671078Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2021-01-07T20:24:46.4671671Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2021-01-07T20:24:46.4671985Z ##[debug]loaded 5
2021-01-07T20:24:46.4677847Z ##[debug]Agent.ProxyUrl=undefined
2021-01-07T20:24:46.4678622Z ##[debug]Agent.CAInfo=undefined
2021-01-07T20:24:46.4679380Z ##[debug]Agent.ClientCert=undefined
2021-01-07T20:24:46.4680024Z ##[debug]Agent.SkipCertValidation=undefined
2021-01-07T20:24:46.4704672Z ##[debug]SYSTEMVSSCONNECTION auth param ACCESSTOKEN = ***
2021-01-07T20:24:46.4705541Z ##[debug]renovateOptionsVersion=latest
2021-01-07T20:24:46.4705939Z ##[debug]renovateOptionsArgs=null
2021-01-07T20:24:46.4708731Z ##[debug]renovateArgs to run: "GPROJECT"/"GPROJECT" --platform azure --endpoint https://thecloudtheory.visualstudio.com/ --token *** 
2021-01-07T20:24:46.4709310Z ##[debug]Run renovate
2021-01-07T20:24:46.4712644Z ##[debug]which 'npx'
2021-01-07T20:24:46.4722148Z ##[debug]found: '/usr/local/bin/npx'
2021-01-07T20:24:46.4722747Z ##[debug]which 'npx'
2021-01-07T20:24:46.4723204Z ##[debug]found: '/usr/local/bin/npx'
2021-01-07T20:24:46.4740528Z ##[debug]/usr/local/bin/npx arg: renovate@latest "GPROJECT"/"GPROJECT" --platform azure --endpoint https://thecloudtheory.visualstudio.com/ --token *** 
2021-01-07T20:24:46.4743361Z ##[debug]/usr/local/bin/npx arg: renovate@latest "GPROJECT"/"GPROJECT" --platform azure --endpoint https://thecloudtheory.visualstudio.com/ --token *** 
2021-01-07T20:24:46.4754305Z ##[debug]exec tool: /usr/local/bin/npx
2021-01-07T20:24:46.4756225Z ##[debug]exec tool: /usr/local/bin/npx
2021-01-07T20:24:46.4758652Z ##[debug]arguments:
2021-01-07T20:24:46.4760646Z ##[debug]arguments:
2021-01-07T20:24:46.4763099Z ##[debug]   renovate@latest
2021-01-07T20:24:46.4765731Z ##[debug]   renovate@latest
2021-01-07T20:24:46.4767702Z ##[debug]   GPROJECT/GPROJECT
2021-01-07T20:24:46.4768048Z ##[debug]   GPROJECT/GPROJECT
2021-01-07T20:24:46.4769104Z ##[debug]   --platform
2021-01-07T20:24:46.4771989Z ##[debug]   --platform
2021-01-07T20:24:46.4772827Z ##[debug]   azure
2021-01-07T20:24:46.4773130Z ##[debug]   azure
2021-01-07T20:24:46.4775579Z ##[debug]   --endpoint
2021-01-07T20:24:46.4776106Z ##[debug]   --endpoint
2021-01-07T20:24:46.4776455Z ##[debug]   https://thecloudtheory.visualstudio.com/
2021-01-07T20:24:46.4776857Z ##[debug]   https://thecloudtheory.visualstudio.com/
2021-01-07T20:24:46.4777338Z ##[debug]   --token
2021-01-07T20:24:46.4777790Z ##[debug]   --token
2021-01-07T20:24:46.4779916Z ##[debug]   ***
2021-01-07T20:24:46.4784141Z ##[debug]   ***
2021-01-07T20:24:46.4788389Z [command]/usr/local/bin/npx renovate@latest GPROJECT/GPROJECT --platform azure --endpoint https://thecloudtheory.visualstudio.com/ --token ***
2021-01-07T20:25:14.4044784Z  INFO: Repository started (repository=GPROJECT/GPROJECT)
2021-01-07T20:25:14.4049177Z        "renovateVersion": "24.11.6"
2021-01-07T20:25:16.8660313Z  WARN: Unknown error fetching default owner preset (repository=GPROJECT/GPROJECT)
2021-01-07T20:25:16.8702161Z        "err": {
2021-01-07T20:25:16.8704694Z          "message": "Unsupported platform 'azure' for local preset.",
2021-01-07T20:25:16.8711272Z          "stack": "Error: Unsupported platform 'azure' for local preset.\n    at Object.getPreset (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/config/presets/local/index.js:43:19)\n    at Object.getPreset (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/config/presets/index.js:164:58)\n    at Object.getOnboardingConfig (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/config.js:16:25)\n    at Object.createOnboardingBranch (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/create.js:12:37)\n    at Object.checkOnboardingBranch (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/index.js:42:39)\n    at async Object.getRepoConfig (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/init/config.js:230:14)\n    at async Object.initRepo (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/init/index.js:19:14)\n    at async Object.renovateRepository (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/index.js:60:18)\n    at async Object.start (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/global/index.js:77:13)\n    at async /home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/renovate.js:28:24"
2021-01-07T20:25:16.8715974Z        }
2021-01-07T20:25:16.8720504Z  WARN: Unknown error fetching default owner preset (repository=GPROJECT/GPROJECT)
2021-01-07T20:25:16.8721350Z        "err": {
2021-01-07T20:25:16.8722349Z          "message": "Unsupported platform 'azure' for local preset.",
2021-01-07T20:25:16.8726173Z          "stack": "Error: Unsupported platform 'azure' for local preset.\n    at Object.getPreset (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/config/presets/local/index.js:43:19)\n    at Object.getPreset (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/config/presets/index.js:164:58)\n    at Object.getOnboardingConfig (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/config.js:28:29)\n    at async Object.createOnboardingBranch (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/create.js:12:22)\n    at async Object.checkOnboardingBranch (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/index.js:42:24)\n    at async Object.getRepoConfig (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/init/config.js:230:14)\n    at async Object.initRepo (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/init/index.js:19:14)\n    at async Object.renovateRepository (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/repository/index.js:60:18)\n    at async Object.start (/home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/workers/global/index.js:77:13)\n    at async /home/vsts/.npm/_npx/3152/lib/node_modules/renovate/dist/renovate.js:28:24"
2021-01-07T20:25:16.8728812Z        }
2021-01-07T20:25:17.3958645Z  INFO: Repository has changed during renovation - aborting (repository=GPROJECT/GPROJECT)
2021-01-07T20:25:17.4213780Z  INFO: Repository finished (repository=GPROJECT/GPROJECT)
2021-01-07T20:25:17.4214934Z        "durationMs": 3020
2021-01-07T20:25:18.8106600Z ##[debug]Exit code 0 received from tool '/usr/local/bin/npx'
2021-01-07T20:25:18.8109911Z ##[debug]Exit code 0 received from tool '/usr/local/bin/npx'
2021-01-07T20:25:18.8191162Z ##[debug]STDIO streams have closed for tool '/usr/local/bin/npx'
2021-01-07T20:25:18.8196913Z ##[debug]STDIO streams have closed for tool '/usr/local/bin/npx'
2021-01-07T20:25:18.8219213Z ##[debug]Renovate done
2021-01-07T20:25:18.8225310Z ##[debug]task result: Succeeded
2021-01-07T20:25:18.8242103Z ##[debug]Processed: ##vso[task.complete result=Succeeded;]
2021-01-07T20:25:18.8284500Z ##[section]Finishing: RenovateMe
viceice commented 3 years ago

Ok, i want renovate debug logs, not azure pipeline debug.

So please add --log-level debug as extra renovate args.

kamil-mrzyglod commented 3 years ago

Hey, here's the proper log. What I see it tells me the principal doesn't have proper permissions. Will try to double check that.

2021-01-07T20:41:49.3694404Z [command]/usr/local/bin/npx renovate@latest GPROJECT/GPROJECT --platform azure --endpoint https://thecloudtheory.visualstudio.com/ --token *** --log-level debug
2021-01-07T20:42:19.7722990Z DEBUG: File config
2021-01-07T20:42:19.7725479Z        "config": {}
2021-01-07T20:42:19.7765286Z DEBUG: CLI config
2021-01-07T20:42:19.7766211Z        "config": {
2021-01-07T20:42:19.7862856Z          "repositories": ["GPROJECT/GPROJECT"],
2021-01-07T20:42:19.7863613Z          "logLevel": "debug",
2021-01-07T20:42:19.7864276Z          "platform": "azure",
2021-01-07T20:42:19.7864880Z          "endpoint": "https://thecloudtheory.visualstudio.com/",
2021-01-07T20:42:19.7865921Z          "token": "***********"
2021-01-07T20:42:19.7866500Z        }
2021-01-07T20:42:19.7866914Z DEBUG: Env config
2021-01-07T20:42:19.7867373Z        "config": {"hostRules": []}
2021-01-07T20:42:19.7867936Z DEBUG: Combined config
2021-01-07T20:42:19.7868396Z        "config": {
2021-01-07T20:42:19.7868769Z          "hostRules": [],
2021-01-07T20:42:19.7869291Z          "repositories": ["GPROJECT/GPROJECT"],
2021-01-07T20:42:19.7869709Z          "logLevel": "debug",
2021-01-07T20:42:19.7870045Z          "platform": "azure",
2021-01-07T20:42:19.7870461Z          "endpoint": "https://thecloudtheory.visualstudio.com/",
2021-01-07T20:42:19.7870841Z          "token": "***********"
2021-01-07T20:42:19.7871150Z        }
2021-01-07T20:42:19.7871437Z DEBUG: Adding trailing slash to endpoint
2021-01-07T20:42:19.7871842Z DEBUG: Using default gitAuthor: Renovate Bot <renovate@whitesourcesoftware.com>
2021-01-07T20:42:19.7872423Z DEBUG: Using baseDir: /tmp/renovate
2021-01-07T20:42:19.7872923Z DEBUG: Using cacheDir: /tmp/renovate/cache
2021-01-07T20:42:19.7874042Z DEBUG: Initializing Renovate internal cache into /tmp/renovate/cache/renovate/renovate-cache-v1
2021-01-07T20:42:19.8003908Z DEBUG: Commits limit = null
2021-01-07T20:42:19.8007414Z  INFO: Repository started (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:19.8007840Z        "renovateVersion": "24.11.6"
2021-01-07T20:42:19.8008192Z DEBUG: Using localDir: /tmp/renovate/repos/azure/GPROJECT/GPROJECT (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:19.8008552Z DEBUG: initRepo("GPROJECT/GPROJECT") (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.0628869Z DEBUG: Repository details (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.0630378Z        "repositoryDetails": {
2021-01-07T20:42:20.0632291Z          "id": "e596c00b-3b20-44c1-a9d3-f603eecb8b9f",
2021-01-07T20:42:20.0633091Z          "name": "GPROJECT",
2021-01-07T20:42:20.0634718Z          "url": "https://thecloudtheory.visualstudio.com/558ad9c3-60ef-4212-97f2-83d64f482761/_apis/git/repositories/e596c00b-3b20-44c1-a9d3-f603eecb8b9f",
2021-01-07T20:42:20.0635817Z          "project": {
2021-01-07T20:42:20.0636905Z            "id": "558ad9c3-60ef-4212-97f2-83d64f482761",
2021-01-07T20:42:20.0637636Z            "name": "GPROJECT",
2021-01-07T20:42:20.0638967Z            "url": "https://thecloudtheory.visualstudio.com/_apis/projects/558ad9c3-60ef-4212-97f2-83d64f482761",
2021-01-07T20:42:20.0639897Z            "state": "wellFormed",
2021-01-07T20:42:20.0640531Z            "revision": 74,
2021-01-07T20:42:20.0641670Z            "visibility": 0,
2021-01-07T20:42:20.0642800Z            "lastUpdateTime": "2019-08-14T06:32:36.300Z"
2021-01-07T20:42:20.0643486Z          },
2021-01-07T20:42:20.0644119Z          "defaultBranch": "refs/heads/master",
2021-01-07T20:42:20.0644769Z          "size": 762012,
2021-01-07T20:42:20.0645546Z          "remoteUrl": "https://thecloudtheory.visualstudio.com/GPROJECT/_git/GPROJECT",
2021-01-07T20:42:20.0647011Z          "sshUrl": "thecloudtheory@vs-ssh.visualstudio.com:v3/thecloudtheory/GPROJECT/GPROJECT",
2021-01-07T20:42:20.0648488Z          "webUrl": "https://thecloudtheory.visualstudio.com/GPROJECT/_git/GPROJECT"
2021-01-07T20:42:20.0649199Z        }
2021-01-07T20:42:20.0649850Z DEBUG: GPROJECT/GPROJECT owner = ?owner? (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.0650699Z DEBUG: GPROJECT/GPROJECT default branch = master (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.4958634Z DEBUG: resetMemCache() (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.4968871Z DEBUG: checkOnboarding() (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.4974211Z DEBUG: isOnboarded() (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.4980205Z DEBUG: findFile(renovate.json) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.4996804Z DEBUG: Initializing git repository into /tmp/renovate/repos/azure/GPROJECT/GPROJECT (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.9797491Z DEBUG: git clone completed (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:20.9799909Z        "durationMs": 474
2021-01-07T20:42:21.0148858Z DEBUG: latest commit (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.0150607Z        "latestCommitDate": "2021-01-07T20:41:29+00:00"
2021-01-07T20:42:21.0151392Z DEBUG: Setting git author name (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.0151686Z        "gitAuthorName": "Renovate Bot"
2021-01-07T20:42:21.0227954Z DEBUG: Setting git author email (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.0229023Z        "gitAuthorEmail": "renovate@whitesourcesoftware.com"
2021-01-07T20:42:21.0573634Z DEBUG: findFile(renovate.json5) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.0703917Z DEBUG: findFile(.github/renovate.json) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.0834227Z DEBUG: findFile(.github/renovate.json5) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.0989537Z DEBUG: findFile(.gitlab/renovate.json) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.1121196Z DEBUG: findFile(.gitlab/renovate.json5) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.1253956Z DEBUG: findFile(.renovaterc) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.1390217Z DEBUG: findFile(.renovaterc.json) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.1512160Z DEBUG: config file not found (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.1539797Z DEBUG: getPrList() (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5075279Z DEBUG: Retrieved Pull Requests (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5075980Z        "length": 1
2021-01-07T20:42:21.5076624Z DEBUG: Found no closed onboarding PR (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5082085Z DEBUG: Repo is not onboarded (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5088888Z DEBUG: getBranchPr(renovate/configure) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5093164Z DEBUG: getPrList() (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5096954Z DEBUG: Onboarding PR does not exist (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5438753Z DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5488143Z DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager ansible-galaxy (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5528069Z DEBUG: Using file match: azure.*pipelines?.*\.ya?ml$ for manager azure-pipelines (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5650349Z DEBUG: Using file match: (^|/)batect(-bundle)?\.yml$ for manager batect (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5651399Z DEBUG: Using file match: (^|/)batect$ for manager batect-wrapper (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5682507Z DEBUG: Using file match: (^|/)WORKSPACE(|\.bazel)$ for manager bazel (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5701279Z DEBUG: Using file match: \.bzl$ for manager bazel (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5769260Z DEBUG: Using file match: buildkite\.ya?ml for manager buildkite (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5770788Z DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5814108Z DEBUG: Using file match: (^|/)Gemfile$ for manager bundler (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5922306Z DEBUG: Using file match: (^|/)Cargo.toml$ for manager cargo (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.5986439Z DEBUG: Using file match: (^|/).circleci/config.yml$ for manager circleci (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6049713Z DEBUG: Using file match: (^|/)Podfile$ for manager cocoapods (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6137802Z DEBUG: Using file match: (^|/)([\w-]*)composer.json$ for manager composer (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6220542Z DEBUG: Using file match: (^|/)deps\.edn$ for manager deps-edn (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6276115Z DEBUG: Using file match: (^|/)docker-compose[^/]*\.ya?ml$ for manager docker-compose (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6358935Z DEBUG: Using file match: (^|/|\.)Dockerfile$ for manager dockerfile (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6362387Z DEBUG: Using file match: (^|/)Dockerfile\.[^/]*$ for manager dockerfile (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6410432Z DEBUG: Using file match: (^|/).drone.yml$ for manager droneci (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6478882Z DEBUG: Using file match: (^|/).gitmodules$ for manager git-submodules (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6522823Z DEBUG: Using file match: ^\.github/workflows/[^/]+\.ya?ml$ for manager github-actions (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6560266Z DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6589281Z DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci-include (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6620121Z DEBUG: Using file match: (^|/)go.mod$ for manager gomod (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6652352Z DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6655662Z DEBUG: Using file match: (^|/)gradle.properties$ for manager gradle (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6682147Z DEBUG: Using file match: (^|/)gradle.properties$ for manager gradle-lite (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6686449Z DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle-lite (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6712220Z DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper.properties$ for manager gradle-wrapper (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6765406Z DEBUG: Using file match: (^|/)requirements\.yaml$ for manager helm-requirements (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6809650Z DEBUG: Using file match: (^|/)values.yaml$ for manager helm-values (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6838606Z DEBUG: Using file match: (^|/)helmfile.yaml$ for manager helmfile (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6868568Z DEBUG: Using file match: (^|/)Chart.yaml$ for manager helmv3 (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6900979Z DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6924096Z DEBUG: Using file match: \.html?$ for manager html (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6947235Z DEBUG: Using file match: (^|/)plugins\.txt for manager jenkins (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.6999894Z DEBUG: Using file match: (^|/)kustomization\.yaml for manager kustomize (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7029463Z DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7057372Z DEBUG: Using file match: \.pom\.xml$ for manager maven (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7059957Z DEBUG: Using file match: (^|/)pom\.xml$ for manager maven (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7088653Z DEBUG: Using file match: (^|/)package.js$ for manager meteor (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7121451Z DEBUG: Using file match: (^|/)mix\.exs$ for manager mix (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7152652Z DEBUG: Using file match: ^.node-version$ for manager nodenv (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7185400Z DEBUG: Using file match: (^|/)package.json$ for manager npm (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7216583Z DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7218740Z DEBUG: Using file match: \.(?:props|targets)$ for manager nuget (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7223867Z DEBUG: Using file match: \.config\/dotnet-tools\.json$ for manager nuget (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7273310Z DEBUG: Using file match: (^|/)\.nvmrc$ for manager nvm (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7287374Z DEBUG: Using file match: (^|/)([\w-]*)requirements.(txt|pip)$ for manager pip_requirements (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7316609Z DEBUG: Using file match: (^|/)setup.py$ for manager pip_setup (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7345941Z DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7374817Z DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7402208Z DEBUG: Using file match: (^|/)\.pre-commit-config\.yaml$ for manager pre-commit (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7434976Z DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7471712Z DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7498527Z DEBUG: Using file match: \.sbt$ for manager sbt (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7502761Z DEBUG: Using file match: project/[^/]*.scala$ for manager sbt (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7534597Z DEBUG: Using file match: (^|/)setup\.cfg$ for manager setup-cfg (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7561630Z DEBUG: Using file match: (^|/)Package\.swift for manager swift (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7588965Z DEBUG: Using file match: \.tf$ for manager terraform (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7614725Z DEBUG: Using file match: (^|/)\.terraform-version$ for manager terraform-version (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7640108Z DEBUG: Using file match: (^|/)terragrunt\.hcl$ for manager terragrunt (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7710349Z DEBUG: Using file match: ^.travis.yml$ for manager travis (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7710818Z DEBUG: Matched 1 file(s) for manager html: GPROJECT.Web/index.html (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7711246Z DEBUG: Matched 1 file(s) for manager npm: GPROJECT.Web/package.json (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7711917Z DEBUG: Matched 4 file(s) for manager nuget: GPROJECT.Api/GPROJECT.Api.csproj, GPROJECT.Migrator/GPROJECT.Migrator.csproj, GPROJECT.Test/GPROJECT.Test.csproj, GPROJECT.Web/GPROJECT.Web.csproj (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7762588Z DEBUG: npm file GPROJECT.Web/package.json has name "grproject.web" (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7878679Z DEBUG: Detecting Lerna and Yarn Workspaces (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7880057Z DEBUG: Finding locked versions (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7881710Z DEBUG: Found GPROJECT.Web/package-lock.json for GPROJECT.Web/package.json (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7991408Z DEBUG: Found npm package files (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7993055Z DEBUG: Found nuget package files (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7993661Z DEBUG: Found 5 package file(s) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7994645Z DEBUG: Need to create onboarding PR (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7995517Z DEBUG: createOnboardingBranch() (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.7996709Z DEBUG: Checking if this org/owner has a default Renovate preset which can be used. (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.8010523Z  WARN: Unknown error fetching default owner preset (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.8011064Z        "err": {
2021-01-07T20:42:21.8011932Z          "message": "Unsupported platform 'azure' for local preset.",
2021-01-07T20:42:21.8015984Z          "stack": "Error: Unsupported platform 'azure' for local preset.\n    at Object.getPreset (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/config/presets/local/index.js:43:19)\n    at Object.getPreset (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/config/presets/index.js:164:58)\n    at Object.getOnboardingConfig (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/config.js:16:25)\n    at Object.createOnboardingBranch (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/create.js:12:37)\n    at Object.checkOnboardingBranch (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/index.js:42:39)\n    at async Object.getRepoConfig (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/init/config.js:230:14)\n    at async Object.initRepo (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/init/index.js:19:14)\n    at async Object.renovateRepository (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/index.js:60:18)\n    at async Object.start (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/global/index.js:77:13)\n    at async /home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/renovate.js:28:24"
2021-01-07T20:42:21.8019319Z        }
2021-01-07T20:42:21.8019939Z  WARN: Unknown error fetching default owner preset (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.8020802Z        "err": {
2021-01-07T20:42:21.8021560Z          "message": "Unsupported platform 'azure' for local preset.",
2021-01-07T20:42:21.8025937Z          "stack": "Error: Unsupported platform 'azure' for local preset.\n    at Object.getPreset (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/config/presets/local/index.js:43:19)\n    at Object.getPreset (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/config/presets/index.js:164:58)\n    at Object.getOnboardingConfig (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/config.js:28:29)\n    at async Object.createOnboardingBranch (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/create.js:12:22)\n    at async Object.checkOnboardingBranch (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/onboarding/branch/index.js:42:24)\n    at async Object.getRepoConfig (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/init/config.js:230:14)\n    at async Object.initRepo (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/init/index.js:19:14)\n    at async Object.renovateRepository (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/repository/index.js:60:18)\n    at async Object.start (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/workers/global/index.js:77:13)\n    at async /home/vsts/.npm/_npx/3671/lib/node_modules/renovate/dist/renovate.js:28:24"
2021-01-07T20:42:21.8028677Z        }
2021-01-07T20:42:21.8029413Z DEBUG: No default org/owner preset found, so the default onboarding config will be used instead. Note: do not be concerned with any 404 messages that preceded this. (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.8030182Z DEBUG: onboarding config (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.8031110Z        "config": {"$schema": "https://docs.renovatebot.com/renovate-schema.json"}
2021-01-07T20:42:21.8031787Z DEBUG: Creating onboarding branch (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:21.8032543Z DEBUG: Committing files to branch renovate/configure (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:22.3350865Z DEBUG: Error committing files (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:22.3352179Z        "err": {
2021-01-07T20:42:22.3353006Z          "task": {
2021-01-07T20:42:22.3353598Z            "commands": [
2021-01-07T20:42:22.3354162Z              "push",
2021-01-07T20:42:22.3354739Z              "origin",
2021-01-07T20:42:22.3355474Z              "renovate/configure:renovate/configure",
2021-01-07T20:42:22.3357042Z              "--force",
2021-01-07T20:42:22.3359219Z              "-u",
2021-01-07T20:42:22.3360282Z              "--no-verify",
2021-01-07T20:42:22.3361521Z              "--verbose",
2021-01-07T20:42:22.3363514Z              "--porcelain"
2021-01-07T20:42:22.3364238Z            ],
2021-01-07T20:42:22.3365128Z            "format": "utf-8"
2021-01-07T20:42:22.3365770Z          },
2021-01-07T20:42:22.3370517Z          "message": "Pushing to https://thecloudtheory.visualstudio.com/GPROJECT/_git/GPROJECT\nremote: 001f# service=git-receive-pack\nremote: 0000000000aaTF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\\93be1a06-85a4-4e3d-8862-825023d8d6f1', scope 'repository'.\nremote: TF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\\93be1a06-85a4-4e3d-8862-825023d8d6f1', scope 'repository'.\nfatal: unable to access 'https://thecloudtheory.visualstudio.com/GPROJECT/_git/GPROJECT/': The requested URL returned error: 403\n",
2021-01-07T20:42:22.3377322Z          "stack": "Error: Pushing to https://thecloudtheory.visualstudio.com/GPROJECT/_git/GPROJECT\nremote: 001f# service=git-receive-pack\nremote: 0000000000aaTF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\\93be1a06-85a4-4e3d-8862-825023d8d6f1', scope 'repository'.\nremote: TF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\\93be1a06-85a4-4e3d-8862-825023d8d6f1', scope 'repository'.\nfatal: unable to access 'https://thecloudtheory.visualstudio.com/GPROJECT/_git/GPROJECT/': The requested URL returned error: 403\n\n    at GitExecutorChain.onFatalException (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/node_modules/simple-git/src/lib/runners/git-executor-chain.js:61:87)\n    at GitExecutorChain.<anonymous> (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/node_modules/simple-git/src/lib/runners/git-executor-chain.js:52:28)\n    at Generator.throw (<anonymous>)\n    at rejected (/home/vsts/.npm/_npx/3671/lib/node_modules/renovate/node_modules/simple-git/src/lib/runners/git-executor-chain.js:6:65)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)"
2021-01-07T20:42:22.3380164Z        }
2021-01-07T20:42:22.3380617Z  INFO: Repository has changed during renovation - aborting (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:22.3381011Z DEBUG: Unknown res (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:22.3382125Z        "res": "repository-changed"
2021-01-07T20:42:22.3518779Z DEBUG: Repository timing splits (milliseconds) (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:22.3519181Z        "splits": {},
2021-01-07T20:42:22.3519364Z        "total": 2571
2021-01-07T20:42:22.3523679Z  INFO: Repository finished (repository=GPROJECT/GPROJECT)
2021-01-07T20:42:22.3524046Z        "durationMs": 2571
2021-01-07T20:42:22.3526228Z DEBUG: Renovate exiting
jycouet commented 3 years ago

@kamil-mrzyglod did you allow the pipeline user to create PRs & branches? image

kamil-mrzyglod commented 3 years ago

@jycouet yeah, see attached screenshot. I also checked that on a fresh classic pipeline - the result is the same. image

kamil-mrzyglod commented 3 years ago

Posted an issue for Azure Dev Ops as I don't believe it's an issue on the extension side. Created a blank pipeline with inline git commands, the same error occurs.

kamil-mrzyglod commented 3 years ago

Okay guys, nailed the issue - I somehow missed, that the user, which has to be added, is named Project Collection Build Service (XXX), not the one, which already existed in the settings. The naming changed after switch from VSTS to ADO and maybe that is a little bit misleading.

Thank you for your help.