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
Harbor 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
dd3e3f58
Commit
dd3e3f58
authored
7 years ago
by
Julien Leduc
Browse files
Options
Downloads
Patches
Plain Diff
Fixing the local ctaeos instance test in a 777 directory, so that we can
sort out tests that failed because of EOS instance
parent
30a68124
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
+8
-1
8 additions, 1 deletion
...egration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
with
8 additions
and
1 deletion
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
+
8
−
1
View file @
dd3e3f58
...
...
@@ -36,7 +36,10 @@ CTA_KT=/etc/ctafrontend_SSS_c.keytab
CTA_XrdSecPROTOCOL
=
sss
CTA_PROC_DIR
=
/eos/
${
EOS_INSTANCE
}
/proc/cta
CTA_WF_DIR
=
${
CTA_PROC_DIR
}
/workflow
# dir for cta tests only for eosusers and powerusers
CTA_TEST_DIR
=
/eos/
${
EOS_INSTANCE
}
/cta
# dir for eos instance basic tests writable and readable by anyone
EOS_TMP_DIR
=
/eos/
${
EOS_INSTANCE
}
/tmp
# prepare CTA cli commands environment
cat
<<
EOF
> /etc/cta/cta-cli.conf
...
...
@@ -136,12 +139,16 @@ test -f /CANSTART && echo OK || exit 1
# Link the attributes of CTA worklow directory to the test directory
eos attr
link
${
CTA_WF_DIR
}
${
CTA_TEST_DIR
}
# Prepare the tmp dir so that we can test that the EOS instance is OK
eos
mkdir
${
EOS_TMP_DIR
}
eos
chmod
777
${
EOS_TMP_DIR
}
# test EOS
# eos slow behind us and we need to give it time to be ready
# 5 secs is not enough
sleep
10
eos
-b
node
ls
xrdcp /etc/group root://
${
eoshost
}
:/
${
CTA_TEST
_DIR
}
/testFile
xrdcp /etc/group root://
${
eoshost
}
:/
${
EOS_TMP
_DIR
}
/testFile
# prepare EOS workflow
eos space config default space.wfe
=
on
...
...
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