-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
First attempt to add trdl repo failed with timeout error:
$ curl -sSL https://werf.io/install.sh | bash -s -- --ci
[INPUT REQUIRED] Current login shell is "bash". Press ENTER to setup werf for this shell or choose another one.
[b]ash/[z]sh/[a]bort? Default: bash.
[INFO] Skipping trdl installation: already installed in "/home/gitlab-runner/bin/".
[INFO] Adding werf repo to trdl.
Error: unable to init repository "werf" client: unable to download "1.root.json": Get "https://tuf.werf.io/1.root.json": dial tcp 54.38.250.137:443: i/o timeout
[FATAL] Can't add "werf" repo to trdl.
[FATAL] Aborting.
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit status 1
— this process has failed with the error, but there also was a spawned background process, which hanged:
gitlab-+ 137033 0.0 0.0 7232 1264 ? S 03:46 0:00 bash -l
gitlab-+ 137036 0.0 0.0 7800 3608 ? S 03:46 0:00 \_ bash -s -- --ci
gitlab-+ 137198 0.0 0.1 719784 10448 ? Sl 03:46 0:01 \_ /home/gitlab-runner/bin/trdl add werf https://tuf.werf.io/ 1 b7ff6bcbe598e072a86d595a3621924c8612c7e6dc6a82e919abe89707d7e3f468e616b5635630680dd1e98fc362ae5051728406700e6274c5ed1ad92bea52a2
— this process held a file lock.
Next tries to run install script with trdl will always fail with file-lock timeout:
$ curl -sSL https://werf.io/install.sh | bash -s -- --ci
[INPUT REQUIRED] Current login shell is "bash". Press ENTER to setup werf for this shell or choose another one.
[b]ash/[z]sh/[a]bort? Default: bash.
[INFO] Skipping trdl installation: already installed in "/home/gitlab-runner/bin/".
[INFO] Adding werf repo to trdl.
Error: "/home/gitlab-runner/.trdl/.locks/2d478ff12948954c4b93c051a64d7374ee343545587b7059d75d5497bc7f37dc" file lock timeout 30s expired
[FATAL] Can't add "werf" repo to trdl.
[FATAL] Aborting.
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit status 1
It is required to manually kill hanged background process to make trdl work again.
fishday53 and AlRukavishnikov
Metadata
Metadata
Assignees
Labels
No labels