Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sdptr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
sdptr
Commits
19d67bc1
Commit
19d67bc1
authored
1 year ago
by
Pieter Donker
Browse files
Options
Downloads
Patches
Plain Diff
L2SDP-996
: partial merge
parent
c2c890ef
No related branches found
No related tags found
1 merge request
!153
Resolve L2SDP-996
Pipeline
#65240
passed
1 year ago
Stage: prepare
Stage: sdptr-build-test
Stage: linting
Stage: memory-test
Pipeline: sdptr
#65241
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
regressiontest/fw_tests.txt
+43
-17
43 additions, 17 deletions
regressiontest/fw_tests.txt
test/py/control/ring_common.py
+1
-0
1 addition, 0 deletions
test/py/control/ring_common.py
with
44 additions
and
17 deletions
regressiontest/fw_tests.txt
+
43
−
17
View file @
19d67bc1
...
@@ -32,6 +32,9 @@
...
@@ -32,6 +32,9 @@
# > SDPTR_PORT=4842
# > SDPTR_PORT=4842
# and then copy paste the command line from this fw_tests.txt into the
# and then copy paste the command line from this fw_tests.txt into the
# terminal.
# terminal.
# . SDP FW reboot:
# > sdp_firmware.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --reboot --image USER
# > sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -r firmware_version
# References:
# References:
# [1] XST offload,
# [1] XST offload,
# https://support.astron.nl/confluence/display/L2M/L3+SDP+Testing+Notebook%3A+Subband+correlator+and+XST+offload
# https://support.astron.nl/confluence/display/L2M/L3+SDP+Testing+Notebook%3A+Subband+correlator+and+XST+offload
...
@@ -46,6 +49,14 @@
...
@@ -46,6 +49,14 @@
# for --host use ${SDPTR_IP}
# for --host use ${SDPTR_IP}
# for --port use ${SDPTR_PORT}
# for --port use ${SDPTR_PORT}
############################################################################
# Optional SDP FW reboot
#sdp_firmware.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --reboot --image USER
#sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -r firmware_version
#sleep 25
#sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -r firmware_version
############################################################################
############################################################################
# Monitor only
# Monitor only
...
@@ -53,39 +64,56 @@ sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r software_version
...
@@ -53,39 +64,56 @@ sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r software_version
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r hardware_version
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r hardware_version
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r firmware_version
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r firmware_version
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_capture_cnt
############################################################################
# Diagnostics
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_error_cnt
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_error_cnt
ucp_status.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v --reset
ucp_status.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v --reset
############################################################################
############################################################################
# Self tests
# Setups
# Disable processing during ring_common --setup
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -w processing_enable [False]*16
# Setup ring nodes and cables
ring_common.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -vv --setup
# SDP info (some value != 0 to recognize in header tests)
# Setup beamlets lane and crosslets lane and enable processing
stat_stream_bst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --setup-lane
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --setup-lane
# Setup XST of default subband select, integration interval, nof_crosslets and enable XST processing
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --setup-xst --xst-proc ON
# Setup SDP info (some value != 0 to recognize in header tests)
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -vv -w sdp_info_antenna_field_index [41]*16
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -vv -w sdp_info_antenna_field_index [41]*16
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -vv -w sdp_info_station_id [602]*16
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -vv -w sdp_info_station_id [602]*16
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -vv -w sdp_info_observation_id [12345678]*16
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -vv -w sdp_info_observation_id [12345678]*16
############################################################################
# Monitor only
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_error_cnt
# Beamlets are streaming on ring when processing_enable
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r bf_ring_rx_latency
# Crosslets are streaming on ring when processing_enable and xst_processing_enable
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r xst_ring_rx_latency
############################################################################
# Self tests
# SST
# SST
stat_stream_sst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-header --mtime 10
stat_stream_sst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-header --mtime 10
stat_stream_sst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-data
stat_stream_sst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-data
# BST
# BST
stat_stream_bst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-header --mtime 10
stat_stream_bst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-header --mtime 10
stat_stream_bst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --setup-ring --setup-bst
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_capture_cnt
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r bf_ring_rx_latency
stat_stream_bst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-mp
stat_stream_bst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-mp
stat_stream_bst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-data
stat_stream_bst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-data
# XST, see [1]
# XST, see [1]
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-cp
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-cp
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --setup-ring --setup-xst --xst-proc ON
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_capture_cnt
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r xst_ring_rx_latency
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-header --mtime 10
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-header --mtime 10
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-mp
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-mp
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-data
stat_stream_xst.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --ip dop386 --mac dop386 -vv --test-data
...
@@ -104,11 +132,9 @@ bf_weights.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --test
...
@@ -104,11 +132,9 @@ bf_weights.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --test
############################################################################
############################################################################
# Monitor only
# Monitor only
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_capture_cnt
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_error_cnt
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r xst_ring_rx_latency
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r xst_ring_rx_latency
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r bf_ring_rx_latency
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r bf_ring_rx_latency
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r firmware_version
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r firmware_version
############################################################################
# Diagnostics
sdp_rw.py --host ${SDPTR_IP} --port ${SDPTR_PORT} -v -r pps_error_cnt
ucp_status.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --status
ucp_status.py --host ${SDPTR_IP} --port ${SDPTR_PORT} --status
This diff is collapsed.
Click to expand it.
test/py/control/ring_common.py
+
1
−
0
View file @
19d67bc1
...
@@ -121,6 +121,7 @@ class RingCommon(object):
...
@@ -121,6 +121,7 @@ class RingCommon(object):
self
.
nof_nodes
=
N_rn_list
self
.
nof_nodes
=
N_rn_list
self
.
use_cable_to_next_rn
=
next_rn_list
self
.
use_cable_to_next_rn
=
next_rn_list
self
.
use_cable_to_previous_rn
=
prev_rn_list
self
.
use_cable_to_previous_rn
=
prev_rn_list
self
.
logger
.
info
(
"
rinf_common.setup: PASSED
"
)
# next functions for testing
# next functions for testing
def
compare_lists
(
self
,
list1
,
list2
):
def
compare_lists
(
self
,
list1
,
list2
):
...
...
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