714 Star 4.3K Fork 1.2K

OpenHarmony / docs

 / 详情

源码获取失败

Done
Bug
Opened this issue  
2021-06-21 10:06

【模块名_概率】简要描述:
源码获取/获取方式1:从代码仓库获取
【环境信息】:

  • WIFI
  • x86-64
  • windows10-WSL

【预置条件】:
https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/get-code/%E6%BA%90%E7%A0%81%E8%8E%B7%E5%8F%96.md#section463013147412
【测试步骤】:
repo sync -c
【预期结果】:
成功运行
【预期结果】:

【实际结果】:
运行的过程中,连接异常结束

【恢复手段】:

【出现概率】:问题出现次数/实际测试次数

【定位信息】:
remote: Enumerating objects: 6319351, done. merremote: Enumerating objects: 6315068
remote: Counting objects: 100% (4283/4283), done.
remote: Compressing objects: 100% (164/164), done. Compressing objects: 90% (148/164)
Fetching projects: 61% (137/221) xts_toolsremote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching projects: 71% (158/221) security_deviceauthremote: Enumerating objects: 50, done.
remote: Counting objects: 100% (50/50), done.
remote: Compressing objects: 100% (50/50), done.
Fetching projects: 71% (159/221) drivers_liteosremote: Total 50 (delta 2), reused 0 (delta 0), pack-reused 0
Receiving objects: 22% (1404725/6319351), 629.61 MiB | 1.06 MiB/s 3% (197201/6319351), 97.13 MiB | 1.90 MiB/s

error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
kernel_linux:
remote: Enumerating objects: 6319351, done.
remote: Counting objects: 100% (4283/4283), done.
remote: Compressing objects: 100% (164/164), done.
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

remote: Enumerating objects: 6319351, done.
remote: Counting objects: 100% (4283/4283), done.
remote: Compressing objects: 100% (164/164), done.
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
kernel_linux:
remote: Enumerating objects: 6319351, done.
remote: Counting objects: 100% (4283/4283), done.
remote: Compressing objects: 100% (164/164), done.
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

error: Cannot fetch kernel_linux from https://gitee.com/openharmony/kernel_linux
Fetching projects: 100% (221/221), done.
Checking out projects: 24% (54/221) developtools_bytrace_standardgit-lfs filter-process --skip: 1: git-lfs filter-process --skip: git-lfs: not found
fatal: The remote end hung up unexpectedly
error: Cannot checkout developtools_hdc_standard: GitError: Cannot initialize work tree for developtools_hdc_standard
Traceback (most recent call last):
File "/home/laojr1/openharmony/Canary/.repo/repo/main.py", line 628, in
_Main(sys.argv[1:])
File "/home/laojr1/openharmony/Canary/.repo/repo/main.py", line 602, in _Main
result = run()
File "/home/laojr1/openharmony/Canary/.repo/repo/main.py", line 595, in
run = lambda: repo._Run(name, gopts, argv) or 0
File "/home/laojr1/openharmony/Canary/.repo/repo/main.py", line 264, in _Run
result = cmd.Execute(copts, cargs)
File "/home/laojr1/openharmony/Canary/.repo/repo/subcmds/sync.py", line 982, in Execute
self._Checkout(all_projects, opt, err_event, err_results)
File "/home/laojr1/openharmony/Canary/.repo/repo/subcmds/sync.py", line 567, in _Checkout
self._CheckoutWorker(**kwargs)
File "/home/laojr1/openharmony/Canary/.repo/repo/subcmds/sync.py", line 447, in _CheckoutWorker
return self._CheckoutOne(opt, project, *args, **kwargs)
File "/home/laojr1/openharmony/Canary/.repo/repo/subcmds/sync.py", line 481, in _CheckoutOne
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/laojr1/openharmony/Canary/.repo/repo/project.py", line 1795, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync, submodules=submodules)
File "/home/laojr1/openharmony/Canary/.repo/repo/project.py", line 3307, in _InitWorkTree
raise GitError('Cannot initialize work tree for ' + self.name)
error.GitError: Cannot initialize work tree for developtools_hdc_standard

    1. Log、截图、多媒体文件等,所有和问题有关的信息:
      输入图片说明
      输入图片说明

Comments (4)

hpline created缺陷
hpline set related repository to OpenHarmony/docs
hpline changed description
Expand operation logs

之前下载代码时也报这个错误,可以换个网络试试,GnuTLS好像是在代理上网还是什么情况下会出现这个问题

可能是连接超时了,需要带宽很高(10+MB/s)才能下完??

每次拉代码,都会把已经下完的东西再下一次,这样一直都下不完

Austin set assignee to libing23
Austin changed assignee from libing23 to not set
Austin set assignee to libing23

网络不好时,可以使用ssh的方式尝试
输入图片说明

NEEN added
 
product-question
label
张振 changed issue state from 待办的 to 已确认
hpline changed issue state from 已确认 to 已验收
hpline changed issue state from 已验收 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(3)
1
https://git.oschina.net/openharmony/docs.git
git@git.oschina.net:openharmony/docs.git
openharmony
docs
docs

Search