cyb70289 opened a new pull request #7541:
URL: https://github.com/apache/arrow/pull/7541
`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 on same volume. This patch retries copying with
"--no-hardlinks" option on failure.
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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]