TC_IT_TCPIP_IGMP.yml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. test cases:
  2. - CI ready: 'Yes'
  3. ID: TCPIP_IGMP_0101
  4. SDK: |-
  5. 8266_NonOS
  6. 8266_RTOS
  7. ESP32_IDF
  8. Test App: SSC
  9. allow fail: ''
  10. auto test: 'Yes'
  11. category: Function
  12. cmd set:
  13. - ''
  14. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  15. - - R SSC1 C +IGMP:OK
  16. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  17. - - R SSC1 C +IGMP:OK
  18. - - SSC SSC1 igmp -J -h <target_ip> -m 223.1.1.1
  19. - - R SSC1 C +IGMP:ERROR
  20. - - SSC SSC1 igmp -J -h <target_ip> -m 240.1.1.1
  21. - - R SSC1 C +IGMP:ERROR
  22. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
  23. - - R SSC1 C +IGMP:ERROR
  24. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
  25. - - R SSC1 C +IGMP:ERROR
  26. execution time: 0.0
  27. expected result: |-
  28. 1. success
  29. 2. failed
  30. 3. failed
  31. 4. failed
  32. initial condition: STAM2
  33. level: Integration
  34. module: TCPIP
  35. steps: |-
  36. 1. join group with correct host addr and multicast addr
  37. 2. join group with correct host addr and wrong multicast addr
  38. 3. join group with wrong host addr and correct multicast addr
  39. 4. join group with wrong host addr and wrong multicast addr
  40. sub module: IGMP
  41. summary: station IGMP join group address check
  42. test environment: SSC_T1_5
  43. test point 1: basic function
  44. test point 2: IGMP API parameter check
  45. version: v1 (2016-8-15)
  46. - CI ready: 'Yes'
  47. ID: TCPIP_IGMP_0102
  48. SDK: |-
  49. 8266_NonOS
  50. 8266_RTOS
  51. ESP32_IDF
  52. Test App: SSC
  53. allow fail: ''
  54. auto test: 'Yes'
  55. category: Function
  56. cmd set:
  57. - ''
  58. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  59. - - R SSC1 C +IGMP:OK
  60. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.2
  61. - - R SSC1 C +IGMP:ERROR
  62. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
  63. - - R SSC1 C +IGMP:ERROR
  64. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
  65. - - R SSC1 C +IGMP:ERROR
  66. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  67. - - R SSC1 C +IGMP:OK
  68. execution time: 0.0
  69. expected result: |-
  70. 1. success
  71. 2. failed
  72. 3. failed
  73. 4. failed
  74. 5. succeed
  75. initial condition: STAM2
  76. level: Integration
  77. module: TCPIP
  78. steps: |-
  79. 1. join group with correct host addr and multicast addr
  80. 2. leave group with correct host addr and wrong multicast addr
  81. 3. leave group with wrong host addr and correct multicast addr
  82. 4. leave group with wrong host addr and wrong multicast addr
  83. 5. leave group with correct host addr and correct multicast addr
  84. sub module: IGMP
  85. summary: station IGMP leave group address check
  86. test environment: SSC_T1_5
  87. test point 1: basic function
  88. test point 2: IGMP API parameter check
  89. version: v1 (2016-8-15)
  90. - CI ready: 'Yes'
  91. ID: TCPIP_IGMP_0103
  92. SDK: |-
  93. 8266_NonOS
  94. 8266_RTOS
  95. ESP32_IDF
  96. Test App: SSC
  97. allow fail: ''
  98. auto test: 'Yes'
  99. category: Function
  100. cmd set:
  101. - ''
  102. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  103. - - R SSC1 C +IGMP:OK
  104. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  105. - - R SSC1 C +IGMP:OK
  106. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 223.1.1.1
  107. - - R SSC1 C +IGMP:ERROR
  108. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 240.1.1.1
  109. - - R SSC1 C +IGMP:ERROR
  110. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
  111. - - R SSC1 C +IGMP:ERROR
  112. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
  113. - - R SSC1 C +IGMP:ERROR
  114. execution time: 0.0
  115. expected result: |-
  116. 1. success
  117. 2. failed
  118. 3. failed
  119. 4. failed
  120. initial condition: APM2
  121. level: Integration
  122. module: TCPIP
  123. steps: |-
  124. 1. join group with correct host addr and multicast addr
  125. 2. join group with correct host addr and wrong multicast addr
  126. 3. join group with wrong host addr and correct multicast addr
  127. 4. join group with wrong host addr and wrong multicast addr
  128. sub module: IGMP
  129. summary: softAP IGMP join group address check
  130. test environment: SSC_T1_8
  131. test point 1: basic function
  132. test point 2: IGMP API parameter check
  133. version: v1 (2016-8-15)
  134. - CI ready: 'Yes'
  135. ID: TCPIP_IGMP_0104
  136. SDK: |-
  137. 8266_NonOS
  138. 8266_RTOS
  139. ESP32_IDF
  140. Test App: SSC
  141. allow fail: ''
  142. auto test: 'Yes'
  143. category: Function
  144. cmd set:
  145. - ''
  146. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  147. - - R SSC1 C +IGMP:OK
  148. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.2
  149. - - R SSC1 C +IGMP:ERROR
  150. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
  151. - - R SSC1 C +IGMP:ERROR
  152. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
  153. - - R SSC1 C +IGMP:ERROR
  154. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  155. - - R SSC1 C +IGMP:OK
  156. execution time: 0.0
  157. expected result: |-
  158. 1. success
  159. 2. failed
  160. 3. failed
  161. 4. failed
  162. 5. succeed
  163. initial condition: APM2
  164. level: Integration
  165. module: TCPIP
  166. steps: |-
  167. 1. join group with correct host addr and multicast addr
  168. 2. leave group with correct host addr and wrong multicast addr
  169. 3. leave group with wrong host addr and correct multicast addr
  170. 4. leave group with wrong host addr and wrong multicast addr
  171. 5. leave group with correct host addr and correct multicast addr
  172. sub module: IGMP
  173. summary: softAP IGMP leave group address check
  174. test environment: SSC_T1_7
  175. test point 1: basic function
  176. test point 2: IGMP API parameter check
  177. version: v1 (2016-8-15)
  178. - CI ready: 'Yes'
  179. ID: TCPIP_IGMP_0201
  180. SDK: |-
  181. 8266_NonOS
  182. 8266_RTOS
  183. Test App: SSC
  184. allow fail: ''
  185. auto test: 'Yes'
  186. category: Function
  187. cmd set:
  188. - ''
  189. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  190. - - R SSC1 C +IGMP:OK
  191. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  192. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  193. - - SOC SOC1 BIND <test_udp_port1>
  194. - - R SOC_COM L OK
  195. - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
  196. - - R SSC1 SL <sock1>+1
  197. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  198. - - R SSC1 C +IGMP:OK
  199. execution time: 0.0
  200. expected result: |-
  201. 1. succeed
  202. 2. succeed
  203. 3. able to recv packet
  204. initial condition: STAM2
  205. level: Integration
  206. module: TCPIP
  207. steps: |-
  208. 1. join group
  209. 2. create UDP socket using multicast addr
  210. 3. PC send UDP packet to multicast addr
  211. sub module: IGMP
  212. summary: station IGMP recv packets
  213. test environment: SSC_T1_6
  214. test point 1: basic function
  215. test point 2: IGMP send/recv test
  216. version: v1 (2016-8-15)
  217. - CI ready: 'Yes'
  218. ID: TCPIP_IGMP_0202
  219. SDK: |-
  220. 8266_NonOS
  221. 8266_RTOS
  222. Test App: SSC
  223. allow fail: ''
  224. auto test: 'Yes'
  225. category: Function
  226. cmd set:
  227. - ''
  228. - - SSC SSC2 op -S -o 1
  229. - - R SSC2 C +MODE:OK
  230. - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
  231. - - R SSC2 C +JAP:CONNECTED
  232. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  233. - - R SSC1 C +IGMP:OK
  234. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  235. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  236. - - SSC SSC2 soc -B -t UDP -p <random_port>
  237. - - R SSC2 A <sock2>:\+BIND:(\d+),OK
  238. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  239. - - R SSC1 SL <sock1>+1
  240. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  241. - - R SSC1 C +IGMP:OK
  242. execution time: 0.0
  243. expected result: |-
  244. 1. succeed
  245. 2. succeed
  246. 3. succeed
  247. 4. target1 recv multicast packet
  248. initial condition: STAM2
  249. level: Integration
  250. module: TCPIP
  251. steps: |-
  252. 1. target2 set to sta mode and join AP
  253. 2. target1 join group and create UDP socket using multicast addr
  254. 3. target2 create UDP socket
  255. 4. target2 send to multicast addr
  256. sub module: IGMP
  257. summary: station send multicast packets
  258. test environment: SSC_T2_4
  259. test point 1: basic function
  260. test point 2: IGMP send/recv test
  261. version: v1 (2016-8-15)
  262. - CI ready: 'Yes'
  263. ID: TCPIP_IGMP_0203
  264. SDK: |-
  265. 8266_NonOS
  266. 8266_RTOS
  267. Test App: SSC
  268. allow fail: ''
  269. auto test: 'Yes'
  270. category: Function
  271. cmd set:
  272. - ''
  273. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  274. - - R SSC1 C +IGMP:OK
  275. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  276. - - R SSC1 A <sock1>:BIND:(\d+),OK
  277. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  278. - - R SOC_COM L OK
  279. - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
  280. - - R SSC1 SL <sock1>+1
  281. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  282. - - R SSC1 C +IGMP:OK
  283. execution time: 0.0
  284. expected result: |-
  285. 1. succeed
  286. 2. succeed
  287. 3. able to recv packet
  288. initial condition: APM2
  289. level: Integration
  290. module: TCPIP
  291. steps: |-
  292. 1. join group
  293. 2. create UDP socket using multicast addr
  294. 3. PC send UDP packet to multicast addr
  295. sub module: IGMP
  296. summary: softAP IGMP recv packets
  297. test environment: SSC_T1_8
  298. test point 1: basic function
  299. test point 2: IGMP send/recv test
  300. version: v1 (2016-8-15)
  301. - CI ready: 'Yes'
  302. ID: TCPIP_IGMP_0204
  303. SDK: |-
  304. 8266_NonOS
  305. 8266_RTOS
  306. Test App: SSC
  307. allow fail: ''
  308. auto test: 'Yes'
  309. category: Function
  310. cmd set:
  311. - ''
  312. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  313. - - R SSC2 C +JAP:CONNECTED
  314. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  315. - - R SSC1 C +IGMP:OK
  316. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  317. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  318. - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
  319. - - R SSC2 A <sock2>:\+BIND:(\d+),OK
  320. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  321. - - R SSC1 SL <sock1>+1
  322. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  323. - - R SSC1 C +IGMP:OK
  324. execution time: 0.0
  325. expected result: |-
  326. 1. succeed
  327. 2. succeed
  328. 3. succeed
  329. 4. target1 recv multicast packet
  330. initial condition: T2_1
  331. level: Integration
  332. module: TCPIP
  333. steps: |-
  334. 1. target2 join SoftAP
  335. 2. target1 join group and create UDP socket using multicast addr
  336. 3. target2 create UDP socket
  337. 4. target2 send to multicast addr
  338. sub module: IGMP
  339. summary: softAP send multicast packets
  340. test environment: SSC_T2_4
  341. test point 1: basic function
  342. test point 2: IGMP send/recv test
  343. version: v1 (2016-8-15)
  344. - CI ready: 'Yes'
  345. ID: TCPIP_IGMP_0101
  346. SDK: 'ESP32_IDF'
  347. Test App: SSC
  348. allow fail: ''
  349. auto test: 'Yes'
  350. category: Function
  351. cmd set:
  352. - ''
  353. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  354. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  355. - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
  356. - - R SSC1 C +IGMP:OK
  357. - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
  358. - - R SSC1 C +IGMP:OK
  359. - - SSC SSC1 soc -J -s <sock1> -m 223.1.1.1
  360. - - R SSC1 C +IGMP:ERROR
  361. - - SSC SSC1 soc -J -s <sock1> -m 240.1.1.1
  362. - - R SSC1 C +IGMP:ERROR
  363. execution time: 0.0
  364. expected result: |
  365. 1. OK
  366. 2. OK
  367. 3. OK
  368. 4. ERROR
  369. 5. ERROR
  370. initial condition: STAM2
  371. level: Integration
  372. module: TCPIP
  373. steps: |
  374. 1. create UDP socket
  375. 2. join group with correct multicast addr
  376. 3. leave group with correct multicast addr
  377. 4. join group with wrong multicast addr
  378. 5. join group with wrong multicast addr
  379. sub module: IGMP
  380. summary: station IGMP join group address check
  381. test environment: SSC_T1_6
  382. test point 1: basic function
  383. test point 2: IGMP API parameter check
  384. version: v1 (2016-8-15)
  385. - CI ready: 'Yes'
  386. ID: TCPIP_IGMP_0102
  387. SDK: 'ESP32_IDF'
  388. Test App: SSC
  389. allow fail: ''
  390. auto test: 'Yes'
  391. category: Function
  392. cmd set:
  393. - ''
  394. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  395. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  396. - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
  397. - - R SSC1 C +IGMP:OK
  398. - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
  399. - - R SSC1 C +IGMP:OK
  400. - - SSC SSC1 soc -B -t UDP -p <random_port>
  401. - - R SSC1 A <sock2>:\+BIND:(\d+),OK
  402. - - SSC SSC1 soc -J -s <sock2> -m 224.1.1.2
  403. - - R SSC1 C +IGMP:OK
  404. - - SSC SSC1 soc -G -s <sock2> -m 224.1.1.1
  405. - - R SSC1 C +IGMP:ERROR
  406. execution time: 0.0
  407. expected result: |
  408. 1. OK
  409. 2. OK
  410. 3. OK
  411. 4. OK
  412. 5. OK
  413. 6. ERROR
  414. initial condition: STAM2
  415. level: Integration
  416. module: TCPIP
  417. steps: |
  418. 1. create UDP socket
  419. 2. join group with correct multicast addr
  420. 3. leave group with correct multicast addr
  421. 4. create UDP socket
  422. 5. join group with correct multicast addr
  423. 6. leave group with wrong multicast addr
  424. sub module: IGMP
  425. summary: station IGMP leave group address check
  426. test environment: SSC_T1_5
  427. test point 1: basic function
  428. test point 2: IGMP API parameter check
  429. version: v1 (2016-8-15)
  430. - CI ready: 'Yes'
  431. ID: TCPIP_IGMP_0103
  432. SDK: 'ESP32_IDF'
  433. Test App: SSC
  434. allow fail: ''
  435. auto test: 'Yes'
  436. category: Function
  437. cmd set:
  438. - ''
  439. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  440. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  441. - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
  442. - - R SSC1 C +IGMP:OK
  443. - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
  444. - - R SSC1 C +IGMP:OK
  445. - - SSC SSC1 soc -J -s <sock1> -m 223.1.1.1
  446. - - R SSC1 C +IGMP:ERROR
  447. - - SSC SSC1 soc -J -s <sock1> -m 240.1.1.1
  448. - - R SSC1 C +IGMP:ERROR
  449. execution time: 0.0
  450. expected result: |
  451. 1. OK
  452. 2. OK
  453. 3. OK
  454. 4. ERROR
  455. 5. ERROR
  456. initial condition: APM2
  457. level: Integration
  458. module: TCPIP
  459. steps: |
  460. 1. create UDP socket
  461. 2. join group with correct multicast addr
  462. 3. leave group with correct multicast addr
  463. 4. join group with wrong multicast addr
  464. 5. join group with wrong multicast addr
  465. sub module: IGMP
  466. summary: softAP IGMP join group address check
  467. test environment: SSC_T1_8
  468. test point 1: basic function
  469. test point 2: IGMP API parameter check
  470. version: v1 (2016-8-15)
  471. - CI ready: 'Yes'
  472. ID: TCPIP_IGMP_0104
  473. SDK: 'ESP32_IDF'
  474. Test App: SSC
  475. allow fail: ''
  476. auto test: 'Yes'
  477. category: Function
  478. cmd set:
  479. - ''
  480. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  481. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  482. - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
  483. - - R SSC1 C +IGMP:OK
  484. - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
  485. - - R SSC1 C +IGMP:OK
  486. - - SSC SSC1 soc -B -t UDP -p <random_port>
  487. - - R SSC1 A <sock2>:\+BIND:(\d+),OK
  488. - - SSC SSC1 soc -J -s <sock2> -m 224.1.1.2
  489. - - R SSC1 C +IGMP:OK
  490. - - SSC SSC1 soc -G -s <sock2> -m 224.1.1.1
  491. - - R SSC1 C +IGMP:ERROR
  492. execution time: 0.0
  493. expected result: |
  494. 1. OK
  495. 2. OK
  496. 3. OK
  497. 4. OK
  498. 5. OK
  499. 6. ERROR
  500. initial condition: APM2
  501. level: Integration
  502. module: TCPIP
  503. steps: |
  504. 1. create UDP socket
  505. 2. join group with correct multicast addr
  506. 3. leave group with correct multicast addr
  507. 4. create UDP socket
  508. 5. join group with correct multicast addr
  509. 6. leave group with wrong multicast addr
  510. sub module: IGMP
  511. summary: softAP IGMP leave group address check
  512. test environment: SSC_T1_7
  513. test point 1: basic function
  514. test point 2: IGMP API parameter check
  515. version: v1 (2016-8-15)
  516. - CI ready: 'Yes'
  517. ID: TCPIP_IGMP_0201
  518. SDK: 'ESP32_IDF'
  519. Test App: SSC
  520. allow fail: '1/5'
  521. auto test: 'Yes'
  522. category: Function
  523. cmd set:
  524. - ''
  525. - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
  526. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  527. - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
  528. - - R SSC1 C +IGMP:OK
  529. - - SOC SOC1 BIND <test_udp_port2>
  530. - - R SOC_COM L OK
  531. - - SOC SOC1 SENDTO 1 <test_udp_port2> 224.1.1.1
  532. - - R SSC1 SL <sock1>+1
  533. - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
  534. - - R SSC1 C +IGMP:OK
  535. - - SOC SOC1 SENDTO 1 <test_udp_port2> 224.1.1.1
  536. - - R SSC1 NC +RECVFROM
  537. execution time: 0.0
  538. expected result: |
  539. 1. OK
  540. 2. OK
  541. 3. OK
  542. 4. able to recv packet
  543. 5. OK
  544. 6. not able to recv packet
  545. initial condition: STAM2
  546. level: Integration
  547. module: TCPIP
  548. steps: |
  549. 1. create UDP socket
  550. 2. join group with correct multicast addr
  551. 3. PC上 SOC1 UDP 传输,bing <test_udp_port2> <pc_ip>
  552. 4. PC send UDP packet to multicast addr
  553. 5. leave group with correct multicast addr
  554. 6. PC send UDP packet to multicast addr
  555. sub module: IGMP
  556. summary: station IGMP recv packets
  557. test environment: SSC_T1_6
  558. test point 1: basic function
  559. test point 2: IGMP send/recv test
  560. version: v1 (2016-8-15)
  561. - CI ready: 'Yes'
  562. ID: TCPIP_IGMP_0202
  563. SDK: 'ESP32_IDF'
  564. Test App: SSC
  565. allow fail: '1/5'
  566. auto test: 'Yes'
  567. category: Function
  568. cmd set:
  569. - ''
  570. - - SSC SSC2 op -S -o 1
  571. - - R SSC2 C +MODE:OK
  572. - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
  573. - - R SSC2 C +JAP:CONNECTED
  574. - - SSC SSC2 soc -T
  575. - - R SSC2 C +CLOSEALL
  576. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  577. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  578. - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
  579. - - R SSC1 C +IGMP:OK
  580. - - SSC SSC2 soc -B -t UDP -p <random_port>
  581. - - R SSC2 A <sock2>:\+BIND:(\d+),OK
  582. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  583. - - R SSC1 SL <sock1>+1
  584. - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
  585. - - R SSC1 C +IGMP:OK
  586. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  587. - - R SSC1 NC +RECVFROM
  588. - - SSC SSC2 soc -T -s <sock2>
  589. - - R SSC2 RE CLOSE:\d+,OK
  590. execution time: 0.0
  591. expected result: |
  592. 1. OK
  593. 2. target2 connect succeed
  594. 3. CLOSEALL
  595. 4. OK
  596. 5. OK
  597. 6. OK
  598. 7. able to recv packet
  599. 8. OK
  600. 9. not able to recv packet
  601. 10. OK
  602. initial condition: STAM2
  603. level: Integration
  604. module: TCPIP
  605. steps: |
  606. 1. target2 set to sta mode
  607. 2. target2 join AP
  608. 3. target2 close socket
  609. 4. target1 create UDP socket
  610. 5. target1 join group using multicast addr
  611. 6. target2 create UDP socket
  612. 7. target2 send to multicast addr
  613. 8. target1 leave group with correct multicast addr
  614. 9. target2 send to multicast addr
  615. 10. target2 close socket
  616. sub module: IGMP
  617. summary: station send multicast packets
  618. test environment: SSC_T2_4
  619. test point 1: basic function
  620. test point 2: IGMP send/recv test
  621. version: v1 (2016-8-15)
  622. - CI ready: 'Yes'
  623. ID: TCPIP_IGMP_0203
  624. SDK: 'ESP32_IDF'
  625. Test App: SSC
  626. allow fail: ''
  627. auto test: 'Yes'
  628. category: Function
  629. cmd set:
  630. - ''
  631. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  632. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  633. - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
  634. - - R SSC1 C +IGMP:OK
  635. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  636. - - R SOC_COM L OK
  637. - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
  638. - - R SSC1 SL <sock1>+1
  639. - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
  640. - - R SSC1 C +IGMP:OK
  641. - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
  642. - - R SSC1 NC +RECVFROM
  643. execution time: 0.0
  644. expected result: |
  645. 1. OK
  646. 2. OK
  647. 3. OK
  648. 4. able to recv packet
  649. 5. OK
  650. 6. not able to recv packet
  651. initial condition: APM2
  652. level: Integration
  653. module: TCPIP
  654. steps: |
  655. 1. create UDP socket
  656. 2. join group using multicast addr
  657. 3. PC上 SOC1 UDP 传输,bing <test_udp_port1> <pc_ip_wifi>
  658. 4. PC send UDP packet to multicast addr
  659. 5. leave group with correct multicast addr
  660. 6. PC send UDP packet to multicast addr
  661. sub module: IGMP
  662. summary: softAP IGMP recv packets
  663. test environment: SSC_T1_8
  664. test point 1: basic function
  665. test point 2: IGMP send/recv test
  666. version: v1 (2016-8-15)
  667. - CI ready: 'Yes'
  668. ID: TCPIP_IGMP_0204
  669. SDK: 'ESP32_IDF'
  670. Test App: SSC
  671. allow fail: ''
  672. auto test: 'Yes'
  673. category: Function
  674. cmd set:
  675. - ''
  676. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  677. - - R SSC2 C +JAP:CONNECTED
  678. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  679. - - R SSC1 A <sock1>:\+BIND:(\d+),OK
  680. - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
  681. - - R SSC1 C +IGMP:OK
  682. - - SSC SSC2 soc -B -t UDP -p <random_port>
  683. - - R SSC2 A <sock2>:\+BIND:(\d+),OK
  684. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  685. - - R SSC1 SL <sock1>+1
  686. - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
  687. - - R SSC1 C +IGMP:OK
  688. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  689. - - R SSC1 NC +RECVFROM
  690. - - SSC SSC2 soc -T -s <sock2>
  691. - - R SSC2 RE CLOSE:\d+,OK
  692. execution time: 0.0
  693. expected result: |
  694. 1. target2 connect succeed
  695. 2. OK
  696. 3. OK
  697. 4. OK
  698. 5. target1 able to recv packet
  699. 6. OK
  700. 7. target1 not able to recv packet
  701. 8. OK
  702. initial condition: APM2
  703. level: Integration
  704. module: TCPIP
  705. steps: |
  706. 1. target2 join AP
  707. 2. target1 create UDP socket
  708. 3. target1 join group using multicast addr
  709. 4. target2 create UDP socket
  710. 5. target2 send to multicast addr
  711. 6. target1 leave group with correct multicast addr
  712. 7. target2 send to multicast addr
  713. 8. target2 close socket
  714. sub module: IGMP
  715. summary: softAP send multicast packets
  716. test environment: SSC_T2_4
  717. test point 1: basic function
  718. test point 2: IGMP send/recv test
  719. version: v1 (2016-8-15)