Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
b90e0228
Commit
b90e0228
authored
6 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
COB-49
: removed obsolete cep2 test
parent
8c45a5c8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!6
Import cobalt2 into lofar4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitattributes
+0
-1
0 additions, 1 deletion
.gitattributes
SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2locus.test
+0
-46
0 additions, 46 deletions
...lt/validation/intercluster/connectivity/cobalt2locus.test
with
0 additions
and
47 deletions
.gitattributes
+
0
−
1
View file @
b90e0228
...
...
@@ -5564,7 +5564,6 @@ SubSystems/Online_Cobalt/validation/cobalt/network/resolvconf.test eol=lf
SubSystems/Online_Cobalt/validation/intercluster/c3/cexec -text
SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2cep.test eol=lf
SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2cobalt.test eol=lf
SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2locus.test eol=lf
SubSystems/Online_Cobalt/validation/intercluster/ethernet/iperf-cobalt2locus.bw-req -text
SubSystems/Online_Cobalt/validation/intercluster/ethernet/iperf-cobalt2locus.test -text
SubSystems/Online_Cobalt/validation/intercluster/funcs.sh eol=lf
...
...
This diff is collapsed.
Click to expand it.
SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2locus.test
deleted
100755 → 0
+
0
−
46
View file @
8c45a5c8
#!/bin/bash -ve
#
# Test connectivity from Cobalt to the Locus nodes locus001..locus100
#
# This test is a big awkward, because we cannot assume that every locus node
# is online. Therefore, we execute the same command, using cexec, both
# from the CEP2 head node (lhn001), and from the current node. The outputs
# should be the same.
#
# $Id$
# Source useful functions.
.
$
(
dirname
$
0
)
/../
funcs
.
sh
# Path to our local cexec program.
CEXEC
=
$
(
cd
$
(
dirname
$
0
)
/../
c3
&&
pwd
)
/
cexec
||
exit
# Setup cleanup handler.
trap
'STATUS=$?; rm -rf -- "$TMPDIR"; exit $STATUS'
0
1
2
3
15
# Create temporary directory for output files
TMPDIR
=
$
(
mktemp
-
dt
"$(basename $0).XXXXXX"
)
||
exit
# Filenames for our output files.
C3_CONF
=
$TMPDIR
/
c3
.
conf
LHN_LOCUS
=
$TMPDIR
/
lhn
.
locus
CBM_LOCUS
=
$TMPDIR
/
cbm
.
locus
# Path to remote cexec command
C3_PATH
=
$
(
dirname
$
(
run_command
"ssh lhn001 which cexec"
))
||
exit
# Retrieve the c3.conf file from lhn001.
run_command
"scp lhn001:/etc/c3.conf
$C3_CONF
"
||
exit
# Retrieve the list of locus nodes reachable from lhn001
run_command
"ssh lhn001 cexec locus: hostname"
|
\
grep
'^locus'
>
$LHN_LOCUS
||
exit
# Retrieve the list of locus nodes reachable from localhost
C3_PATH
=
$C3_PATH
run_command
"
$CEXEC
-f
$C3_CONF
locus: hostname"
|
\
grep
'^locus'
>
$CBM_LOCUS
||
exit
# Compare the results.
diff
-
s
$LHN_LOCUS
$CBM_LOCUS
exit
0
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