70 lines
5.3 KiB
Plaintext
70 lines
5.3 KiB
Plaintext
测试流程:
|
|
一 关闭自启动
|
|
1 远程到设备(192.168.1.102)
|
|
ssh heco@192.168.1.102 #输入密码 123465
|
|
2 关闭设备自启动 (将 目录 /home/heco/ys_ecap_server/protect.bash 内容中的最后一行注释掉)
|
|
vi /home/heco/ys_ecap_server/protect.bash
|
|
命令模式下(j 往下一直 定位到 ${DIR}/pt > ${DIR}/pt.log)
|
|
定位好之后 (I 由命令模式切换到 插入模式) ,此时输入 '#' 号,注释调该行
|
|
按esc键 (由插入模式转换为命令模式), 输入 :wq 此时强制保存退出
|
|
3 重启设备9002rm, 和本测试机器
|
|
ssh root@172.22.0.2 /sbin/reboot #重启设备9002rm
|
|
sudo reboot #重启本机器
|
|
4 待重启好之后,查看线程中是否还存在 ecap_server
|
|
ssh heco@192.168.1.102 #输入密码 123465 , 重新登陆
|
|
ps aux |grep ecap_server
|
|
若发现 只有一个--color == xxxxecap_server , 说明只剩下查询时候有关ecap_server在运行,没有自启动线程在运行了
|
|
二 测试丢包情况
|
|
|
|
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4228] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4224] val:[1024]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x422c] val:[10]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[2]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[test_s_main.cpp]FUNC:[main]==> changed_ch2_times:[14]
|
|
[testsever]:FILE:[test_s_main.cpp]FUNC:[main]==> loop 2:end
|
|
[testsever]:FILE:[test_s_main.cpp]FUNC:[main]==> loop flag 2:begin
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4228] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4224] val:[1024]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x422c] val:[10]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[2]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[test_s_main.cpp]FUNC:[main]==> changed_ch2_times:[15]
|
|
[testsever]:FILE:[test_s_main.cpp]FUNC:[main]==> loop 2:end
|
|
[testsever]:FILE:[device_uhd_c.cpp]FUNC:[_rx_data_cbk_t]==> loseframe!!!=> channel:[1] current_index:[153] last_index:[23169]
|
|
[testsever]:FILE:[device_uhd_c.cpp]FUNC:[_rx_data_cbk_t]==> loseframe!!!=> channel:[1] current_index:[6] last_index:[229]
|
|
[testsever]:FILE:[test_s_main.cpp]FUNC:[main]==> loop flag 2:begin
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4228] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4224] val:[1024]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x422c] val:[10]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[0]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4220] val:[2]
|
|
[testsever]:FILE:[device_uhd_cpp.cpp]FUNC:[set_esun_rx_addr_val]==> addr:[0x4210] val:[3]
|
|
[testsever]:FILE:[test_s_main.cpp]FUNC:[main]==> changed_ch2_times:[16]
|
|
[testsever]:FILE:[test_s_main.cpp]FUNC:[main]==> loop 2:end
|
|
^C
|
|
第15次循环的时候,出现 丢包现象 |