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
ao gleen
OpenXG-RAN
Commits
1813af8b
Commit
1813af8b
authored
Nov 11, 2019
by
Raphael Defosseux
Committed by
Raphael Defosseux
Dec 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: fix UL iperf in distributed env
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@openairinterface.org
>
parent
68dc0d00
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
128 additions
and
61 deletions
+128
-61
ci-scripts/Jenkinsfile-inria-r2lab
ci-scripts/Jenkinsfile-inria-r2lab
+0
-4
ci-scripts/main.py
ci-scripts/main.py
+84
-13
ci-scripts/xml_files/inria/enb_ue_usrp210_band7_test_05mhz_tm1.xml
...s/xml_files/inria/enb_ue_usrp210_band7_test_05mhz_tm1.xml
+1
-1
ci-scripts/xml_files/inria/enb_usrp210_band7_test_05mhz_tm1.xml
...ipts/xml_files/inria/enb_usrp210_band7_test_05mhz_tm1.xml
+43
-43
No files found.
ci-scripts/Jenkinsfile-inria-r2lab
View file @
1813af8b
...
@@ -183,7 +183,6 @@ pipeline {
...
@@ -183,7 +183,6 @@ pipeline {
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:m11 172.16.1.102 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:m11 172.16.1.102 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:m10 192.168.10.110 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:m10 192.168.10.110 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:sxu 172.55.55.102 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:sxu 172.55.55.102 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:s1u 192.168.248.159 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:sxc 172.55.55.101 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:sxc 172.55.55.101 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:s5c 172.58.58.102 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:s5c 172.58.58.102 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:p5c 172.58.58.101 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:p5c 172.58.58.101 up\"'"
...
@@ -195,9 +194,6 @@ pipeline {
...
@@ -195,9 +194,6 @@ pipeline {
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ip rule add from 12.0.0.0/8 table lte\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ip rule add from 12.0.0.0/8 table lte\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ip rule add from 12.1.1.0/8 table lte\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ip rule add from 12.1.1.0/8 table lte\"'"
// Adding a route on the eNB for the S1U interface
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labENB0} \"echo ${fitpasswd} | sudo -S ip route add 192.168.248.0/24 via ${r2labEPC0IpAddr} dev control\"'"
// For the moment, simple way to route traffic from python executor to any UEs
// For the moment, simple way to route traffic from python executor to any UEs
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labPythonExe} \"echo ${fitpasswd} | sudo -S ip route add 12.1.1.0/24 via ${r2labEPC0IpAddr} dev control\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labPythonExe} \"echo ${fitpasswd} | sudo -S ip route add 12.1.1.0/24 via ${r2labEPC0IpAddr} dev control\"'"
}
}
...
...
ci-scripts/main.py
View file @
1813af8b
...
@@ -1898,11 +1898,27 @@ class SSHConnection():
...
@@ -1898,11 +1898,27 @@ class SSHConnection():
def
Ping_common
(
self
,
lock
,
UE_IPAddress
,
device_id
,
statusQueue
):
def
Ping_common
(
self
,
lock
,
UE_IPAddress
,
device_id
,
statusQueue
):
try
:
try
:
# Launch ping on the EPC side (true for ltebox and old open-air-cn)
# But for OAI-Rel14-CUPS, we launch from python executor
launchFromEpc
=
True
if
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
launchFromEpc
=
False
ping_time
=
re
.
findall
(
"-c (\d+)"
,
str
(
self
.
ping_args
))
if
launchFromEpc
:
self
.
open
(
self
.
EPCIPAddress
,
self
.
EPCUserName
,
self
.
EPCPassword
)
self
.
open
(
self
.
EPCIPAddress
,
self
.
EPCUserName
,
self
.
EPCPassword
)
self
.
command
(
'cd '
+
self
.
EPCSourceCodePath
,
'\$'
,
5
)
self
.
command
(
'cd '
+
self
.
EPCSourceCodePath
,
'\$'
,
5
)
self
.
command
(
'cd scripts'
,
'\$'
,
5
)
self
.
command
(
'cd scripts'
,
'\$'
,
5
)
ping_time
=
re
.
findall
(
"-c (\d+)"
,
str
(
self
.
ping_args
))
ping_status
=
self
.
command
(
'stdbuf -o0 ping '
+
self
.
ping_args
+
' '
+
UE_IPAddress
+
' 2>&1 | stdbuf -o0 tee ping_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
ping_time
[
0
])
*
1.5
)
ping_status
=
self
.
command
(
'stdbuf -o0 ping '
+
self
.
ping_args
+
' '
+
UE_IPAddress
+
' 2>&1 | stdbuf -o0 tee ping_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
ping_time
[
0
])
*
1.5
)
else
:
cmd
=
'ping '
+
self
.
ping_args
+
' '
+
UE_IPAddress
+
' 2>&1 > ping_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
message
=
cmd
+
'
\n
'
logging
.
debug
(
cmd
)
ret
=
subprocess
.
run
(
cmd
,
shell
=
True
)
ping_status
=
ret
.
returncode
self
.
copyout
(
self
.
EPCIPAddress
,
self
.
EPCUserName
,
self
.
EPCPassword
,
'ping_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
self
.
EPCSourceCodePath
+
'/scripts'
)
self
.
open
(
self
.
EPCIPAddress
,
self
.
EPCUserName
,
self
.
EPCPassword
)
self
.
command
(
'cat '
+
self
.
EPCSourceCodePath
+
'/scripts/ping_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
# TIMEOUT CASE
# TIMEOUT CASE
if
ping_status
<
0
:
if
ping_status
<
0
:
message
=
'Ping with UE ('
+
str
(
UE_IPAddress
)
+
') crashed due to TIMEOUT!'
message
=
'Ping with UE ('
+
str
(
UE_IPAddress
)
+
') crashed due to TIMEOUT!'
...
@@ -2212,7 +2228,7 @@ class SSHConnection():
...
@@ -2212,7 +2228,7 @@ class SSHConnection():
req_bandwidth
=
'%.1f Gbits/sec'
%
req_bw
req_bandwidth
=
'%.1f Gbits/sec'
%
req_bw
req_bw
=
req_bw
*
1000000000
req_bw
=
req_bw
*
1000000000
result
=
re
.
search
(
'Server Report:
\\\\
r
\\\\
n(?:|\[ *\d+\].*) (?P<bitrate>[0-9\.]+ [KMG]bits\/sec) +(?P<jitter>[0-9\.]+ ms) +(\d+\/..\d+) (\((?P<packetloss>[0-9\.]+)%\))'
,
str
(
self
.
ssh
.
before
))
result
=
re
.
search
(
'Server Report:
\\\\
r
\\\\
n(?:|\[ *\d+\].*) (?P<bitrate>[0-9\.]+ [KMG]bits\/sec) +(?P<jitter>[0-9\.]+ ms) +(\d+\/..\d+)
+
(\((?P<packetloss>[0-9\.]+)%\))'
,
str
(
self
.
ssh
.
before
))
if
result
is
not
None
:
if
result
is
not
None
:
bitrate
=
result
.
group
(
'bitrate'
)
bitrate
=
result
.
group
(
'bitrate'
)
packetloss
=
result
.
group
(
'packetloss'
)
packetloss
=
result
.
group
(
'packetloss'
)
...
@@ -2260,6 +2276,8 @@ class SSHConnection():
...
@@ -2260,6 +2276,8 @@ class SSHConnection():
statusQueue
.
put
(
msg
)
statusQueue
.
put
(
msg
)
lock
.
release
()
lock
.
release
()
return
0
return
0
else
:
return
-
2
def
Iperf_analyzeV2Server
(
self
,
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
iperf_real_options
):
def
Iperf_analyzeV2Server
(
self
,
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
iperf_real_options
):
if
(
not
os
.
path
.
isfile
(
'iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
)):
if
(
not
os
.
path
.
isfile
(
'iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
)):
...
@@ -2429,11 +2447,17 @@ class SSHConnection():
...
@@ -2429,11 +2447,17 @@ class SSHConnection():
self
.
command
(
'echo $USER; nohup iperf -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
EPCUserName
,
5
)
self
.
command
(
'echo $USER; nohup iperf -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
EPCUserName
,
5
)
self
.
close
()
self
.
close
()
else
:
else
:
if
self
.
ueIperfVersion
==
self
.
dummyIperfVersion
:
prefix
=
''
else
:
prefix
=
''
if
self
.
ueIperfVersion
==
'2.0.5'
:
prefix
=
'/opt/iperf-2.0.5/bin/'
if
udpIperf
:
if
udpIperf
:
cmd
=
'nohup iperf -u -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log 2>&1 &'
cmd
=
'nohup
'
+
prefix
+
'
iperf -u -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log 2>&1 &'
else
:
else
:
cmd
=
'nohup iperf -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log 2>&1 &'
cmd
=
'nohup
'
+
prefix
+
'
iperf -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log 2>&1 &'
logging
.
debug
(
cmd
+
'
\n
'
)
logging
.
debug
(
cmd
)
subprocess
.
run
(
cmd
,
shell
=
True
,
stdout
=
subprocess
.
PIPE
,
encoding
=
'utf-8'
)
subprocess
.
run
(
cmd
,
shell
=
True
,
stdout
=
subprocess
.
PIPE
,
encoding
=
'utf-8'
)
time
.
sleep
(
0.5
)
time
.
sleep
(
0.5
)
...
@@ -2458,7 +2482,12 @@ class SSHConnection():
...
@@ -2458,7 +2482,12 @@ class SSHConnection():
if
(
device_id
==
'OAI-UE'
):
if
(
device_id
==
'OAI-UE'
):
iperf_status
=
self
.
command
(
'iperf -c '
+
EPC_Iperf_UE_IPAddress
+
' '
+
modified_options
+
' -p '
+
str
(
port
)
+
' -B '
+
UE_IPAddress
+
' 2>&1 | stdbuf -o0 tee iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
iperf_time
)
*
5.0
)
iperf_status
=
self
.
command
(
'iperf -c '
+
EPC_Iperf_UE_IPAddress
+
' '
+
modified_options
+
' -p '
+
str
(
port
)
+
' -B '
+
UE_IPAddress
+
' 2>&1 | stdbuf -o0 tee iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
iperf_time
)
*
5.0
)
else
:
else
:
if
self
.
ADBCentralized
:
iperf_status
=
self
.
command
(
'stdbuf -o0 adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -c '
+
EPC_Iperf_UE_IPAddress
+
' '
+
modified_options
+
' -p '
+
str
(
port
)
+
'" 2>&1 | stdbuf -o0 tee iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
iperf_time
)
*
5.0
)
iperf_status
=
self
.
command
(
'stdbuf -o0 adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -c '
+
EPC_Iperf_UE_IPAddress
+
' '
+
modified_options
+
' -p '
+
str
(
port
)
+
'" 2>&1 | stdbuf -o0 tee iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
iperf_time
)
*
5.0
)
else
:
iperf_status
=
self
.
command
(
'ssh '
+
self
.
UEDevicesRemoteUser
[
idx
]
+
'@'
+
self
.
UEDevicesRemoteServer
[
idx
]
+
'
\'
adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -c '
+
EPC_Iperf_UE_IPAddress
+
' '
+
modified_options
+
' -p '
+
str
(
port
)
+
'"
\'
2>&1 > iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
iperf_time
)
*
5.0
)
self
.
command
(
'fromdos -o iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
self
.
command
(
'cat iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
# TIMEOUT Case
# TIMEOUT Case
if
iperf_status
<
0
:
if
iperf_status
<
0
:
self
.
close
()
self
.
close
()
...
@@ -2477,12 +2506,12 @@ class SSHConnection():
...
@@ -2477,12 +2506,12 @@ class SSHConnection():
self
.
close
()
self
.
close
()
else
:
else
:
cmd
=
'killall --signal SIGKILL iperf'
cmd
=
'killall --signal SIGKILL iperf'
logging
.
debug
(
cmd
+
'
\n
'
)
logging
.
debug
(
cmd
)
subprocess
.
run
(
cmd
,
shell
=
True
)
subprocess
.
run
(
cmd
,
shell
=
True
)
time
.
sleep
(
1
)
time
.
sleep
(
1
)
self
.
copyout
(
self
.
EPCIPAddress
,
self
.
EPCUserName
,
self
.
EPCPassword
,
'iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
self
.
EPCSourceCodePath
+
'/scripts'
)
self
.
copyout
(
self
.
EPCIPAddress
,
self
.
EPCUserName
,
self
.
EPCPassword
,
'iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
self
.
EPCSourceCodePath
+
'/scripts'
)
# in case of failure, retrieve server log
# in case of failure, retrieve server log
if
(
clientStatus
==
-
1
):
if
(
clientStatus
==
-
1
)
or
(
clientStatus
==
-
2
)
:
if
launchFromEpc
:
if
launchFromEpc
:
time
.
sleep
(
1
)
time
.
sleep
(
1
)
if
(
os
.
path
.
isfile
(
'iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
)):
if
(
os
.
path
.
isfile
(
'iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
)):
...
@@ -2501,6 +2530,8 @@ class SSHConnection():
...
@@ -2501,6 +2530,8 @@ class SSHConnection():
return
return
useIperf3
=
False
useIperf3
=
False
udpIperf
=
True
udpIperf
=
True
self
.
ueIperfVersion
=
'2.0.5'
if
(
device_id
!=
'OAI-UE'
):
if
(
device_id
!=
'OAI-UE'
):
self
.
open
(
self
.
ADBIPAddress
,
self
.
ADBUserName
,
self
.
ADBPassword
)
self
.
open
(
self
.
ADBIPAddress
,
self
.
ADBUserName
,
self
.
ADBPassword
)
# if by chance ADB server and EPC are on the same remote host, at least log collection will take care of it
# if by chance ADB server and EPC are on the same remote host, at least log collection will take care of it
...
@@ -2520,9 +2551,30 @@ class SSHConnection():
...
@@ -2520,9 +2551,30 @@ class SSHConnection():
self
.
close
()
self
.
close
()
self
.
ping_iperf_wrong_exit
(
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
message
)
self
.
ping_iperf_wrong_exit
(
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
message
)
return
return
else
:
if
self
.
ADBCentralized
:
self
.
command
(
'adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf --version"'
,
'\$'
,
5
)
else
:
self
.
command
(
'ssh '
+
self
.
UEDevicesRemoteUser
[
idx
]
+
'@'
+
self
.
UEDevicesRemoteServer
[
idx
]
+
'
\'
adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf --version"
\'
'
,
'\$'
,
60
)
result
=
re
.
search
(
'iperf version 2.0.5'
,
str
(
self
.
ssh
.
before
))
if
result
is
not
None
:
self
.
ueIperfVersion
=
'2.0.5'
result
=
re
.
search
(
'iperf version 2.0.10'
,
str
(
self
.
ssh
.
before
))
if
result
is
not
None
:
self
.
ueIperfVersion
=
'2.0.10'
else
:
else
:
useIperf3
=
True
useIperf3
=
True
self
.
close
()
self
.
close
()
else
:
self
.
open
(
self
.
UEIPAddress
,
self
.
UEUserName
,
self
.
UEPassword
)
self
.
command
(
'iperf --version'
,
'\$'
,
5
)
result
=
re
.
search
(
'iperf version 2.0.5'
,
str
(
self
.
ssh
.
before
))
if
result
is
not
None
:
self
.
ueIperfVersion
=
'2.0.5'
result
=
re
.
search
(
'iperf version 2.0.10'
,
str
(
self
.
ssh
.
before
))
if
result
is
not
None
:
self
.
ueIperfVersion
=
'2.0.10'
self
.
close
()
# in case of iperf, UL has its own function
# in case of iperf, UL has its own function
if
(
not
useIperf3
):
if
(
not
useIperf3
):
result
=
re
.
search
(
'-R'
,
str
(
self
.
iperf_args
))
result
=
re
.
search
(
'-R'
,
str
(
self
.
iperf_args
))
...
@@ -2557,7 +2609,7 @@ class SSHConnection():
...
@@ -2557,7 +2609,7 @@ class SSHConnection():
self
.
command
(
'echo $USER; nohup adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -u -s -i 1" > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
ADBUserName
,
5
)
self
.
command
(
'echo $USER; nohup adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -u -s -i 1" > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
ADBUserName
,
5
)
else
:
else
:
self
.
command
(
'rm -f iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
self
.
command
(
'rm -f iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
self
.
command
(
'echo $USER; nohup ssh '
+
self
.
UEDevicesRemoteUser
[
idx
]
+
'@'
+
self
.
UEDevicesRemoteServer
[
idx
]
+
'
\'
adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -u -s -i 1"
> iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log &
\'
> /dev/null 2>&1
'
,
self
.
ADBUserName
,
60
)
self
.
command
(
'echo $USER; nohup ssh '
+
self
.
UEDevicesRemoteUser
[
idx
]
+
'@'
+
self
.
UEDevicesRemoteServer
[
idx
]
+
'
\'
adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -u -s -i 1"
\'
2>&1 > iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log &
'
,
self
.
ADBUserName
,
60
)
time
.
sleep
(
0.5
)
time
.
sleep
(
0.5
)
self
.
close
()
self
.
close
()
...
@@ -2593,7 +2645,13 @@ class SSHConnection():
...
@@ -2593,7 +2645,13 @@ class SSHConnection():
if
launchFromEpc
:
if
launchFromEpc
:
iperf_status
=
self
.
command
(
'stdbuf -o0 iperf -c '
+
UE_IPAddress
+
' '
+
modified_options
+
' 2>&1 | stdbuf -o0 tee iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
iperf_time
)
*
5.0
)
iperf_status
=
self
.
command
(
'stdbuf -o0 iperf -c '
+
UE_IPAddress
+
' '
+
modified_options
+
' 2>&1 | stdbuf -o0 tee iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
int
(
iperf_time
)
*
5.0
)
else
:
else
:
cmd
=
'iperf -c '
+
UE_IPAddress
+
' '
+
modified_options
+
' 2>&1 > iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
if
self
.
ueIperfVersion
==
self
.
dummyIperfVersion
:
prefix
=
''
else
:
prefix
=
''
if
self
.
ueIperfVersion
==
'2.0.5'
:
prefix
=
'/opt/iperf-2.0.5/bin/'
cmd
=
prefix
+
'iperf -c '
+
UE_IPAddress
+
' '
+
modified_options
+
' 2>&1 > iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
message
=
cmd
+
'
\n
'
message
=
cmd
+
'
\n
'
logging
.
debug
(
cmd
)
logging
.
debug
(
cmd
)
ret
=
subprocess
.
run
(
cmd
,
shell
=
True
)
ret
=
subprocess
.
run
(
cmd
,
shell
=
True
)
...
@@ -2638,6 +2696,7 @@ class SSHConnection():
...
@@ -2638,6 +2696,7 @@ class SSHConnection():
self
.
copyin
(
self
.
UEIPAddress
,
self
.
UEUserName
,
self
.
UEPassword
,
self
.
UESourceCodePath
+
'/cmake_targets/iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'.'
)
self
.
copyin
(
self
.
UEIPAddress
,
self
.
UEUserName
,
self
.
UEPassword
,
self
.
UESourceCodePath
+
'/cmake_targets/iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'.'
)
else
:
else
:
self
.
copyin
(
self
.
ADBIPAddress
,
self
.
ADBUserName
,
self
.
ADBPassword
,
self
.
EPCSourceCodePath
+
'/scripts/iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'.'
)
self
.
copyin
(
self
.
ADBIPAddress
,
self
.
ADBUserName
,
self
.
ADBPassword
,
self
.
EPCSourceCodePath
+
'/scripts/iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'.'
)
self
.
command
(
'fromdos -o iperf_server_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
self
.
Iperf_analyzeV2Server
(
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
modified_options
)
self
.
Iperf_analyzeV2Server
(
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
modified_options
)
# in case of OAI UE:
# in case of OAI UE:
...
@@ -2782,6 +2841,18 @@ class SSHConnection():
...
@@ -2782,6 +2841,18 @@ class SSHConnection():
self
.
CreateHtmlTestRow
(
self
.
iperf_args
,
'KO'
,
UE_IP_ADDRESS_ISSUE
)
self
.
CreateHtmlTestRow
(
self
.
iperf_args
,
'KO'
,
UE_IP_ADDRESS_ISSUE
)
self
.
AutoTerminateUEandeNB
()
self
.
AutoTerminateUEandeNB
()
return
return
self
.
dummyIperfVersion
=
'2.0.10'
#cmd = 'iperf --version'
#logging.debug(cmd + '\n')
#iperfStdout = subprocess.check_output(cmd, shell=True, universal_newlines=True)
#result = re.search('iperf version 2.0.5', str(iperfStdout.strip()))
#if result is not None:
# dummyIperfVersion = '2.0.5'
#result = re.search('iperf version 2.0.10', str(iperfStdout.strip()))
#if result is not None:
# dummyIperfVersion = '2.0.10'
multi_jobs
=
[]
multi_jobs
=
[]
i
=
0
i
=
0
ue_num
=
len
(
self
.
UEIPAddresses
)
ue_num
=
len
(
self
.
UEIPAddresses
)
...
...
ci-scripts/xml_files/inria/enb_ue_usrp210_band7_test_05mhz_tm1.xml
View file @
1813af8b
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
<testCase
id=
"040503"
>
<testCase
id=
"040503"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/inria/enb_usrp210_band7_test_05mhz_tm1.xml
View file @
1813af8b
...
@@ -24,11 +24,11 @@
...
@@ -24,11 +24,11 @@
<htmlTabRef>
test-05-tm1
</htmlTabRef>
<htmlTabRef>
test-05-tm1
</htmlTabRef>
<htmlTabName>
Test-05MHz-TM1
</htmlTabName>
<htmlTabName>
Test-05MHz-TM1
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<htmlTabIcon>
tasks
</htmlTabIcon>
<repeatCount>
4
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
0
30201 0401
01
0
40101 0302
01
030103 000002
030103 000002
040301 000002 040504 0
00001
040401
040301 000002 040504 0
40605 040606 040645 040646
040401
040301 000002 040505 000001 040401
040301 000002 040505 000001 040401
040301 000002 040506 000001 040401
040301 000002 040506 000001 040401
040301 000002 040507 000001 040401
040301 000002 040507 000001 040401
...
@@ -114,252 +114,252 @@
...
@@ -114,252 +114,252 @@
<testCase
id=
"040504"
>
<testCase
id=
"040504"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040505"
>
<testCase
id=
"040505"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040506"
>
<testCase
id=
"040506"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040507"
>
<testCase
id=
"040507"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040508"
>
<testCase
id=
"040508"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040509"
>
<testCase
id=
"040509"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040510"
>
<testCase
id=
"040510"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040511"
>
<testCase
id=
"040511"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040512"
>
<testCase
id=
"040512"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040513"
>
<testCase
id=
"040513"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040514"
>
<testCase
id=
"040514"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040515"
>
<testCase
id=
"040515"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040516"
>
<testCase
id=
"040516"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040517"
>
<testCase
id=
"040517"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040518"
>
<testCase
id=
"040518"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040519"
>
<testCase
id=
"040519"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040520"
>
<testCase
id=
"040520"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040521"
>
<testCase
id=
"040521"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040522"
>
<testCase
id=
"040522"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040523"
>
<testCase
id=
"040523"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040524"
>
<testCase
id=
"040524"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040525"
>
<testCase
id=
"040525"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040526"
>
<testCase
id=
"040526"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040527"
>
<testCase
id=
"040527"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040528"
>
<testCase
id=
"040528"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040529"
>
<testCase
id=
"040529"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040530"
>
<testCase
id=
"040530"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040531"
>
<testCase
id=
"040531"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040532"
>
<testCase
id=
"040532"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040533"
>
<testCase
id=
"040533"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040534"
>
<testCase
id=
"040534"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040535"
>
<testCase
id=
"040535"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040536"
>
<testCase
id=
"040536"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040537"
>
<testCase
id=
"040537"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040538"
>
<testCase
id=
"040538"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"040539"
>
<testCase
id=
"040539"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-
I 192.168.248.159 -
c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
</testCase>
...
@@ -372,8 +372,8 @@
...
@@ -372,8 +372,8 @@
<testCase
id=
"040606"
>
<testCase
id=
"040606"
>
<class>
Iperf
</class>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/1
2
Mbps/UDP)(30 sec)
</desc>
<desc>
iperf (5MHz - DL/1
5
Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 1
2
M -t 30 -i 1 -fm
</iperf_args>
<iperf_args>
-u -b 1
5
M -t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
</testCase>
</testCase>
...
@@ -386,8 +386,8 @@
...
@@ -386,8 +386,8 @@
<testCase
id=
"040646"
>
<testCase
id=
"040646"
>
<class>
Iperf
</class>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/
2
Mbps/UDP)(30 sec)
</desc>
<desc>
iperf (5MHz - UL/
3.8
Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b
2
M -t 30 -i 1 -fm -R
</iperf_args>
<iperf_args>
-u -b
3.8
M -t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
</testCase>
</testCase>
...
...
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