Skip to content
GitLab
Explore
Sign in
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
49836f73
Commit
49836f73
authored
15 years ago
by
Menno Norden
Browse files
Options
Downloads
Patches
Plain Diff
bug 1315: Test criteria changed to OK
parent
fa7260b0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
StationTest/station_production.py
+16
-22
16 additions, 22 deletions
StationTest/station_production.py
with
16 additions
and
22 deletions
StationTest/station_production.py
+
16
−
22
View file @
49836f73
...
@@ -62,16 +62,13 @@ sr.appendLog(11,'')
...
@@ -62,16 +62,13 @@ sr.appendLog(11,'')
sr
.
appendLog
(
1
,
'
Station production test %s
'
%
logName
)
sr
.
appendLog
(
1
,
'
Station production test %s
'
%
logName
)
sr
.
appendLog
(
11
,
''
)
sr
.
appendLog
(
11
,
''
)
################################################################################
################################################################################
sr
.
setId
(
'
RSP version -
'
)
sr
.
setId
(
'
RSP version -
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
'
### Verify LCU - RSP ethernet link by getting the RSP version info
'
)
sr
.
appendLog
(
21
,
'
### Verify LCU - RSP ethernet link by getting the RSP version info
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
res
=
cli
.
command
(
'
./rsp_version.sh
'
)
res
=
cli
.
command
(
'
./rsp_version.sh
'
)
if
res
.
find
(
'
wrong
'
)
==-
1
:
if
res
.
find
(
'
OK
'
)
==-
1
:
sr
.
appendLog
(
11
,
'
>>> RSP version test went OK
'
)
else
:
sr
.
appendLog
(
11
,
'
>>> RSP version test went wrong
'
)
sr
.
appendLog
(
11
,
'
>>> RSP version test went wrong
'
)
sr
.
appendLog
(
11
,
'
CLI:
'
)
sr
.
appendLog
(
11
,
'
CLI:
'
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
...
@@ -80,17 +77,16 @@ else:
...
@@ -80,17 +77,16 @@ else:
sr
.
appendLog
(
11
,
'
Expected:
'
)
sr
.
appendLog
(
11
,
'
Expected:
'
)
sr
.
appendFile
(
11
,
'
gold/rsp_version.gold
'
)
sr
.
appendFile
(
11
,
'
gold/rsp_version.gold
'
)
sr
.
setResult
(
'
FAILED
'
)
sr
.
setResult
(
'
FAILED
'
)
else
:
sr
.
appendLog
(
11
,
'
>>> RSP version test went OK
'
)
################################################################################
################################################################################
sr
.
setId
(
'
TBB version -
'
)
sr
.
setId
(
'
TBB version -
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
'
### Verify LCU - TBB ethernet link by getting the TBB version info
'
)
sr
.
appendLog
(
21
,
'
### Verify LCU - TBB ethernet link by getting the TBB version info
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
res
=
cli
.
command
(
'
./tbb_version.sh
'
)
res
=
cli
.
command
(
'
./tbb_version.sh
'
)
if
res
.
find
(
'
wrong
'
)
==-
1
:
if
res
.
find
(
'
OK
'
)
==-
1
:
sr
.
appendLog
(
11
,
'
>>> TBB version test went OK
'
)
else
:
sr
.
appendLog
(
11
,
'
>>> TBB version test went wrong
'
)
sr
.
appendLog
(
11
,
'
>>> TBB version test went wrong
'
)
sr
.
appendLog
(
11
,
'
CLI:
'
)
sr
.
appendLog
(
11
,
'
CLI:
'
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
...
@@ -99,16 +95,16 @@ else:
...
@@ -99,16 +95,16 @@ else:
sr
.
appendLog
(
11
,
'
Expected:
'
)
sr
.
appendLog
(
11
,
'
Expected:
'
)
sr
.
appendFile
(
11
,
'
gold/tbb_version.gold
'
)
sr
.
appendFile
(
11
,
'
gold/tbb_version.gold
'
)
sr
.
setResult
(
'
FAILED
'
)
sr
.
setResult
(
'
FAILED
'
)
else
:
sr
.
appendLog
(
11
,
'
>>> TBB version test went OK
'
)
################################################################################
################################################################################
sr
.
setId
(
'
TBB size check -
'
)
sr
.
setId
(
'
TBB size check -
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
'
### Verify the size of the TBB memory modules
'
)
sr
.
appendLog
(
21
,
'
### Verify the size of the TBB memory modules
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
res
=
cli
.
command
(
'
./tbb_size.sh
'
)
res
=
cli
.
command
(
'
./tbb_size.sh
'
)
if
res
.
find
(
'
wrong
'
)
==-
1
:
if
res
.
find
(
'
OK
'
)
==-
1
:
sr
.
appendLog
(
11
,
'
>>> TBB size test went OK
'
)
else
:
sr
.
appendLog
(
11
,
'
>>> TBB size test went wrong
'
)
sr
.
appendLog
(
11
,
'
>>> TBB size test went wrong
'
)
sr
.
appendLog
(
11
,
'
CLI:
'
)
sr
.
appendLog
(
11
,
'
CLI:
'
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
...
@@ -117,17 +113,16 @@ else:
...
@@ -117,17 +113,16 @@ else:
sr
.
appendLog
(
11
,
'
Expected:
'
)
sr
.
appendLog
(
11
,
'
Expected:
'
)
sr
.
appendFile
(
11
,
'
gold/tbb_size.gold
'
)
sr
.
appendFile
(
11
,
'
gold/tbb_size.gold
'
)
sr
.
setResult
(
'
FAILED
'
)
sr
.
setResult
(
'
FAILED
'
)
else
:
sr
.
appendLog
(
11
,
'
>>> TBB size test went OK
'
)
################################################################################
################################################################################
sr
.
setId
(
'
TBB memory check -
'
)
sr
.
setId
(
'
TBB memory check -
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
'
### Verify TBB memory modules on the TBB
'
)
sr
.
appendLog
(
21
,
'
### Verify TBB memory modules on the TBB
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
res
=
cli
.
command
(
'
./tbb_memory.sh
'
)
res
=
cli
.
command
(
'
./tbb_memory.sh
'
)
if
res
.
find
(
'
wrong
'
)
==-
1
:
if
res
.
find
(
'
OK
'
)
==-
1
:
sr
.
appendLog
(
11
,
'
>>> TBB memory test went OK
'
)
else
:
sr
.
appendLog
(
11
,
'
>>> TBB memory test went wrong
'
)
sr
.
appendLog
(
11
,
'
>>> TBB memory test went wrong
'
)
sr
.
appendLog
(
11
,
'
CLI:
'
)
sr
.
appendLog
(
11
,
'
CLI:
'
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
...
@@ -136,7 +131,9 @@ else:
...
@@ -136,7 +131,9 @@ else:
sr
.
appendLog
(
11
,
'
Expected:
'
)
sr
.
appendLog
(
11
,
'
Expected:
'
)
sr
.
appendFile
(
11
,
'
gold/tbb_memory.gold
'
)
sr
.
appendFile
(
11
,
'
gold/tbb_memory.gold
'
)
sr
.
setResult
(
'
FAILED
'
)
sr
.
setResult
(
'
FAILED
'
)
else
:
sr
.
appendLog
(
11
,
'
>>> TBB memory test went OK
'
)
################################################################################
################################################################################
sr
.
setId
(
'
SPU status -
'
)
sr
.
setId
(
'
SPU status -
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
...
@@ -153,7 +150,6 @@ else:
...
@@ -153,7 +150,6 @@ else:
sr
.
appendFile
(
11
,
'
spustat.log
'
)
sr
.
appendFile
(
11
,
'
spustat.log
'
)
sr
.
setResult
(
'
FAILED
'
)
sr
.
setResult
(
'
FAILED
'
)
################################################################################
################################################################################
sr
.
setId
(
'
TD status -
'
)
sr
.
setId
(
'
TD status -
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
...
@@ -170,7 +166,6 @@ else:
...
@@ -170,7 +166,6 @@ else:
sr
.
appendFile
(
11
,
'
tdstat.log
'
)
sr
.
appendFile
(
11
,
'
tdstat.log
'
)
sr
.
setResult
(
'
FAILED
'
)
sr
.
setResult
(
'
FAILED
'
)
################################################################################
################################################################################
sr
.
setId
(
'
RCU-RSP -
'
)
sr
.
setId
(
'
RCU-RSP -
'
)
sr
.
appendLog
(
21
,
''
)
sr
.
appendLog
(
21
,
''
)
...
@@ -233,7 +228,6 @@ else:
...
@@ -233,7 +228,6 @@ else:
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
sr
.
appendLog
(
11
,
res
,
1
,
1
,
1
)
sr
.
setResult
(
'
FAILED
'
)
sr
.
setResult
(
'
FAILED
'
)
################################################################################
################################################################################
# End of the subrack test
# End of the subrack test
...
...
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