Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
d3ef88ed
Commit
d3ef88ed
authored
Feb 15, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix iperf status regex
parent
e6dd5240
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+1
-1
No files found.
ci-scripts/cls_containerize.py
View file @
d3ef88ed
...
@@ -185,7 +185,7 @@ def AnalyzeIperf(cliOptions, clientReport, serverReport):
...
@@ -185,7 +185,7 @@ def AnalyzeIperf(cliOptions, clientReport, serverReport):
reportLine
=
clientReportLines
[
l
+
1
]
reportLine
=
clientReportLines
[
l
+
1
]
logging
.
debug
(
f'found server report: "
{
reportLine
}
"'
)
logging
.
debug
(
f'found server report: "
{
reportLine
}
"'
)
statusTemplate
=
'(?:|\[ *\d+\].*) +0\.0-\s*(?P<duration>[0-9\.]+) +sec +[0-9\.]+ [kKMG]Bytes +(?P<bitrate>[0-9\.]+) (?P<magnitude>[kKMG])bits\/sec +(?P<jitter>[0-9\.]+) ms +(\d+\/
..
\d+) +(\((?P<packetloss>[0-9\.]+)%\))'
statusTemplate
=
'(?:|\[ *\d+\].*) +0\.0-\s*(?P<duration>[0-9\.]+) +sec +[0-9\.]+ [kKMG]Bytes +(?P<bitrate>[0-9\.]+) (?P<magnitude>[kKMG])bits\/sec +(?P<jitter>[0-9\.]+) ms +(\d+\/
*
\d+) +(\((?P<packetloss>[0-9\.]+)%\))'
# if we do not find a server report in the client logs, check the server logs
# if we do not find a server report in the client logs, check the server logs
# and use the last line which is typically close/identical to server report
# and use the last line which is typically close/identical to server report
if
reportLine
is
None
:
if
reportLine
is
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment