AnsweredAssumed Answered

onnxruntime fetch fail

Question asked by King Liu on Apr 7, 2020
Latest reply on May 20, 2020 by King Liu

Hi All

Right now ,i am try to build the new yocto bsp 4.19.35 to generate the eiq for our algorithm development , but i encouter the issue showed below .

 

bitbake imx-image-full

 

 

WARNING: onnxruntime-0.4.0-r0 do_fetch: Failed to fetch URL gitsm://;branch=rel-0.4.0;name=onnxruntime, attempting MIRRORS if available
ERROR: onnxruntime-0.4.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="4882"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/onnxruntime/0.4.0-r0/recipe-sysroot-native/usr/bin/python3-native:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/sources/poky/scripts:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/onnxruntime/0.4.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/onnxruntime/0.4.0-r0/recipe-sysroot/usr/bin/crossscripts:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/onnxruntime/0.4.0-r0/recipe-sysroot-native/usr/sbin:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/onnxruntime/0.4.0-r0/recipe-sysroot-native/usr/bin:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/onnxruntime/0.4.0-r0/recipe-sysroot-native/sbin:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/onnxruntime/0.4.0-r0/recipe-sysroot-native/bin:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/sources/poky/bitbake/bin:/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/hosttools"; export HOME="/home/king"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/Microsoft/onnxruntime.git /media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/downloads//git2/github.com.Microsoft.onnxruntime.git --progress failed with exit code 128, output:
Cloning into bare repository '/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/downloads//git2/github.com.Microsoft.onnxruntime.git'...
fatal: read error: Connection timed out

ERROR: onnxruntime-0.4.0-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/Microsoft/onnxruntime.git;branch=rel-0.4.0;name=onnxruntime'. Unable to fetch URL from any source.
ERROR: onnxruntime-0.4.0-r0 do_fetch:
ERROR: onnxruntime-0.4.0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/onnxruntime/0.4.0-r0/temp/log.do_fetch.7318
ERROR: Task (/media/king/ext4/king/4.19.35/2King/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-ml/recipes-libraries/onnxruntime.bak/onnxruntime_0.4.0.bb:do_fetch) failed with exit code '1'

 

To fix this issue. 

  1. I try to download VPN , it faill 
  2. bitbake -c cleanall onnxruntime , then bitbake imx-image-full , it fail 
  3. i can access the website (GitHub - microsoft/onnxruntime: ONNX Runtime: cross-platform, high performance scoring engine for ML models ) in the chrome 

 

Can some body give me some suggestion ? I have debugging this issue for some weeks . Thx 

Outcomes