Hi Yinsi,
If you look at a failed example - e.g. https://lkft.validation.linaro.org/scheduler/job/2313644 - you’ll see it’s not failing on a git clone, it’s failing on a wget.
Dave
On 18 Mar 2021, at 08:19, liuyinsi@163.com wrote:
Hi Dave,
"http download timeout", does it happen often? "https download timeout", has this problem been solved by edit ~/.gitconfig?
Thanks Yinsi
liuyinsi@163.com mailto:liuyinsi@163.com From: liuyinsi@163.com mailto:liuyinsi@163.com Date: 2021-03-17 10:19 To: Dave Pigott mailto:dave.pigott@linaro.org CC: Oueja mailto:anmar.oueja@linaro.org; luca mailto:luca.distefano@linaro.org; wufengguang mailto:wufengguang@huawei.com; Cameron mailto:jonathan.cameron@huawei.com; lkq-dev mailto:lkq-dev@op-lists.linaro.org; jammy.zhou@linaro.org mailto:jammy.zhou@linaro.org Subject: Re: Re: Issues with docker on OpenEulerOS
Locally, in the lab, we use KissCache for https cacheing. We would have to go through every test definition submitted by every bot and developer to change from https to git.
vi ~/.gitconfig
[url "git://github.com git://github.com"] insteadOf = https://github.com https://github.com/
This will change from https to git.
Hi Yinsi,
If you look at the job definitions, e.g. https://lkft.validation.linaro.org/scheduler/job/2409008/definition#defline4... https://lkft.validation.linaro.org/scheduler/job/2409008/definition#defline40, you’ll see the URL is defined there. I’m not sure where you are suggesting this could be universally changed to use git.
Hi Dave,
You can edit the file in any environment where you execute the clone command, for example, i get the URL and will git clone in a qemu, if i edit ~/.gitconfig in qemu before clone, then it will automatically change https to git.
Thanks Yinsi
Dave
Thanks
Dave
anmar