Download Fuchsia source — Jiri hooks are not run due to fatal errors when updating projects or packages

纵然是瞬间 提交于 2020-06-16 17:24:28

问题


Per Get Fuchsia source code:

~$ echo $PATH
/media/cwh/32GB/swdev/fuchsia/.jiri_root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
~$ cd /media/cwh/32GB/swdev/
/media/cwh/32GB/swdev$ curl -s "https://fuchsia.googlesource.com/fuchsia/+/master/scripts/bootstrap?format=TEXT" | base64 --decode | bash
cipd bootstrapped to path:"/media/cwh/32GB/swdev/fuchsia/.jiri_root/bin/cipd"
Please add /media/cwh/32GB/swdev/fuchsia/.jiri_root/bin to your PATH
[22:15:04.404] Updating all projects
PROGRESS: Fetching CIPD packages
[22:38:10.385] Jiri hooks are not run due to fatal errors when updating projects or packages
[23:01:03.457] Jiri hooks are not run due to fatal errors when updating projects or packages
ERROR: context deadline exceeded

I do not see any "fatal errors" preceding the Jiri hooks message.

What is the 'Jiri hooks are not run due to fatal errors when updating projects or packages'?


回答1:


jiri help update indicates there are two default timeouts:

-fetch-packages-timeout=30
-hook-timeout=5

Invoke jiri directly with increased timeouts then repeat original command.

cd fuchsia; jiri update -fetch-packages-timeout=90 -hook-timeout=60; cd ..
curl -s "https://fuchsia.googlesource.com/fuchsia/+/master/scripts bootstrap?format=TEXT" | base64 --decode | bash


来源:https://stackoverflow.com/questions/60484262/download-fuchsia-source-jiri-hooks-are-not-run-due-to-fatal-errors-when-updat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!