Closed yarikoptic closed 1 year ago
did that in 1e24823928154e62077c5abb41dbb00ad9fcb094, have done a run and I thought it all worked out nice but then there were no commit in super dataset and neither of them was pushed. I vaguely remember complaining that there was output in stderr,... odd, but I will ignore for now.
345 made our process not crash BUT brought another interesting/odd behavior ...
complains about lock file but not crash, and then does not add/commit some files
```shell (base) dandi@drogon:/mnt/backup/dandi/dandisets$ flock -E 0 -e -n /home/dandi/.run/backup2datalad-cron.lock bash -c '/mnt/backup/dandi/dandisets/tools/backups2datalad-update-cron' add dandiset.yaml (non-large file; adding content to git repository) ok (recording state in git...) fatal: Unable to create '/mnt/backup/dandi/dandisets/000026/.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. fatal: Unable to create '/mnt/backup/dandi/dandisets/000026/.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. fatal: Unable to create '/mnt/backup/dandi/dandisets/000026/.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. fatal: Unable to create '/mnt/backup/dandi/dandisets/000026/.git/index.lock': File exists. ... create mode 100644 sub-KC001/ses-MRI/anat/sub-KC001_ses-MRI_echo-2_flip-3_VFA.json create mode 100644 sub-KC001/ses-MRI/anat/sub-KC001_ses-MRI_echo-3_flip-1_VFA.json create mode 100644 sub-KC001/ses-MRI/anat/sub-KC001_ses-MRI_echo-3_flip-2_VFA.json create mode 100644 sub-KC001/ses-MRI/anat/sub-KC001_ses-MRI_echo-3_flip-3_VFA.json create mode 100644 sub-KC001/ses-MRI/anat/sub-KC001_ses-MRI_echo-4_flip-2_VFA.json create mode 100644 sub-KC001/ses-MRI/anat/sub-KC001_ses-MRI_echo-4_flip-3_VFA.json create mode 100644 sub-KC001/ses-MRI/anat/sub-KC001_ses-MRI_echo-4_flip-4_VFA.json 2023-04-19T13:01:30-0400 [ERROR ] backups2datalad: Job failed on inputmy wild suspicion is that due to removed precommit call... so I will return it back quickly and try again