CodeCatalyst mv: inter-device move failed

0

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.

Amanda
질문됨 5달 전101회 조회
1개 답변
0

Hi there - Thank you for updating us on the resolution! If you have any more questions or encounter further issues, feel free to reach out.

AWS
전문가
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠