AnimMouse / setup-rclone

Setup/Install Rclone for GitHub Actions
https://github.com/marketplace/actions/setup-rclone-action
Mozilla Public License 2.0
38 stars 9 forks source link

Second rclone setup fails in a different workflow #12

Open nazikus opened 21 hours ago

nazikus commented 21 hours ago

I have two workflows (build and test) where rclone is used, first workflow executes correctly, then the second workflow is called and there rclone with exact same setup fails:

CRITICAL: Failed to create file system for "dataset:videos/2023_06_02.mp4": didn't find section in config file

The data is there, path is correct.

rclone.conf ```ini [dataset] type = drive scope = drive.readonly team_drive = *** service_account_file = $RCLONE_CONFIG_DIR/rclone-sa.json [dist] type = drive scope = drive.readonly team_drive = *** service_account_file = $RCLONE_CONFIG_DIR/rclone-sa.json ```
.github/workflows/build.yml ```yaml name: Build on: pull_request: jobs: build: runs-on: ubuntu-latest permissions: contents: read packages: write id-token: write steps: - name: Checkout code uses: actions/checkout@v4 - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Setup rclone uses: AnimMouse/setup-rclone@v1 with: rclone_config: ${{ secrets.RCLONE_CONFIG }} token: ${{ secrets.GITHUB_TOKEN }} - name: Add rclone service account uses: AnimMouse/setup-rclone/service-account-file@v1 with: service_account_filename: rclone-sa.json service_account_file: ${{ secrets.SERVICE_ACCOUNT_FILE }} - name: Download packages run: rclone --verbose copy dist:packages/ packages/ tests: needs: - build uses: ./.github/workflows/tests.yml ```
.github/workflows/tests.yml` ```yaml name: Tests on: workflow_call: jobs: smoke: runs-on: ubuntu-latest timeout-minutes: 5 permissions: contents: read packages: write id-token: write steps: - name: Checkout code uses: actions/checkout@v4 - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Setup rclone uses: AnimMouse/setup-rclone@v1 with: rclone_config: ${{ secrets.RCLONE_CONFIG }} token: ${{ secrets.GITHUB_TOKEN }} - name: Add rclone service account uses: AnimMouse/setup-rclone/service-account-file@v1 with: service_account_filename: rclone-sa.json service_account_file: ${{ secrets.SERVICE_ACCOUNT_FILE }} - name: Download test video run: rclone --verbose copy dataset:videos/2023_06_02.mp4 videos/ ```
build log 2024-11-22T22:17:23.5071821Z Current runner version: '2.320.0' 2024-11-22T22:17:23.5100982Z ##[group]Operating System 2024-11-22T22:17:23.5101664Z Ubuntu 2024-11-22T22:17:23.5102125Z 22.04.5 2024-11-22T22:17:23.5102473Z LTS 2024-11-22T22:17:23.5102812Z ##[endgroup] 2024-11-22T22:17:23.5103270Z ##[group]Runner Image 2024-11-22T22:17:23.5103737Z Image: ubuntu-22.04 2024-11-22T22:17:23.5104147Z Version: 20241117.1.0 2024-11-22T22:17:23.5105179Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20241117.1/images/ubuntu/Ubuntu2204-Readme.md 2024-11-22T22:17:23.5106660Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20241117.1 2024-11-22T22:17:23.5107534Z ##[endgroup] 2024-11-22T22:17:23.5108016Z ##[group]Runner Image Provisioner 2024-11-22T22:17:23.5108506Z 2.0.385.1 2024-11-22T22:17:23.5108914Z ##[endgroup] 2024-11-22T22:17:23.5123649Z ##[group]GITHUB_TOKEN Permissions 2024-11-22T22:17:23.5125425Z Contents: read 2024-11-22T22:17:23.5125861Z Metadata: read 2024-11-22T22:17:23.5126542Z Packages: write 2024-11-22T22:17:23.5127080Z ##[endgroup] 2024-11-22T22:17:23.5130175Z Secret source: Actions 2024-11-22T22:17:23.5130776Z Prepare workflow directory 2024-11-22T22:17:23.5763014Z Prepare all required actions 2024-11-22T22:17:23.5927165Z Getting action download info 2024-11-22T22:17:23.9014828Z Download action repository 'actions/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683) 2024-11-22T22:17:24.0415360Z Download action repository 'docker/login-action@v3' (SHA:9780b0c442fbb1117ed29e0efdff1e18412f7567) 2024-11-22T22:17:24.6518380Z Download action repository 'AnimMouse/setup-rclone@v1' (SHA:e4c62ff5f942e489edceaffb563832d970253322) 2024-11-22T22:17:25.2026348Z Getting action download info 2024-11-22T22:17:25.3924201Z Download action repository 'actions/cache@v4' (SHA:6849a6489940f00c2f30c0fb92c6274307ccb58a) 2024-11-22T22:17:25.4961152Z Download action repository 'AnimMouse/tool-cache@v1' (SHA:5c73a08045bdef61c81a6c60d208cff7ab36f3aa) 2024-11-22T22:17:26.1938862Z Complete job name: build-app-image 2024-11-22T22:17:26.2819179Z ##[group]Run actions/checkout@v4 2024-11-22T22:17:26.2819736Z with: 2024-11-22T22:17:26.2820112Z repository: evisiondynamics/geo-tracker 2024-11-22T22:17:26.2820788Z token: *** 2024-11-22T22:17:26.2821212Z ssh-strict: true 2024-11-22T22:17:26.2821574Z ssh-user: git 2024-11-22T22:17:26.2821946Z persist-credentials: true 2024-11-22T22:17:26.2822418Z clean: true 2024-11-22T22:17:26.2822796Z sparse-checkout-cone-mode: true 2024-11-22T22:17:26.2823199Z fetch-depth: 1 2024-11-22T22:17:26.2823590Z fetch-tags: false 2024-11-22T22:17:26.2823914Z show-progress: true 2024-11-22T22:17:26.2824253Z lfs: false 2024-11-22T22:17:26.2824646Z submodules: false 2024-11-22T22:17:26.2825014Z set-safe-directory: true 2024-11-22T22:17:26.2825458Z ##[endgroup] 2024-11-22T22:17:26.5279177Z Syncing repository: evisiondynamics/geo-tracker 2024-11-22T22:17:26.5281458Z ##[group]Getting Git version info 2024-11-22T22:17:26.5282735Z Working directory is '/home/runner/work/geo-tracker/geo-tracker' 2024-11-22T22:17:26.5284156Z [command]/usr/bin/git version 2024-11-22T22:17:26.5383570Z git version 2.47.0 2024-11-22T22:17:26.5424155Z ##[endgroup] 2024-11-22T22:17:26.5458042Z Temporarily overriding HOME='/home/runner/work/_temp/c120e1ed-7f3d-4639-9eb0-96f1938268c2' before making global git config changes 2024-11-22T22:17:26.5463940Z Adding repository directory to the temporary git global config as a safe directory 2024-11-22T22:17:26.5465596Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/geo-tracker/geo-tracker 2024-11-22T22:17:26.5501441Z Deleting the contents of '/home/runner/work/geo-tracker/geo-tracker' 2024-11-22T22:17:26.5506248Z ##[group]Initializing the repository 2024-11-22T22:17:26.5511926Z [command]/usr/bin/git init /home/runner/work/geo-tracker/geo-tracker 2024-11-22T22:17:26.5611469Z hint: Using 'master' as the name for the initial branch. This default branch name 2024-11-22T22:17:26.5613462Z hint: is subject to change. To configure the initial branch name to use in all 2024-11-22T22:17:26.5615873Z hint: of your new repositories, which will suppress this warning, call: 2024-11-22T22:17:26.5759061Z hint: 2024-11-22T22:17:26.5760530Z hint: git config --global init.defaultBranch 2024-11-22T22:17:26.5761400Z hint: 2024-11-22T22:17:26.5762525Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2024-11-22T22:17:26.5763866Z hint: 'development'. The just-created branch can be renamed via this command: 2024-11-22T22:17:26.5764859Z hint: 2024-11-22T22:17:26.5765560Z hint: git branch -m 2024-11-22T22:17:26.5766659Z Initialized empty Git repository in /home/runner/work/geo-tracker/geo-tracker/.git/ 2024-11-22T22:17:26.5769434Z [command]/usr/bin/git remote add origin https://github.com/evisiondynamics/geo-tracker 2024-11-22T22:17:26.5771833Z ##[endgroup] 2024-11-22T22:17:26.5772840Z ##[group]Disabling automatic garbage collection 2024-11-22T22:17:26.5773914Z [command]/usr/bin/git config --local gc.auto 0 2024-11-22T22:17:26.5817088Z ##[endgroup] 2024-11-22T22:17:26.5818633Z ##[group]Setting up auth 2024-11-22T22:17:26.5825906Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-11-22T22:17:26.5879373Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-11-22T22:17:26.6362196Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-11-22T22:17:26.6412533Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-11-22T22:17:26.6840813Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2024-11-22T22:17:26.6918154Z ##[endgroup] 2024-11-22T22:17:26.6919243Z ##[group]Fetching the repository 2024-11-22T22:17:26.6937729Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +2c344e13b222aef3a4a042be281f4e8308be58e8:refs/remotes/pull/326/merge 2024-11-22T22:17:27.1625679Z From https://github.com/evisiondynamics/geo-tracker 2024-11-22T22:17:27.1627295Z * [new ref] 2c344e13b222aef3a4a042be281f4e8308be58e8 -> pull/326/merge 2024-11-22T22:17:27.1679011Z ##[endgroup] 2024-11-22T22:17:27.1680046Z ##[group]Determining the checkout info 2024-11-22T22:17:27.1680866Z ##[endgroup] 2024-11-22T22:17:27.1685879Z [command]/usr/bin/git sparse-checkout disable 2024-11-22T22:17:27.1766104Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig 2024-11-22T22:17:27.1823263Z ##[group]Checking out the ref 2024-11-22T22:17:27.1832005Z [command]/usr/bin/git checkout --progress --force refs/remotes/pull/326/merge 2024-11-22T22:17:27.1975212Z Note: switching to 'refs/remotes/pull/326/merge'. 2024-11-22T22:17:27.1975766Z 2024-11-22T22:17:27.1976409Z You are in 'detached HEAD' state. You can look around, make experimental 2024-11-22T22:17:27.1982941Z changes and commit them, and you can discard any commits you make in this 2024-11-22T22:17:27.1984075Z state without impacting any branches by switching back to a branch. 2024-11-22T22:17:27.1985050Z 2024-11-22T22:17:27.1985510Z If you want to create a new branch to retain commits you create, you may 2024-11-22T22:17:27.1986712Z do so (now or later) by using -c with the switch command. Example: 2024-11-22T22:17:27.1987316Z 2024-11-22T22:17:27.1987585Z git switch -c 2024-11-22T22:17:27.1987960Z 2024-11-22T22:17:27.1988142Z Or undo this operation with: 2024-11-22T22:17:27.1988470Z 2024-11-22T22:17:27.1988629Z git switch - 2024-11-22T22:17:27.1988861Z 2024-11-22T22:17:27.1989321Z Turn off this advice by setting config variable advice.detachedHead to false 2024-11-22T22:17:27.1989996Z 2024-11-22T22:17:27.1990740Z HEAD is now at 2c344e1 Merge 523e85e344dbb9ed47f4d0eaecc1f1a3b557569e into 4badf248097ee8b166a828f4fd8e4f1484037248 2024-11-22T22:17:27.1993181Z ##[endgroup] 2024-11-22T22:17:27.2023387Z [command]/usr/bin/git log -1 --format=%H 2024-11-22T22:17:27.2048771Z 2c344e13b222aef3a4a042be281f4e8308be58e8 2024-11-22T22:17:27.2347883Z ##[group]Run docker/login-action@v3 2024-11-22T22:17:27.2348248Z with: 2024-11-22T22:17:27.2348471Z registry: ghcr.io 2024-11-22T22:17:27.2348737Z username: nazikus 2024-11-22T22:17:27.2349197Z password: *** 2024-11-22T22:17:27.2349443Z ecr: auto 2024-11-22T22:17:27.2349663Z logout: true 2024-11-22T22:17:27.2349899Z ##[endgroup] 2024-11-22T22:17:27.5345157Z Logging into ghcr.io... 2024-11-22T22:17:28.0961821Z Login Succeeded! 2024-11-22T22:17:28.1144636Z ##[group]Run AnimMouse/setup-rclone@v1 2024-11-22T22:17:28.1145015Z with: 2024-11-22T22:17:28.1148165Z rclone_config: *** 2024-11-22T22:17:28.1148532Z token: *** 2024-11-22T22:17:28.1148772Z disable_base64: false 2024-11-22T22:17:28.1149026Z version: latest 2024-11-22T22:17:28.1149274Z ##[endgroup] 2024-11-22T22:17:28.1397794Z ##[group]Run $GITHUB_ACTION_PATH/scripts/version/Unix-like.sh 2024-11-22T22:17:28.1398387Z $GITHUB_ACTION_PATH/scripts/version/Unix-like.sh 2024-11-22T22:17:28.1501254Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-11-22T22:17:28.1501695Z env: 2024-11-22T22:17:28.1501970Z version: latest 2024-11-22T22:17:28.1502409Z GITHUB_TOKEN: *** 2024-11-22T22:17:28.1502675Z ##[endgroup] 2024-11-22T22:17:30.5426172Z ##[group]Run actions/cache/restore@v4 2024-11-22T22:17:30.5426503Z with: 2024-11-22T22:17:30.5426742Z path: /opt/hostedtoolcache/Rclone 2024-11-22T22:17:30.5427074Z key: Rclone-v1.68.2-Linux-X64 2024-11-22T22:17:30.5427445Z enableCrossOsArchive: false 2024-11-22T22:17:30.5427758Z fail-on-cache-miss: false 2024-11-22T22:17:30.5428041Z lookup-only: false 2024-11-22T22:17:30.5428301Z ##[endgroup] 2024-11-22T22:17:32.3125312Z Received 0 of 20085779 (0.0%), 0.0 MBs/sec 2024-11-22T22:17:32.6636418Z Cache Size: ~19 MB (20085779 B) 2024-11-22T22:17:32.6671419Z [command]/usr/bin/tar -xf /home/runner/work/_temp/8625ba57-e65f-4aea-9ff8-56995f8565cb/cache.tzst -P -C /home/runner/work/geo-tracker/geo-tracker --use-compress-program unzstd 2024-11-22T22:17:32.8273149Z Cache restored successfully 2024-11-22T22:17:32.8551455Z Cache restored from key: Rclone-v1.68.2-Linux-X64 2024-11-22T22:17:32.8713184Z ##[group]Run AnimMouse/tool-cache@v1 2024-11-22T22:17:32.8713514Z with: 2024-11-22T22:17:32.8713738Z folder_name: Rclone 2024-11-22T22:17:32.8713998Z cache_hit: true 2024-11-22T22:17:32.8714242Z ##[endgroup] 2024-11-22T22:17:32.8746646Z ##[group]Run $GITHUB_ACTION_PATH/scripts/add-to-path/Unix-like.sh 2024-11-22T22:17:32.8747223Z $GITHUB_ACTION_PATH/scripts/add-to-path/Unix-like.sh 2024-11-22T22:17:32.8803887Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-11-22T22:17:32.8804307Z env: 2024-11-22T22:17:32.8804526Z folder_name: Rclone 2024-11-22T22:17:32.8804788Z ##[endgroup] 2024-11-22T22:17:32.8889799Z ##[group]Adding Rclone tool cache folder to path 2024-11-22T22:17:32.8890880Z ##[endgroup] 2024-11-22T22:17:32.8954089Z ##[group]Run $GITHUB_ACTION_PATH/scripts/sign-in/Unix-like.sh 2024-11-22T22:17:32.8954613Z $GITHUB_ACTION_PATH/scripts/sign-in/Unix-like.sh 2024-11-22T22:17:32.9010321Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-11-22T22:17:32.9010743Z env: 2024-11-22T22:17:32.9013880Z rclone_config: *** 2024-11-22T22:17:32.9014155Z disable_base64: false 2024-11-22T22:17:32.9014419Z ##[endgroup] 2024-11-22T22:17:32.9100650Z ##[group]Signing in to Rclone using Rclone config 2024-11-22T22:17:32.9132928Z ##[endgroup] 2024-11-22T22:17:32.9202553Z ##[group]Run AnimMouse/setup-rclone/service-account-file@v1 2024-11-22T22:17:32.9202997Z with: 2024-11-22T22:17:32.9203253Z service_account_filename: rclone-sa.json 2024-11-22T22:17:32.9335665Z service_account_file: *** 2024-11-22T22:17:32.9335996Z ##[endgroup] 2024-11-22T22:17:32.9357252Z ##[group]Run echo "$service_account_file" | base64 -d > "$HOME/.config/rclone/$service_account_filename" 2024-11-22T22:17:32.9358257Z echo "$service_account_file" | base64 -d > "$HOME/.config/rclone/$service_account_filename" 2024-11-22T22:17:32.9413934Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-11-22T22:17:32.9414337Z env: 2024-11-22T22:17:32.9414594Z service_account_filename: rclone-sa.json 2024-11-22T22:17:32.9545586Z service_account_file: *** 2024-11-22T22:17:32.9545913Z ##[endgroup] 2024-11-22T22:17:32.9677609Z ##[group]Run rclone --verbose copy dist:packages/ packages/ 2024-11-22T22:17:32.9678156Z rclone --verbose copy dist:packages/ packages/ 2024-11-22T22:17:32.9732323Z shell: /usr/bin/bash -e {0} 2024-11-22T22:17:32.9732629Z ##[endgroup] 2024-11-22T22:17:34.5010019Z 2024/11/22 22:17:34 INFO : opencv-gstreamer-dependencies_4.10.0.22.04_arm64.deb: Copied (new) 2024-11-22T22:17:34.9563666Z 2024/11/22 22:17:34 INFO : opencv-gstreamer-dependencies_4.10.0.22.04_amd64.deb: Copied (new) 2024-11-22T22:17:35.4274844Z 2024/11/22 22:17:35 INFO : opencv-gstreamer-dependencies_4.5.5.22.04_amd64.deb: Copied (new) 2024-11-22T22:17:35.6499999Z 2024/11/22 22:17:35 INFO : ndindex-1.9.2-cp311-cp311-linux_aarch64.whl: Copied (new) 2024-11-22T22:17:35.6899220Z 2024/11/22 22:17:35 INFO : line_profiler-4.1.3-cp311-cp311-linux_aarch64.whl: Copied (new) 2024-11-22T22:17:37.2912248Z 2024/11/22 22:17:37 INFO : psutil-5.9.5-cp311-abi3-linux_aarch64.whl: Copied (new) 2024-11-22T22:17:38.8247213Z 2024/11/22 22:17:38 INFO : pynng-0.8.0-cp311-cp311-linux_aarch64.whl: Copied (new) 2024-11-22T22:17:41.8245766Z 2024/11/22 22:17:41 INFO : opencv_gstreamer-4.5.5.22.04-py311-none-linux_x86_64.whl: Copied (new) 2024-11-22T22:17:42.5584321Z 2024/11/22 22:17:42 INFO : opencv_gstreamer-4.10.0.22.04-py311-none-linux_aarch64.whl: Copied (new) 2024-11-22T22:17:44.4929329Z 2024/11/22 22:17:44 INFO : opencv_gstreamer-4.10.0.22.04-py311-none-linux_x86_64.whl: Copied (new) 2024-11-22T22:17:46.0685093Z 2024/11/22 22:17:46 INFO : rasterio-1.3.11-cp311-cp311-linux_aarch64.whl: Copied (new) 2024-11-22T22:17:46.0686386Z 2024/11/22 22:17:46 INFO : 2024-11-22T22:17:46.0687299Z Transferred: 38.294 MiB / 38.294 MiB, 100%, 2.707 MiB/s, ETA 0s 2024-11-22T22:17:46.0688232Z Transferred: 11 / 11, 100% 2024-11-22T22:17:46.0689055Z Elapsed time: 13.0s 2024-11-22T22:17:46.0689650Z 2024-11-22T22:17:46.0755195Z Post job cleanup. 2024-11-22T22:17:46.3645681Z [command]/usr/bin/docker logout ghcr.io 2024-11-22T22:17:46.3863423Z Removing login credentials for ghcr.io 2024-11-22T22:17:46.3919790Z ##[group]Post cache 2024-11-22T22:17:46.3921537Z State not set 2024-11-22T22:17:46.3923205Z ##[endgroup] 2024-11-22T22:17:46.4086378Z Post job cleanup. 2024-11-22T22:17:46.5084410Z [command]/usr/bin/git version 2024-11-22T22:17:46.5125908Z git version 2.47.0 2024-11-22T22:17:46.5182329Z Temporarily overriding HOME='/home/runner/work/_temp/f357379c-9e82-4ea6-8b32-020d561e547f' before making global git config changes 2024-11-22T22:17:46.5184470Z Adding repository directory to the temporary git global config as a safe directory 2024-11-22T22:17:46.5188856Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/geo-tracker/geo-tracker 2024-11-22T22:17:46.5229217Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-11-22T22:17:46.5265762Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-11-22T22:17:46.5537962Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-11-22T22:17:46.5562476Z http.https://github.com/.extraheader 2024-11-22T22:17:46.5578773Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2024-11-22T22:17:46.5615798Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-11-22T22:17:46.6093018Z Cleaning up orphan processes
tests log 2024-11-22T22:17:56.1534662Z Current runner version: '2.320.0' 2024-11-22T22:17:56.1567195Z ##[group]Operating System 2024-11-22T22:17:56.1568385Z Ubuntu 2024-11-22T22:17:56.1569012Z 22.04.5 2024-11-22T22:17:56.1569627Z LTS 2024-11-22T22:17:56.1570351Z ##[endgroup] 2024-11-22T22:17:56.1570955Z ##[group]Runner Image 2024-11-22T22:17:56.1571660Z Image: ubuntu-22.04 2024-11-22T22:17:56.1572464Z Version: 20241117.1.0 2024-11-22T22:17:56.1573991Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20241117.1/images/ubuntu/Ubuntu2204-Readme.md 2024-11-22T22:17:56.1576224Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20241117.1 2024-11-22T22:17:56.1577726Z ##[endgroup] 2024-11-22T22:17:56.1578432Z ##[group]Runner Image Provisioner 2024-11-22T22:17:56.1579317Z 2.0.384.1 2024-11-22T22:17:56.1580151Z ##[endgroup] 2024-11-22T22:17:56.1601364Z ##[group]GITHUB_TOKEN Permissions 2024-11-22T22:17:56.1603728Z Contents: read 2024-11-22T22:17:56.1604365Z Metadata: read 2024-11-22T22:17:56.1605411Z Packages: write 2024-11-22T22:17:56.1606185Z ##[endgroup] 2024-11-22T22:17:56.1610432Z Secret source: Actions 2024-11-22T22:17:56.1611437Z Prepare workflow directory 2024-11-22T22:17:56.2549614Z Prepare all required actions 2024-11-22T22:17:56.2791565Z Getting action download info 2024-11-22T22:17:56.5157270Z Download action repository 'actions/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683) 2024-11-22T22:17:56.6328228Z Download action repository 'docker/login-action@v3' (SHA:9780b0c442fbb1117ed29e0efdff1e18412f7567) 2024-11-22T22:17:56.9519423Z Download action repository 'AnimMouse/setup-rclone@v1' (SHA:e4c62ff5f942e489edceaffb563832d970253322) 2024-11-22T22:17:57.0944049Z Download action repository 'mikefarah/yq@v4.43.1' (SHA:c35ec752e38ea0c096d3c44e13cfc0797ac394d8) 2024-11-22T22:17:57.6232076Z Getting action download info 2024-11-22T22:17:57.7551907Z Download action repository 'actions/cache@v4' (SHA:6849a6489940f00c2f30c0fb92c6274307ccb58a) 2024-11-22T22:17:57.9067613Z Download action repository 'AnimMouse/tool-cache@v1' (SHA:5c73a08045bdef61c81a6c60d208cff7ab36f3aa) 2024-11-22T22:17:58.1776361Z Uses: evisiondynamics/geo-tracker/.github/workflows/tests.yml@refs/pull/326/merge (2c344e13b222aef3a4a042be281f4e8308be58e8) 2024-11-22T22:17:58.1778270Z Complete job name: tests / smoke 2024-11-22T22:17:58.2346425Z ##[group]Pull down action image 'mikefarah/yq:4-githubaction' 2024-11-22T22:17:58.2431529Z ##[command]/usr/bin/docker pull mikefarah/yq:4-githubaction 2024-11-22T22:17:58.5697362Z 4-githubaction: Pulling from mikefarah/yq 2024-11-22T22:17:58.6479570Z da9db072f522: Already exists 2024-11-22T22:17:58.6506390Z fe6d8c7d0102: Pulling fs layer 2024-11-22T22:17:58.6507242Z 8bf8a8cfc183: Pulling fs layer 2024-11-22T22:17:58.6507691Z 9ff50715e852: Pulling fs layer 2024-11-22T22:17:58.6510957Z dda8c3df471c: Pulling fs layer 2024-11-22T22:17:58.6511692Z ef40521c75a6: Pulling fs layer 2024-11-22T22:17:58.6512271Z dda8c3df471c: Waiting 2024-11-22T22:17:58.6512967Z ef40521c75a6: Waiting 2024-11-22T22:17:58.7721302Z 9ff50715e852: Verifying Checksum 2024-11-22T22:17:58.7723159Z 9ff50715e852: Download complete 2024-11-22T22:17:58.7838896Z 8bf8a8cfc183: Verifying Checksum 2024-11-22T22:17:58.7840065Z 8bf8a8cfc183: Download complete 2024-11-22T22:17:58.8104161Z fe6d8c7d0102: Verifying Checksum 2024-11-22T22:17:58.8105422Z fe6d8c7d0102: Download complete 2024-11-22T22:17:58.8587164Z ef40521c75a6: Verifying Checksum 2024-11-22T22:17:58.8588485Z ef40521c75a6: Download complete 2024-11-22T22:17:58.8640476Z dda8c3df471c: Verifying Checksum 2024-11-22T22:17:58.8641468Z dda8c3df471c: Download complete 2024-11-22T22:17:59.0183634Z fe6d8c7d0102: Pull complete 2024-11-22T22:17:59.0342932Z 8bf8a8cfc183: Pull complete 2024-11-22T22:17:59.0514383Z 9ff50715e852: Pull complete 2024-11-22T22:17:59.0730705Z dda8c3df471c: Pull complete 2024-11-22T22:17:59.0857750Z ef40521c75a6: Pull complete 2024-11-22T22:17:59.0920562Z Digest: sha256:c961355bdf78bc20830bd7f2440e7171c3ab9074489b4ba0dabcd10b845d1239 2024-11-22T22:17:59.0925220Z Status: Downloaded newer image for mikefarah/yq:4-githubaction 2024-11-22T22:17:59.0926461Z docker.io/mikefarah/yq:4-githubaction 2024-11-22T22:17:59.0947741Z ##[endgroup] 2024-11-22T22:17:59.1531377Z ##[group]Run actions/checkout@v4 2024-11-22T22:17:59.1532010Z with: 2024-11-22T22:17:59.1532738Z repository: evisiondynamics/geo-tracker 2024-11-22T22:17:59.1533681Z token: *** 2024-11-22T22:17:59.1534166Z ssh-strict: true 2024-11-22T22:17:59.1534829Z ssh-user: git 2024-11-22T22:17:59.1535403Z persist-credentials: true 2024-11-22T22:17:59.1535984Z clean: true 2024-11-22T22:17:59.1536627Z sparse-checkout-cone-mode: true 2024-11-22T22:17:59.1537290Z fetch-depth: 1 2024-11-22T22:17:59.1537783Z fetch-tags: false 2024-11-22T22:17:59.1538418Z show-progress: true 2024-11-22T22:17:59.1538965Z lfs: false 2024-11-22T22:17:59.1539393Z submodules: false 2024-11-22T22:17:59.1540040Z set-safe-directory: true 2024-11-22T22:17:59.1540612Z ##[endgroup] 2024-11-22T22:17:59.3694206Z Syncing repository: evisiondynamics/geo-tracker 2024-11-22T22:17:59.3695879Z ##[group]Getting Git version info 2024-11-22T22:17:59.3696785Z Working directory is '/home/runner/work/geo-tracker/geo-tracker' 2024-11-22T22:17:59.3697931Z [command]/usr/bin/git version 2024-11-22T22:17:59.3754412Z git version 2.47.0 2024-11-22T22:17:59.3780512Z ##[endgroup] 2024-11-22T22:17:59.3806238Z Temporarily overriding HOME='/home/runner/work/_temp/83533dca-40a1-4e50-ad7e-fbfb6ea261a6' before making global git config changes 2024-11-22T22:17:59.3808662Z Adding repository directory to the temporary git global config as a safe directory 2024-11-22T22:17:59.3813794Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/geo-tracker/geo-tracker 2024-11-22T22:17:59.3852188Z Deleting the contents of '/home/runner/work/geo-tracker/geo-tracker' 2024-11-22T22:17:59.3856292Z ##[group]Initializing the repository 2024-11-22T22:17:59.3861507Z [command]/usr/bin/git init /home/runner/work/geo-tracker/geo-tracker 2024-11-22T22:17:59.3922371Z hint: Using 'master' as the name for the initial branch. This default branch name 2024-11-22T22:17:59.3924196Z hint: is subject to change. To configure the initial branch name to use in all 2024-11-22T22:17:59.3926074Z hint: of your new repositories, which will suppress this warning, call: 2024-11-22T22:17:59.3927341Z hint: 2024-11-22T22:17:59.3928257Z hint: git config --global init.defaultBranch 2024-11-22T22:17:59.3929162Z hint: 2024-11-22T22:17:59.3930015Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2024-11-22T22:17:59.3931302Z hint: 'development'. The just-created branch can be renamed via this command: 2024-11-22T22:17:59.3931954Z hint: 2024-11-22T22:17:59.3932318Z hint: git branch -m 2024-11-22T22:17:59.3939897Z Initialized empty Git repository in /home/runner/work/geo-tracker/geo-tracker/.git/ 2024-11-22T22:17:59.3956086Z [command]/usr/bin/git remote add origin https://github.com/evisiondynamics/geo-tracker 2024-11-22T22:17:59.3994011Z ##[endgroup] 2024-11-22T22:17:59.3995383Z ##[group]Disabling automatic garbage collection 2024-11-22T22:17:59.3999716Z [command]/usr/bin/git config --local gc.auto 0 2024-11-22T22:17:59.4034497Z ##[endgroup] 2024-11-22T22:17:59.4035785Z ##[group]Setting up auth 2024-11-22T22:17:59.4044659Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-11-22T22:17:59.4084119Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-11-22T22:17:59.4383455Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-11-22T22:17:59.4426094Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-11-22T22:17:59.4674291Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2024-11-22T22:17:59.4718236Z ##[endgroup] 2024-11-22T22:17:59.4719251Z ##[group]Fetching the repository 2024-11-22T22:17:59.4729309Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +2c344e13b222aef3a4a042be281f4e8308be58e8:refs/remotes/pull/326/merge 2024-11-22T22:17:59.7226023Z From https://github.com/evisiondynamics/geo-tracker 2024-11-22T22:17:59.7226955Z * [new ref] 2c344e13b222aef3a4a042be281f4e8308be58e8 -> pull/326/merge 2024-11-22T22:17:59.7256148Z ##[endgroup] 2024-11-22T22:17:59.7257323Z ##[group]Determining the checkout info 2024-11-22T22:17:59.7258911Z ##[endgroup] 2024-11-22T22:17:59.7264104Z [command]/usr/bin/git sparse-checkout disable 2024-11-22T22:17:59.7305028Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig 2024-11-22T22:17:59.7335072Z ##[group]Checking out the ref 2024-11-22T22:17:59.7338965Z [command]/usr/bin/git checkout --progress --force refs/remotes/pull/326/merge 2024-11-22T22:17:59.7433241Z Note: switching to 'refs/remotes/pull/326/merge'. 2024-11-22T22:17:59.7434058Z 2024-11-22T22:17:59.7435038Z You are in 'detached HEAD' state. You can look around, make experimental 2024-11-22T22:17:59.7436555Z changes and commit them, and you can discard any commits you make in this 2024-11-22T22:17:59.7437877Z state without impacting any branches by switching back to a branch. 2024-11-22T22:17:59.7438733Z 2024-11-22T22:17:59.7439538Z If you want to create a new branch to retain commits you create, you may 2024-11-22T22:17:59.7441267Z do so (now or later) by using -c with the switch command. Example: 2024-11-22T22:17:59.7442258Z 2024-11-22T22:17:59.7442766Z git switch -c 2024-11-22T22:17:59.7443653Z 2024-11-22T22:17:59.7444099Z Or undo this operation with: 2024-11-22T22:17:59.7444632Z 2024-11-22T22:17:59.7445005Z git switch - 2024-11-22T22:17:59.7445421Z 2024-11-22T22:17:59.7446082Z Turn off this advice by setting config variable advice.detachedHead to false 2024-11-22T22:17:59.7447172Z 2024-11-22T22:17:59.7448045Z HEAD is now at 2c344e1 Merge 523e85e344dbb9ed47f4d0eaecc1f1a3b557569e into 4badf248097ee8b166a828f4fd8e4f1484037248 2024-11-22T22:17:59.7451262Z ##[endgroup] 2024-11-22T22:17:59.7483811Z [command]/usr/bin/git log -1 --format=%H 2024-11-22T22:17:59.7507798Z 2c344e13b222aef3a4a042be281f4e8308be58e8 2024-11-22T22:17:59.7812945Z ##[group]Run docker/login-action@v3 2024-11-22T22:17:59.7813486Z with: 2024-11-22T22:17:59.7813757Z registry: ghcr.io 2024-11-22T22:17:59.7814118Z username: nazikus 2024-11-22T22:17:59.7814661Z password: *** 2024-11-22T22:17:59.7814968Z ecr: auto 2024-11-22T22:17:59.7815272Z logout: true 2024-11-22T22:17:59.7815647Z ##[endgroup] 2024-11-22T22:18:00.1631311Z Logging into ghcr.io... 2024-11-22T22:18:00.3241984Z Login Succeeded! 2024-11-22T22:18:00.3438416Z ##[group]Run AnimMouse/setup-rclone@v1 2024-11-22T22:18:00.3438940Z with: 2024-11-22T22:18:00.3439413Z token: *** 2024-11-22T22:18:00.3439816Z disable_base64: false 2024-11-22T22:18:00.3440168Z version: latest 2024-11-22T22:18:00.3440501Z ##[endgroup] 2024-11-22T22:18:00.3698961Z ##[group]Run $GITHUB_ACTION_PATH/scripts/version/Unix-like.sh 2024-11-22T22:18:00.3699753Z $GITHUB_ACTION_PATH/scripts/version/Unix-like.sh 2024-11-22T22:18:00.3777238Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-11-22T22:18:00.3777883Z env: 2024-11-22T22:18:00.3778209Z version: latest 2024-11-22T22:18:00.3778663Z GITHUB_TOKEN: *** 2024-11-22T22:18:00.3779078Z ##[endgroup] 2024-11-22T22:18:00.6942120Z ##[group]Run actions/cache/restore@v4 2024-11-22T22:18:00.6942538Z with: 2024-11-22T22:18:00.6942875Z path: /opt/hostedtoolcache/Rclone 2024-11-22T22:18:00.6943320Z key: Rclone-v1.68.2-Linux-X64 2024-11-22T22:18:00.6943739Z enableCrossOsArchive: false 2024-11-22T22:18:00.6944310Z fail-on-cache-miss: false 2024-11-22T22:18:00.6944654Z lookup-only: false 2024-11-22T22:18:00.6945006Z ##[endgroup] 2024-11-22T22:18:01.1603084Z Cache Size: ~19 MB (20085779 B) 2024-11-22T22:18:01.1633856Z [command]/usr/bin/tar -xf /home/runner/work/_temp/fedcefc7-7a45-4bd9-b786-90873a05bfff/cache.tzst -P -C /home/runner/work/geo-tracker/geo-tracker --use-compress-program unzstd 2024-11-22T22:18:01.3251072Z Cache restored successfully 2024-11-22T22:18:01.3416533Z Cache restored from key: Rclone-v1.68.2-Linux-X64 2024-11-22T22:18:01.3579975Z ##[group]Run AnimMouse/tool-cache@v1 2024-11-22T22:18:01.3580389Z with: 2024-11-22T22:18:01.3580788Z folder_name: Rclone 2024-11-22T22:18:01.3581111Z cache_hit: true 2024-11-22T22:18:01.3581470Z ##[endgroup] 2024-11-22T22:18:01.3621617Z ##[group]Run $GITHUB_ACTION_PATH/scripts/add-to-path/Unix-like.sh 2024-11-22T22:18:01.3622356Z $GITHUB_ACTION_PATH/scripts/add-to-path/Unix-like.sh 2024-11-22T22:18:01.3680824Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-11-22T22:18:01.3681369Z env: 2024-11-22T22:18:01.3681768Z folder_name: Rclone 2024-11-22T22:18:01.3682144Z ##[endgroup] 2024-11-22T22:18:01.3765557Z ##[group]Adding Rclone tool cache folder to path 2024-11-22T22:18:01.3766739Z ##[endgroup] 2024-11-22T22:18:01.3832349Z ##[group]Run $GITHUB_ACTION_PATH/scripts/sign-in/Unix-like.sh 2024-11-22T22:18:01.3832949Z $GITHUB_ACTION_PATH/scripts/sign-in/Unix-like.sh 2024-11-22T22:18:01.3884558Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-11-22T22:18:01.3885070Z env: 2024-11-22T22:18:01.3885471Z rclone_config: 2024-11-22T22:18:01.3885802Z disable_base64: false 2024-11-22T22:18:01.3886147Z ##[endgroup] 2024-11-22T22:18:01.3970531Z ##[group]Signing in to Rclone using Rclone config 2024-11-22T22:18:01.3996935Z ##[endgroup] 2024-11-22T22:18:01.4077211Z ##[group]Run AnimMouse/setup-rclone/service-account-file@v1 2024-11-22T22:18:01.4077843Z with: 2024-11-22T22:18:01.4078181Z service_account_filename: rclone-sa.json 2024-11-22T22:18:01.4078663Z ##[endgroup] 2024-11-22T22:18:01.4105166Z ##[group]Run echo "$service_account_file" | base64 -d > "$HOME/.config/rclone/$service_account_filename" 2024-11-22T22:18:01.4106076Z echo "$service_account_file" | base64 -d > "$HOME/.config/rclone/$service_account_filename" 2024-11-22T22:18:01.4156941Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-11-22T22:18:01.4157430Z env: 2024-11-22T22:18:01.4157868Z service_account_filename: rclone-sa.json 2024-11-22T22:18:01.4158313Z service_account_file: 2024-11-22T22:18:01.4158747Z ##[endgroup] 2024-11-22T22:18:01.4289462Z ##[group]Run rclone --verbose copy dataset:videos/2023_06_02.mp4 videos/ 2024-11-22T22:18:01.4290144Z rclone --verbose copy dataset:videos/2023_06_02.mp4 videos/ 2024-11-22T22:18:01.4340360Z shell: /usr/bin/bash -e {0} 2024-11-22T22:18:01.4340772Z ##[endgroup] 2024-11-22T22:18:01.4915779Z 2024/11/22 22:18:01 CRITICAL: Failed to create file system for "dataset:videos/2023_06_02.mp4": didn't find section in config file 2024-11-22T22:18:01.4948332Z ##[error]Process completed with exit code 1. 2024-11-22T22:18:01.5028669Z Post job cleanup. 2024-11-22T22:18:01.8324296Z [command]/usr/bin/docker logout ghcr.io 2024-11-22T22:18:01.8492348Z Removing login credentials for ghcr.io 2024-11-22T22:18:01.8535896Z ##[group]Post cache 2024-11-22T22:18:01.8537514Z State not set 2024-11-22T22:18:01.8538974Z ##[endgroup] 2024-11-22T22:18:01.8695948Z Post job cleanup. 2024-11-22T22:18:01.9634138Z [command]/usr/bin/git version 2024-11-22T22:18:01.9679134Z git version 2.47.0 2024-11-22T22:18:01.9819109Z Temporarily overriding HOME='/home/runner/work/_temp/9d941f5d-0e9c-46cf-9ae2-3f683fdc0796' before making global git config changes 2024-11-22T22:18:01.9821482Z Adding repository directory to the temporary git global config as a safe directory 2024-11-22T22:18:01.9825474Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/geo-tracker/geo-tracker 2024-11-22T22:18:01.9866335Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-11-22T22:18:01.9905281Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-11-22T22:18:02.0192233Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-11-22T22:18:02.0218049Z http.https://github.com/.extraheader 2024-11-22T22:18:02.0237301Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2024-11-22T22:18:02.0278922Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-11-22T22:18:02.0763200Z Cleaning up orphan processes

What I've noticed in logs, rclone_config: *** in build job is filled and rclone_config: in tests job is empty, but I'm struggling to understand why. Any help appreciated. Thank you

AnimMouse commented 4 hours ago

By default, GitHub Actions does not pass secrets to reusable workflows.

In your .github/workflows/build.yml, do this:

  tests:
    needs:
      - build
    uses: ./.github/workflows/tests.yml
    secrets: inherit

And then it should work.

Or if you want to pass secret explicitly:

  tests:
    needs:
      - build
    uses: ./.github/workflows/tests.yml
    secrets:
      RCLONE_CONFIG: ${{ secrets.RCLONE_CONFIG }}

And then in your .github/workflows/tests.yml:

on:
  workflow_call:
    secrets:
      RCLONE_CONFIG:
        required: true