Do_fetch for linux_toradex failing for Yocto

Is the linux-toradex git server currently down?

My yocto image keeps failing with the following error:

ERROR: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/sdev/oe-core/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/sdev/oe-core/layers/openembedded-core/scripts:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin/arm-tdx-linux-gnueabi:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot/usr/bin/crossscripts:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/sbin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/sbin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/bin:/home/sdev/oe-core/layers/openembedded-core/bitbake/bin:/home/sdev/oe-core/build/tmp/hosttools"; export HOME="/home/sdev"; git -c core.fsyncobjectfiles=0 remote failed with exit code 128, output:
    fatal: not a git repository (or any of the parent directories): .git
    
ERROR: Fetcher failure for URL: 'git://git.toradex.com/linux-toradex.git;protocol=https;branch=toradex_5.4-2.3.x-imx;name=machine'. Unable to fetch URL from any source.
DEBUG: Python function base_do_fetch finished
DEBUG: Python function do_fetch finished

Hi @nmohan86,

I’m not having issues accessing it from my home office. Are you able to manually clone it?

$ git clone git://git.toradex.com/linux-toradex.git -b toradex_5.4-2.3.x-imx --depth 1

The message fatal: not a git repository (or any of the parent directories): .git makes me wonder if something is unhappy in your Yocto build setup. You can try to clean that up with the following:

$ bitbake -c cleanall linux-toradex
$ bitbake linux-toradex

Drew

The git clone seems to be worknig. But I tried the steps you provided and I am still getting the same issue:

WARNING: linux-toradex-5.4.91+gitAUTOINC+82e97870fe-r0 do_fetch: Failed to fetch URL git://git.toradex.com/linux-toradex.git;protocol=https;branch=toradex_5.4-2.3.x-imx;name=machine, attempting MIRRORS if available
ERROR: linux-toradex-5.4.91+gitAUTOINC+82e97870fe-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/sdev/oe-core/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/sdev/oe-core/layers/openembedded-core/scripts:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin/arm-tdx-linux-gnueabi:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot/usr/bin/crossscripts:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/sbin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/sbin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/bin:/home/sdev/oe-core/layers/openembedded-core/bitbake/bin:/home/sdev/oe-core/build/tmp/hosttools"; export HOME="/home/sdev"; git -c core.fsyncobjectfiles=0 remote failed with exit code 128, output:
fatal: not a git repository (or any of the parent directories): .git

ERROR: linux-toradex-5.4.91+gitAUTOINC+82e97870fe-r0 do_fetch: Fetcher failure for URL: 'git://git.toradex.com/linux-toradex.git;protocol=https;branch=toradex_5.4-2.3.x-imx;name=machine'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/temp/log.do_fetch.19931
ERROR: Task (/home/sdev/oe-core/build/../layers/meta-toradex-nxp/recipes-kernel/linux/linux-toradex_5.4-2.3.x.bb:do_fetch) failed with exit code '1'

Have you customized the Yocto DL_DIR? I suspect something in there may be corrupted. By default it is ${BUILDDIR}/…/downloads

Can you try a fresh checkout and build in an empty directory?

Any suggestions on what the issue might be?

I have not changed anything in the Yocto DL_DIR.

I removed my oe-core folder and started from scratch. I tried to build the multimedia-image from toradex demos and I am still getting the same error:

ERROR: linux-toradex-5.4.91+gitAUTOINC+82e97870fe-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/sdev/oe-core/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/sdev/oe-core/layers/openembedded-core/scripts:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin/arm-tdx-linux-gnueabi:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot/usr/bin/crossscripts:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/sbin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/sbin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/bin:/home/sdev/oe-core/layers/openembedded-core/bitbake/bin:/home/sdev/oe-core/build/tmp/hosttools"; export HOME="/home/sdev"; git -c core.fsyncobjectfiles=0 checkout -B toradex_5.4-2.3.x-imx 82e97870feb6303ecc71371abc76a606e724b065 failed with exit code 128, output:
error: inflate: data stream error (incorrect header check)
error: failed to read delta base object c6565b0e502c4420576f59ca4b81f0bad08794cd at offset 1118009318 from /home/sdev/oe-core/downloads/git2/git.toradex.com.linux-toradex.git/objects/pack/pack-652a06cd1f39ac48e133bc4e4f620ee4f8908b44.pack
fatal: packed object 815dfee11968f5c3446d2e8a11f07195537a3505 (stored in /home/sdev/oe-core/downloads/git2/git.toradex.com.linux-toradex.git/objects/pack/pack-652a06cd1f39ac48e133bc4e4f620ee4f8908b44.pack) is corrupt

ERROR: Logfile of failure stored in: /home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/temp/log.do_unpack.10844
ERROR: Task (/home/sdev/oe-core/build/../layers/meta-toradex-nxp/recipes-kernel/linux/linux-toradex_5.4-2.3.x.bb:do_unpack) failed with exit code '1'
ERROR: linux-imx-headers-5.4-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/sdev/oe-core/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/sdev/oe-core/layers/openembedded-core/scripts:/home/sdev/oe-core/build/tmp/work/armv7at2hf-neon-mx6ul-tdx-linux-gnueabi/linux-imx-headers/5.4-r0/recipe-sysroot-native/usr/bin/arm-tdx-linux-gnueabi:/home/sdev/oe-core/build/tmp/work/armv7at2hf-neon-mx6ul-tdx-linux-gnueabi/linux-imx-headers/5.4-r0/recipe-sysroot/usr/bin/crossscripts:/home/sdev/oe-core/build/tmp/work/armv7at2hf-neon-mx6ul-tdx-linux-gnueabi/linux-imx-headers/5.4-r0/recipe-sysroot-native/usr/sbin:/home/sdev/oe-core/build/tmp/work/armv7at2hf-neon-mx6ul-tdx-linux-gnueabi/linux-imx-headers/5.4-r0/recipe-sysroot-native/usr/bin:/home/sdev/oe-core/build/tmp/work/armv7at2hf-neon-mx6ul-tdx-linux-gnueabi/linux-imx-headers/5.4-r0/recipe-sysroot-native/sbin:/home/sdev/oe-core/build/tmp/work/armv7at2hf-neon-mx6ul-tdx-linux-gnueabi/linux-imx-headers/5.4-r0/recipe-sysroot-native/bin:/home/sdev/oe-core/layers/openembedded-core/bitbake/bin:/home/sdev/oe-core/build/tmp/hosttools"; export HOME="/home/sdev"; git -c core.fsyncobjectfiles=0 checkout -B toradex_5.4-2.1.x-imx dea2fede7e024ee7029b13e8d82a00ec14427777 failed with exit code 128, output:
error: inflate: data stream error (incorrect header check)
error: failed to read delta base object c6565b0e502c4420576f59ca4b81f0bad08794cd at offset 1118009318 from /home/sdev/oe-core/downloads/git2/git.toradex.com.linux-toradex.git/objects/pack/pack-652a06cd1f39ac48e133bc4e4f620ee4f8908b44.pack
fatal: packed object 815dfee11968f5c3446d2e8a11f07195537a3505 (stored in /home/sdev/oe-core/downloads/git2/git.toradex.com.linux-toradex.git/objects/pack/pack-652a06cd1f39ac48e133bc4e4f620ee4f8908b44.pack) is corrupt

ERROR: Logfile of failure stored in: /home/sdev/oe-core/build/tmp/work/armv7at2hf-neon-mx6ul-tdx-linux-gnueabi/linux-imx-headers/5.4-r0/temp/log.do_unpack.11610
ERROR: Task (/home/sdev/oe-core/build/../layers/meta-freescale/recipes-kernel/linux/linux-imx-headers_5.4.bb:do_unpack) failed with exit code '1'

I don’t have any idea at the moment. Interestingly this failure message is in the linux-imx-headers recipe but the initial report was in linux-toradex. I ran the following commands to try and replicate your issue but I cannot.

mkdir oe-5.2-clean
cd oe-5.2-clean/
repo init -u https://git.toradex.com/toradex-manifest.git -b dunfell-5.x.y -m tdxref/default.xml
repo sync
source export 
echo 'MACHINE="colibri-imx6ull"' >> conf/local.conf 
bitbake -c unpack linux-toradex
bitbake -c unpack linux-imx-headers

Can you try those exact commands and let me know if it happens again?

I followed the exact steps you mentioned and this is what I am getting:

NOTE: Executing Tasks
WARNING: linux-toradex-5.4.91+gitAUTOINC+82e97870fe-r0 do_fetch: Failed to fetch URL git://git.toradex.com/linux-toradex.git;protocol=https;branch=toradex_5.4-2.3.x-imx;name=machine, attempting MIRRORS if available
ERROR: linux-toradex-5.4.91+gitAUTOINC+82e97870fe-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/sdev/oe-5.2-clean/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/sdev/oe-5.2-clean/layers/openembedded-core/scripts:/home/sdev/oe-5.2-clean/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin/arm-tdx-linux-gnueabi:/home/sdev/oe-5.2-clean/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot/usr/bin/crossscripts:/home/sdev/oe-5.2-clean/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/sbin:/home/sdev/oe-5.2-clean/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin:/home/sdev/oe-5.2-clean/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/sbin:/home/sdev/oe-5.2-clean/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/bin:/home/sdev/oe-5.2-clean/layers/openembedded-core/bitbake/bin:/home/sdev/oe-5.2-clean/build/tmp/hosttools"; export HOME="/home/sdev"; git -c core.fsyncobjectfiles=0 remote failed with exit code 128, output:
fatal: not a git repository (or any of the parent directories): .git

ERROR: linux-toradex-5.4.91+gitAUTOINC+82e97870fe-r0 do_fetch: Fetcher failure for URL: 'git://git.toradex.com/linux-toradex.git;protocol=https;branch=toradex_5.4-2.3.x-imx;name=machine'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/sdev/oe-5.2-clean/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/temp/log.do_fetch.14602
ERROR: Task (/home/sdev/oe-5.2-clean/build/../layers/meta-toradex-nxp/recipes-kernel/linux/linux-toradex_5.4-2.3.x.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds

Summary: 1 task failed:
  /home/sdev/oe-5.2-clean/build/../layers/meta-toradex-nxp/recipes-kernel/linux/linux-toradex_5.4-2.3.x.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
sdev@ivwatch_sdev:~/oe-5.2-clean/build$

What host OS are you building on?

What does the following show?

cd /home/sdev/oe-5.2-clean/downloads/git2/git.toradex.com.linux-toradex.git/
git log --pretty=oneline -10
git fsck

Drew

I am on: Ubuntu 18.04.5 LTS.

That directory is empty:

sdev@ivwatch_sdev:~/oe-5.2-clean/downloads/git2$ ll
total 8
drwxrwxr-x 2 sdev sdev 4096 May 13 20:06 ./
drwxrwxr-x 4 sdev sdev 4096 May 13 20:06 ../

Very strange. Do you have a Yocto site.conf file? What about a ~/.gitconfig file?

What does ls ~/oe-5.2-clean/downloads/ show?

This seems to have did the trick! Does this mean that the mirrors are currently not working ?

I do not have a Yocto site conf file.

sdev@ivwatch_sdev:~/oe-5.2-clean$ cat ~/.gitconfig 
[user]
	name = First Last
	email = First.Last@company.com
[color]
	ui = auto

sdev@ivwatch_sdev:~/oe-5.2-clean$ ls downloads/
git2  uninative

Hi @nmohan86, one of my colleague’s made a suggestion that may help in your case. For the BSP builds we actually set up some pre-mirrors for a number of recipes.
For the linux-toradex recipe, we have a tarball that gets fetched from here.
He has seen an issue where that download was corrupted or incomplete somehow which led to a non-functional tarball that couldn’t be unpacked very similar to what your reports indicate. If you comment out the line:

INHERIT += "toradex-mirrors"

in your local.conf file, that will bypass the mirror and download directly from the git repo itself which you have already been able to manually access. Give that a shot and let us know if it helps in your case.

Drew

Well they work for me here so it’s not a constant failure anyway. I took a look at the log.do_fetch file from my build and it seems to be working as I would expect. It’s possible there is a local networking issue somewhere that results in those downloads getting corrupted. If you can reproduce the issue and post your log.do_fetch file it may tell us something.

Drew

link text

See logs attached.

Hi @nmohan86,
I see in your log that bitbake is attempting to download our git tarball from our mirror. In your case it times out and then resumes but apparently the resume is not being handle properly.

DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp
--no-check-certificate -P /home/sdev/oe-core/build/../downloads 'https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/git2_git.toradex.com.linux-toradex.git.tar.gz' DEBUG: Running export PSEUDO_DISABLED=1; export PATH="/home/sdev/oe-core/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/sdev/oe-core/layers/openembedded-core/scripts:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin/arm-tdx-linux-gnueabi:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot/usr/bin/crossscripts:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/sbin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/usr/bin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/sbin:/home/sdev/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/linux-toradex/5.4.91+gitAUTOINC+82e97870fe-r0/recipe-sysroot-native/bin:/home/sdev/oe-core/layers/openembedded-core/bitbake/bin:/home/sdev/oe-core/build/tmp/hosttools"; export HOME="/home/sdev"; /usr/bin/env wget -t 2 -T 30 --passive-ftp
--no-check-certificate -P /home/sdev/oe-core/build/../downloads 'https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/git2_git.toradex.com.linux-toradex.git.tar.gz'
--progress=dot -v
--2021-05-18 13:07:23--  https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/git2_git.toradex.com.linux-toradex.git.tar.gz Resolving artifacts.toradex.com (artifacts.toradex.com)...
3.125.132.142 Connecting to artifacts.toradex.com (artifacts.toradex.com)|3.125.132.142|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1996746271 (1.9G) [application/x-gzip] Saving to: ‘/home/sdev/oe-core/build/../downloads/git2_git.toradex.com.linux-toradex.git.tar.gz’


2021-05-18 13:11:14 (4.51 MB/s) - Connection closed at byte 1091591388. Retrying.

--2021-05-18 13:11:15--  (try: 2)  https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/git2_git.toradex.com.linux-toradex.git.tar.gz Connecting to artifacts.toradex.com (artifacts.toradex.com)|3.125.132.142|:443... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 1996746271 (1.9G), 905154883 (863M) remaining [application/x-gzip] Saving to: ‘/home/sdev/oe-core/build/../downloads/git2_git.toradex.com.linux-toradex.git.tar.gz’

         [ skipping 1066000K ]

2021-05-18 13:14:35 (4.33 MB/s) - ‘/home/sdev/oe-core/build/../downloads/git2_git.toradex.com.linux-toradex.git.tar.gz’ saved [1996746271/1996746271]

I suggest you try to run the wget command manually to see if that is the cause of this corruption. Something like the following should replicate what bitbake is doing with a timeout of 30s and 2 retries:

wget -t 2 -T 30 --passive-ftp --no-check-certificate -P . 'https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/git2_git.toradex.com.linux-toradex.git.tar.gz'

It’s a large file (1.9G) so there may be a local networking issue resulting in the connection being closed.

Drew

So I did get a timeout and it resumed and completed to a 100%. But the downloaded file is corrupted. I am not able to unzip.

$  wget -t 2 -T 30 --passive-ftp --no-check-certificate -P . 'https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/git2_git.toradex.com.linux-toradex.git.tar.gz'
--2021-05-18 17:15:31--  https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/git2_git.toradex.com.linux-toradex.git.tar.gz
Resolving artifacts.toradex.com (artifacts.toradex.com)... 3.125.132.142
Connecting to artifacts.toradex.com (artifacts.toradex.com)|3.125.132.142|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1996746271 (1.9G) [application/x-gzip]
Saving to: ‘./git2_git.toradex.com.linux-toradex.git.tar.gz’

git2_git.toradex.com.linux-toradex.git.tar.gz          54%[================================================================>                                                       ]   1.02G  2.99MB/s    in 3m 32s  

2021-05-18 17:19:04 (4.92 MB/s) - Connection closed at byte 1093991644. Retrying.

--2021-05-18 17:19:05--  (try: 2)  https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/git2_git.toradex.com.linux-toradex.git.tar.gz
Connecting to artifacts.toradex.com (artifacts.toradex.com)|3.125.132.142|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 1996746271 (1.9G), 902754627 (861M) remaining [application/x-gzip]
Saving to: ‘./git2_git.toradex.com.linux-toradex.git.tar.gz’

git2_git.toradex.com.linux-toradex.git.tar.gz         100%[+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++======================================================>]   1.86G  5.90MB/s    in 2m 15s  

2021-05-18 17:21:20 (6.40 MB/s) - ‘./git2_git.toradex.com.linux-toradex.git.tar.gz’ saved [1996746271/1996746271]

That’s good. At least we know it’s not something within Yocto/bitbake itself. Can you try adding the “-c” option to wget? That seems to be the option to allow continuing a download. I don’t know if this is just a buggy wget or something else.

What does “wget -V” show?

Drew

-C option did not help. Still got a corrupted file.

GNU Wget 1.19.4 built on linux-gnu.