YBD fails if the artifacts ( YBD_artifacts) are in another volume
This is the error
0 17-08-10 00:20:30 [1/706/706] [system-x86_32] ERROR: surprise exception in sandbox
Traceback (most recent call last):
File "/builds/ngi/definitions/ybd/ybd/sandbox.py", line 60, in setup
yield
File "/builds/ngi/definitions/ybd/ybd/assembly.py", line 73, in compose
install_contents(dn, compose)
File "/builds/ngi/definitions/ybd/ybd/assembly.py", line 97, in install_contents
install_contents(dn, cache_handler, [i])
File "/builds/ngi/definitions/ybd/ybd/assembly.py", line 105, in install_contents
sandbox.install(dn, item)
File "/builds/ngi/definitions/ybd/ybd/sandbox.py", line 93, in install
utils.hardlink_all_files(unpackdir, destdir)
File "/builds/ngi/definitions/ybd/ybd/utils.py", line 121, in hardlink_all_files
_process_tree(destpath, srcpath, destpath, os.link)
File "/builds/ngi/definitions/ybd/ybd/utils.py", line 182, in _process_tree
actionfunc)
File "/builds/ngi/definitions/ybd/ybd/utils.py", line 182, in _process_tree
actionfunc)
File "/builds/ngi/definitions/ybd/ybd/utils.py", line 217, in _process_tree
actionfunc(srcpath, destpath)
OSError: [Errno 18] Invalid cross-device link