SharezoneApp / sharezone-app

Sharezone is a collaborative school organization app for iOS, Android, macOS and web with +500,000 downloads. Built with Flutter & Firebase.
https://sharezone.net
European Union Public License 1.2
254 stars 46 forks source link

CI/CD pipelines fails because of "Another git process seems to be running in this repository" #1658

Closed nilsreichardt closed 2 weeks ago

nilsreichardt commented 2 weeks ago
ProcessRunnerException: Running "flutter test --test-randomize-ordering-seed 4010264459 --dart-define=TEST_RANDOMNESS_SEED=4010264459" in /home/runner/work/sharezone-app/sharezone-app/lib/last_online_reporting exited with code 69
Resolving dependencies...
Downloading packages...
Git error. Command: `git checkout 2f680bb80119f6fd037a7bda0984bc811b5dccb8`
stdout: 
stderr: fatal: Unable to create '/home/runner/.pub-cache/git/packages-2f680bb80119f6fd037a7bda0984bc811b5dccb8/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
exit code: 1[28](https://github.com/SharezoneApp/sharezone-app/actions/runs/9436357917/job/25990962362#step:7:29)
:
Git error. Command: `git checkout 2f680bb80119f6fd037a7bda0984bc811b5dccb8`
stdout: 
stderr: fatal: Unable to create '/home/runner/.pub-cache/git/packages-2f680bb80119f6fd037a7bda0984bc811b5dccb8/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
exit code: 128