Commit Graph

2824 Commits

Author SHA1 Message Date
jitendracandela
c6549f2761 Wifi 7234 (#428)
* Added scan_ssid method

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* modified code for testing scan_ssid method

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added scan_ssid method and called that method in Client_Connectivity, Client_Connect, EAP_Connect

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* added libs for creating tables

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* added tabulate module

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

Co-authored-by: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com>
2022-03-14 23:15:19 +05:30
karthika
2d277bfeb7 Wifi 6938 (#404)
* Country code with channel division: 2Ghz,20Mhz, US and channel 1

* change in testcase execution

* created country_code-US, with channel_width-20Mhz, channel_no-1 for 2G band

* missed git_configuration param

* checking from setup_params_general 'rf' to set radio config

* added country_code_channel_division funtion

* added radio config using radio_config

* corrected allure report

* changed function name

* check allure report

* Added comment

* allure report corrected

* Created testcase for channel 2 in 2G band

* checking allure report

* added channel mode VHT in AP configuration which is common for both wifi-5 and wifi-6 AP, without channel-mode always getting channel mode HE

* checking allure report

* corrected json_get url

* testcase for channel-2 in 20Mhz, US, 2G

* corrected channel overwritten on second testcase

* testcases for channels from 3 to 13 with US, 20Mhz, 2G

* US have 2G channels from 1 to 11

* added print statement to verify IP and channel no

* Checking again if client not assigned with IP

* Testcases: US, 40Mhz, 2G, channels 1-11

* Testcases: US, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* removed wrong testcases

* Testcases: IN, (20Mhz, 40Mhz), 2G, channels 1-11

* Testcases: IN, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* Testcases: CA, 20Mhz,40Mhz, 2G,5G, channels (1-11) (36,44,52,60,100,108,132,140)

* Testcases: CA, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* Testcases: CA, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: IN, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: US, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: CA, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Testcases: IN, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Testcases: US, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Added rf config improvements

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* Testcases: JP, 20Mhz, 40Mhz (2G+5G), 80Mhz (5G)

* Testcases: JP, 20Mhz, 40Mhz (2G+5G), 80Mhz (5G)

* Called json_post to change country of lanforge-radio

* Edited print message

* corrected cli command

* Testcases:GB(united kingdom) 20Mhz, 40Mhz, 80Mhz

* added cleanup to clear station before creating next station

* corrected radio-bands

* Added US country code to change lanforge-radio country

* Added IN country code to change lanforge-radio country

* corrected radio-bands

* Added US country code to change lanforge-radio country

Co-authored-by: shivam <shivam.thakur@candelatech.com>
Co-authored-by: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com>
2022-03-14 23:11:37 +05:30
karthika
0735f1b538 Wifi 6731 (#421)
* Created a local variable for upstream_port to prevent appending of vlan_id to previous upstream_port

* corrected vlan_id
2022-03-14 22:46:45 +05:30
Johann Hoffmann
89c4b80898 [WIFI-7229] Integrate virtual AP in Docker Compose testing workflow (#426)
* Integrate virtual AP in Docker Compose testing workflow and switch to CLI testing

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax error

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix another syntax error

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Execute command over SSH and fix CLI permissions

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add shared AWS variables and try to escape secret

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Auto-accept new SSH host keys

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix SSH key permissions

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Use curl and switch to raw repository files

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add serial to CLI calls

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Get mac address of virtual AP dynamically

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix step condition syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add silent option to curl

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Re-apply AP config after starting firstcontact service

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Remove duplicate quotes

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Use local AP config file and add choice to test all microservices

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Wait before re-applying config modifications to avoid overwrite

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
2022-03-14 15:53:39 +01:00
Shivam Thakur
7d19d9e1dd updated the name for interop Regression badge name 2022-03-14 16:52:18 +05:30
Shivam Thakur
e19d54d7d5 Added Interop Regression and its count in readme 2022-03-14 16:50:20 +05:30
Shivam Thakur
a736796794 added interop and lanforge side regression counts 2022-03-14 16:45:47 +05:30
Shivam Thakur
5d8251014a added advance and regression text 2022-03-14 16:39:09 +05:30
Shivam Thakur
7858ecac8a added badges for advance and regression in readme file 2022-03-14 16:33:57 +05:30
Shivam Thakur
a2e1cef5f6 added regression and advance counts 2022-03-14 16:31:47 +05:30
Dmitry Dunaev
0ca33a406f [WIFI-6851] Add: postgresql as DB for OWLS tests (#423)
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
2022-03-11 12:07:51 +03:00
ᴀᴍʀɪᴛ ʀᴀᴊ
c62915807b Added tls in the name of SSID for tls test cases (#424) 2022-03-10 19:56:23 +05:30
Shivam Thakur
942d215896 moving sanity to next 2022-03-09 20:23:33 +05:30
shivam
d1f2a30405 Added slight upload rate on udp download to work in NAT mode
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-07 22:27:50 +05:30
AjaydeepGrewal
b5ccaa79a7 WIFI-6930: Adding function for creating a device reservation on a perfecto device (#387)
* WIFI-6930: Adding function for creating a device reservation on a perfecto device

Signed-off-by: Ajaydeep Grewal <grewal19in@gmail.com>

* Adding reservation update and delete functions

Signed-off-by: Ajaydeep Grewal <grewal19in@gmail.com>
2022-03-07 12:30:21 +05:30
Haricharan Jaka
24e3d76aad Wifi 6921 (#408)
* Added Rerutn Upload and Download speed function in Android lib

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Multi psk wpa2 testcase with upto 16 vlans in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Rate limiting testcase in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added random string to ssid names in Rate limiting testcase in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added random string attached ssids in multi_psk testcase in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-03-07 11:55:58 +05:30
Shivam Thakur
b5b5769f24 removed the uc_sanity from wifi capacity tests 2022-03-05 20:35:00 +05:30
Haricharan Jaka
f334496fa2 Wifi 7220 (#420)
* Changed allure name to match test name in Interop Regression

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed head name to branch name to check if allure is getting uploaded to clound or not

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed Ref to master for allure results when only Regression is triggred from master branch

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-03-05 15:14:35 +05:30
AjaydeepGrewal
232d1c3c61 Update logic to exit whenever device is not available (#411)
Signed-off-by: Ajaydeep Grewal <grewal19in@gmail.com>
2022-03-05 14:34:05 +05:30
Shivam Thakur
a0b4a32a9e Wifi 7226 query max clients from ap and run wifi capacity in that (#419)
* Added improvement around lf_tools add stations

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* removed ax stations in wifi capacity for a while

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* Added wifi_capacity in regular sanity tests and added nat mode wifi capacity in performance

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* removed get_vif_state from test cases

Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-05 14:16:52 +05:30
ᴀᴍʀɪᴛ ʀᴀᴊ
8d891a93bd Added tls test-cases in bridge_mode nat_mode and vlan_mode (#391)
* Added tls test-cases in bridge_mode nat_mode and vlan_mode

* added new encryption support

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* Added more ttls test cases to sanity

Signed-off-by: shivam <shivam.thakur@candelatech.com>

Co-authored-by: shivam <shivam.thakur@candelatech.com>
Co-authored-by: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com>
2022-03-05 14:15:47 +05:30
dutta-rohan
546b60cd8a Add files via upload (#417)
Updating phone_tools
2022-03-04 12:09:35 -08:00
Dmitry Dunaev
31afb002df [WIFI-6851] Chg: owls workflow parameters (#381)
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
2022-03-04 21:39:06 +03:00
Sushant Bawiskar
5763156a6b Wifi 7227 (#416)
* - adding 120 secs sleep to allow ap to broadcast all ssids

Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>

* - replacing interop-01 and interop-04 (testbeds) between iphone 11 and iphone 12

Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>

* - replacing interop-01 and interop-04 (testbeds) between iphone 11 and iphone 12

Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-03-04 12:58:23 +05:30
dutta-rohan
6b1ad8ee1f Added Perfecto Phone Tools for Reserving / Unreserving phones. (#414)
Signed-off-by: dutta-rohan <94938704+dutta-rohan@users.noreply.github.com>
2022-03-03 14:17:22 -08:00
Shivam Thakur
c72c30035a Moving sanity to release image 2022-03-02 22:33:43 +05:30
Haricharan Jaka
19d5c80309 Wifi 7173 (#398)
* changed scroll_up_pixel function to scroll_up in Android lib

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed names of functions for Client Reconnect in Android lib

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added pixel code in all of Pixel functions related to Scroll up patch

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed names of functions for Client Reconnect in Ios lib

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed Client reconnect functions name in Test cases of Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed Client reconnect functions name in Test cases of iOS

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Pixel Sanity patch by adding extra scroll up if needed

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-03-02 21:40:18 +05:30
Haricharan Jaka
a5918fadd5 Changed Aws region name (#409)
Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-03-02 15:03:49 +05:30
shivam
bc0dda62f1 fixed the json decoder error : True -> true
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-02 11:47:09 +05:30
Haricharan Jaka
7390e08392 Wifi 6528 (#406)
* Added Interop regression workflow

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added delete name space lines and marker for testing client connectivity for Android devices

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the test type name to Interop Regression

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Switched to Lab config Json also in Interop Regression

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-03-02 11:12:04 +05:30
Shivam Thakur
8f25d1b72e Added allow dfs option in radio config in 5G Band 2022-03-02 10:32:28 +05:30
jaspreetsachdev
ece6c45b89 Move dev instance to main 2022-02-28 16:40:56 -05:00
Shivam Thakur
f6b6258cca Moved sanity to latest next image 2022-02-28 21:56:47 +05:30
Max
6f6c4b9d9a switch to JSON lab configuration (#405)
Signed-off-by: Max Brenner <xamrennerb@gmail.com>
2022-02-28 12:06:29 +01:00
Max Brenner
95146bf524 add missing checkout to performance workflow
Signed-off-by: Max Brenner <xamrennerb@gmail.com>
2022-02-28 11:20:30 +01:00
Sushant Bawiskar
925687ba79 - Added library code to help run automation on new s20 ui upgrade (#400)
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-02-25 14:23:49 +05:30
Haricharan Jaka
381850ccf0 Wifi 7187 (#407)
* Added Pixel sanity patch for selecting ssids that are not appended in list

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added required intendation for the conditional statement

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added scroll up with available ssid list if at first ssid is not avavilable

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-02-25 14:23:32 +05:30
Max
dd219e72bd use run-tests action in all workflows (#396)
* use run-tests action in advanced workflow
* use run-tests action in performance workflow
* use run-tests action in docker-compose workflow
* use run-tests action in quali advanced workflow
* use run-tests action in quali basic manual workflow

Signed-off-by: Max Brenner <xamrennerb@gmail.com>
2022-02-24 15:19:51 +01:00
Max
0ff2af8b65 make sure testing ns is cleaned up (#401)
Signed-off-by: Max Brenner <xamrennerb@gmail.com>
2022-02-23 17:02:27 +01:00
Shivam Thakur
572236aa71 Wifi 6934 (#403)
* Added test cases for Ax

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added test cases for Ax

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added module level marker and jira number to test cases

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added  AX nat mode test cases

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added  AX vlan mode test cases

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added split to radio in ax

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added tcp upload and udp upload for dual band

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Fixed the get max statiosn from radio using api command, added radio split

Signed-off-by: shivam <shivam.thakur@candelatech.com>

Co-authored-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-02-23 20:14:14 +05:30
Shivam Thakur
ebae23b16d updated max stations on ac as 64 for performance runs 2022-02-22 14:36:07 +05:30
Johann Hoffmann
87e9767e6b Increase timeout minutes for quali-advanced test job
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
2022-02-21 17:00:06 +01:00
Max
c91c5c6b8a use single quotes in configuration (#399)
Signed-off-by: Max Brenner <xamrennerb@gmail.com>
2022-02-21 11:49:05 +01:00
AjaydeepGrewal
93684153b3 WIFI-6919: Scroll up if unable to verify Pixel WIFI connection (#394)
* Scroll up if unable to verigy Pixel WIFI connection

Signed-off-by: Ajaydeep Grewal <grewal19in@gmail.com>

* Added patch for the Pixel failures in Android library

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed scrollup parameters for Pixel

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed scrollup while checking ssids and Added scrollup while verifying

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added one more scrollup

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed close app when ssid verifying

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed xpath string when ssid verifying

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

Co-authored-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-02-21 11:31:34 +05:30
Shivam Thakur
62b3e7ee57 Enable update badges on workflow_dispatch 2022-02-20 13:12:52 +05:30
Shivam Thakur
5043d5991f Wifi 7172 (#397)
* Updating Readme with setup Instructions

* Fixed the README.md for setting up instructions

Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-02-20 13:05:28 +05:30
Shivam Thakur
878fe74666 Added Regression Status Badge 2022-02-20 12:44:47 +05:30
Shivam Thakur
63dd167fff Added status Badge for Advanced Testing 2022-02-20 12:44:08 +05:30
Shivam Thakur
c629f0ed8c Updated sanity tests count badges 2022-02-20 12:41:16 +05:30
Max Brenner
c99f9de9dd fix configuration creation
Signed-off-by: Max Brenner <xamrennerb@gmail.com>
2022-02-18 14:56:53 +01:00