The mv command in the TEST phase is failing with the following error:
mv: inter-device move failed: '/codecatalyst/output/src3821/src/s3/02/root/.local' to '/root/.local'; unable to remove target: Directory not empty
The STEP:
Steps: - Run: | echo "Copying artifacts from build on ${HOSTNAME}" sudo mv ${CATALYST_SOURCE_DIR_pythonLibs}/root/.local ~ export PATH=$PATH:$HOME/.local/bin cd src
The Artifacts in the INIT phase is configured as:
Outputs: Artifacts: - Name: pythonLibs Files: - /root/.local/**/*
The TEST phase is configured as:
Inputs: Sources: - WorkflowSource Artifacts: - pythonLibs
I resolved the issue by replacing the mv with cp.