mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
Test cases use libpcap or libnet are not CI ready now:
1. It need rebuild native lib 2. require root permission
This commit is contained in:
parent
4929534448
commit
9b72441b45
@ -337,43 +337,3 @@ Function_TCPIP_12:
|
||||
- SSC_T1_2
|
||||
before_script:
|
||||
- CONFIG_FILE=$TEST_CASE_FILE_PATH/CIConfigs/Function_TCPIP_12.yml
|
||||
|
||||
Function_WIFI_07:
|
||||
<<: *test_template
|
||||
tags:
|
||||
- ESP32_IDF
|
||||
- SSC_T2_PhyMode
|
||||
before_script:
|
||||
- CONFIG_FILE=$TEST_CASE_FILE_PATH/CIConfigs/Function_WIFI_07.yml
|
||||
|
||||
Function_WIFI_08:
|
||||
<<: *test_template
|
||||
tags:
|
||||
- ESP32_IDF
|
||||
- SSC_T2_PhyMode
|
||||
before_script:
|
||||
- CONFIG_FILE=$TEST_CASE_FILE_PATH/CIConfigs/Function_WIFI_08.yml
|
||||
|
||||
Function_WIFI_09:
|
||||
<<: *test_template
|
||||
tags:
|
||||
- ESP32_IDF
|
||||
- SSC_T2_PhyMode
|
||||
before_script:
|
||||
- CONFIG_FILE=$TEST_CASE_FILE_PATH/CIConfigs/Function_WIFI_09.yml
|
||||
|
||||
Function_WIFI_10:
|
||||
<<: *test_template
|
||||
tags:
|
||||
- ESP32_IDF
|
||||
- SSC_T2_PhyMode
|
||||
before_script:
|
||||
- CONFIG_FILE=$TEST_CASE_FILE_PATH/CIConfigs/Function_WIFI_10.yml
|
||||
|
||||
Function_WIFI_11:
|
||||
<<: *test_template
|
||||
tags:
|
||||
- ESP32_IDF
|
||||
- SSC_T2_PhyMode
|
||||
before_script:
|
||||
- CONFIG_FILE=$TEST_CASE_FILE_PATH/CIConfigs/Function_WIFI_11.yml
|
||||
|
@ -2,9 +2,9 @@ Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [TCPIP_ARP_0202, ^TCPIP_DHCP_0302, ^TCPIP_DHCP_0301, ^TCPIP_UDP_0113, TCPIP_DHCP_0302,
|
||||
TCPIP_DHCP_0301, TCPIP_ARP_0204, TCPIP_TCP_0412, TCPIP_TCP_0403, TCPIP_TCP_0402,
|
||||
TCPIP_TCP_0401, TCPIP_TCP_0407, TCPIP_TCP_0406, TCPIP_TCP_0404, TCPIP_TCP_0408,
|
||||
^TCPIP_TCP_0202, TCPIP_TCP_0110, ^TCPIP_TCP_0203, TCPIP_DHCP_0101, TCPIP_DHCP_0103,
|
||||
TCPIP_DHCP_0102, TCPIP_IP_0101, TCPIP_IP_0102, ^TCPIP_IGMP_0102, ^TCPIP_IGMP_0101,
|
||||
^TCPIP_IGMP_0104, TCPIP_IGMP_0104, TCPIP_IGMP_0103, TCPIP_IGMP_0102, TCPIP_IGMP_0101]
|
||||
ID: [^TCPIP_DHCP_0302, ^TCPIP_DHCP_0301, ^TCPIP_UDP_0113, TCPIP_DHCP_0302, TCPIP_DHCP_0301,
|
||||
TCPIP_TCP_0412, TCPIP_TCP_0403, TCPIP_TCP_0402, TCPIP_TCP_0401, TCPIP_TCP_0407,
|
||||
TCPIP_TCP_0406, TCPIP_TCP_0404, TCPIP_TCP_0408, ^TCPIP_TCP_0202, TCPIP_TCP_0110,
|
||||
^TCPIP_TCP_0203, TCPIP_DHCP_0101, TCPIP_DHCP_0103, TCPIP_DHCP_0102, TCPIP_IP_0101,
|
||||
TCPIP_IP_0102, ^TCPIP_IGMP_0102, ^TCPIP_IGMP_0101, ^TCPIP_IGMP_0104, TCPIP_IGMP_0104,
|
||||
TCPIP_IGMP_0103, TCPIP_IGMP_0102, TCPIP_IGMP_0101, ^TCPIP_UDP_0201, TCPIP_UDP_0108]
|
||||
|
@ -2,9 +2,9 @@ Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [^TCPIP_UDP_0201, TCPIP_UDP_0108, TCPIP_UDP_0106, TCPIP_UDP_0107, TCPIP_UDP_0105,
|
||||
TCPIP_UDP_0101, TCPIP_IGMP_0204, TCPIP_IGMP_0201, TCPIP_IGMP_0202, TCPIP_IGMP_0203,
|
||||
^TCPIP_TCP_0404, ^TCPIP_TCP_0406, ^TCPIP_TCP_0407, ^TCPIP_TCP_0401, ^TCPIP_TCP_0402,
|
||||
^TCPIP_TCP_0403, ^TCPIP_TCP_0408, TCPIP_UDP_0201, ^TCPIP_TCP_0101, ^TCPIP_TCP_0103,
|
||||
^TCPIP_TCP_0102, ^TCPIP_TCP_0105, ^TCPIP_TCP_0104, ^TCPIP_TCP_0107, ^TCPIP_TCP_0106,
|
||||
^TCPIP_DHCP_0210, ^TCPIP_DHCP_0211, TCPIP_TCP_0212, TCPIP_TCP_0210, ^TCPIP_TCP_0210]
|
||||
ID: [TCPIP_UDP_0106, TCPIP_UDP_0107, TCPIP_UDP_0105, TCPIP_UDP_0101, TCPIP_IGMP_0204,
|
||||
TCPIP_IGMP_0201, TCPIP_IGMP_0202, TCPIP_IGMP_0203, ^TCPIP_TCP_0404, ^TCPIP_TCP_0406,
|
||||
^TCPIP_TCP_0407, ^TCPIP_TCP_0401, ^TCPIP_TCP_0402, ^TCPIP_TCP_0403, ^TCPIP_TCP_0408,
|
||||
TCPIP_UDP_0201, ^TCPIP_TCP_0101, ^TCPIP_TCP_0103, ^TCPIP_TCP_0102, ^TCPIP_TCP_0105,
|
||||
^TCPIP_TCP_0104, ^TCPIP_TCP_0107, ^TCPIP_TCP_0106, ^TCPIP_DHCP_0210, ^TCPIP_DHCP_0211,
|
||||
TCPIP_TCP_0212, TCPIP_TCP_0210, ^TCPIP_TCP_0210, ^TCPIP_TCP_0212, TCPIP_DHCP_0211]
|
||||
|
@ -2,9 +2,9 @@ Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [^TCPIP_TCP_0212, TCPIP_DHCP_0211, TCPIP_DHCP_0210, TCPIP_UDP_0202, TCPIP_TCP_0411,
|
||||
^TCPIP_IP_0102, ^TCPIP_UDP_0105, ^TCPIP_UDP_0107, ^TCPIP_UDP_0106, ^TCPIP_UDP_0101,
|
||||
^TCPIP_DHCP_0102, ^TCPIP_DHCP_0103, ^TCPIP_UDP_0108, ^TCPIP_IGMP_0201, ^TCPIP_IGMP_0203,
|
||||
^TCPIP_IGMP_0202, ^TCPIP_IGMP_0204, TCPIP_UDP_0114, TCPIP_UDP_0113, TCPIP_UDP_0112,
|
||||
^TCPIP_TCP_0201, ^TCPIP_TCP_0206, ^TCPIP_TCP_0207, TCPIP_TCP_0501, TCPIP_TCP_0106,
|
||||
TCPIP_TCP_0107, TCPIP_TCP_0104, TCPIP_TCP_0105, TCPIP_TCP_0102, TCPIP_TCP_0103]
|
||||
ID: [TCPIP_DHCP_0210, TCPIP_UDP_0202, TCPIP_TCP_0411, ^TCPIP_IP_0102, ^TCPIP_UDP_0105,
|
||||
^TCPIP_UDP_0107, ^TCPIP_UDP_0106, ^TCPIP_UDP_0101, ^TCPIP_DHCP_0102, ^TCPIP_DHCP_0103,
|
||||
^TCPIP_UDP_0108, ^TCPIP_IGMP_0201, ^TCPIP_IGMP_0203, ^TCPIP_IGMP_0202, ^TCPIP_IGMP_0204,
|
||||
TCPIP_UDP_0114, TCPIP_UDP_0113, TCPIP_UDP_0112, ^TCPIP_TCP_0201, ^TCPIP_TCP_0206,
|
||||
^TCPIP_TCP_0207, TCPIP_TCP_0106, TCPIP_TCP_0107, TCPIP_TCP_0104, TCPIP_TCP_0105,
|
||||
TCPIP_TCP_0102, TCPIP_TCP_0103, TCPIP_TCP_0101, ^TCPIP_TCP_0116, ^TCPIP_TCP_0114]
|
||||
|
@ -2,9 +2,9 @@ Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [TCPIP_TCP_0101, ^TCPIP_TCP_0116, ^TCPIP_TCP_0114, ^TCPIP_TCP_0115, ^TCPIP_TCP_0112,
|
||||
^TCPIP_TCP_0113, ^TCPIP_TCP_0110, ^TCPIP_TCP_0111, TCPIP_ARP_0101, ^TCPIP_DHCP_0209,
|
||||
^TCPIP_DHCP_0208, ^TCPIP_DHCP_0207, ^TCPIP_DHCP_0206, ^TCPIP_DHCP_0205, ^TCPIP_DHCP_0204,
|
||||
^TCPIP_DHCP_0203, ^TCPIP_DHCP_0202, ^TCPIP_DHCP_0201, TCPIP_TCP_0204, TCPIP_TCP_0207,
|
||||
TCPIP_TCP_0206, TCPIP_TCP_0201, ^TCPIP_DHCP_0101, TCPIP_TCP_0203, TCPIP_TCP_0202,
|
||||
TCPIP_TCP_0208, TCPIP_DHCP_0206, TCPIP_DHCP_0207, TCPIP_DHCP_0204, TCPIP_DHCP_0205]
|
||||
ID: [^TCPIP_TCP_0115, ^TCPIP_TCP_0112, ^TCPIP_TCP_0113, ^TCPIP_TCP_0110, ^TCPIP_TCP_0111,
|
||||
^TCPIP_DHCP_0209, ^TCPIP_DHCP_0208, ^TCPIP_DHCP_0207, ^TCPIP_DHCP_0206, ^TCPIP_DHCP_0205,
|
||||
^TCPIP_DHCP_0204, ^TCPIP_DHCP_0203, ^TCPIP_DHCP_0202, ^TCPIP_DHCP_0201, TCPIP_TCP_0204,
|
||||
TCPIP_TCP_0207, TCPIP_TCP_0206, TCPIP_TCP_0201, ^TCPIP_DHCP_0101, TCPIP_TCP_0203,
|
||||
TCPIP_TCP_0202, TCPIP_TCP_0208, TCPIP_DHCP_0206, TCPIP_DHCP_0207, TCPIP_DHCP_0204,
|
||||
TCPIP_DHCP_0205, TCPIP_DHCP_0202, TCPIP_DHCP_0203, ^TCPIP_TCP_0204, TCPIP_DHCP_0201]
|
||||
|
@ -2,8 +2,7 @@ Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [TCPIP_DHCP_0202, TCPIP_DHCP_0203, ^TCPIP_TCP_0204, TCPIP_DHCP_0201, ^TCPIP_TCP_0208,
|
||||
TCPIP_DHCP_0208, TCPIP_DHCP_0209, ^TCPIP_TCP_0412, ^TCPIP_TCP_0411, TCPIP_ARP_0203,
|
||||
ID: [^TCPIP_TCP_0208, TCPIP_DHCP_0208, TCPIP_DHCP_0209, ^TCPIP_TCP_0412, ^TCPIP_TCP_0411,
|
||||
^TCPIP_UDP_0112, ^TCPIP_UDP_0114, ^TCPIP_UDP_0202, ^TCPIP_IGMP_0103, ^TCPIP_IP_0101,
|
||||
TCPIP_ARP_0201, TCPIP_TCP_0115, TCPIP_TCP_0114, TCPIP_TCP_0116, TCPIP_TCP_0111,
|
||||
TCPIP_TCP_0113, TCPIP_TCP_0112]
|
||||
TCPIP_TCP_0115, TCPIP_TCP_0114, TCPIP_TCP_0116, TCPIP_TCP_0111, TCPIP_TCP_0113,
|
||||
TCPIP_TCP_0112]
|
||||
|
@ -1,10 +0,0 @@
|
||||
Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [WIFI_PHY_0105, WIFI_PHY_0105, WIFI_PHY_0105, WIFI_PHY_0102, WIFI_PHY_0102,
|
||||
WIFI_PHY_0102, WIFI_PHY_0103, WIFI_PHY_0103, WIFI_PHY_0103, WIFI_PHY_0101, WIFI_PHY_0101,
|
||||
WIFI_PHY_0101, WIFI_PHY_0313, WIFI_PHY_0313, WIFI_PHY_0313, WIFI_PHY_0312, WIFI_PHY_0312,
|
||||
WIFI_PHY_0312, WIFI_PHY_0311, WIFI_PHY_0311, WIFI_PHY_0311, WIFI_PHY_0310, WIFI_PHY_0310,
|
||||
WIFI_PHY_0310, WIFI_PHY_0316, WIFI_PHY_0316, WIFI_PHY_0316, WIFI_PHY_0315, WIFI_PHY_0315,
|
||||
WIFI_PHY_0315]
|
@ -1,10 +0,0 @@
|
||||
Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [WIFI_PHY_0314, WIFI_PHY_0314, WIFI_PHY_0314, WIFI_PHY_0308, WIFI_PHY_0308,
|
||||
WIFI_PHY_0308, WIFI_PHY_0309, WIFI_PHY_0309, WIFI_PHY_0309, WIFI_PHY_0304, WIFI_PHY_0304,
|
||||
WIFI_PHY_0304, WIFI_PHY_0305, WIFI_PHY_0305, WIFI_PHY_0305, WIFI_PHY_0306, WIFI_PHY_0306,
|
||||
WIFI_PHY_0306, WIFI_PHY_0307, WIFI_PHY_0307, WIFI_PHY_0307, WIFI_PHY_0301, WIFI_PHY_0301,
|
||||
WIFI_PHY_0301, WIFI_PHY_0302, WIFI_PHY_0302, WIFI_PHY_0302, WIFI_PHY_0110, WIFI_PHY_0110,
|
||||
WIFI_PHY_0110]
|
@ -1,10 +0,0 @@
|
||||
Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [WIFI_PHY_0113, WIFI_PHY_0113, WIFI_PHY_0113, WIFI_PHY_0120, WIFI_PHY_0120,
|
||||
WIFI_PHY_0120, WIFI_PHY_0119, WIFI_PHY_0119, WIFI_PHY_0119, WIFI_PHY_0118, WIFI_PHY_0118,
|
||||
WIFI_PHY_0118, WIFI_PHY_0115, WIFI_PHY_0115, WIFI_PHY_0115, WIFI_PHY_0114, WIFI_PHY_0114,
|
||||
WIFI_PHY_0114, WIFI_PHY_0117, WIFI_PHY_0117, WIFI_PHY_0117, WIFI_PHY_0111, WIFI_PHY_0111,
|
||||
WIFI_PHY_0111, WIFI_PHY_0112, WIFI_PHY_0112, WIFI_PHY_0112, WIFI_PHY_0205, WIFI_PHY_0205,
|
||||
WIFI_PHY_0205]
|
@ -1,10 +0,0 @@
|
||||
Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [WIFI_PHY_0204, WIFI_PHY_0204, WIFI_PHY_0204, WIFI_PHY_0207, WIFI_PHY_0207,
|
||||
WIFI_PHY_0207, WIFI_PHY_0206, WIFI_PHY_0206, WIFI_PHY_0206, WIFI_PHY_0201, WIFI_PHY_0201,
|
||||
WIFI_PHY_0201, WIFI_PHY_0203, WIFI_PHY_0203, WIFI_PHY_0203, WIFI_PHY_0202, WIFI_PHY_0202,
|
||||
WIFI_PHY_0202, WIFI_PHY_0209, WIFI_PHY_0209, WIFI_PHY_0209, WIFI_PHY_0208, WIFI_PHY_0208,
|
||||
WIFI_PHY_0208, WIFI_PHY_0116, WIFI_PHY_0116, WIFI_PHY_0116, WIFI_PHY_0303, WIFI_PHY_0303,
|
||||
WIFI_PHY_0303]
|
@ -1,10 +0,0 @@
|
||||
Config: {execute count: 1, execute order: in order}
|
||||
DUT: [SSC2, SSC1]
|
||||
Filter:
|
||||
- Add:
|
||||
ID: [WIFI_PHY_0108, WIFI_PHY_0108, WIFI_PHY_0108, WIFI_PHY_0109, WIFI_PHY_0109,
|
||||
WIFI_PHY_0109, WIFI_PHY_0106, WIFI_PHY_0106, WIFI_PHY_0106, WIFI_PHY_0107, WIFI_PHY_0107,
|
||||
WIFI_PHY_0107, WIFI_PHY_0214, WIFI_PHY_0214, WIFI_PHY_0214, WIFI_PHY_0212, WIFI_PHY_0212,
|
||||
WIFI_PHY_0212, WIFI_PHY_0213, WIFI_PHY_0213, WIFI_PHY_0213, WIFI_PHY_0210, WIFI_PHY_0210,
|
||||
WIFI_PHY_0210, WIFI_PHY_0211, WIFI_PHY_0211, WIFI_PHY_0211, WIFI_PHY_0104, WIFI_PHY_0104,
|
||||
WIFI_PHY_0104]
|
@ -124,59 +124,6 @@ test cases:
|
||||
test point 1: basic function
|
||||
test point 2: sw reboot
|
||||
version: v1 (2016-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: TCPIP_ARP_0202
|
||||
SDK: '8266_NonOS
|
||||
|
||||
8266_RTOS
|
||||
|
||||
ESP32_IDF'
|
||||
Test App: SSC
|
||||
allow fail: ''
|
||||
auto test: 'Yes'
|
||||
category: Function
|
||||
cmd set:
|
||||
- ''
|
||||
- - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
|
||||
<target_mac>
|
||||
- [R PC_COM C OK]
|
||||
- - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
|
||||
- ['R PC_COM C +NIC_START:OK']
|
||||
- - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr "192.168.11.240"
|
||||
ethernet_len_type "ARP" ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
|
||||
- ['']
|
||||
- - DELAY 2
|
||||
- [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
|
||||
- - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_sender_hw_addr
|
||||
"18:18:18:18:18:18" ethernet_len_type "ARP" ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
|
||||
- ['']
|
||||
- - DELAY 2
|
||||
- [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
|
||||
- - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_sender_proto_addr
|
||||
<target_ip> ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
|
||||
- ['']
|
||||
- - DELAY 2
|
||||
- [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
|
||||
comment: ''
|
||||
execution time: 0.0
|
||||
expected result: 1. PC can't recv ARP reply from target
|
||||
initial condition: STAM2
|
||||
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
|
||||
TC with initial condition STAAP2
|
||||
module: TCPIP
|
||||
steps: 1. PC send ARP req with target_hw_addr, sender_hw_addr and sender_proto_addr
|
||||
not correct
|
||||
sub module: ARP
|
||||
summary: PC send invalid ARP request to target 2
|
||||
test environment: SSC_T1_1
|
||||
test environment description (auto): 'PC has 2 wired NIC connected to AP.
|
||||
|
||||
PC has 1 WiFi NIC.
|
||||
|
||||
1 SSC target connect with PC by UART.'
|
||||
test point 1: abnormal/special use
|
||||
test point 2: handling ARP request
|
||||
version: v1 (2015-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: ^TCPIP_DHCP_0302
|
||||
SDK: '8266_NonOS
|
||||
@ -527,48 +474,6 @@ test cases:
|
||||
test point 1: basic function
|
||||
test point 2: 'get heap size '
|
||||
version: v1 (2016-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: TCPIP_ARP_0204
|
||||
SDK: '8266_NonOS
|
||||
|
||||
8266_RTOS
|
||||
|
||||
ESP32_IDF'
|
||||
Test App: SSC
|
||||
allow fail: ''
|
||||
auto test: 'Yes'
|
||||
category: Function
|
||||
cmd set:
|
||||
- ''
|
||||
- - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
|
||||
<target_mac>
|
||||
- [R PC_COM C OK]
|
||||
- - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
|
||||
- ['R PC_COM C +NIC_START:OK']
|
||||
- - NIC NIC1 SEND ARP arp_op_code 0xFF arp_target_proto_addr <target_ip> ethernet_dst_addr
|
||||
"ff:ff:ff:ff:ff:ff"
|
||||
- ['']
|
||||
- - DELAY 2
|
||||
- [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
|
||||
comment: ''
|
||||
execution time: 0.0
|
||||
expected result: 1. PC can't recv ARP reply from target
|
||||
initial condition: STAM2
|
||||
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
|
||||
TC with initial condition STAAP2
|
||||
module: TCPIP
|
||||
steps: 1. PC send ARP with error op_code
|
||||
sub module: ARP
|
||||
summary: PC send invalid ARP request to target 4
|
||||
test environment: SSC_T1_1
|
||||
test environment description (auto): 'PC has 2 wired NIC connected to AP.
|
||||
|
||||
PC has 1 WiFi NIC.
|
||||
|
||||
1 SSC target connect with PC by UART.'
|
||||
test point 1: abnormal/special use
|
||||
test point 2: handling ARP request
|
||||
version: v1 (2015-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: TCPIP_TCP_0412
|
||||
SDK: '8266_NonOS
|
||||
@ -8201,51 +8106,6 @@ test cases:
|
||||
test point 1: basic function
|
||||
test point 2: use TCP SAP (socket/espconn API) in different state
|
||||
version: v1 (2016-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: TCPIP_TCP_0501
|
||||
SDK: '8266_NonOS
|
||||
|
||||
8266_RTOS
|
||||
|
||||
ESP32_IDF'
|
||||
Test App: SSC
|
||||
allow fail: ''
|
||||
auto test: 'Yes'
|
||||
category: Function
|
||||
cmd set:
|
||||
- ''
|
||||
- - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
|
||||
<target_mac>
|
||||
- [R PC_COM C OK]
|
||||
- - NIC NIC1 START <pc_nic> capture+block_ip <cap_filter>
|
||||
- ['R PC_COM C +NIC_START:OK']
|
||||
- - SSC SSC1 soc -B -t TCP
|
||||
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
|
||||
- - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
|
||||
- ['']
|
||||
- - DELAY 10
|
||||
- ['R SSC1 RE CONNECT:\d+,ERROR']
|
||||
comment: ''
|
||||
execution time: 0.0
|
||||
expected result: 2. connect failed, no exception
|
||||
initial condition: STAM2
|
||||
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
|
||||
TC with initial condition STAAP2
|
||||
module: TCPIP
|
||||
steps: '1. PC do not reply any IP packet on NIC
|
||||
|
||||
2. target try to connect to TCP server with PC NIC IP'
|
||||
sub module: TCP
|
||||
summary: PC do not reply TCP SYN of target
|
||||
test environment: SSC_T1_1
|
||||
test environment description (auto): 'PC has 2 wired NIC connected to AP.
|
||||
|
||||
PC has 1 WiFi NIC.
|
||||
|
||||
1 SSC target connect with PC by UART.'
|
||||
test point 1: abnormal/special use
|
||||
test point 2: TCP connect and disconnect abnormal case
|
||||
version: v1 (2015-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: ^TCPIP_DNS_0101
|
||||
SDK: '8266_NonOS
|
||||
@ -9431,46 +9291,6 @@ test cases:
|
||||
test point 1: basic function
|
||||
test point 2: use TCP SAP (socket/espconn API) with different parameter
|
||||
version: v1 (2016-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: TCPIP_ARP_0101
|
||||
SDK: '8266_NonOS
|
||||
|
||||
8266_RTOS
|
||||
|
||||
ESP32_IDF'
|
||||
Test App: SSC
|
||||
allow fail: ''
|
||||
auto test: 'Yes'
|
||||
category: Function
|
||||
cmd set:
|
||||
- ''
|
||||
- - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
|
||||
<target_mac>
|
||||
- [R PC_COM C OK]
|
||||
- - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
|
||||
- ['R PC_COM C +NIC_START:OK']
|
||||
- - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> ethernet_dst_addr
|
||||
"ff:ff:ff:ff:ff:ff"
|
||||
- ['P PC_COM C +NIC_SEND:OK', P NIC1 PDU (Ethernet.dst_addr=<pc_nic_mac>)(ARP.hw_type="Ethernet")(ARP.protocol="IPv4")(ARP.hw_len="6")(ARP.proto_len="4")(ARP.op_code="reply")(ARP.sender_hw_addr=<target_mac>)(ARP.sender_proto_addr=<target_ip>)(ARP.target_hw_addr=<pc_nic_mac>)(ARP.target_proto_addr=<pc_ip>)]
|
||||
comment: ''
|
||||
execution time: 0.0
|
||||
expected result: 1. PC recv target valid ARP reply
|
||||
initial condition: STAM2
|
||||
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
|
||||
TC with initial condition STAAP2
|
||||
module: TCPIP
|
||||
steps: 1. PC send ARP req to target
|
||||
sub module: ARP
|
||||
summary: PC send valid ARP request to target
|
||||
test environment: SSC_T1_1
|
||||
test environment description (auto): 'PC has 2 wired NIC connected to AP.
|
||||
|
||||
PC has 1 WiFi NIC.
|
||||
|
||||
1 SSC target connect with PC by UART.'
|
||||
test point 1: basic function
|
||||
test point 2: handling ARP request
|
||||
version: v1 (2015-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: TCPIP_UDP_0304
|
||||
SDK: '8266_NonOS
|
||||
@ -12124,53 +11944,6 @@ test cases:
|
||||
test point 1: basic function
|
||||
test point 2: wifi disconnect reason test
|
||||
version: v1 (2016-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: TCPIP_ARP_0203
|
||||
SDK: '8266_NonOS
|
||||
|
||||
8266_RTOS
|
||||
|
||||
ESP32_IDF'
|
||||
Test App: SSC
|
||||
allow fail: ''
|
||||
auto test: 'Yes'
|
||||
category: Function
|
||||
cmd set:
|
||||
- ''
|
||||
- - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
|
||||
<target_mac>
|
||||
- [R PC_COM C OK]
|
||||
- - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
|
||||
- ['R PC_COM C +NIC_START:OK']
|
||||
- - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_hw_len
|
||||
10 ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
|
||||
- ['']
|
||||
- - DELAY 2
|
||||
- [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
|
||||
- - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_proto_len
|
||||
10 ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
|
||||
- ['']
|
||||
- - DELAY 2
|
||||
- [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
|
||||
comment: ''
|
||||
execution time: 0.0
|
||||
expected result: 1. PC can't recv ARP reply from target
|
||||
initial condition: STAM2
|
||||
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
|
||||
TC with initial condition STAAP2
|
||||
module: TCPIP
|
||||
steps: 1. PC send ARP req with hw_addr_len and proto_addr_len not correct
|
||||
sub module: ARP
|
||||
summary: PC send invalid ARP request to target 3
|
||||
test environment: SSC_T1_1
|
||||
test environment description (auto): 'PC has 2 wired NIC connected to AP.
|
||||
|
||||
PC has 1 WiFi NIC.
|
||||
|
||||
1 SSC target connect with PC by UART.'
|
||||
test point 1: abnormal/special use
|
||||
test point 2: handling ARP request
|
||||
version: v1 (2015-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: WIFI_CONN_0503
|
||||
SDK: '8266_NonOS
|
||||
@ -12867,53 +12640,6 @@ test cases:
|
||||
test point 1: basic function
|
||||
test point 2: SAP/JAP with different config
|
||||
version: v1 (2016-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: TCPIP_ARP_0201
|
||||
SDK: '8266_NonOS
|
||||
|
||||
8266_RTOS
|
||||
|
||||
ESP32_IDF'
|
||||
Test App: SSC
|
||||
allow fail: ''
|
||||
auto test: 'Yes'
|
||||
category: Function
|
||||
cmd set:
|
||||
- ''
|
||||
- - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
|
||||
<target_mac>
|
||||
- [R PC_COM C OK]
|
||||
- - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
|
||||
- ['R PC_COM C +NIC_START:OK']
|
||||
- - NIC NIC1 SEND ARP arp_op_code "request" arp_hw_type 0xF1F1 arp_target_proto_addr
|
||||
<target_ip> ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
|
||||
- ['']
|
||||
- - DELAY 2
|
||||
- [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
|
||||
- - NIC NIC1 SEND ARP arp_op_code "request" arp_proto_type 0xF1F1 arp_target_proto_addr
|
||||
<target_ip> ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
|
||||
- ['']
|
||||
- - DELAY 2
|
||||
- [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
|
||||
comment: ''
|
||||
execution time: 0.0
|
||||
expected result: 1. PC can't recv ARP reply from target
|
||||
initial condition: STAM2
|
||||
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
|
||||
TC with initial condition STAAP2
|
||||
module: TCPIP
|
||||
steps: 1. PC send ARP req with unsupported hw type and protocol type
|
||||
sub module: ARP
|
||||
summary: PC send invalid ARP request to target 1
|
||||
test environment: SSC_T1_1
|
||||
test environment description (auto): 'PC has 2 wired NIC connected to AP.
|
||||
|
||||
PC has 1 WiFi NIC.
|
||||
|
||||
1 SSC target connect with PC by UART.'
|
||||
test point 1: abnormal/special use
|
||||
test point 2: handling ARP request
|
||||
version: v1 (2015-8-15)
|
||||
- CI ready: 'Yes'
|
||||
ID: ^WIFI_CONN_0503
|
||||
SDK: '8266_NonOS
|
||||
|
Loading…
Reference in New Issue
Block a user