Commit Graph

38 Commits

Author SHA1 Message Date
Haricharan Jaka
6d8139e6b5 Wifi 9236 (#605)
* Changed the structure of Prov UI API's and Added new API's of Prov

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

* Added map, operators, service class and Config support functions

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

* Added Prov UI API Usecase testcase

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

* Changed the format of Provision service API functions

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

* Added new PROV API testcases

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

* Made some changes in Allure reporting of Prov API's testcases

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

* Changed Allure reporting

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

* Refactored name of API service files

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-07-20 10:55:26 +05:30
Haricharan Jaka
6d01c12431 Changed Entity id in CRUD Venue testcase (#672)
Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-07-09 18:39:22 +05:30
shivam
d1515a8b9f removed rtty test from sanity
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-06-30 21:07:52 +05:30
Shivam Thakur
1b5fe2d316 WIFI-9990: Fixed the sdk client error (#657)
Improved the reporting in allure
Improved the logging

Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-06-29 11:52:16 +05:30
Shivam Thakur
e667bf7712 WIFI-9958 : Added a marker for ow_sdk_load_tests for sdk tests (#649)
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-06-27 23:08:26 +05:30
Haricharan Jaka
05719bebb2 Wifi 8009 (#556)
* Added get Rtty function in controller Lib

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

* Added get RTTY test case from gateway API's

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

* Added Edit device in gateway test case

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

* Added Edit device in gateway test case

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

* Rectified Post to Put in function of edit

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

* Changed name of testcase

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-23 15:17:42 +05:30
Haricharan Jaka
2cfbd8ad82 Wifi 7982 (#555)
* Added Post API functions in controller Lib

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

* Added Post API gateway Test cases

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

* Changed Allure attachment name for Post testcases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-20 14:36:03 +05:30
Shivam Thakur
516358d1b5 Wifi 7868 restructuring sanity suite to cover golden coverage of suites (#529)
* WIFI-7868: Added ow_sanity_lf suite for sanity restructuring

Added client connectivity tests under the ow_sanity_lf

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

* [WIFI-7869] Fix: regression testing AWS variables placement

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* [WIFI-7779] Add: helm deploy support for mailer envs (#517)

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Also pin kubectl version when destroying namespace

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

* [WIFI-7604] Add workflows to test deployment upgrade paths (#471)

* Create and switch to composite action for Docker Compose in Kubernetes deployment

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

* Add missing inputs to composite action

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

* Add input for hashed password and adapt variable names

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

* Fix input variable names

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

* Add Docker Compose upgrade test workflow

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

* Get deploy script according to deployment_version input

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

* Hard-code branch for testing

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

* Re-add RTTY_TOKEN for testing previous release upgrades

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

* [WIFI-7697] Move deploy related files from wlan-testing to wlan-cloud-ucentral-deploy (#472)

* Change composite actions and workflows to use wlan-cloud-ucentral-deploy repo

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

* Checkout target branch matching with deployment version

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

* Remove working-directory option

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

* Rename image version variables to enable search and replace in deploy script

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

* Remove defaults from action inputs

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

* Try removing owsub and owanalytics ports for 2.4 deployment

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

* Actually remove ports since commenting out doesn't work

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

* [WIFI-7766] Switch Docker Compose testing workflow to deployment on EC2 (#499)

* Switch from Kubernetes pod to EC2 instance deployment

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

* Fix indentation

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

* Add VPC subnet ID to use existing security group

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

* Move env variable definition to executed SSH command

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

* Remove defaults from inputs to avoid overwriting deployment_version

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

* Fix syntax

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

* Fix variable syntax

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

* Add my own SSH key for debugging

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

* Revert "Add my own SSH key for debugging"

This reverts commit e4a9fee140.

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

* Increase AWS instance size

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

* Update package lists before installing

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

* Add curl insecure option and append self-signed REST API cert to AP cert trust store

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

* Pass FLAGS variable to clustersysteminfo Docker container

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

* Switch to github.run_number for uniqueness

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

* Start Docker manually on instance

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

* Install Docker using the repository

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

* Do not destroy created instances for debugging

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

* Quote selfsigned_restapi_ca

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

* Split SSH commands into multiple lines for better readability

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

* Fix syntax

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

* Fix typo

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

* Revert "Split SSH commands into multiple lines for better readability"

This reverts commit c08ec026cfe3915e36cef3215226b41dd0319ed8.

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

* Revert "Fix syntax"

This reverts commit f408cfd19f5cf01d6b1d1f78c930897f9442c7de.

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

* Add debugging output for REST API CA cert

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

* Add: RTTY_TOKEN env for older versions support

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Download self-signed REST API CA cert directly to virtual AP

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

* Switch to self-signed certs

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

* Fix variable name

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

* Fix step name

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

* Change hostname and use sudo to add hosts entry

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

* Fix syntax

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

* Actually add IP to hosts entry

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

* Fix missing hostname in AP hosts entry

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

* Adapt Docker Compose upgrade workflow to EC2 instance deployment

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

* Configure Docker to log to logstash input

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

* Fix Docker daemon config

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

* Add missing EOF

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

* Fix indentation

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

* Fix syntax

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

* Try to fix syntax again

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

* Use different delimiter

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

* Fix conflict after rebase

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

* Fix workflow syntax

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

* Disable StrictHostKeyChecking in workflow

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

Co-authored-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Remove obsolete inputs and add RTTY_TOKEN to other workflows as well

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

* Fix value file names

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

* Wifi 7858 (#518)

* Crated a new file for FMS related testcases

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

* Removed Fms system ifo test case from gateway service file

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

* Added Location related test cases of Prov UI

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

* Added Location related functions for support

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

* Changed the function name

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

* Changed the allure attachment names on edit functions

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

* WIFI-7868: Added multivlan scenarios in ow_sanity and removed Some of the rate limiting as they take a long time to complete

Added few up, dw, up+dw in rate limit for ow_sanity_lf

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

* WIFI-7868 : Added dvlan and rate limit from radius in sanity suite and reduced the rate limiting tests as they are taking alot of time

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

* WIFI-7868 Adding some marker improvements to reduce number of test cases and increase coverage

optimised rate limiting, added dvlan, added rate limit with radius

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

Co-authored-by: Dmitry Dunaev <dmitry@opsfleet.com>
Co-authored-by: Dmitry Dunaev <83591011+dunaev-opsfleet@users.noreply.github.com>
Co-authored-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
Co-authored-by: Haricharan Jaka <87761091+haricharan-jaka@users.noreply.github.com>
2022-05-17 01:32:12 +05:30
Haricharan Jaka
521a17ff92 Wifi 7883 (#521)
* Added gateway related get library support functions

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

* Added Get gateway related API test cases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-12 12:30:26 +05:30
Haricharan Jaka
0d000de9fd Wifi 7878 (#520)
* Added and updated gateway functions in controller library

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

* Updated gateway service testcases based on Independent gateway functions

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-11 15:50:15 +05:30
Haricharan Jaka
b3ed702ea9 Wifi 7857 (#519)
* Added Venue related library support

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

* Added Venue related test cases of Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-11 12:30:09 +05:30
Haricharan Jaka
2cb414b878 Wifi 7858 (#518)
* Crated a new file for FMS related testcases

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

* Removed Fms system ifo test case from gateway service file

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

* Added Location related test cases of Prov UI

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

* Added Location related functions for support

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

* Changed the function name

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

* Changed the allure attachment names on edit functions

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-10 22:28:38 +05:30
Haricharan Jaka
07c6e4d78a Wifi 7859 (#516)
* Added Contact Related testcases of Prov UI

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

* Added Prov UI contact related test cases

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

* Added Prov UI contact related function for support

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

* Changed the test case function names

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-10 13:48:09 +05:30
Haricharan Jaka
2292601b95 Wifi 7836 (#506)
* Added Edit functionality for Prov Inventory and Entity in Controller library

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

* Added Edit functionality testcases in Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-04 15:15:37 +05:30
Haricharan Jaka
b86b61db45 Wifi 7772 (#493)
* Added Entity library of Provision

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

* Added Entity Library support

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

* Added Entity Related testcases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-04-26 18:50:10 +05:30
Haricharan Jaka
837ba81d68 Added system info test case of Provision UI (#474)
* Added system info test case of Provision UI

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

* Added url of Provision UI in allure

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

* Added Prov UI test cases for creating device in Inventory

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

* Repalced = with : in allure of Prov UI url

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

* changed the test case name

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

* Changed the payload parameters to match Prov UI

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

* Added configuration in Prov class

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

* Removed the class of ProvUtils

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

* Added the prov UI api testcases for adding and deleting a device

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

* Removed the configuration file

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

* Added prov ui fixture

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

* Added Prov UI controller object and fixture

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

* Added prov controller obj

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

* Changed the allure report name for some attchments

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-04-25 21:28:54 +05:30
Haricharan Jaka
d68aac5f7e Wifi 7617 (#470)
* Added Provision library in controller.py file

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

* Added Provision functions for system info

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

* Added Provision service file for Provision API tetcases

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

* Added Prov_api marker for testing

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-04-19 17:21:04 +05:30
shivamcandela
10a77781e2 WIFI-5434 : mac and serial number missmatch exception fix for device create
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-11-04 01:04:43 +05:30
shivamcandela
e91fc2633d WIFI-5434 : Contention on create device naming is removed, added the testbed name as a unique identifier
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-11-04 00:49:56 +05:30
Shivam Thakur
0494d2a811 allure attach error fix 2021-10-21 08:25:21 +05:30
shivamcandela
974feebd75 WIFI-4932: Added test case for getting system info for fms and gw as a part of uc_sanity
Also, added the improvement: controller test can run independently of the AP

Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-10-20 21:11:08 +05:30
Jaspreet Sachdev
ab781f5bc3 Fixes for failing controller tests
Signed-off-by: Jaspreet Sachdev <jaspreetsachdev@fb.com>
2021-10-01 07:40:59 -04:00
shivamcandela
b73d1c4459 added allure attachments for rest api response
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-10-01 01:35:52 +05:30
shivamcandela
ffe9449c69 marked xfail for failing test cases for controller: need to fix them
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-10-01 01:33:25 +05:30
shivamcandela
854ccb303b workflows removed the --skip-testrail, added the controller version as a part of environment
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-20 21:26:45 +05:30
shivamcandela
c807e32a96 Added FMS and GW Test cases as a part of sanity
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-19 15:15:31 +05:30
shivamcandela
4b1653c89f testing the fms - debug patch
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-16 03:43:25 +05:30
Shivam Thakur
80ff762351 Merge branch 'master' into feature/WIFI-3446 2021-08-17 16:03:54 +05:30
shivamcandela
a165d600e1 test_api_login removed the key error
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-08-13 15:20:28 +05:30
Jaspreet Sachdev
d529676c6c Added comments 2021-08-12 12:03:00 -04:00
Jaspreet Sachdev
003cc25a71 WIFI-3446 Initial testcases 2021-08-12 09:12:59 -04:00
shivamcandela
74438a8694 uc sanity markers
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-06-25 23:46:55 +05:30
shivamcandela
06abff8064 uci api test cases
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-06-25 23:19:20 +05:30
shivamcandela
796061c279 allure integration with logs
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-06-05 16:25:24 +05:30
shivamcandela
2e53c5bed2 README Changes and some test case changes
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-05-29 01:35:52 +05:30
shivamcandela
efbd6025a2 test cases fixed for sanity suite
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-05-26 18:03:44 +05:30
shivamcandela
13a527e5bf Firmware utility fixes 2021-04-22 17:48:10 +05:30
shivamcandela
be4f242cf0 added documentations, removed some hardcoded
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-20 01:24:26 +05:30