[Dev] Unable to clone from Tizen 3.0 common snapshot

Lv, RuiX ruix.lv at intel.com
Mon Oct 13 02:55:30 GMT 2014


Hi Murphy,

`repo sync –j 16`  can speed up the synchronizing process a lot, please have a try.
In the meantime, I’m synchronizing the same source and will update you on progress later.

Rui

From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of N S S R Murthy
Sent: Saturday, October 11, 2014 10:31 PM
To: dev at lists.tizen.org
Subject: [Dev] Unable to clone from Tizen 3.0 common snapshot

Hi All,

I am trying to get all source of Tizen 3.0 common using below steps.

$ repo init -u ssh://mnssr@review.tizen.org:29418/scm/manifest -b tizen -m common.xml
$ wget http://download.tizen.org/snapshots/tizen/common/latest/builddata/manifest/tizen-common_20141010.4_arm-wayland.xml -O .repo/manifests/common/projects.xml
$ sed -i '3,4d' .repo/manifests/common/projects.xml
$ repo sync

Problems observed are:

1. The sync is goes at a very low speed, sometimes as low as 4kbps though I have a 15Mbps connection which usually downloads at 10Mbps minimum. This seems to be Tizen sources server bandwidth problem.
2. May be because of above slow sync, the "repo sync" goes on and on for near about 2 days and finally breaks with below error.

error: Exited sync due to fetch errors
mnssr at murthyr:~/work/workspace/tizen/tizen_3.0_common$<mailto:mnssr at murthyr:~/work/workspace/tizen/tizen_3.0_common$> repo sync                                                                                   Traceback (most recent call last):
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/main.py", line 500, in <module>
    _Main(sys.argv[1:])
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/main.py", line 476, in _Main
    result = repo._Run(argv) or 0
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/main.py", line 155, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/subcmds/sync.py", line 612, in Execute
    no_tags=opt.no_tags)
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/project.py", line 1110, in Sync_NetworkHalf
    no_tags=no_tags)):
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/project.py", line 1746, in _RemoteFetch
    if remote.PreConnectFetch():
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/git_config.py", line 571, in PreConnectFetch
    return _preconnect(connectionUrl)
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/git_config.py", line 525, in _preconnect
    return _open_ssh(host, port)
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/git_config.py", line 435, in _open_ssh
    '-o','ControlPath %s' % ssh_sock(),
  File "/home/mnssr/work/workspace/tizen/tizen_3.0_common/.repo/repo/git_command.py", line 46, in ssh_sock
    tempfile.mkdtemp('', 'ssh-', tmp_dir),
  File "/usr/lib/python2.7/tempfile.py", line 325, in mkdtemp
    _os.mkdir(file, 0700)
OSError: [Errno 30] Read-only file system: '/tmp/ssh-x9RmnY'

Is there any other way to get the sources locally, I mean by a tar ball or something else.
With these speeds, it is impossible to do a local build using a remote repo url in the .gbs.config as well.
Regards,
Murthy NSSR.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20141013/be78dd58/attachment.html>


More information about the Dev mailing list