Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
76e31ccc
Commit
76e31ccc
authored
2 years ago
by
Jorge Camarero Vera
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "CI runner randomly crashing in cta-tape-label"
parent
5ea7213f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ReleaseNotes.md
+2
-0
2 additions, 0 deletions
ReleaseNotes.md
continuousintegration/orchestration/tests/prepare_tests.sh
+4
-2
4 additions, 2 deletions
continuousintegration/orchestration/tests/prepare_tests.sh
with
6 additions
and
2 deletions
ReleaseNotes.md
+
2
−
0
View file @
76e31ccc
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
continuousintegration/orchestration/tests/prepare_tests.sh
+
4
−
2
View file @
76e31ccc
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment