No hint of timeout in Fetching remote repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad code imports |
In Progress
|
Low
|
Unassigned |
Bug Description
I see continuous failures of importing from https:/
https:/
> [Failure] Import started on 2023-10-09 on juju-98ee42-
> [Failure] Import started on 2023-10-09 on juju-98ee42-
> [Failure] Import started on 2023-10-07 on juju-98ee42-
> [Failure] Import started on 2023-10-05 on juju-98ee42-
> [Failure] Import started on 2023-10-05 on juju-98ee42-
> [Failure] Import started on 2023-10-05 on juju-98ee42-
However, the log doesn't say much about what was going on before hitting the timeout. It would be nice if the job is run in an equivalent to `git clone --verbose` or `git fetch --verbose` to see more information where it's taking time and why.
2023-10-09 06:52:34 INFO Starting job.
2023-10-09 06:52:34 INFO Getting existing repository from hosting service.
2023-10-09 06:52:52 INFO remote: Counting objects: 100% (3189/3189)
2023-10-09 06:52:52 INFO remote: Counting objects: 100% (3189/3189), done.
2023-10-09 06:52:53 INFO remote: Compressing objects: 100% (3091/3091)
2023-10-09 06:52:53 INFO remote: Compressing objects: 100% (3091/3091), done.
2023-10-09 06:52:53 INFO Receiving objects: 99% (27243/27518), 21.46 MiB | 21.39 MiB/s
2023-10-09 06:52:53 INFO remote: Total 27518 (delta 2326), reused 122 (delta 96)
2023-10-09 06:52:53 INFO Receiving objects: 100% (27518/27518), 21.46 MiB | 21.39 MiB/s
2023-10-09 06:52:53 INFO Receiving objects: 100% (27518/27518), 21.51 MiB | 20.51 MiB/s, done.
2023-10-09 06:52:54 INFO Resolving deltas: 100% (16473/16473)
2023-10-09 06:52:54 INFO Resolving deltas: 100% (16473/16473), done.
2023-10-09 06:52:54 INFO Fetching remote repository.
Traceback (most recent call last):
File "/srv/lp-
sys.
File "/srv/lp-
return import_worker.run()
File "/srv/lp-
return self._doImport()
File "/srv/lp-
cwd=
File "/srv/lp-
for line in self._throttleP
File "/srv/lp-
buffered, timeout=timeout):
File "/srv/lp-
line = next(wrapped_file)
KeyboardInterrupt
Import failed:
Traceback (most recent call last):
Failure: twisted.
Related branches
- Colin Watson (community): Approve
-
Diff: 42 lines (+7/-4)1 file modifiedlib/lp/codehosting/codeimport/worker.py (+7/-4)
I've learnt that the sync failure itself is handled in: /answers. launchpad. net/launchpad/ +question/ 708106
https:/