Skip to content

Governance cron fails #198

Description

@BastinJafari

Describe the bug
The Gov4Git Cron Jobs are failing in

https://github.com/SocialResonance/plural-boat-party-gov.public

To Reproduce
I don't know if it also happens with other repos

Expected behavior
I get an email periodically that the cron job failed

image

Attach the logs
Action log

2024-06-21T10:25:06.1960475Z Current runner version: '2.317.0'
2024-06-21T10:25:06.1983080Z ##[group]Operating System
2024-06-21T10:25:06.1983840Z Ubuntu
2024-06-21T10:25:06.1984207Z 22.04.4
2024-06-21T10:25:06.1984496Z LTS
2024-06-21T10:25:06.1984903Z ##[endgroup]
2024-06-21T10:25:06.1985313Z ##[group]Runner Image
2024-06-21T10:25:06.1985710Z Image: ubuntu-22.04
2024-06-21T10:25:06.1986176Z Version: 20240616.1.0
2024-06-21T10:25:06.1987174Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240616.1/images/ubuntu/Ubuntu2204-Readme.md
2024-06-21T10:25:06.1988585Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240616.1
2024-06-21T10:25:06.1989477Z ##[endgroup]
2024-06-21T10:25:06.1989899Z ##[group]Runner Image Provisioner
2024-06-21T10:25:06.1990381Z 2.0.370.1
2024-06-21T10:25:06.1990801Z ##[endgroup]
2024-06-21T10:25:06.1991663Z ##[group]GITHUB_TOKEN Permissions
2024-06-21T10:25:06.1993347Z Contents: write
2024-06-21T10:25:06.1993795Z Metadata: read
2024-06-21T10:25:06.1994316Z ##[endgroup]
2024-06-21T10:25:06.1996753Z Secret source: Actions
2024-06-21T10:25:06.1997342Z Prepare workflow directory
2024-06-21T10:25:06.2625436Z Prepare all required actions
2024-06-21T10:25:06.2785057Z Getting action download info
2024-06-21T10:25:06.4356387Z Download action repository 'actions/checkout@v4' (SHA:692973e3d937129bcbf40652eb9f2f61becf3332)
2024-06-21T10:25:06.7214396Z Download action repository 'actions/setup-python@v5' (SHA:82c7e631bb3cdc910f68e0081d67478d79c6982d)
2024-06-21T10:25:06.8101078Z Download action repository 'jaxxstorm/action-install-gh-release@v1.10.0' (SHA:c5ead9a448b4660cf1e7866ee22e4dc56538031a)
2024-06-21T10:25:08.6537913Z Complete job name: sync_github
2024-06-21T10:25:08.7447153Z ##[group]Run actions/checkout@v4
2024-06-21T10:25:08.7447760Z with:
2024-06-21T10:25:08.7448203Z repository: SocialResonance/plural-boat-party-gov.public
2024-06-21T10:25:08.7448939Z token: ***
2024-06-21T10:25:08.7449314Z ssh-strict: true
2024-06-21T10:25:08.7449649Z ssh-user: git
2024-06-21T10:25:08.7450018Z persist-credentials: true
2024-06-21T10:25:08.7450449Z clean: true
2024-06-21T10:25:08.7450756Z sparse-checkout-cone-mode: true
2024-06-21T10:25:08.7451178Z fetch-depth: 1
2024-06-21T10:25:08.7451563Z fetch-tags: false
2024-06-21T10:25:08.7451926Z show-progress: true
2024-06-21T10:25:08.7452228Z lfs: false
2024-06-21T10:25:08.7452611Z submodules: false
2024-06-21T10:25:08.7452988Z set-safe-directory: true
2024-06-21T10:25:08.7453317Z ##[endgroup]
2024-06-21T10:25:08.9982041Z Syncing repository: SocialResonance/plural-boat-party-gov.public
2024-06-21T10:25:08.9984055Z ##[group]Getting Git version info
2024-06-21T10:25:08.9985084Z Working directory is '/home/runner/work/plural-boat-party-gov.public/plural-boat-party-gov.public'
2024-06-21T10:25:08.9986275Z [command]/usr/bin/git version
2024-06-21T10:25:09.0024904Z git version 2.45.2
2024-06-21T10:25:09.0049834Z ##[endgroup]
2024-06-21T10:25:09.0063575Z Temporarily overriding HOME='/home/runner/work/_temp/d764dbbe-4ed4-462a-a3fb-0ac8f934d261' before making global git config changes
2024-06-21T10:25:09.0064698Z Adding repository directory to the temporary git global config as a safe directory
2024-06-21T10:25:09.0068937Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/plural-boat-party-gov.public/plural-boat-party-gov.public
2024-06-21T10:25:09.0110260Z Deleting the contents of '/home/runner/work/plural-boat-party-gov.public/plural-boat-party-gov.public'
2024-06-21T10:25:09.0113824Z ##[group]Initializing the repository
2024-06-21T10:25:09.0118868Z [command]/usr/bin/git init /home/runner/work/plural-boat-party-gov.public/plural-boat-party-gov.public
2024-06-21T10:25:09.0195682Z hint: Using 'master' as the name for the initial branch. This default branch name
2024-06-21T10:25:09.0197101Z hint: is subject to change. To configure the initial branch name to use in all
2024-06-21T10:25:09.0198398Z hint: of your new repositories, which will suppress this warning, call:
2024-06-21T10:25:09.0199406Z hint:
2024-06-21T10:25:09.0200524Z hint: git config --global init.defaultBranch
2024-06-21T10:25:09.0201392Z hint:
2024-06-21T10:25:09.0202498Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2024-06-21T10:25:09.0203913Z hint: 'development'. The just-created branch can be renamed via this command:
2024-06-21T10:25:09.0204871Z hint:
2024-06-21T10:25:09.0205573Z hint: git branch -m
2024-06-21T10:25:09.0206822Z Initialized empty Git repository in /home/runner/work/plural-boat-party-gov.public/plural-boat-party-gov.public/.git/
2024-06-21T10:25:09.0216246Z [command]/usr/bin/git remote add origin https://github.com/SocialResonance/plural-boat-party-gov.public
2024-06-21T10:25:09.0251467Z ##[endgroup]
2024-06-21T10:25:09.0252171Z ##[group]Disabling automatic garbage collection
2024-06-21T10:25:09.0256441Z [command]/usr/bin/git config --local gc.auto 0
2024-06-21T10:25:09.0287229Z ##[endgroup]
2024-06-21T10:25:09.0288417Z ##[group]Setting up auth
2024-06-21T10:25:09.0294673Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
2024-06-21T10:25:09.0327372Z [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-06-21T10:25:09.0689995Z [command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
2024-06-21T10:25:09.0721861Z [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-06-21T10:25:09.0962233Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2024-06-21T10:25:09.1004664Z ##[endgroup]
2024-06-21T10:25:09.1005605Z ##[group]Fetching the repository
2024-06-21T10:25:09.1013258Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +59e23540514c8e6ca3ed2c9f3c5d066d02da11b9:refs/remotes/origin/main
2024-06-21T10:25:09.2944967Z From https://github.com/SocialResonance/plural-boat-party-gov.public
2024-06-21T10:25:09.2946947Z * [new ref] 59e23540514c8e6ca3ed2c9f3c5d066d02da11b9 -> origin/main
2024-06-21T10:25:09.2971404Z ##[endgroup]
2024-06-21T10:25:09.2972376Z ##[group]Determining the checkout info
2024-06-21T10:25:09.2974898Z ##[endgroup]
2024-06-21T10:25:09.2979522Z [command]/usr/bin/git sparse-checkout disable
2024-06-21T10:25:09.3028303Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
2024-06-21T10:25:09.3060602Z ##[group]Checking out the ref
2024-06-21T10:25:09.3066611Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2024-06-21T10:25:09.3181010Z Switched to a new branch 'main'
2024-06-21T10:25:09.3183345Z branch 'main' set up to track 'origin/main'.
2024-06-21T10:25:09.3189434Z ##[endgroup]
2024-06-21T10:25:09.3229953Z [command]/usr/bin/git log -1 --format='%H'
2024-06-21T10:25:09.3254271Z '59e23540514c8e6ca3ed2c9f3c5d066d02da11b9'
2024-06-21T10:25:09.3582375Z ##[group]Run actions/setup-python@v5
2024-06-21T10:25:09.3582753Z with:
2024-06-21T10:25:09.3582984Z python-version: 3.11
2024-06-21T10:25:09.3583261Z architecture: x64
2024-06-21T10:25:09.3583526Z cache: pip
2024-06-21T10:25:09.3583757Z check-latest: false
2024-06-21T10:25:09.3584163Z token: ***
2024-06-21T10:25:09.3584416Z update-environment: true
2024-06-21T10:25:09.3584700Z allow-prereleases: false
2024-06-21T10:25:09.3585001Z ##[endgroup]
2024-06-21T10:25:09.5123057Z ##[group]Installed versions
2024-06-21T10:25:09.5184724Z Successfully set up CPython (3.11.9)
2024-06-21T10:25:09.5186059Z ##[endgroup]
2024-06-21T10:25:09.5930645Z [command]/opt/hostedtoolcache/Python/3.11.9/x64/bin/pip cache dir
2024-06-21T10:25:11.4317211Z /home/runner/.cache/pip
2024-06-21T10:25:11.9584861Z Cache Size: ~52 MB (54711661 B)
2024-06-21T10:25:11.9611801Z [command]/usr/bin/tar -xf /home/runner/work/_temp/1976f487-5fda-4660-a715-0f8adf60848e/cache.tzst -P -C /home/runner/work/plural-boat-party-gov.public/plural-boat-party-gov.public --use-compress-program unzstd
2024-06-21T10:25:12.0896842Z Cache restored successfully
2024-06-21T10:25:12.1010578Z Cache restored from key: setup-python-Linux-22.04-Ubuntu-python-3.11.9-pip-10cab0d0e94907e9591b349f3dc0999b130779abadd839ad67aece7da55d694c
2024-06-21T10:25:12.6181619Z Received 54711661 of 54711661 (100.0%), 52.2 MBs/sec
2024-06-21T10:25:12.6393081Z ##[group]Run pip install -r .github/python/requirements.txt
2024-06-21T10:25:12.6393696Z �[36;1mpip install -r .github/python/requirements.txt�[0m
2024-06-21T10:25:12.6520038Z shell: /usr/bin/bash -e {0}
2024-06-21T10:25:12.6520437Z env:
2024-06-21T10:25:12.6520842Z pythonLocation: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:12.6521578Z PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib/pkgconfig
2024-06-21T10:25:12.6522299Z Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:12.6522959Z Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:12.6523600Z Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:12.6524255Z LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib
2024-06-21T10:25:12.6524799Z ##[endgroup]
2024-06-21T10:25:13.6306546Z Collecting numpy==1.25.0 (from -r .github/python/requirements.txt (line 1))
2024-06-21T10:25:13.6323866Z Using cached numpy-1.25.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
2024-06-21T10:25:13.7699154Z Collecting matplotlib==3.7.1 (from -r .github/python/requirements.txt (line 2))
2024-06-21T10:25:13.7714179Z Using cached matplotlib-3.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
2024-06-21T10:25:13.8982429Z Collecting pandas==2.1.4 (from -r .github/python/requirements.txt (line 3))
2024-06-21T10:25:13.8997386Z Using cached pandas-2.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
2024-06-21T10:25:13.9698441Z Collecting contourpy>=1.0.1 (from matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:13.9713594Z Using cached contourpy-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.8 kB)
2024-06-21T10:25:13.9878618Z Collecting cycler>=0.10 (from matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:13.9891942Z Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
2024-06-21T10:25:14.1226637Z Collecting fonttools>=4.22.0 (from matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:14.1771424Z Downloading fonttools-4.53.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (162 kB)
2024-06-21T10:25:14.2009372Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.2/162.2 kB 7.2 MB/s eta 0:00:00
2024-06-21T10:25:14.2527293Z Collecting kiwisolver>=1.0.1 (from matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:14.2541376Z Using cached kiwisolver-1.4.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.4 kB)
2024-06-21T10:25:14.2886257Z Collecting packaging>=20.0 (from matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:14.2958825Z Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
2024-06-21T10:25:14.4776704Z Collecting pillow>=6.2.0 (from matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:14.4790806Z Using cached pillow-10.3.0-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (9.2 kB)
2024-06-21T10:25:14.5164920Z Collecting pyparsing>=2.3.1 (from matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:14.5177214Z Using cached pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
2024-06-21T10:25:14.5393593Z Collecting python-dateutil>=2.7 (from matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:14.5406650Z Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
2024-06-21T10:25:14.6685178Z Collecting pytz>=2020.1 (from pandas==2.1.4->-r .github/python/requirements.txt (line 3))
2024-06-21T10:25:14.6698124Z Using cached pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)
2024-06-21T10:25:14.6931751Z Collecting tzdata>=2022.1 (from pandas==2.1.4->-r .github/python/requirements.txt (line 3))
2024-06-21T10:25:14.6944388Z Using cached tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)
2024-06-21T10:25:14.7735131Z Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib==3.7.1->-r .github/python/requirements.txt (line 2))
2024-06-21T10:25:14.7746668Z Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
2024-06-21T10:25:14.7847270Z Using cached numpy-1.25.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB)
2024-06-21T10:25:14.8196575Z Using cached matplotlib-3.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
2024-06-21T10:25:14.8429229Z Using cached pandas-2.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB)
2024-06-21T10:25:14.8673197Z Using cached contourpy-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (306 kB)
2024-06-21T10:25:14.8691770Z Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
2024-06-21T10:25:14.8794834Z Downloading fonttools-4.53.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)
2024-06-21T10:25:15.0633215Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 27.0 MB/s eta 0:00:00
2024-06-21T10:25:15.0654537Z Using cached kiwisolver-1.4.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB)
2024-06-21T10:25:15.0757151Z Downloading packaging-24.1-py3-none-any.whl (53 kB)
2024-06-21T10:25:15.0804457Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 14.9 MB/s eta 0:00:00
2024-06-21T10:25:15.0817206Z Using cached pillow-10.3.0-cp311-cp311-manylinux_2_28_x86_64.whl (4.5 MB)
2024-06-21T10:25:15.0916835Z Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB)
2024-06-21T10:25:15.0931654Z Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
2024-06-21T10:25:15.0948663Z Using cached pytz-2024.1-py2.py3-none-any.whl (505 kB)
2024-06-21T10:25:15.0971405Z Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB)
2024-06-21T10:25:15.0990513Z Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
2024-06-21T10:25:15.3353609Z Installing collected packages: pytz, tzdata, six, pyparsing, pillow, packaging, numpy, kiwisolver, fonttools, cycler, python-dateutil, contourpy, pandas, matplotlib
2024-06-21T10:25:23.8652932Z Successfully installed contourpy-1.2.1 cycler-0.12.1 fonttools-4.53.0 kiwisolver-1.4.5 matplotlib-3.7.1 numpy-1.25.0 packaging-24.1 pandas-2.1.4 pillow-10.3.0 pyparsing-3.1.2 python-dateutil-2.9.0.post0 pytz-2024.1 six-1.16.0 tzdata-2024.1
2024-06-21T10:25:24.0115380Z
2024-06-21T10:25:24.0116676Z [notice] A new release of pip is available: 24.0 -> 24.1
2024-06-21T10:25:24.0117555Z [notice] To update, run: pip install --upgrade pip
2024-06-21T10:25:24.1627434Z ##[group]Run jaxxstorm/action-install-gh-release@v1.10.0
2024-06-21T10:25:24.1627930Z with:
2024-06-21T10:25:24.1628219Z repo: gov4git/gov4git
2024-06-21T10:25:24.1628530Z tag: v2.2.0
2024-06-21T10:25:24.1628815Z cache: enable
2024-06-21T10:25:24.1629082Z platform: linux
2024-06-21T10:25:24.1629347Z arch: x86_64
2024-06-21T10:25:24.1629747Z token: ***
2024-06-21T10:25:24.1630019Z extension-matching: enable
2024-06-21T10:25:24.1630326Z env:
2024-06-21T10:25:24.1630688Z pythonLocation: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.1631255Z PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib/pkgconfig
2024-06-21T10:25:24.1631847Z Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.1632370Z Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.1632902Z Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.1633451Z LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib
2024-06-21T10:25:24.1633848Z ##[endgroup]
2024-06-21T10:25:24.4718683Z ==> System reported platform: linux
2024-06-21T10:25:24.4720856Z ==> Using platform: linux
2024-06-21T10:25:24.4721514Z ==> System reported arch: x64
2024-06-21T10:25:24.4722163Z ==> Using arch: x86_64
2024-06-21T10:25:24.4722743Z ==> Using default file extension matching: .(tar.gz|zip)
2024-06-21T10:25:24.4724152Z ==> Binaries will be located at: /opt/hostedtoolcache/gov4git/gov4git/v2.2.0/linux-x86_64
2024-06-21T10:25:24.7652149Z Received 5590403 of 5590403 (100.0%), 44.4 MBs/sec
2024-06-21T10:25:24.7652966Z Cache Size: ~5 MB (5590403 B)
2024-06-21T10:25:24.7681435Z [command]/usr/bin/tar -xf /home/runner/work/_temp/d7a30f8d-e402-49f9-aa88-f15947d6bb91/cache.tzst -P -C /home/runner/work/plural-boat-party-gov.public/plural-boat-party-gov.public --use-compress-program unzstd
2024-06-21T10:25:24.8080872Z Cache restored successfully
2024-06-21T10:25:24.8097803Z Found gov4git in the cache: /opt/hostedtoolcache/gov4git/gov4git/v2.2.0/linux-x86_64
2024-06-21T10:25:24.8216623Z ##[group]Run chmod a+x .github/scripts/gov4git_cron.sh
2024-06-21T10:25:24.8217151Z �[36;1mchmod a+x .github/scripts/gov4git_cron.sh�[0m
2024-06-21T10:25:24.8281413Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2024-06-21T10:25:24.8281870Z env:
2024-06-21T10:25:24.8282199Z pythonLocation: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.8282803Z PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib/pkgconfig
2024-06-21T10:25:24.8283393Z Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.8283907Z Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.8284421Z Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.8284948Z LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib
2024-06-21T10:25:24.8285409Z ##[endgroup]
2024-06-21T10:25:24.8416124Z ##[group]Run .github/scripts/gov4git_cron.sh
2024-06-21T10:25:24.8416567Z �[36;1m.github/scripts/gov4git_cron.sh�[0m
2024-06-21T10:25:24.8473062Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2024-06-21T10:25:24.8473521Z env:
2024-06-21T10:25:24.8473845Z pythonLocation: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.8474425Z PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib/pkgconfig
2024-06-21T10:25:24.8475395Z Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.8475910Z Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.8476407Z Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
2024-06-21T10:25:24.8476917Z LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib
2024-06-21T10:25:24.8477646Z ORGANIZER_GITHUB_TOKEN: ***
2024-06-21T10:25:24.8477989Z PROJECT_OWNER: SocialResonance
2024-06-21T10:25:24.8478337Z PROJECT_REPO: plural-boat-party
2024-06-21T10:25:24.8478935Z GOV_PUBLIC_REPO_URL: https://github.com/SocialResonance/plural-boat-party-gov.public.git
2024-06-21T10:25:24.8479770Z GOV_PRIVATE_REPO_URL: https://github.com/SocialResonance/plural-boat-party-gov.private.git
2024-06-21T10:25:24.8480367Z SYNC_GITHUB_FREQ: 120
2024-06-21T10:25:24.8480657Z SYNC_COMMUNITY_FREQ: 3600
2024-06-21T10:25:24.8480956Z SYNC_FETCH_PAR: 5
2024-06-21T10:25:24.8481212Z ##[endgroup]
2024-06-21T10:25:24.8820944Z { "cache_dir": "/home/runner/.gov4git/cache", "auth": { "https://github.com/SocialResonance/plural-boat-party-gov.public.git": { "access_token": "" }, "https://github.com/SocialResonance/plural-boat-party-gov.private.git": { "access_token": "" } }, "gov_public_url": "https://github.com/SocialResonance/plural-boat-party-gov.public.git", "gov_public_branch": "main", "gov_private_url": "https://github.com/SocialResonance/plural-boat-party-gov.private.git", "gov_private_branch": "main" }
2024-06-21T10:25:24.8843743Z 2024-06-21T10:25:24Z INF /home/runner/work/gov4git/gov4git/gov4git/cmd/root.go:69 gov4git version: dev-rev-43f0fe9-2024-02-21, os: linux, arch: amd64
2024-06-21T10:25:24.9390249Z goroutine 1 [running]:
2024-06-21T10:25:24.9390967Z runtime/debug.Stack()
2024-06-21T10:25:24.9391937Z /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/debug/stack.go:24 +0x5e
2024-06-21T10:25:24.9393277Z github.com/gov4git/lib4git/must.mkErr(...)
2024-06-21T10:25:24.9394335Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/must/must.go:37
2024-06-21T10:25:24.9395624Z github.com/gov4git/lib4git/must.Panic(...)
2024-06-21T10:25:24.9396666Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/must/must.go:43
2024-06-21T10:25:24.9398487Z github.com/gov4git/lib4git/must.Errorf({0xd8a510?, 0xc00019f170}, {0xc7ee78?, 0xc000152c38?}, {0xc000152c08?, 0xc000152c98?, 0xc000152c60?})
2024-06-21T10:25:24.9400513Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/must/must.go:47 +0x65
2024-06-21T10:25:24.9401757Z github.com/gov4git/lib4git/must.Assertf(...)
2024-06-21T10:25:24.9402673Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/must/must.go:61
2024-06-21T10:25:24.9404195Z github.com/gov4git/lib4git/git.PullOnce({0xd8a510, 0xc00019f170}, 0xc00019f590, {0xc0000347d0, 0x43}, {0xc0001ac3c0, 0x1, 0x1})
2024-06-21T10:25:24.9405741Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/git/sync.go:137 +0x405
2024-06-21T10:25:24.9407051Z github.com/gov4git/lib4git/git.(*replicaClone).pull(0xc00007aa00, {0xd8a510, 0xc00019f170})
2024-06-21T10:25:24.9408419Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/git/replica.go:129 +0x16b
2024-06-21T10:25:24.9409634Z github.com/gov4git/lib4git/git.(*Cache).clone(0xc0001ac160, {0xd8a510, 0xc00019f170}, {{0xc0000347d0?, 0xb7a6e0?}, {0xc000013b4c?, 0xc000152e01?}}, 0x60?)
2024-06-21T10:25:24.9411409Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/git/cache.go:30 +0xc5
2024-06-21T10:25:24.9413533Z github.com/gov4git/lib4git/git.(*Cache).CloneOne(0xc00019f170?, {0xd8a510?, 0xc00019f170?}, {{0xc0000347d0?, 0x49f1ed?}, {0xc000013b4c?, 0x40e4ec?}})
2024-06-21T10:25:24.9415055Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/git/cache.go:21 +0x2a
2024-06-21T10:25:24.9415961Z github.com/gov4git/lib4git/git.CloneOne({0xd8a510, 0xc00019f170}, {{0xc0000347d0?, 0x7f1934ab21d8?}, {0xc000013b4c?, 0x10?}})
2024-06-21T10:25:24.9416840Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/git/clone.go:32 +0xb9
2024-06-21T10:25:24.9417867Z github.com/gov4git/gov4git/v2/proto/id.CloneOwner({0xd8a510, 0xc00019f170}, {{{0xc0000347d0, 0x43}, {0xc000013b4c, 0x4}}, {{0xc000034820, 0x44}, {0xc000013b50, 0x4}}})
2024-06-21T10:25:24.9418786Z /home/runner/work/gov4git/gov4git/proto/id/id.go:79 +0x6c
2024-06-21T10:25:24.9419707Z github.com/gov4git/gov4git/v2/proto/gov.CloneOwner({0xd8a510, 0xc00019f170}, {{{0xc0000347d0, 0x43}, {0xc000013b4c, 0x4}}, {{0xc000034820, 0x44}, {0xc000013b50, 0x4}}})
2024-06-21T10:25:24.9420633Z /home/runner/work/gov4git/gov4git/proto/gov/gov.go:33 +0x8b
2024-06-21T10:25:24.9421636Z github.com/gov4git/gov4git/v2/proto/cron.Cron({0xd8a510?, 0xc00019f170}, {{0x7fffcb20a941, 0xf}, {0x7fffcb20a951, 0x11}}, 0x0?, {{{0xc0000347d0, 0x43}, {0xc000013b4c, ...}}, ...}, ...)
2024-06-21T10:25:24.9422626Z /home/runner/work/gov4git/gov4git/proto/cron/cron.go:37 +0xa5
2024-06-21T10:25:24.9423169Z github.com/gov4git/gov4git/v2/gov4git/cmd.glob..func26.1()
2024-06-21T10:25:24.9423715Z /home/runner/work/gov4git/gov4git/gov4git/cmd/cron.go:30 +0x1cb
2024-06-21T10:25:24.9424225Z github.com/gov4git/lib4git/must.Try1Thru...
2024-06-21T10:25:24.9424809Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/must/must.go:116 +0x6e
2024-06-21T10:25:24.9425499Z github.com/gov4git/gov4git/v2/gov4git/api.Invoke1...
2024-06-21T10:25:24.9426066Z /home/runner/work/gov4git/gov4git/gov4git/api/result.go:33 +0x3d
2024-06-21T10:25:24.9426801Z github.com/gov4git/gov4git/v2/gov4git/cmd.glob..func26(0xc000163600?, {0xc712e2?, 0x4?, 0xc7120a?})
2024-06-21T10:25:24.9427528Z /home/runner/work/gov4git/gov4git/gov4git/cmd/cron.go:24 +0x25
2024-06-21T10:25:24.9428143Z github.com/spf13/cobra.(*Command).execute(0x12bfd60, {0xc000190310, 0x7, 0x7})
2024-06-21T10:25:24.9428822Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920 +0x863
2024-06-21T10:25:24.9429574Z github.com/spf13/cobra.(*Command).ExecuteC(0x12b8780)
2024-06-21T10:25:24.9430144Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
2024-06-21T10:25:24.9430693Z github.com/spf13/cobra.(*Command).Execute(...)
2024-06-21T10:25:24.9431202Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
2024-06-21T10:25:24.9431735Z github.com/gov4git/gov4git/v2/gov4git/cmd.Execute()
2024-06-21T10:25:24.9432247Z /home/runner/work/gov4git/gov4git/gov4git/cmd/root.go:107 +0x1a
2024-06-21T10:25:24.9432693Z main.main.func1()
2024-06-21T10:25:24.9433040Z /home/runner/work/gov4git/gov4git/gov4git/main.go:15 +0xf
2024-06-21T10:25:24.9433524Z github.com/gov4git/lib4git/must.TryWithStack(0x0?)
2024-06-21T10:25:24.9434109Z /home/runner/go/pkg/mod/github.com/gov4git/lib4git@v0.0.32/must/must.go:97 +0x79
2024-06-21T10:25:24.9434840Z main.main()
2024-06-21T10:25:24.9435211Z /home/runner/work/gov4git/gov4git/gov4git/main.go:14 +0x1e
2024-06-21T10:25:24.9435630Z {
2024-06-21T10:25:24.9435848Z "status": "error",
2024-06-21T10:25:24.9436855Z "msg": "url="https://github.com/SocialResonance/plural-boat-party-gov.public.git" refspecs=["refs/heads/main:refs/heads/main"] err=authentication required",
2024-06-21T10:25:24.9437722Z "error": {
2024-06-21T10:25:24.9438602Z "msg": "url="https://github.com/SocialResonance/plural-boat-party-gov.public.git" refspecs=["refs/heads/main:refs/heads/main"] err=authentication required"
2024-06-21T10:25:24.9439439Z }
2024-06-21T10:25:24.9439646Z }
2024-06-21T10:25:24.9449484Z ##[error]Process completed with exit code 1.
2024-06-21T10:25:24.9531260Z Post job cleanup.
2024-06-21T10:25:25.0463310Z [command]/usr/bin/git version
2024-06-21T10:25:25.0501370Z git version 2.45.2
2024-06-21T10:25:25.0542884Z Temporarily overriding HOME='/home/runner/work/_temp/547880b1-cdaf-4766-9997-beaf7b5f85ed' before making global git config changes
2024-06-21T10:25:25.0544140Z Adding repository directory to the temporary git global config as a safe directory
2024-06-21T10:25:25.0548580Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/plural-boat-party-gov.public/plural-boat-party-gov.public
2024-06-21T10:25:25.0585334Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
2024-06-21T10:25:25.0618583Z [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-06-21T10:25:25.0870192Z [command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
2024-06-21T10:25:25.0892866Z http.https://github.com/.extraheader
2024-06-21T10:25:25.0906177Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2024-06-21T10:25:25.0939824Z [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-06-21T10:25:25.1398202Z Cleaning up orphan processes

Activity

  1. petar commented on Jul 20, 2024

    @petar
    Member

    Please upgrade the version of gov4git in your cron to the latest v2.2.6. The crons are sometimes failing because the earlier version was taking too much time due to an inefficiency which is now fixed. You can set the cron’s gov4git version in the environment variables in your governence repo.

  2. AshBC commented on Aug 15, 2024

    @AshBC

    Hi @petar thanks for this great tool! We have a community of arts organizations who are new to code wanting to use it to manage a shared tool called CubeCommons.ca.
    I created a test repo last month and it worked great. We just made our main repo public "cubeca" a couple of days ago and tried to incorporate gov4git, but I now I am getting the same error as above. I am an not sure where to check which version of cron I have? I apologize I am new to this. Thanks for your help! :)

  3. petar commented on Aug 15, 2024

    @petar
    Member

    Hi @AshBC. Yes, let's upgrade your Gov4Git deployment to v2.2.6 and then if the issue persists we'll look further.
    To upgrade:

    • Go to your project's governance repo: https://github.com/cubeca/cube-gov.public/
    • Click on "Settings" (top nav bar, right cornet)
    • Click "Environments" in the sidebar
    • Click "gov4git:governance"
    • Find the variable called "GOV4GIT_RELEASE"
    • And change it's value from "v2.2.5" to "v2.2.6"

    Then, you can force run the governance cron (this is the periodic governance execution) by doing the following:

    • Click "Actions" in the nav bar
    • Click "Governance cron" in the side bar
    • Click the button "Run workflow"

    Wait to see if it succeeds.

  4. AshBC commented on Aug 15, 2024

    @AshBC

    Thanks @petar for the clear instructions and quick reply. I will let you know if it works.

  5. AshBC commented on Aug 15, 2024

    @AshBC

    Hi @petar unfortunately it failed again. Any help would be much appreciated. I am about to go offline in 30 minutes but will come back later today. Thank you very much! :)

  6. petar commented on Aug 15, 2024

    @petar
    Member

    The authentication error suggests that the GitHub access token you used to deploy governance is either expired or has insufficient privileges to clone the governance repository.

    Could you verify it is not expired? Dis you follow the on-screen instructions in the app how to create the token?

    FYI You can create a new token and configure Gov4Git tonuse it, following the same instructions as for setting the GOV4GIT_RELEASE, but instead change the variable called ORGANIZER_GITHUB_TOKEN to equal your token string.

  7. AshBC commented on Aug 16, 2024

    @AshBC

    As we had only just started, we decided to delete and re-deploy cubeca/cube through the app. I then re-updated the "GOV4GIT_RELEASE" from "v2.2.5" to "v2.2.6". And have created a new issue and managed a PR. All seems to be working well. To clarify your message above, when our token expires in a year, I create a new token here: https://github.com/settings/personal-access-tokens/new  and then paste it in ORGANIZER_GITHUB_TOKEN ?

    Thank you again for your help!

  8. petar commented on Aug 16, 2024

    @petar
    Member
  9. AshBC commented on Aug 17, 2024

    @AshBC

    Thanks @petar! This tool is something our community has been looking for, and we were really hoping we would find it in another open source project. Thank you for putting it out there and being so available for help.
    If you see Audrey please tell them, they're kinda my hero :) Hope that's not to cheezy.

  10. petar commented on Aug 17, 2024

    @petar
    Member

    Sounds good :) Let me know if you run into other issues or questions, especially if it is unclear how to use it or do something.

  11. AshBC commented on Sep 19, 2024

    @AshBC

    Hi @petar I hope you are having a good fall. I have run into a problem with a number or museums that are not allowed to download apps onto their work computer, and they don't want to manage their organizations participation in our Gov4git community from an app on their personal device. I looked back in your updates and saw that at one time I believe people could vote directly on Github vs from the Gov4git desktop app. Is there a label they can add to comments to turn them into a vote? Is this at all still possible? It's really hard for us to onboard organizations to decentralized or web3 communities because of this app problem. Browser based tools seem to be the only option for now. Thank you for your help.

  12. petar commented on Sep 21, 2024

    @petar
    Member

    Hi @AshBC. Thank you for your note and insight. Gov4git can be made into a GitHub Marketplace App, thereby not requiring a standalone desktop app to use it. However, at the moment the Gov4git Foundation does not have any engineers or sufficient funding to undertake this project. I would be happy to consider and discuss any help from you with funding sources that may be interested in accomplishing this feature. Let me know. Best regards.

  13. AshBC commented on Sep 23, 2024

    @AshBC

    Hi @petar, thanks for the info—this is good to know! We’re in a bit of a catch-22; there may be a budget for this, but the community first needs to experience and see value in the tool to get funds allocated toward it. We have a couple of proposals/issues open and plan to host a vote using the gov4git app later this fall. Hopefully, I can onboard enough organizations to make the vote a true demonstration of the tools value.

    If you'd like to join the CubeCommons community on gov4git and create an 'issue' describing what updating gov4git to enable voting directly on GitHub would involve, along with an estimated cost, that would be awesome! Doesn't need to be detailed, just enough to get it into the proposals under review.

  14. petar commented on Sep 24, 2024

    @petar
    Member

    Thanks @AshBC. Sounds good. I am glad you are trialing it. I am going to look into describing the GitHub App integration and think about how we could accomplish it. I suspect there are multiple approaches. Hiring a developer is one approach but probably expensive. Using open source bounties may be another. There are pros and cons to each. Let me give it some thought.

  15. AshBC commented on Sep 25, 2024

    @AshBC

    Thanks @petar I appreciate your thinking on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions