diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 2fc8747a30ff150dae6b0908da469ee4ecee5d1b..6cef3b4ea27e4f0b0af055d115d48025c16314b9 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -5,6 +5,8 @@ - cta/CTA#146 - Refactoring of operation tools cmd line parsing ### Building and Packaging - cta/CTA#107 - Check latest version of gtest suite +### Bug fixes +- cta/CTA#171 - CI runner randomly crashing in cta-tape-label # v4.7.12-1 diff --git a/continuousintegration/orchestration/tests/prepare_tests.sh b/continuousintegration/orchestration/tests/prepare_tests.sh index d308178eb0b961b04de0dfc09405530b58ce34ab..61739e1bc07c39799bb05a53d3c1f879291d0bbf 100755 --- a/continuousintegration/orchestration/tests/prepare_tests.sh +++ b/continuousintegration/orchestration/tests/prepare_tests.sh @@ -244,10 +244,12 @@ echo "Labeling tapes:" # add all tapes for ((i=0; i<${#TAPES[@]}; i++)); do VID=${TAPES[${i}]} - echo " cta-tape-label --vid ${VID}" + echo " cta-tape-label --vid ${VID} --force" # for debug use # kubectl --namespace ${NAMESPACE} exec tpsrv01 -c taped -- cta-tape-label --vid ${VID} --debug - kubectl --namespace ${NAMESPACE} exec tpsrv01 -c taped -- cta-tape-label --vid ${VID} + # The external tape format test leaves data inside of the tape, then the tapes for labeling are not empty between + # tests. That's why we need to force cta-tape-label, but only for CI testing. + kubectl --namespace ${NAMESPACE} exec tpsrv01 -c taped -- cta-tape-label --vid ${VID} --force if [ $? -ne 0 ]; then echo "ERROR: failed to label the tape ${VID}" exit 1