esp-idf/components/idf_test/integration_test/TEST_ENV_SSC.yml
2019-04-19 16:44:00 +08:00

469 lines
13 KiB
YAML

.TEST_ENV: &TEST_ENV
PC OS: ''
Special: N
test script: EnvBase
test environment:
- tag: SSC_T1_Ethernet
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
PC connected to AP by wired NIC.
1 ETH DUT connect with PC by UART, connect to AP by wired NIC.
- tag: SSC_T1_2
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
Able to access WAN after connect to AP.
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_3
<<: *TEST_ENV
Target Count: 1
test environment detail: PC has one BT adapter (dongle). 1 SSC DUT connect with
PC by UART.
- tag: SSC_T1_4
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_5
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
1 SSC DUT connect with PC by UART.
AP placed near DUT.
- tag: SSC_T1_6
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
1 SSC DUT connect with PC by UART.
AP placed near DUT.
PC has 1 wired NIC connected to AP.
- tag: SSC_T1_7
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
1 SSC DUT connect with PC by UART.
PC has 1 WiFi NIC.
AP placed near DUT and PC.
- tag: SSC_T1_8
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
1 SSC DUT connect with PC by UART.
AP placed near DUT and PC.
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- tag: SSC_T1_9
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
PC has 2 wired NIC connected to AP.
1 SSC DUT connected to AP.
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_10
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
PC has 1 WiFi NIC.
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_ARP
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
PC (linux) has 1 wired NIC connected to AP.
AP is configured as update group key every 30s.
PC has 1 WiFi NIC.
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_8089
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
PC has 1 wired NIC connected to AP.
1 8089 tablet able to run iperf test placed near SSC1.
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_ADC
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
PC has 1 wired NIC connected to AP.
Analog input connect to SSC1 TOUT.
Multimeter connect to input, able to measure input voltage.
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_AMSDU
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
1 SSC DUT connect PC by UART.
PC 无线网卡和 SSC DUT 均连接到天猫魔盒AP.
- tag: SSC_T1_APC
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 wired NIC connected to APC (static IP within the same subnet with APC).
APC control AP power supply.
PC has 1 WiFi NIC.
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_Enterprise
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: "AP use WPA2-Etherprise is placed near SSC1. \n1 SSC DUT
connect with PC by UART."
- tag: SSC_T1_IOT1
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
PC has 1 WiFi NIC.
1 SSC DUT connect with PC by UART.
AP todo IOT test are placed near SSC1.
- tag: SSC_T1_MESH1
Special: Y
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
1 SSC target connect with PC by UART.
A router with fixed channel nearby
- tag: SSC_T1_MESH2
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
1 SSC target connect with PC by UART.
PC has 1 wired NIC connected to a fixed channel Router.
- tag: SSC_T1_InitData
<<: *TEST_ENV
Special: Y
Target Count: 2
test environment detail: |-
2 SSC DUT connect with PC by UART.
SSC1 use 40M crystal oscillator.
SSC2 use normal 26M crystal oscillator.
SSC2 GPIO connect to SSC1 power control pin.
- tag: SSC_T1_SCANSPECIFIED
<<: *TEST_ENV
Special: N
Target Count: 1
test environment detail: 1 SSC DUT connect with PC by UART. All APs power on.
- tag: SSC_T1_ShieldBox
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
refer to figure.
All APs and APC should be set to the same IP subnet.
PC wired NIC should set static IP address within the same subnet with AP.
Must use onboard wired NIC.
- tag: SSC_T1_Sleep1
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
AP support DTIM placed with AT DUT.
SSC DUT connect with Raspberry Pi by UART.
Multimeter connect with Raspberry Pi via GPIB.
Series multimeter between GND and VCC of SSC1.
SSC1's light sleep wakeup pin and wakeup indication connect with Raspberry Pi's GPIO.
SSC1's XPD connect with RSTB.
- tag: SSC_T1_Sleep2
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
AP support DTIM placed with AT DUT.
SSC DUT connect with Raspberry Pi by UART.
Multimeter connect with Raspberry Pi via GPIB.
Series multimeter between GND and VCC of SSC1.
SSC1's RSTB pin connect with Raspberry Pi's GPIO.
- tag: SSC_T1_Sleep3
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
AP support DTIM placed with AT DUT.
SSC DUT connect with Raspberry Pi by UART.
Multimeter connect with Raspberry Pi via GPIB.
Series multimeter between GND and VCC of SSC1.
- tag: SSC_T1_Sniffer
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
PC has 1 wired NIC connected to AP. PC has 1 WiFi NIC.
1 SSC DUT connect with PC by UART.
- tag: SSC_T1_TempBox
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
1 SSC DUT connect with PC by UART.
Put SSC DUT to temperature box.
- tag: SSC_T1_VDD33
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |-
1 SSC DUT connect with PC by UART.
Multimeter connect to VDD33, able to measure voltage.
- tag: SSC_T1_WEP
<<: *TEST_ENV
Target Count: 1
test environment detail: |-
1 SSC DUT connect with PC by UART.
One WEP share key AP placed near SSC1.
- tag: SSC_T2_2
<<: *TEST_ENV
Target Count: 2
test environment detail: |-
PC has 1 WiFi NIC.
2 SSC DUTs connect with PC by UART.
- tag: SSC_T2_3
<<: *TEST_ENV
Target Count: 2
test environment detail: |-
2 SSC DUTs connect with PC by UART.
AP placed near SSC DUTs
- tag: SSC_T2_4
<<: *TEST_ENV
Target Count: 2
test environment detail: |-
PC has 1 wired NIC connected to AP.
AP placed near SSC DUTs and PC.
2 SSC DUTs connect with PC by UART.
- tag: SSC_T2_5
<<: *TEST_ENV
Target Count: 2
test environment detail: |-
2 SSC DUTs connect with PC by UART.
- tag: SSC_T2_JAP
<<: *TEST_ENV
Target Count: 2
test environment detail: |-
PC has 1 wired NIC connected to APC.
APC control the power supply of multiple APs.
2 SSC DUT connect with PC by UART.
- tag: SSC_T2_PhyMode
<<: *TEST_ENV
PC OS: 'linux'
Target Count: 2
test environment detail: |-
2 SSC DUT connect with PC by UART.
PC has one WiFi NIC support capture wlan packet using libpcap.
Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
Put 4 APs near SSC DUTs.
- tag: SSC_T2_ShieldBox
<<: *TEST_ENV
Special: Y
Target Count: 2
test environment detail: |-
2 SSC DUT connect with PC by UART.
Put them to Shield box.
- tag: SSC_T2_ShieldBox2
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |
refer to figure.
2 SSC DUT connect with PC by UART. Put DUT board to different Shield boxes.
2 shield boxes are connected with programmable attenuator.
- tag: SSC_T2_Sleep1
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |
Multimeter connected with DUT1 to measure its current consumption.
DUT1 placed near DUT1.
AP placed near DUT1, PC connected with AP with wired NIC.
- tag: SSC_T2_Sniffer
<<: *TEST_ENV
PC OS: 'linux'
Special: N
Target Count: 2
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
2 SSC DUT connect with PC by UART.
- tag: SSC_T2_TempBox
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |
refer to figure.
2 SSC DUT connect with PC by UART. Put 1 DUT board to temperature box.
- tag: SSC_T2_MESH1
<<: *TEST_ENV
Special: Y
Target Count: 2
test environment detail: |-
2 SSC target connect with PC by UART.
A router with fixed channel nearby
- tag: SSC_T3_1
<<: *TEST_ENV
Special: N
Target Count: 1
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
3 SSC DUT connect with PC by UART.
- tag: SSC_T3_2
<<: *TEST_ENV
Special: N
Target Count: 3
test environment detail: |-
3 SSC DUT connect with PC by UART.
- tag: SSC_T3_PhyMode
<<: *TEST_ENV
PC OS: 'linux'
Target Count: 3
test environment detail: |-
3 SSC DUT connect with PC by UART.
PC has one WiFi NIC support capture wlan packet using libpcap.
Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
Put 4 APs near SSC DUTs.
- tag: SSC_T3_MESH1
<<: *TEST_ENV
Special: Y
Target Count: 3
test environment detail: |-
3 SSC target connect with PC by UART.
A router with fixed channel nearby
- tag: SSC_T3_MESH2
<<: *TEST_ENV
Special: Y
Target Count: 3
test environment detail: |-
3 SSC target connect with PC by UART.
PC has 1 wired NIC connected to a fixed channel Router.
- tag: SSC_T5_1
<<: *TEST_ENV
Target Count: 5
test environment detail: 5 SSC DUT connect with PC by UART.
- tag: SSC_T5_IOT1
<<: *TEST_ENV
Special: Y
Target Count: 5
test environment detail: |-
5 SSC DUTs connect with PC by UART.
some Android smart phone are placed near SSC DUTs.
- tag: SSC_T6_1
<<: *TEST_ENV
Special: Y
Target Count: 6
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
6 SSC DUT connect with PC by UART.
- tag: SSC_T6_MESH1
<<: *TEST_ENV
Special: Y
Target Count: 6
test environment detail: |-
6 SSC target connect with PC by UART.
A router with fixed channel nearby
- tag: SSC_T6_MESH2
<<: *TEST_ENV
Special: Y
Target Count: 6
test environment detail: |-
6 SSC target connect with PC by UART.
PC has 1 wired NIC connected to a fixed channel Router.
- tag: SSC_T1_DNS
<<: *TEST_ENV
Target Count: 1
test environment detail: 1 SSC DUT connect with PC by UART,AP should Access to the Internet.
- tag: SSC_T1_SmartConfigIOT
<<: *TEST_ENV
Special: Y
Target Count: 1
test environment detail: |
1 SSC DUT connect with PC by UART.
PC has 1 wired NIC connect to Common AP.
Several AP are placed near AT DUT.
Several smart phone installed test APK are placed near SSC DUT.
- tag: SSC_T12_MESH1
<<: *TEST_ENV
Special: Y
Target Count: 12
test environment detail: |-
12 SSC target connect with PC by UART.
A router with fixed channel nearby
- tag: SSC_T12_MESH2
<<: *TEST_ENV
Special: Y
Target Count: 12
test environment detail: |-
12 SSC target connect with PC by UART.
PC has 1 wired NIC connected to a fixed channel Router.
- tag: SSC_T20_1
<<: *TEST_ENV
Special: Y
Target Count: 20
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
20 SSC DUT connect with PC by UART.
- tag: SSC_T35_1
<<: *TEST_ENV
Special: Y
Target Count: 35
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
37 SSC DUT connect with PC by UART.
- tag: SSC_T50_1
<<: *TEST_ENV
Special: Y
Target Count: 50
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
50 SSC DUT connect with PC by UART.
- tag: SSC_T50_MESH1
<<: *TEST_ENV
Special: Y
Target Count: 50
test environment detail: |-
50 SSC target connect with PC by UART.
A router with fixed channel nearby
- tag: SSC_T60_1
<<: *TEST_ENV
Special: Y
Target Count: 60
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
60 SSC DUT connect with PC by UART.
- tag: SSC_T80_1
<<: *TEST_ENV
Special: Y
Target Count: 80
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
80 SSC DUT connect with PC by UART.
- tag: SSC_T100_1
<<: *TEST_ENV
Special: Y
Target Count: 100
test environment detail: |-
PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
100 SSC DUT connect with PC by UART.
- tag: SSC_T50_MESH1
<<: *TEST_ENV
Special: Y
Target Count: 50
test environment detail: |-
50 SSC target connect with PC by UART.
- tag: SSC_T100_MESH1
<<: *TEST_ENV
Special: Y
Target Count: 100
test environment detail: |-
100 SSC target connect with PC by UART.