I am experiencing unstable behavior with
datalad install -s ssh:user@host:/path/to/dataset /path/to/installed/dataset
on a bare git repository.
Sometimes it works fine, other times it doesn’t. Here is the log output from my most recent fail:
datalad -l 2 install -s ssh:admin@Voxel-Forge.local:/Users/admin/Anvil/sync/projects/central-repository/community-life-adolescent-development.git -D "SuperDataset for Community Life & Adolescent Development Project on Voxel-Forge" community-life-adolescent-development
[Level 9] Running: ['git', 'config', '-z', '-l', '--show-origin']
[Level 8] Finished running ['git', 'config', '-z', '-l', '--show-origin'] with status 0
[DEBUG ] Determined class of decorated function: <class 'datalad.distribution.install.Install'>
[Level 5] Parsed ri community-life-adolescent-development into fields {'username': '', 'scheme': '', 'fragment': '', 'hostname': '', 'query': '', 'path': 'community-life-adolescent-development', 'password': '', 'port': ''}
[Level 5] Detected file ri
[DEBUG ] Determined class of decorated function: <class 'datalad.distribution.clone.Clone'>
[Level 5] Parsed ri ssh:admin@Voxel-Forge.local:/Users/admin/Anvil/sync/projects/central-repository/community-life-adolescent-development.git into fields {'username': '', 'scheme': 'ssh', 'fragment': '', 'hostname': '', 'query': '', 'path': 'admin@Voxel-Forge.local:/Users/admin/Anvil/sync/projects/central-repository/community-life-adolescent-development.git', 'password': '', 'port': ''}
[Level 5] Assuming ssh style ri, adjusted: {'username': '', 'scheme': 'ssh', 'fragment': '', 'hostname': '', 'query': '', 'path': 'admin@Voxel-Forge.local:/Users/admin/Anvil/sync/projects/central-repository/community-life-adolescent-development.git', 'password': '', 'port': ''}
[Level 5] Detected ssh ri
[DEBUG ] Resolved clone source from 'ssh:admin@Voxel-Forge.local:/Users/admin/Anvil/sync/projects/central-repository/community-life-adolescent-development.git' to 'ssh:admin@Voxel-Forge.local:/Users/admin/Anvil/sync/projects/central-repository/community-life-adolescent-development.git'
[DEBUG ] Resolved clone target path to: '/Users/admin/Anvil/sync/projects/community-life-adolescent-development'
[Level 5] Parsed ri /Users/admin/Anvil/sync/projects/community-life-adolescent-development into fields {'username': '', 'scheme': '', 'fragment': '', 'hostname': '', 'query': '', 'path': '/Users/admin/Anvil/sync/projects/community-life-adolescent-development', 'password': '', 'port': ''}
[Level 5] Detected file ri
[INFO ] Cloning ssh:admin@Voxel-Forge.local:/Users/admin/Anvil/sync/projects/central-repository/community-life-adolescent-development.git to '/Users/admin/Anvil/sync/projects/community-life-adolescent-development'
[DEBUG ] Attempting to clone ssh:admin@Voxel-Forge.local:/Users/admin/Anvil/sync/projects/central-repository/community-life-adolescent-development.git (1 out of 1 candidates) to '/Users/admin/Anvil/sync/projects/community-life-adolescent-development'
[Level 9] Running: ['git', 'version']
[Level 8] Finished running ['git', 'version'] with status 0
[Level 9] Running: ['git', 'config', '-z', '-l', '--show-origin']
[Level 8] Finished running ['git', 'config', '-z', '-l', '--show-origin'] with status 0
[Level 5] Found 0 previous connections
[Level 5] Not opening SSHConnection(ctrl_path=<<'/Users/admin/Library/...>>, sshri=<<SSHRI(hostname='Voxel-...>>) for checking since /Users/admin/Library/Caches/datalad/sockets/6eed3025 does not exist
[DEBUG ] Opening SSHConnection(ctrl_path=<<'/Users/admin/Library/...>>, sshri=<<SSHRI(hostname='Voxel-...>>) by calling ['ssh', '-fN', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=15m', '-o', 'ControlPath="/Users/admin/Library/Caches/datalad/sockets/6eed3025"', 'ssh:admin@Voxel-Forge.local']