Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
`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.
Attachments
Issue Links
- supercedes
-
ARROW-9213 [Archery] "archery benchmark list" fails cloning repo
-
- Closed
-
- links to