Project

General

Profile

Bug #3167

【c系统】4.6.数据采集测试 步骤3,dns的count未增加

Added by 天驰 王 4 months ago. Updated 4 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Start date:
01/22/2025
Due date:
% Done:

0%

测试版本:
_bbf7713_tiangong0_ker_fs_fwk
复现概率:
100%

Description

【步骤】
1、使用telnet登录设备;
2、cd /CuInform/bin/plugins/CuInform/files/ && ./CLI_client http stat,使用PC1访问搭建的网站http://test.com5到6次 (如果是Chrome浏览器,访问之后要先重启浏览器再访问),再次执行./CLI_client http stat;
3、cd /CuInform/bin/plugins/CuInform/files/ && ./CLI_client dns stat,使用连接在设备上的PC1,在PC机的cmd中输入 ping test.com (确保dns请求发送成功,需清空DNS缓存,执行ping之前命令如下ipconfig /flushdns),再次执行./CLI_client dns stat。

使用upointech.com 域名测试

【实际结果】
ns的count未增加
ping之前
CuInform/bin/plugins/CuInform/files #
/CuInform/bin/plugins/CuInform/files # cd /CuInform/bin/plugins/CuInform/files/ && ./CLI_client dns stat {
"count": 1199,
"len": 318173
}
/CuInform

ping 之后
/CLI_client dns stat

{
"count": 1199,
"len": 318173
}

【预期结果】

步骤3,dns的count增加

History

#1 Updated by 齐 刘 4 months ago

  • Status changed from New to Feedback

没复现,ping后dns有增加

/CuInform/bin/plugins/CuInform/files # ./CLI_client dns stat {
"count": 259,
"len": 49142
}
/CuInform/bin/plugins/CuInform/files # ./CLI_client dns stat {
"count": 261,
"len": 49496
}
/CuInform/bin/plugins/CuInform/files # ./CLI_client dns stat {
"count": 261,
"len": 49496
}
/CuInform/bin/plugins/CuInform/files # ./CLI_client dns stat {
"count": 262,
"len": 49773
}

Also available in: Atom PDF