mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-29 18:12:34 +00:00
removed commented out quali code and modified tests as per new lab setup (#863)
* removed commented out quali code and modified tests as per new lab setup Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * chaned github runner to self-hosted Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * oap101 and eap102 interchanged from basic-1 & 2 Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * report generation fix due to runner change Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * testbed name fix due to ap interchange in basic1 & ion4xi added to performance Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * Added 30 sec wait time after config push Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * basic-3 and basic-3a ap's interchanged in lab-info Signed-off-by: anil-tegala <anil.tegala@candelatech.com> --------- Signed-off-by: anil-tegala <anil.tegala@candelatech.com> Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> Co-authored-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
committed by
GitHub
parent
1404fdab38
commit
f0f537fc39
1034
.github/workflows/performance.yml
vendored
1034
.github/workflows/performance.yml
vendored
File diff suppressed because it is too large
Load Diff
12
.github/workflows/quali.yml
vendored
12
.github/workflows/quali.yml
vendored
@@ -22,7 +22,7 @@ on:
|
||||
description: "revision of the Open Wifi Helm chart"
|
||||
ap_models:
|
||||
required: true
|
||||
default: "cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,indio_um-305ac,edgecore_oap101_6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi"
|
||||
default: "cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,indio_um-305ac,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi"
|
||||
description: "the AP models to test"
|
||||
ap_version:
|
||||
required: true
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,indio_um-305ac' }}"
|
||||
else
|
||||
echo "Choosing second slot since $SLOT != 0"
|
||||
AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_oap101_6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}"
|
||||
AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}"
|
||||
fi
|
||||
echo "List of AP models to test - $AP_MODELS"
|
||||
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
@@ -563,9 +563,9 @@ jobs:
|
||||
test-edgecore-oap101-6e:
|
||||
needs: ["vars", "build"]
|
||||
runs-on: ubuntu-latest
|
||||
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_oap101_6e')"
|
||||
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_oap101-6e')"
|
||||
env:
|
||||
AP_MODEL: edgecore_oap101_6e
|
||||
AP_MODEL: edgecore_oap101-6e
|
||||
steps:
|
||||
- name: Set AP model output
|
||||
id: ap_model
|
||||
@@ -693,7 +693,7 @@ jobs:
|
||||
uses: ./.github/actions/run-tests
|
||||
with:
|
||||
namespace: ${{ steps.namespace.outputs.name }}
|
||||
testbed: basic-3
|
||||
testbed: basic-3a
|
||||
marker_expression: "${{ needs.vars.outputs.marker_expression }}"
|
||||
configuration_file: "./lab_info.json"
|
||||
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
|
||||
@@ -784,7 +784,7 @@ jobs:
|
||||
uses: ./.github/actions/run-tests
|
||||
with:
|
||||
namespace: ${{ steps.namespace.outputs.name }}
|
||||
testbed: basic-3a
|
||||
testbed: basic-3
|
||||
marker_expression: "${{ needs.vars.outputs.marker_expression }}"
|
||||
configuration_file: "./lab_info.json"
|
||||
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
|
||||
|
||||
@@ -346,7 +346,8 @@ class tip_2x:
|
||||
allure.attach(body=ap_logs, name="AP logs during config fails: ")
|
||||
logging.error("Failed to apply Config, Response code:" + str(resp.status_code))
|
||||
pytest.fail("Failed to apply Config, Response code :" + str(resp.status_code))
|
||||
|
||||
logging.info("Waiting for 30 sec after config push")
|
||||
time.sleep(30)
|
||||
r_data = self.dut_library_object.ubus_call_ucentral_status(idx=i, print_log=True, attach_allure=False)
|
||||
uuid_after_apply = r_data["latest"]
|
||||
x = 0
|
||||
|
||||
Reference in New Issue
Block a user