r0adkll / upload-google-play

A GitHub action to upload an Android .apk or .aab file to the Google Play Console
MIT License
762 stars 138 forks source link

Error: The caller does not have permission #55

Closed reyts closed 2 years ago

reyts commented 3 years ago

Hello,

I have been trying to resolve this issue for a while now in my private repository. The instructions for the create Play Store Service Account has been followed and doubled checked. Every other thing passes except this stage. Kindly assist

image

r0adkll commented 3 years ago

Hello @reyts! Could you verify what permissions the service account has in your Google Play Console under Settings > Developer Account > API Access > Service accounts > View access?

I have typically seen this error when insufficient privileges are given in this portal.

reyts commented 3 years ago

I had all the required privileges granted. In fact, I had to add all 10 permissions just to test but to no avail. I tried unchecking and checking the boxes, as well as creating a new service account and granting all permissions.

image

image

r0adkll commented 3 years ago

hmm, okay, it might be an issue with the action reading your service account JSON. Could you post your workflow .yml configuration for this action?

reyts commented 3 years ago

Kindly find below the workflow used.

- playstore.yml: workflow

name: PlayStore Release

on:
  push:
    branches: [ main ]

jobs:
  version:
    name: Create version number
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Fetch all history for all tags and branches
      run: |
        git config remote.origin.url https://x-access-token:${{ secrets.TOKEN_SECRETS }}@github.com/${{ github.repository }}
        git fetch --prune --depth=10000
    - name: Install GitVersion
      uses: gittools/actions/gitversion/setup@v0.9.7
      with:
          versionSpec: '5.x'
    - name: Use GitVersion
      id: gitversion
      uses: gittools/actions/gitversion/execute@v0.9.7
    - name: Create version.txt with nuGetVersion
      run: echo ${{ steps.gitversion.outputs.nuGetVersion  }} > version.txt
    - name: Upload version.txt
      uses: actions/upload-artifact@v2
      with:
        name: gitversion
        path: version.txt
  build:
    name: Build APK and Create release
    needs: [ version ]
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Get version.txt
      uses: actions/download-artifact@v2
      with:
        name: gitversion
    - name: Create new file without newline char from version.txt
      run: tr -d '\n' < version.txt > version1.txt
    - name: Read version
      id: version
      uses: juliangruber/read-file-action@v1
      with:
        path: version1.txt
    - name: Update version in YAML
      run: sed -i 's/99.99.99+99/${{ steps.version.outputs.content }}+${{ github.run_number }}/g' pubspec.yaml
    - name: Update KeyStore password in gradle properties
      run: sed -i 's/#{KEYSTORE_PASS}#/${{ secrets.KEYSTORE_PASS }}/g' android/key.properties
    - name: Update KeyStore key password in gradle properties
      run: sed -i 's/#{KEYSTORE_KEY_PASS}#/${{ secrets.KEYSTORE_KEY_PASS }}/g' android/key.properties
    - uses: actions/setup-java@v1
      with:
        java-version: '12.x'
    - uses: subosito/flutter-action@v1
      with:
        flutter-version: '1.22.5'
    - run: flutter pub get
    - run: flutter build apk --release --split-per-abi
    - run: flutter build appbundle
    - name: Create a Release in GitHub
      uses: ncipollo/release-action@v1
      with:
        artifacts: "build/app/outputs/apk/release/*.apk,build/app/outputs/bundle/release/app-release.aab"
        token: ${{ secrets.TOKEN_SECRETS }}
        tag: ${{ steps.version.outputs.content }}
        commit: ${{ github.sha }}
    - name: Upload app bundle
      uses: actions/upload-artifact@v2
      with:
        name: appbundle
        path: build/app/outputs/bundle/release/app-release.aab
  release:
    name: Release app to internal track
    needs: [ build ]
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Get appbundle from artifacts
      uses: actions/download-artifact@v2
      with:
        name: appbundle
    - name: Release app to internal track
      uses: r0adkll/upload-google-play@v1
      with:
        serviceAccountJsonPlainText: ${{ secrets.PLAYSTORE_ACCOUNT_KEY }}
        packageName: com.exchange.reyts
        releaseFiles: app-release.aab
        track: internal
        whatsNewDirectory: distribution/whatsnew
r0adkll commented 3 years ago

Hmm, I don't see anything immediately wrong with that configuration unless something is amiss with how you have your secrets.PLAYSTORE_ACCOUNT_KEY setup. Could you follow these steps, https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/enabling-debug-logging#enabling-step-debug-logging, to enable step debug logging and post your output here?

alobmiba commented 3 years ago

Hey @r0adkll

Kindly see below the raw logs with debugging enabled

Log Output ``` 2021-01-15T02:04:01.9954573Z ##[section]Starting: Request a runner to run this job 2021-01-15T02:04:02.3670533Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest' 2021-01-15T02:04:02.3670642Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest' 2021-01-15T02:04:02.3670993Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest' 2021-01-15T02:04:02.5168075Z ##[section]Finishing: Request a runner to run this job 2021-01-15T02:05:00.4980276Z ##[debug]Starting: Release app to internal track 2021-01-15T02:05:00.5007173Z ##[debug]Cleaning runner temp folder: /home/runner/work/_temp 2021-01-15T02:05:00.5058213Z ##[debug]Starting: Set up job 2021-01-15T02:05:00.5059042Z Current runner version: '2.275.1' 2021-01-15T02:05:00.5085544Z ##[group]Operating System 2021-01-15T02:05:00.5086707Z Ubuntu 2021-01-15T02:05:00.5087430Z 18.04.5 2021-01-15T02:05:00.5088448Z LTS 2021-01-15T02:05:00.5089099Z ##[endgroup] 2021-01-15T02:05:00.5089851Z ##[group]Virtual Environment 2021-01-15T02:05:00.5090852Z Environment: ubuntu-18.04 2021-01-15T02:05:00.5092033Z Version: 20210111.1 2021-01-15T02:05:00.5093109Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20210111.1/images/linux/Ubuntu1804-README.md 2021-01-15T02:05:00.5094377Z ##[endgroup] 2021-01-15T02:05:00.5102298Z ##[debug]Primary repository: reytsfintech/reyts_mobile 2021-01-15T02:05:00.5103792Z Prepare workflow directory 2021-01-15T02:05:00.5178064Z ##[debug]Creating pipeline directory: '/home/runner/work/reyts_mobile' 2021-01-15T02:05:00.5182161Z ##[debug]Creating workspace directory: '/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:00.5184010Z ##[debug]Update context data 2021-01-15T02:05:00.5186839Z ##[debug]Evaluating job-level environment variables 2021-01-15T02:05:00.5787016Z ##[debug]Evaluating job container 2021-01-15T02:05:00.5790379Z ##[debug]Evaluating job service containers 2021-01-15T02:05:00.5793719Z ##[debug]Evaluating job defaults 2021-01-15T02:05:00.5805355Z Prepare all required actions 2021-01-15T02:05:00.5817435Z Getting action download info 2021-01-15T02:05:00.9523990Z Download action repository 'actions/checkout@v1' 2021-01-15T02:05:01.7584566Z ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/50fbc622fc4ef5163becd7fab6573eac35f8462e' to '/home/runner/work/_actions/_temp_bae99a0e-8206-45df-8c41-4f5586c4dc49/ec9ef684-7b43-4f61-bd2f-6950a49e4485.tar.gz' 2021-01-15T02:05:01.8496246Z ##[debug]Unwrap 'actions-checkout-50fbc62' to '/home/runner/work/_actions/actions/checkout/v1' 2021-01-15T02:05:01.8538373Z ##[debug]Archive '/home/runner/work/_actions/_temp_bae99a0e-8206-45df-8c41-4f5586c4dc49/ec9ef684-7b43-4f61-bd2f-6950a49e4485.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v1'. 2021-01-15T02:05:02.6403947Z Download action repository 'actions/download-artifact@v2' 2021-01-15T02:05:03.0303381Z ##[debug]Download 'https://api.github.com/repos/actions/download-artifact/tarball/4a7a711286f30c025902c28b541c10e147a9b843' to '/home/runner/work/_actions/_temp_6b406b61-0f59-4167-856b-b2067965259a/03f688e2-c691-464c-bee7-118d584affca.tar.gz' 2021-01-15T02:05:03.0439225Z ##[debug]Unwrap 'actions-download-artifact-4a7a711' to '/home/runner/work/_actions/actions/download-artifact/v2' 2021-01-15T02:05:03.0508468Z ##[debug]Archive '/home/runner/work/_actions/_temp_6b406b61-0f59-4167-856b-b2067965259a/03f688e2-c691-464c-bee7-118d584affca.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/download-artifact/v2'. 2021-01-15T02:05:03.0531103Z Download action repository 'r0adkll/upload-google-play@v1' 2021-01-15T02:05:09.9204095Z ##[debug]Download 'https://api.github.com/repos/r0adkll/upload-google-play/tarball/ace656b089558c61a1613d02cdf696909947579c' to '/home/runner/work/_actions/_temp_19cf6026-0c30-462a-ac5c-912d91c56fd6/2ccdafbe-a01f-4873-8f36-461ed87d11fd.tar.gz' 2021-01-15T02:05:11.0400682Z ##[debug]Unwrap 'r0adkll-upload-google-play-ace656b' to '/home/runner/work/_actions/r0adkll/upload-google-play/v1' 2021-01-15T02:05:14.5596820Z ##[debug]Archive '/home/runner/work/_actions/_temp_19cf6026-0c30-462a-ac5c-912d91c56fd6/2ccdafbe-a01f-4873-8f36-461ed87d11fd.tar.gz' has been unzipped into '/home/runner/work/_actions/r0adkll/upload-google-play/v1'. 2021-01-15T02:05:14.8936604Z ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v1/action.yml'. 2021-01-15T02:05:14.9521442Z ##[debug]action.yml for action: '/home/runner/work/_actions/actions/download-artifact/v2/action.yml'. 2021-01-15T02:05:14.9569632Z ##[debug]action.yml for action: '/home/runner/work/_actions/r0adkll/upload-google-play/v1/action.yml'. 2021-01-15T02:05:14.9801945Z ##[debug]Set step 'actionscheckout' display name to: 'Run actions/checkout@v1' 2021-01-15T02:05:14.9805820Z ##[debug]Set step 'actionsdownload-artifact' display name to: 'Get appbundle from artifacts' 2021-01-15T02:05:14.9808065Z ##[debug]Set step 'r0adkllupload-google-play' display name to: 'Release app to internal track' 2021-01-15T02:05:14.9820488Z ##[debug]Collect running processes for tracking orphan processes. 2021-01-15T02:05:14.9997834Z ##[debug]Finishing: Set up job 2021-01-15T02:05:15.0022588Z ##[debug]Evaluating condition for step: 'Run actions/checkout@v1' 2021-01-15T02:05:15.0192421Z ##[debug]Evaluating: success() 2021-01-15T02:05:15.0199106Z ##[debug]Evaluating success: 2021-01-15T02:05:15.0227751Z ##[debug]=> true 2021-01-15T02:05:15.0235410Z ##[debug]Result: true 2021-01-15T02:05:15.0272397Z ##[debug]Starting: Run actions/checkout@v1 2021-01-15T02:05:15.0371562Z ##[debug]Loading inputs 2021-01-15T02:05:15.0383110Z ##[debug]Loading env 2021-01-15T02:05:15.0435282Z ##[group]Run actions/checkout@v1 2021-01-15T02:05:15.0435861Z with: 2021-01-15T02:05:15.0436341Z clean: true 2021-01-15T02:05:15.0436737Z ##[endgroup] 2021-01-15T02:05:15.3798693Z ##[debug]Input 'repository': '' 2021-01-15T02:05:15.3807779Z ##[debug]Input 'path': '' 2021-01-15T02:05:15.3810698Z ##[debug]Repository requires to be placed at '/home/runner/work/reyts_mobile/reyts_mobile', current location is '/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:15.3812651Z ##[debug]Update workspace repository location. 2021-01-15T02:05:15.3814900Z ##[internal-set-repo-path repoFullName=reytsfintech/reyts_mobile;workspaceRepo=True]/home/runner/work/reyts_mobile/reyts_mobile 2021-01-15T02:05:15.3861178Z ##[debug]Input 'ref': '' 2021-01-15T02:05:15.3862108Z ##[debug]Input 'clean': 'true' 2021-01-15T02:05:15.3863039Z ##[debug]Input 'submodules': '' 2021-01-15T02:05:15.3864162Z ##[debug]Input 'fetch-depth': '' 2021-01-15T02:05:15.3865147Z ##[debug]Input 'lfs': '' 2021-01-15T02:05:15.3865992Z ##[debug]Input 'token': '' 2021-01-15T02:05:15.3867396Z ##[add-matcher]/home/runner/work/_temp/git_8d275b8f-5b31-4534-b3be-5efda4f74a32.json 2021-01-15T02:05:15.3943010Z ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline. 2021-01-15T02:05:15.3972615Z Syncing repository: reytsfintech/reyts_mobile 2021-01-15T02:05:15.3973702Z ##[debug]repository url=https://github.com/reytsfintech/reyts_mobile 2021-01-15T02:05:15.3974682Z ##[debug]targetPath=/home/runner/work/reyts_mobile/reyts_mobile 2021-01-15T02:05:15.3975339Z ##[debug]sourceBranch=refs/heads/main 2021-01-15T02:05:15.3976107Z ##[debug]sourceVersion=7f4cfe43e558abe16a1b1e5a41b64244c1be89c1 2021-01-15T02:05:15.3976795Z ##[debug]clean=True 2021-01-15T02:05:15.3977317Z ##[debug]checkoutSubmodules=False 2021-01-15T02:05:15.3978137Z ##[debug]checkoutNestedSubmodules=False 2021-01-15T02:05:15.3978779Z ##[debug]fetchDepth=0 2021-01-15T02:05:15.3979307Z ##[debug]gitLfsSupport=False 2021-01-15T02:05:15.4017286Z ##[debug]Which: 'git' 2021-01-15T02:05:15.4101940Z ##[debug]Location: '/usr/bin/git' 2021-01-15T02:05:15.4113075Z ##[debug]Get git version. 2021-01-15T02:05:15.4124878Z ##[command]git version 2021-01-15T02:05:15.4214691Z ##[debug]Starting process: 2021-01-15T02:05:15.4215761Z ##[debug] File name: '/usr/bin/git' 2021-01-15T02:05:15.4216467Z ##[debug] Arguments: 'version' 2021-01-15T02:05:15.4217272Z ##[debug] Working directory: '/home/runner/work/reyts_mobile' 2021-01-15T02:05:15.4218103Z ##[debug] Require exit code zero: 'False' 2021-01-15T02:05:15.4218930Z ##[debug] Encoding web name: ; code page: '' 2021-01-15T02:05:15.4219727Z ##[debug] Force kill process on cancellation: 'False' 2021-01-15T02:05:15.4220505Z ##[debug] Redirected STDIN: 'False' 2021-01-15T02:05:15.4221255Z ##[debug] Persist current code page: 'False' 2021-01-15T02:05:15.4222029Z ##[debug] Keep redirected STDIN open: 'False' 2021-01-15T02:05:15.4223262Z ##[debug] High priority process: 'False' 2021-01-15T02:05:15.4275472Z ##[debug]Updated oom_score_adj to 500 for PID: 2501. 2021-01-15T02:05:15.4293820Z ##[debug]Process started with process id 2501, waiting for process exit. 2021-01-15T02:05:15.4382152Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:15.4407338Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:15.4458906Z ##[debug]Finished process 2501 with exit code 0, and elapsed time 00:00:00.0237905. 2021-01-15T02:05:15.4471393Z git version 2.30.0 2021-01-15T02:05:15.4506509Z ##[debug]Detect git version: 2.30.0. 2021-01-15T02:05:16.1418497Z ##[debug]Which: 'git-lfs' 2021-01-15T02:05:16.1440326Z ##[debug]Location: '/usr/bin/git-lfs' 2021-01-15T02:05:16.1441727Z ##[debug]Get git-lfs version. 2021-01-15T02:05:16.1442492Z ##[command]git lfs version 2021-01-15T02:05:16.1443190Z ##[debug]Starting process: 2021-01-15T02:05:16.1444143Z ##[debug] File name: '/usr/bin/git' 2021-01-15T02:05:16.1445751Z ##[debug] Arguments: 'lfs version' 2021-01-15T02:05:16.1447068Z ##[debug] Working directory: '/home/runner/work/reyts_mobile' 2021-01-15T02:05:16.1448233Z ##[debug] Require exit code zero: 'False' 2021-01-15T02:05:16.1449322Z ##[debug] Encoding web name: ; code page: '' 2021-01-15T02:05:16.1450956Z ##[debug] Force kill process on cancellation: 'False' 2021-01-15T02:05:16.1452035Z ##[debug] Redirected STDIN: 'False' 2021-01-15T02:05:16.1453068Z ##[debug] Persist current code page: 'False' 2021-01-15T02:05:16.1454155Z ##[debug] Keep redirected STDIN open: 'False' 2021-01-15T02:05:16.1455241Z ##[debug] High priority process: 'False' 2021-01-15T02:05:16.1456068Z ##[debug]Updated oom_score_adj to 500 for PID: 2504. 2021-01-15T02:05:16.1457149Z ##[debug]Process started with process id 2504, waiting for process exit. 2021-01-15T02:05:16.1458047Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1458850Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1459899Z ##[debug]Finished process 2504 with exit code 0, and elapsed time 00:00:00.1355911. 2021-01-15T02:05:16.1461333Z git-lfs/2.13.1 (GitHub; linux amd64; go 1.15.5) 2021-01-15T02:05:16.1462364Z ##[debug]Detect git-lfs version: '2.13.1'. 2021-01-15T02:05:16.1465054Z ##[debug]Set git useragent to: git/2.30.0 (github-actions-runner-git/2.275.1). 2021-01-15T02:05:16.1466579Z ##[debug]Checking if the repo on /home/runner/work/reyts_mobile/reyts_mobile matches the expected repository origin URL. expected Url: https://github.com/reytsfintech/reyts_mobile 2021-01-15T02:05:16.1469026Z ##[debug]Repository is not found since '.git' directory does not exist under. /home/runner/work/reyts_mobile/reyts_mobile 2021-01-15T02:05:16.1470119Z ##[debug]Init git repository at: /home/runner/work/reyts_mobile/reyts_mobile. 2021-01-15T02:05:16.1470999Z ##[command]git init "/home/runner/work/reyts_mobile/reyts_mobile" 2021-01-15T02:05:16.1471855Z ##[debug]Starting process: 2021-01-15T02:05:16.1472645Z ##[debug] File name: '/usr/bin/git' 2021-01-15T02:05:16.1474919Z ##[debug] Arguments: 'init "/home/runner/work/reyts_mobile/reyts_mobile"' 2021-01-15T02:05:16.1475971Z ##[debug] Working directory: '/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:16.1477095Z ##[debug] Require exit code zero: 'False' 2021-01-15T02:05:16.1477936Z ##[debug] Encoding web name: ; code page: '' 2021-01-15T02:05:16.1478821Z ##[debug] Force kill process on cancellation: 'False' 2021-01-15T02:05:16.1480196Z ##[debug] Redirected STDIN: 'False' 2021-01-15T02:05:16.1480990Z ##[debug] Persist current code page: 'False' 2021-01-15T02:05:16.1481823Z ##[debug] Keep redirected STDIN open: 'False' 2021-01-15T02:05:16.1482651Z ##[debug] High priority process: 'False' 2021-01-15T02:05:16.1483265Z ##[debug]Updated oom_score_adj to 500 for PID: 2513. 2021-01-15T02:05:16.1483981Z ##[debug]Process started with process id 2513, waiting for process exit. 2021-01-15T02:05:16.1485496Z hint: Using 'master' as the name for the initial branch. This default branch name 2021-01-15T02:05:16.1486836Z hint: is subject to change. To configure the initial branch name to use in all 2021-01-15T02:05:16.1487688Z hint: of your new repositories, which will suppress this warning, call: 2021-01-15T02:05:16.1488312Z hint: 2021-01-15T02:05:16.1489294Z hint: git config --global init.defaultBranch 2021-01-15T02:05:16.1490024Z hint: 2021-01-15T02:05:16.1490737Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2021-01-15T02:05:16.1491706Z hint: 'development'. The just-created branch can be renamed via this command: 2021-01-15T02:05:16.1492312Z hint: 2021-01-15T02:05:16.1493690Z hint: git branch -m 2021-01-15T02:05:16.1495143Z Initialized empty Git repository in /home/runner/work/reyts_mobile/reyts_mobile/.git/ 2021-01-15T02:05:16.1496197Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1497342Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1499056Z ##[debug]Finished process 2513 with exit code 0, and elapsed time 00:00:00.0104319. 2021-01-15T02:05:16.1500811Z ##[debug]Add git remote: origin to url: https://github.com/reytsfintech/reyts_mobile for repository under: /home/runner/work/reyts_mobile/reyts_mobile. 2021-01-15T02:05:16.1502791Z ##[command]git remote add origin https://github.com/reytsfintech/reyts_mobile 2021-01-15T02:05:16.1503528Z ##[debug]Starting process: 2021-01-15T02:05:16.1504376Z ##[debug] File name: '/usr/bin/git' 2021-01-15T02:05:16.1505357Z ##[debug] Arguments: 'remote add origin https://github.com/reytsfintech/reyts_mobile' 2021-01-15T02:05:16.1506712Z ##[debug] Working directory: '/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:16.1507649Z ##[debug] Require exit code zero: 'False' 2021-01-15T02:05:16.1508468Z ##[debug] Encoding web name: ; code page: '' 2021-01-15T02:05:16.1509407Z ##[debug] Force kill process on cancellation: 'False' 2021-01-15T02:05:16.1510386Z ##[debug] Redirected STDIN: 'False' 2021-01-15T02:05:16.1511165Z ##[debug] Persist current code page: 'False' 2021-01-15T02:05:16.1512001Z ##[debug] Keep redirected STDIN open: 'False' 2021-01-15T02:05:16.1512813Z ##[debug] High priority process: 'False' 2021-01-15T02:05:16.1513431Z ##[debug]Updated oom_score_adj to 500 for PID: 2514. 2021-01-15T02:05:16.1514142Z ##[debug]Process started with process id 2514, waiting for process exit. 2021-01-15T02:05:16.1514835Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1515456Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1516171Z ##[debug]Finished process 2514 with exit code 0, and elapsed time 00:00:00.0031777. 2021-01-15T02:05:16.1517179Z ##[debug]Disable git auto garbage collection. 2021-01-15T02:05:16.1517780Z ##[command]git config gc.auto 0 2021-01-15T02:05:16.1518308Z ##[debug]Starting process: 2021-01-15T02:05:16.1519067Z ##[debug] File name: '/usr/bin/git' 2021-01-15T02:05:16.1519841Z ##[debug] Arguments: 'config gc.auto 0' 2021-01-15T02:05:16.1520908Z ##[debug] Working directory: '/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:16.1521822Z ##[debug] Require exit code zero: 'False' 2021-01-15T02:05:16.1522600Z ##[debug] Encoding web name: ; code page: '' 2021-01-15T02:05:16.1523438Z ##[debug] Force kill process on cancellation: 'False' 2021-01-15T02:05:16.1524252Z ##[debug] Redirected STDIN: 'False' 2021-01-15T02:05:16.1525249Z ##[debug] Persist current code page: 'False' 2021-01-15T02:05:16.1526080Z ##[debug] Keep redirected STDIN open: 'False' 2021-01-15T02:05:16.1527067Z ##[debug] High priority process: 'False' 2021-01-15T02:05:16.1527707Z ##[debug]Updated oom_score_adj to 500 for PID: 2515. 2021-01-15T02:05:16.1528441Z ##[debug]Process started with process id 2515, waiting for process exit. 2021-01-15T02:05:16.1529172Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1529974Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1530687Z ##[debug]Finished process 2515 with exit code 0, and elapsed time 00:00:00.0023065. 2021-01-15T02:05:16.1531709Z ##[debug]Checking git config http.https://github.com/reytsfintech/reyts_mobile.extraheader exist or not 2021-01-15T02:05:16.1533404Z ##[command]git config --get-all http.https://github.com/reytsfintech/reyts_mobile.extraheader 2021-01-15T02:05:16.1534276Z ##[debug]Starting process: 2021-01-15T02:05:16.1535000Z ##[debug] File name: '/usr/bin/git' 2021-01-15T02:05:16.1536131Z ##[debug] Arguments: 'config --get-all http.https://github.com/reytsfintech/reyts_mobile.extraheader' 2021-01-15T02:05:16.1537560Z ##[debug] Working directory: '/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:16.1538491Z ##[debug] Require exit code zero: 'False' 2021-01-15T02:05:16.1539562Z ##[debug] Encoding web name: ; code page: '' 2021-01-15T02:05:16.1540670Z ##[debug] Force kill process on cancellation: 'False' 2021-01-15T02:05:16.1541755Z ##[debug] Redirected STDIN: 'False' 2021-01-15T02:05:16.1542591Z ##[debug] Persist current code page: 'False' 2021-01-15T02:05:16.1543457Z ##[debug] Keep redirected STDIN open: 'False' 2021-01-15T02:05:16.1544314Z ##[debug] High priority process: 'False' 2021-01-15T02:05:16.1545327Z ##[debug]Updated oom_score_adj to 500 for PID: 2516. 2021-01-15T02:05:16.1546481Z ##[debug]Process started with process id 2516, waiting for process exit. 2021-01-15T02:05:16.1547256Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1548155Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.1548947Z ##[debug]Finished process 2516 with exit code 1, and elapsed time 00:00:00.0014626. 2021-01-15T02:05:16.1550303Z ::add-mask::*** 2021-01-15T02:05:16.1552396Z ##[debug]Fetch git repository at: /home/runner/work/reyts_mobile/reyts_mobile remote: origin. 2021-01-15T02:05:16.1556305Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* 2021-01-15T02:05:16.1557790Z ##[debug]Starting process: 2021-01-15T02:05:16.1558635Z ##[debug] File name: '/usr/bin/git' 2021-01-15T02:05:16.1561563Z ##[debug] Arguments: '-c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*' 2021-01-15T02:05:16.1563283Z ##[debug] Working directory: '/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:16.1564518Z ##[debug] Require exit code zero: 'False' 2021-01-15T02:05:16.1565845Z ##[debug] Encoding web name: ; code page: '' 2021-01-15T02:05:16.1566921Z ##[debug] Force kill process on cancellation: 'False' 2021-01-15T02:05:16.1567816Z ##[debug] Redirected STDIN: 'False' 2021-01-15T02:05:16.1568671Z ##[debug] Persist current code page: 'False' 2021-01-15T02:05:16.1569571Z ##[debug] Keep redirected STDIN open: 'False' 2021-01-15T02:05:16.1570910Z ##[debug] High priority process: 'False' 2021-01-15T02:05:16.1571735Z ##[debug]Updated oom_score_adj to 500 for PID: 2517. 2021-01-15T02:05:16.1572506Z ##[debug]Process started with process id 2517, waiting for process exit. 2021-01-15T02:05:16.2319235Z remote: Enumerating objects: 10, done. 2021-01-15T02:05:16.2320310Z remote: Counting objects: 10% (1/10) 2021-01-15T02:05:16.2321432Z remote: Counting objects: 20% (2/10) 2021-01-15T02:05:16.2322583Z remote: Counting objects: 30% (3/10) 2021-01-15T02:05:16.2323654Z remote: Counting objects: 40% (4/10) 2021-01-15T02:05:16.2324648Z remote: Counting objects: 50% (5/10) 2021-01-15T02:05:16.2325503Z remote: Counting objects: 60% (6/10) 2021-01-15T02:05:16.2328982Z remote: Counting objects: 70% (7/10) 2021-01-15T02:05:16.2336142Z remote: Counting objects: 80% (8/10) 2021-01-15T02:05:16.2336981Z remote: Counting objects: 90% (9/10) 2021-01-15T02:05:16.2337694Z remote: Counting objects: 100% (10/10) 2021-01-15T02:05:16.2338442Z remote: Counting objects: 100% (10/10), done. 2021-01-15T02:05:16.2339055Z remote: Compressing objects: 12% (1/8) 2021-01-15T02:05:16.2339794Z remote: Compressing objects: 25% (2/8) 2021-01-15T02:05:16.2340922Z remote: Compressing objects: 37% (3/8) 2021-01-15T02:05:16.2341674Z remote: Compressing objects: 50% (4/8) 2021-01-15T02:05:16.2342250Z remote: Compressing objects: 62% (5/8) 2021-01-15T02:05:16.2342813Z remote: Compressing objects: 75% (6/8) 2021-01-15T02:05:16.2343389Z remote: Compressing objects: 87% (7/8) 2021-01-15T02:05:16.2343967Z remote: Compressing objects: 100% (8/8) 2021-01-15T02:05:16.2344569Z remote: Compressing objects: 100% (8/8), done. 2021-01-15T02:05:16.2596178Z Receiving objects: 0% (1/1185) 2021-01-15T02:05:16.5888709Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.5890695Z Receiving objects: 1% (12/1185) 2021-01-15T02:05:16.5891726Z Receiving objects: 2% (24/1185) 2021-01-15T02:05:16.5892759Z Receiving objects: 3% (36/1185) 2021-01-15T02:05:16.5893538Z Receiving objects: 4% (48/1185) 2021-01-15T02:05:16.5894472Z Receiving objects: 5% (60/1185) 2021-01-15T02:05:16.5895250Z Receiving objects: 6% (72/1185) 2021-01-15T02:05:16.5896018Z Receiving objects: 7% (83/1185) 2021-01-15T02:05:16.5896968Z Receiving objects: 8% (95/1185) 2021-01-15T02:05:16.5898084Z Receiving objects: 9% (107/1185) 2021-01-15T02:05:16.5898878Z Receiving objects: 10% (119/1185) 2021-01-15T02:05:16.5899678Z Receiving objects: 11% (131/1185) 2021-01-15T02:05:16.5900601Z Receiving objects: 12% (143/1185) 2021-01-15T02:05:16.5901663Z Receiving objects: 13% (155/1185) 2021-01-15T02:05:16.5902386Z Receiving objects: 14% (166/1185) 2021-01-15T02:05:16.5903465Z Receiving objects: 15% (178/1185) 2021-01-15T02:05:16.5904424Z Receiving objects: 16% (190/1185) 2021-01-15T02:05:16.5905205Z Receiving objects: 17% (202/1185) 2021-01-15T02:05:16.5905994Z Receiving objects: 18% (214/1185) 2021-01-15T02:05:16.5906961Z Receiving objects: 19% (226/1185) 2021-01-15T02:05:16.5907917Z Receiving objects: 20% (237/1185) 2021-01-15T02:05:16.5908856Z Receiving objects: 21% (249/1185) 2021-01-15T02:05:16.5909757Z Receiving objects: 22% (261/1185) 2021-01-15T02:05:16.5911354Z Receiving objects: 23% (273/1185) 2021-01-15T02:05:16.5912105Z Receiving objects: 24% (285/1185) 2021-01-15T02:05:16.5912751Z Receiving objects: 25% (297/1185) 2021-01-15T02:05:16.5913371Z Receiving objects: 26% (309/1185) 2021-01-15T02:05:16.5914177Z Receiving objects: 27% (320/1185) 2021-01-15T02:05:16.5914819Z Receiving objects: 28% (332/1185) 2021-01-15T02:05:16.5915454Z Receiving objects: 29% (344/1185) 2021-01-15T02:05:16.5916096Z Receiving objects: 30% (356/1185) 2021-01-15T02:05:16.5916895Z Receiving objects: 31% (368/1185) 2021-01-15T02:05:16.5917559Z Receiving objects: 32% (380/1185) 2021-01-15T02:05:16.5918297Z Receiving objects: 33% (392/1185) 2021-01-15T02:05:16.5919118Z Receiving objects: 34% (403/1185) 2021-01-15T02:05:16.5920081Z Receiving objects: 35% (415/1185) 2021-01-15T02:05:16.5920708Z Receiving objects: 36% (427/1185) 2021-01-15T02:05:16.5921341Z Receiving objects: 37% (439/1185) 2021-01-15T02:05:16.5921972Z Receiving objects: 38% (451/1185) 2021-01-15T02:05:16.5922623Z Receiving objects: 39% (463/1185) 2021-01-15T02:05:16.5923258Z Receiving objects: 40% (474/1185) 2021-01-15T02:05:16.5923874Z Receiving objects: 41% (486/1185) 2021-01-15T02:05:16.5924693Z Receiving objects: 42% (498/1185) 2021-01-15T02:05:16.5925390Z Receiving objects: 43% (510/1185) 2021-01-15T02:05:16.5926030Z Receiving objects: 44% (522/1185) 2021-01-15T02:05:16.5927006Z Receiving objects: 45% (534/1185) 2021-01-15T02:05:16.5927624Z Receiving objects: 46% (546/1185) 2021-01-15T02:05:16.5928255Z Receiving objects: 47% (557/1185) 2021-01-15T02:05:16.5928903Z Receiving objects: 48% (569/1185) 2021-01-15T02:05:16.5929550Z Receiving objects: 49% (581/1185) 2021-01-15T02:05:16.5930327Z Receiving objects: 50% (593/1185) 2021-01-15T02:05:16.5931213Z Receiving objects: 51% (605/1185) 2021-01-15T02:05:16.5931858Z Receiving objects: 52% (617/1185) 2021-01-15T02:05:16.5932499Z Receiving objects: 53% (629/1185) 2021-01-15T02:05:16.5933136Z Receiving objects: 54% (640/1185) 2021-01-15T02:05:16.5933984Z Receiving objects: 55% (652/1185) 2021-01-15T02:05:16.5934794Z Receiving objects: 56% (664/1185) 2021-01-15T02:05:16.5935416Z Receiving objects: 57% (676/1185) 2021-01-15T02:05:16.5936060Z Receiving objects: 58% (688/1185) 2021-01-15T02:05:16.5936857Z Receiving objects: 59% (700/1185) 2021-01-15T02:05:16.5937696Z Receiving objects: 60% (711/1185) 2021-01-15T02:05:16.5938345Z Receiving objects: 61% (723/1185) 2021-01-15T02:05:16.5938998Z Receiving objects: 62% (735/1185) 2021-01-15T02:05:16.5939868Z Receiving objects: 63% (747/1185) 2021-01-15T02:05:16.5942938Z Receiving objects: 64% (759/1185) 2021-01-15T02:05:16.5943601Z Receiving objects: 65% (771/1185) 2021-01-15T02:05:16.5944102Z Receiving objects: 66% (783/1185) 2021-01-15T02:05:16.5944619Z Receiving objects: 67% (794/1185) 2021-01-15T02:05:16.5945129Z Receiving objects: 68% (806/1185) 2021-01-15T02:05:16.5945645Z Receiving objects: 69% (818/1185) 2021-01-15T02:05:16.5946144Z Receiving objects: 70% (830/1185) 2021-01-15T02:05:16.5946990Z Receiving objects: 71% (842/1185) 2021-01-15T02:05:16.5947505Z Receiving objects: 72% (854/1185) 2021-01-15T02:05:16.5948021Z Receiving objects: 73% (866/1185) 2021-01-15T02:05:16.5948521Z Receiving objects: 74% (877/1185) 2021-01-15T02:05:16.5949033Z Receiving objects: 75% (889/1185) 2021-01-15T02:05:16.5950630Z remote: Total 1185 (delta 1), reused 0 (delta 0), pack-reused 1175 2021-01-15T02:05:16.5951273Z Receiving objects: 76% (901/1185) 2021-01-15T02:05:16.5951780Z Receiving objects: 77% (913/1185) 2021-01-15T02:05:16.5952298Z Receiving objects: 78% (925/1185) 2021-01-15T02:05:16.5952829Z Receiving objects: 79% (937/1185) 2021-01-15T02:05:16.5953349Z Receiving objects: 80% (948/1185) 2021-01-15T02:05:16.5954040Z Receiving objects: 81% (960/1185) 2021-01-15T02:05:16.5954759Z Receiving objects: 82% (972/1185) 2021-01-15T02:05:16.5955346Z Receiving objects: 83% (984/1185) 2021-01-15T02:05:16.5956053Z Receiving objects: 84% (996/1185) 2021-01-15T02:05:16.5956760Z Receiving objects: 85% (1008/1185) 2021-01-15T02:05:16.5957312Z Receiving objects: 86% (1020/1185) 2021-01-15T02:05:16.5957870Z Receiving objects: 87% (1031/1185) 2021-01-15T02:05:16.5958719Z Receiving objects: 88% (1043/1185) 2021-01-15T02:05:16.5959228Z Receiving objects: 89% (1055/1185) 2021-01-15T02:05:16.5959902Z Receiving objects: 90% (1067/1185) 2021-01-15T02:05:16.5960405Z Receiving objects: 91% (1079/1185) 2021-01-15T02:05:16.5961080Z Receiving objects: 92% (1091/1185) 2021-01-15T02:05:16.5961992Z Receiving objects: 93% (1103/1185) 2021-01-15T02:05:16.5962524Z Receiving objects: 94% (1114/1185) 2021-01-15T02:05:16.5963043Z Receiving objects: 95% (1126/1185) 2021-01-15T02:05:16.5963742Z Receiving objects: 96% (1138/1185) 2021-01-15T02:05:16.5965004Z Receiving objects: 97% (1150/1185) 2021-01-15T02:05:16.5965593Z Receiving objects: 98% (1162/1185) 2021-01-15T02:05:16.5966181Z Receiving objects: 99% (1174/1185) 2021-01-15T02:05:16.5966949Z Receiving objects: 100% (1185/1185) 2021-01-15T02:05:16.5967975Z Receiving objects: 100% (1185/1185), 3.06 MiB | 12.37 MiB/s, done. 2021-01-15T02:05:16.5969085Z Resolving deltas: 0% (0/586) 2021-01-15T02:05:16.5969795Z Resolving deltas: 1% (6/586) 2021-01-15T02:05:16.5970504Z Resolving deltas: 2% (12/586) 2021-01-15T02:05:16.5971003Z Resolving deltas: 3% (18/586) 2021-01-15T02:05:16.5971519Z Resolving deltas: 4% (24/586) 2021-01-15T02:05:16.5972033Z Resolving deltas: 5% (30/586) 2021-01-15T02:05:16.5972545Z Resolving deltas: 6% (36/586) 2021-01-15T02:05:16.5973532Z Resolving deltas: 7% (42/586) 2021-01-15T02:05:16.5974033Z Resolving deltas: 8% (47/586) 2021-01-15T02:05:16.5974535Z Resolving deltas: 9% (53/586) 2021-01-15T02:05:16.5975026Z Resolving deltas: 10% (59/586) 2021-01-15T02:05:16.5975505Z Resolving deltas: 11% (65/586) 2021-01-15T02:05:16.5975998Z Resolving deltas: 12% (71/586) 2021-01-15T02:05:16.5976670Z Resolving deltas: 13% (77/586) 2021-01-15T02:05:16.5977181Z Resolving deltas: 14% (83/586) 2021-01-15T02:05:16.5977830Z Resolving deltas: 15% (88/586) 2021-01-15T02:05:16.5978341Z Resolving deltas: 16% (94/586) 2021-01-15T02:05:16.5978855Z Resolving deltas: 17% (100/586) 2021-01-15T02:05:16.5979372Z Resolving deltas: 18% (106/586) 2021-01-15T02:05:16.5980024Z Resolving deltas: 19% (112/586) 2021-01-15T02:05:16.5980522Z Resolving deltas: 20% (118/586) 2021-01-15T02:05:16.5981022Z Resolving deltas: 21% (124/586) 2021-01-15T02:05:16.5981521Z Resolving deltas: 22% (129/586) 2021-01-15T02:05:16.5982003Z Resolving deltas: 23% (135/586) 2021-01-15T02:05:16.5982503Z Resolving deltas: 24% (141/586) 2021-01-15T02:05:16.5983077Z Resolving deltas: 25% (147/586) 2021-01-15T02:05:16.5983615Z Resolving deltas: 26% (153/586) 2021-01-15T02:05:16.5984115Z Resolving deltas: 27% (159/586) 2021-01-15T02:05:16.5984611Z Resolving deltas: 28% (165/586) 2021-01-15T02:05:16.5985090Z Resolving deltas: 29% (170/586) 2021-01-15T02:05:16.5985633Z Resolving deltas: 30% (176/586) 2021-01-15T02:05:16.5986139Z Resolving deltas: 31% (182/586) 2021-01-15T02:05:16.5986825Z Resolving deltas: 32% (188/586) 2021-01-15T02:05:16.5987322Z Resolving deltas: 33% (194/586) 2021-01-15T02:05:16.5987978Z Resolving deltas: 34% (200/586) 2021-01-15T02:05:16.5988480Z Resolving deltas: 35% (206/586) 2021-01-15T02:05:16.5988974Z Resolving deltas: 36% (211/586) 2021-01-15T02:05:16.5989454Z Resolving deltas: 37% (217/586) 2021-01-15T02:05:16.5990100Z Resolving deltas: 38% (223/586) 2021-01-15T02:05:16.5990583Z Resolving deltas: 39% (229/586) 2021-01-15T02:05:16.5991063Z Resolving deltas: 40% (235/586) 2021-01-15T02:05:16.5991534Z Resolving deltas: 41% (241/586) 2021-01-15T02:05:16.5992206Z Resolving deltas: 42% (247/586) 2021-01-15T02:05:16.5992703Z Resolving deltas: 43% (252/586) 2021-01-15T02:05:16.5993182Z Resolving deltas: 44% (258/586) 2021-01-15T02:05:16.5993679Z Resolving deltas: 45% (264/586) 2021-01-15T02:05:16.5994175Z Resolving deltas: 46% (270/586) 2021-01-15T02:05:16.5994669Z Resolving deltas: 47% (276/586) 2021-01-15T02:05:16.5995153Z Resolving deltas: 48% (282/586) 2021-01-15T02:05:16.5995651Z Resolving deltas: 49% (288/586) 2021-01-15T02:05:16.5996154Z Resolving deltas: 50% (293/586) 2021-01-15T02:05:16.5996846Z Resolving deltas: 51% (299/586) 2021-01-15T02:05:16.5997347Z Resolving deltas: 52% (305/586) 2021-01-15T02:05:16.5998021Z Resolving deltas: 53% (311/586) 2021-01-15T02:05:16.5998526Z Resolving deltas: 54% (317/586) 2021-01-15T02:05:16.5999026Z Resolving deltas: 55% (323/586) 2021-01-15T02:05:16.5999512Z Resolving deltas: 56% (329/586) 2021-01-15T02:05:16.6000164Z Resolving deltas: 57% (335/586) 2021-01-15T02:05:16.6000655Z Resolving deltas: 58% (340/586) 2021-01-15T02:05:16.6001150Z Resolving deltas: 59% (346/586) 2021-01-15T02:05:16.6001622Z Resolving deltas: 60% (352/586) 2021-01-15T02:05:16.6002282Z Resolving deltas: 61% (358/586) 2021-01-15T02:05:16.6002788Z Resolving deltas: 62% (364/586) 2021-01-15T02:05:16.6003289Z Resolving deltas: 63% (370/586) 2021-01-15T02:05:16.6003773Z Resolving deltas: 64% (376/586) 2021-01-15T02:05:16.6004282Z Resolving deltas: 65% (381/586) 2021-01-15T02:05:16.6005557Z Resolving deltas: 66% (387/586) 2021-01-15T02:05:16.6006069Z Resolving deltas: 67% (393/586) 2021-01-15T02:05:16.6006559Z Resolving deltas: 68% (399/586) 2021-01-15T02:05:16.6007059Z Resolving deltas: 69% (405/586) 2021-01-15T02:05:16.6007705Z Resolving deltas: 70% (411/586) 2021-01-15T02:05:16.6008373Z Resolving deltas: 71% (417/586) 2021-01-15T02:05:16.6008859Z Resolving deltas: 72% (422/586) 2021-01-15T02:05:16.6009366Z Resolving deltas: 73% (428/586) 2021-01-15T02:05:16.6009880Z Resolving deltas: 74% (434/586) 2021-01-15T02:05:16.6010570Z Resolving deltas: 75% (440/586) 2021-01-15T02:05:16.6011071Z Resolving deltas: 76% (446/586) 2021-01-15T02:05:16.6011595Z Resolving deltas: 77% (452/586) 2021-01-15T02:05:16.6012259Z Resolving deltas: 78% (458/586) 2021-01-15T02:05:16.6012763Z Resolving deltas: 79% (463/586) 2021-01-15T02:05:16.6013248Z Resolving deltas: 80% (469/586) 2021-01-15T02:05:16.6013869Z Resolving deltas: 81% (475/586) 2021-01-15T02:05:16.6014372Z Resolving deltas: 82% (482/586) 2021-01-15T02:05:16.6014876Z Resolving deltas: 83% (487/586) 2021-01-15T02:05:16.6015363Z Resolving deltas: 84% (493/586) 2021-01-15T02:05:16.6015866Z Resolving deltas: 85% (499/586) 2021-01-15T02:05:16.6016363Z Resolving deltas: 86% (504/586) 2021-01-15T02:05:16.6017202Z Resolving deltas: 87% (510/586) 2021-01-15T02:05:16.6017865Z Resolving deltas: 88% (516/586) 2021-01-15T02:05:16.6018377Z Resolving deltas: 89% (523/586) 2021-01-15T02:05:16.6019077Z Resolving deltas: 90% (528/586) 2021-01-15T02:05:16.6019680Z Resolving deltas: 91% (534/586) 2021-01-15T02:05:16.6020211Z Resolving deltas: 92% (540/586) 2021-01-15T02:05:16.6020903Z Resolving deltas: 93% (545/586) 2021-01-15T02:05:16.6021836Z Resolving deltas: 94% (551/586) 2021-01-15T02:05:16.6022487Z Resolving deltas: 95% (557/586) 2021-01-15T02:05:16.6022969Z Resolving deltas: 96% (563/586) 2021-01-15T02:05:16.6023466Z Resolving deltas: 97% (569/586) 2021-01-15T02:05:16.6024823Z Resolving deltas: 98% (575/586) 2021-01-15T02:05:16.6094538Z Resolving deltas: 99% (581/586) 2021-01-15T02:05:16.6095046Z Resolving deltas: 100% (586/586) 2021-01-15T02:05:16.6095558Z Resolving deltas: 100% (586/586), done. 2021-01-15T02:05:16.6096227Z From https://github.com/reytsfintech/reyts_mobile 2021-01-15T02:05:16.6097492Z * [new branch] cicdtest -> origin/cicdtest 2021-01-15T02:05:16.6098264Z * [new branch] develop -> origin/develop 2021-01-15T02:05:16.6099232Z * [new branch] e2e_test -> origin/e2e_test 2021-01-15T02:05:16.6099994Z * [new branch] main -> origin/main 2021-01-15T02:05:16.6100782Z * [new branch] ui-update -> origin/ui-update 2021-01-15T02:05:16.6101496Z * [new tag] 1.0.5 -> 1.0.5 2021-01-15T02:05:16.6102271Z * [new tag] 1.0.6 -> 1.0.6 2021-01-15T02:05:16.6103065Z * [new tag] latest -> latest 2021-01-15T02:05:16.6103796Z * [new tag] v1.0 -> v1.0 2021-01-15T02:05:16.6104609Z * [new tag] v1.0.4 -> v1.0.4 2021-01-15T02:05:16.6105264Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.6106001Z ##[debug]Finished process 2517 with exit code 0, and elapsed time 00:00:00.9540747. 2021-01-15T02:05:16.6106893Z ##[debug]Checkout 7f4cfe43e558abe16a1b1e5a41b64244c1be89c1. 2021-01-15T02:05:16.6108231Z ##[command]git checkout --progress --force 7f4cfe43e558abe16a1b1e5a41b64244c1be89c1 2021-01-15T02:05:16.6109265Z ##[debug]Starting process: 2021-01-15T02:05:16.6110023Z ##[debug] File name: '/usr/bin/git' 2021-01-15T02:05:16.6111166Z ##[debug] Arguments: 'checkout --progress --force 7f4cfe43e558abe16a1b1e5a41b64244c1be89c1' 2021-01-15T02:05:16.6112578Z ##[debug] Working directory: '/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:16.6113655Z ##[debug] Require exit code zero: 'False' 2021-01-15T02:05:16.6114485Z ##[debug] Encoding web name: ; code page: '' 2021-01-15T02:05:16.6115320Z ##[debug] Force kill process on cancellation: 'False' 2021-01-15T02:05:16.6116333Z ##[debug] Redirected STDIN: 'False' 2021-01-15T02:05:16.6117530Z ##[debug] Persist current code page: 'False' 2021-01-15T02:05:16.6118994Z ##[debug] Keep redirected STDIN open: 'False' 2021-01-15T02:05:16.6119954Z ##[debug] High priority process: 'False' 2021-01-15T02:05:16.6120665Z ##[debug]Updated oom_score_adj to 500 for PID: 2527. 2021-01-15T02:05:16.6121514Z ##[debug]Process started with process id 2527, waiting for process exit. 2021-01-15T02:05:16.6385791Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.6387547Z Note: switching to '7f4cfe43e558abe16a1b1e5a41b64244c1be89c1'. 2021-01-15T02:05:16.6388190Z 2021-01-15T02:05:16.6389353Z You are in 'detached HEAD' state. You can look around, make experimental 2021-01-15T02:05:16.6390281Z changes and commit them, and you can discard any commits you make in this 2021-01-15T02:05:16.6391863Z state without impacting any branches by switching back to a branch. 2021-01-15T02:05:16.6392364Z 2021-01-15T02:05:16.6393493Z If you want to create a new branch to retain commits you create, you may 2021-01-15T02:05:16.6394934Z do so (now or later) by using -c with the switch command. Example: 2021-01-15T02:05:16.6395413Z 2021-01-15T02:05:16.6396472Z git switch -c 2021-01-15T02:05:16.6397033Z 2021-01-15T02:05:16.6398791Z Or undo this operation with: 2021-01-15T02:05:16.6400507Z 2021-01-15T02:05:16.6401916Z git switch - 2021-01-15T02:05:16.6403079Z 2021-01-15T02:05:16.6406685Z Turn off this advice by setting config variable advice.detachedHead to false 2021-01-15T02:05:16.6407508Z 2021-01-15T02:05:16.6408584Z HEAD is now at 7f4cfe4 Delete semgrep.yml 2021-01-15T02:05:16.6409598Z ##[debug]STDOUT/STDERR stream read finished. 2021-01-15T02:05:16.6410660Z ##[debug]Finished process 2527 with exit code 0, and elapsed time 00:00:00.0467703. 2021-01-15T02:05:16.6414145Z ##[remove-matcher owner=checkout-git] 2021-01-15T02:05:16.6419242Z ##[debug]Removed matchers: 'checkout-git' 2021-01-15T02:05:16.6507463Z ##[debug]Finishing: Run actions/checkout@v1 2021-01-15T02:05:16.6522001Z ##[debug]Evaluating condition for step: 'Get appbundle from artifacts' 2021-01-15T02:05:16.6527354Z ##[debug]Evaluating: success() 2021-01-15T02:05:16.6528481Z ##[debug]Evaluating success: 2021-01-15T02:05:16.6529827Z ##[debug]=> true 2021-01-15T02:05:16.6530740Z ##[debug]Result: true 2021-01-15T02:05:16.6533185Z ##[debug]Starting: Get appbundle from artifacts 2021-01-15T02:05:16.6567621Z ##[debug]Loading inputs 2021-01-15T02:05:16.6617065Z ##[debug]Loading env 2021-01-15T02:05:16.6630578Z ##[group]Run actions/download-artifact@v2 2021-01-15T02:05:16.6631330Z with: 2021-01-15T02:05:16.6631779Z name: appbundle 2021-01-15T02:05:16.6632245Z ##[endgroup] 2021-01-15T02:05:17.0437057Z ##[debug]Resolved path is /home/runner/work/reyts_mobile/reyts_mobile 2021-01-15T02:05:17.0441100Z Starting download for appbundle 2021-01-15T02:05:17.0450625Z ##[debug]Artifact Url: https://pipelines.actions.githubusercontent.com/Ehqa3K87f1yoO3fUczgmqU5mZYiX8x48bi7WFgoQp3gh8tpTfZ/_apis/pipelines/workflows/486872030/artifacts?api-version=6.0-preview 2021-01-15T02:05:17.1650110Z Directory structure has been setup for the artifact 2021-01-15T02:05:17.1652199Z ##[debug]Download file concurrency is set to 2 2021-01-15T02:05:17.1653544Z Total number of files that will be downloaded: 1 2021-01-15T02:05:17.3101510Z ##### Begin Diagnostic HTTP information ##### 2021-01-15T02:05:17.3102305Z Status Code: 200 2021-01-15T02:05:17.3102793Z Status Message: OK 2021-01-15T02:05:17.3103720Z Header Information: *** 2021-01-15T02:05:17.3104957Z "cache-control": "no-store,no-cache", 2021-01-15T02:05:17.3105854Z "pragma": "no-cache", 2021-01-15T02:05:17.3106697Z "content-length": "28391699", 2021-01-15T02:05:17.3107506Z "content-type": "application/octet-stream", 2021-01-15T02:05:17.3108334Z "content-encoding": "gzip", 2021-01-15T02:05:17.3109195Z "strict-transport-security": "max-age=2592000", 2021-01-15T02:05:17.3111147Z "x-tfs-processid": "9bc39f43-b4b0-4602-a51c-7e9b392cd0ae", 2021-01-15T02:05:17.3112642Z "activityid": "d0c3d955-b0a6-44d4-b7d9-78319913cf84", 2021-01-15T02:05:17.3113652Z "x-tfs-session": "d0c3d955-b0a6-44d4-b7d9-78319913cf84", 2021-01-15T02:05:17.3114633Z "x-vss-e2eid": "d0c3d955-b0a6-44d4-b7d9-78319913cf84", 2021-01-15T02:05:17.3116258Z "x-vss-senderdeploymentid": "a07ab14e-025a-39c3-8d53-788cd7ce207f", 2021-01-15T02:05:17.3117871Z "x-frame-options": "SAMEORIGIN", 2021-01-15T02:05:17.3119213Z "content-disposition": "attachment; filename=app-release.aab; filename*=UTF-8''app-release.aab", 2021-01-15T02:05:17.3120580Z "x-msedge-ref": "Ref A: 7C3EA77CE92F4097BB840C743A5DD389 Ref B: DM2EDGE0821 Ref C: 2021-01-15T02:05:17Z", 2021-01-15T02:05:17.3122051Z "date": "Fri, 15 Jan 2021 02:05:16 GMT" 2021-01-15T02:05:17.3122537Z *** 2021-01-15T02:05:17.3123040Z ###### End Diagnostic HTTP information ###### 2021-01-15T02:05:18.1669460Z Total file count: 1 ---- Processed file #0 (0.0%) 2021-01-15T02:05:18.4233027Z ##[debug]File: 1/1. /home/runner/work/reyts_mobile/reyts_mobile/app-release.aab took 1256.992 milliseconds to finish downloading 2021-01-15T02:05:18.4239126Z Artifact appbundle was downloaded to /home/runner/work/reyts_mobile/reyts_mobile 2021-01-15T02:05:18.4251004Z ::set-output name=download-path::/home/runner/work/reyts_mobile/reyts_mobile 2021-01-15T02:05:18.4252420Z ##[debug]='/home/runner/work/reyts_mobile/reyts_mobile' 2021-01-15T02:05:18.4253265Z Artifact download has finished successfully 2021-01-15T02:05:18.4304753Z ##[debug]Node Action run completed with exit code 0 2021-01-15T02:05:18.4309739Z ##[debug]Finishing: Get appbundle from artifacts 2021-01-15T02:05:18.4317511Z ##[debug]Evaluating condition for step: 'Release app to internal track' 2021-01-15T02:05:18.4321851Z ##[debug]Evaluating: success() 2021-01-15T02:05:18.4322738Z ##[debug]Evaluating success: 2021-01-15T02:05:18.4324086Z ##[debug]=> true 2021-01-15T02:05:18.4325272Z ##[debug]Result: true 2021-01-15T02:05:18.4327257Z ##[debug]Starting: Release app to internal track 2021-01-15T02:05:18.4372750Z ##[debug]Loading inputs 2021-01-15T02:05:18.4394206Z ##[debug]Evaluating: secrets.PLAYSTORE_ACCOUNT_KEY 2021-01-15T02:05:18.4395049Z ##[debug]Evaluating Index: 2021-01-15T02:05:18.4397765Z ##[debug]..Evaluating secrets: 2021-01-15T02:05:18.4399676Z ##[debug]..=> Object 2021-01-15T02:05:18.4415302Z ##[debug]..Evaluating String: 2021-01-15T02:05:18.4416451Z ##[debug]..=> 'PLAYSTORE_ACCOUNT_KEY' 2021-01-15T02:05:18.4422042Z ##[debug]=> '*** 2021-01-15T02:05:18.4422546Z ##[debug] *** 2021-01-15T02:05:18.4423105Z ##[debug] *** 2021-01-15T02:05:18.4423750Z ##[debug] *** 2021-01-15T02:05:18.4442228Z ##[debug] *** 2021-01-15T02:05:18.4443107Z ##[debug] *** 2021-01-15T02:05:18.4443669Z ##[debug] *** 2021-01-15T02:05:18.4444339Z ##[debug] *** 2021-01-15T02:05:18.4445261Z ##[debug] *** 2021-01-15T02:05:18.4445979Z ##[debug] *** 2021-01-15T02:05:18.4447037Z ##[debug] *** 2021-01-15T02:05:18.4447440Z ##[debug]***' 2021-01-15T02:05:18.4449830Z ##[debug]Result: '*** 2021-01-15T02:05:18.4450376Z ##[debug] *** 2021-01-15T02:05:18.4450940Z ##[debug] *** 2021-01-15T02:05:18.4451748Z ##[debug] *** 2021-01-15T02:05:18.4472658Z ##[debug] *** 2021-01-15T02:05:18.4473485Z ##[debug] *** 2021-01-15T02:05:18.4473920Z ##[debug] *** 2021-01-15T02:05:18.4474594Z ##[debug] *** 2021-01-15T02:05:18.4475259Z ##[debug] *** 2021-01-15T02:05:18.4475969Z ##[debug] *** 2021-01-15T02:05:18.4477024Z ##[debug] *** 2021-01-15T02:05:18.4477425Z ##[debug]***' 2021-01-15T02:05:18.4484168Z ##[debug]Loading env 2021-01-15T02:05:18.4494904Z ##[group]Run r0adkll/upload-google-play@v1 2021-01-15T02:05:18.4495477Z with: 2021-01-15T02:05:18.4517151Z serviceAccountJsonPlainText: *** 2021-01-15T02:05:18.4518101Z packageName: com.exchange.reyts 2021-01-15T02:05:18.4519150Z releaseFiles: app-release.aab 2021-01-15T02:05:18.4519696Z track: internal 2021-01-15T02:05:18.4520255Z whatsNewDirectory: distribution/whatsnew 2021-01-15T02:05:18.4520924Z inAppUpdatePriority: 0 2021-01-15T02:05:18.4521607Z ##[endgroup] 2021-01-15T02:05:18.9471622Z ##[debug]Validating app-release.aab exists 2021-01-15T02:05:18.9566133Z Creating a new Edit for this release 2021-01-15T02:05:19.3339664Z ##[error]The caller does not have permission 2021-01-15T02:05:19.3562414Z ##[debug]Node Action run completed with exit code 1 2021-01-15T02:05:19.3577919Z ##[debug]GOOGLE_APPLICATION_CREDENTIALS='./serviceAccountJson.json' 2021-01-15T02:05:19.3582704Z ##[debug]Finishing: Release app to internal track 2021-01-15T02:05:19.3595348Z ##[debug]Starting: Complete job 2021-01-15T02:05:19.3598228Z Uploading runner diagnostic logs 2021-01-15T02:05:19.3606708Z ##[debug]Starting diagnostic file upload. 2021-01-15T02:05:19.3607397Z ##[debug]Setting up diagnostic log folders. 2021-01-15T02:05:19.3611117Z ##[debug]Creating diagnostic log files folder. 2021-01-15T02:05:19.3617517Z ##[debug]Copying 1 worker diagnostic logs. 2021-01-15T02:05:19.3626555Z ##[debug]Copying 1 runner diagnostic logs. 2021-01-15T02:05:19.3628619Z ##[debug]Zipping diagnostic files. 2021-01-15T02:05:19.3670519Z ##[debug]Uploading diagnostic metadata file. 2021-01-15T02:05:19.3720694Z ##[debug]Diagnostic file upload complete. 2021-01-15T02:05:19.3722077Z Completed runner diagnostic log upload 2021-01-15T02:05:19.3722662Z Cleaning up orphan processes 2021-01-15T02:05:19.3976521Z ##[debug]Finishing: Complete job 2021-01-15T02:05:19.3983131Z ##[debug]Finishing: Release app to internal track ```
r0adkll commented 3 years ago

hmm, okay, could you verify in your Google Play Console under Users and permissions that the service account email is that list (and add it if not). If it is in the list (or you just added it) can you click on it and verify that it has access to the application you are trying to deploy.

alobmiba commented 3 years ago

I had all the required privileges granted. In fact, I had to add all 10 permissions just to test but to no avail. I tried unchecking and checking the boxes, as well as creating a new service account and granting all permissions.

image

image

Yes it does and I have verified that the account has the access to the application to be deployed

boswelja commented 3 years ago

@aadegbite Is the issue still occurring? I've just checked my configuration and I haven't granted separate app permissions, so perhaps try running again with just the releases permissions under account permissions?

alobmiba commented 3 years ago

Yes the issue still persists. I will try again one more time with your suggestions.

akm0012 commented 3 years ago

@aadegbite I had this same issue. This is how I got mine working:

  1. In Google Play Console go to "Settings" / "Developer Account" / "API Access".
  2. You should see your Service Account there. Click on "Grant Access"
  3. When you are cool with the permissions, press "Invite User"
  4. The Service account should instantly accept the invite and things should work after that.

Hope this helps!

BennyKok commented 3 years ago

In case anyone bumps into my situation, if you are using the same user for multiple apps, I have the same problem until I realized I haven't added the new app to the API user, and remember to hit the "Save changes" button after adding it. image

yairm210 commented 3 years ago

This is an annoying amount of guesswork... I encountered the same problem, and this was solved by granting Admin access in the Google Play Console, even though I just needed to upload files and create new versions.

Since this seems to be a common problem, I thought I'd post the final configuration:

All in all, thanks to both the existence of this Action and the various comments in this post, managed to get it all done in a couple of hours. I would suggest that if you're blind-testing this, you open a new branch, take a precompiled APK and put in in the repo, and then try and upload THAT, since the build step (which you'd use for your final test) is usually excessively longer than the upload step, and this will improve your iteration speed for this task.

Hope this helps future users the way you've all helped me!

jagdishjadeja commented 2 years ago

i am facing same issue has anyone found solution ?

yurii-a commented 2 years ago

I have faced the same issue and couldn't resolve until I completed the next steps.

  1. Create a Service Account with Editor rights and a key in Google Cloud console and add its JSON content to GitHub secrets.
  2. Go to the Play Store Developer Console > API access and "invite" the newly created a service account.
  3. Grant an access to edit the releases in Play Console.
  4. Choose your API user in Play Console and make sure it has access to your app. By default it has no access to any app.
  5. Enjoy. This video saved me some time.
krishnarajan-acumenTec commented 2 years ago

In case anyone bumps into my situation, if you are using the same user for multiple apps, I have the same problem until I realized I haven't added the new app to the API user, and remember to hit the "Save changes" button after adding it. image

i have a owner permission but still i couldn't

boswelja commented 2 years ago

This seems like a configuration issue in the Play Console, closing.