Yibo Cai created ARROW-9224:
-------------------------------

             Summary: [Dev][Archery] Copy local repo on clone failure
                 Key: ARROW-9224
                 URL: https://issues.apache.org/jira/browse/ARROW-9224
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Archery
            Reporter: Yibo Cai
            Assignee: Yibo Cai


`archery benchmark diff` runs "git clone --local" to clone source code
 to /tmp. If /tmp and source directory are not in same disk volume, it
 fails with below error messages because "git clone --local" uses hard
 links which only works in same volume.

Error log:
 fatal: failed to create link 
'/tmp/arrow-archery-lwm7k6wm/origin_master/arrow/.git/objects/2d/80a4d2da431dbfe3c736b6349eb4a0bcb6ece5':
 Invalid cross-device link
 subprocess.CalledProcessError: Command '['git', 'clone', '--local', 
PosixPath('/home/cyb/arrow'), 
'/tmp/arrow-archery-lwm7k6wm/origin_master/arrow']' returned non-zero exit 
status 128.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to