Skip to content

Commit

Permalink
Replaced cig_wf186w with cig_wf186h as per 3.2 Target in the sanity,r… (
Browse files Browse the repository at this point in the history
#989)

* Replaced cig_wf186w with cig_wf186h as per 3.2 Target in the sanity,regression,performance workflows

Signed-off-by: jitendracandela <[email protected]>

* Added pass fail criteria for cig_wf186h

Signed-off-by: jitendracandela <[email protected]>

---------

Signed-off-by: jitendracandela <[email protected]>
  • Loading branch information
jitendracandela authored and anil-tegala committed Dec 3, 2024
1 parent 8eaa0d1 commit 6d81fdd
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 26 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
description: "revision of the Open Wifi Helm chart"
ap_models:
required: true
default: "cig_wf186w,edgecore_eap104,cig_wf196,udaya_a6-id2,yuncore_ax820,edgecore_eap102,yuncore_fap655,cig_wf189,edgecore_eap105,sercomm_ap72tip,edgecore_eap101,edgecore_eap111"
default: "cig_wf186h,edgecore_eap104,cig_wf196,udaya_a6-id2,yuncore_ax820,edgecore_eap102,yuncore_fap655,cig_wf189,edgecore_eap105,sercomm_ap72tip,edgecore_eap101,edgecore_eap111"
description: "the AP models to test"
ap_version:
required: true
Expand Down Expand Up @@ -95,9 +95,9 @@ jobs:
elif [[ "$DOW" -eq "3" ]]; then
AP_MODELS="${{ github.event.inputs.ap_models || 'yuncore_fap655,sercomm_ap72tip,edgecore_eap101' }}"
elif [[ "$DOW" -eq "4" ]]; then
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186w,cig_wf196,yuncore_ax820' }}"
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186h,cig_wf196,yuncore_ax820' }}"
else
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186w,cig_wf196,yuncore_ax820,yuncore_fap655,sercomm_ap72tip,edgecore_eap101' }}"
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186h,cig_wf196,yuncore_ax820,yuncore_fap655,sercomm_ap72tip,edgecore_eap101' }}"
fi
echo "List of AP models to test - $AP_MODELS"
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
Expand Down Expand Up @@ -536,13 +536,13 @@ jobs:
run: kubectl -n openwifi-${{ needs.vars.outputs.existing_controller }} logs deployment/owsec


test-cig-wf186w:
test-cig-wf186h:
needs: [ "vars", "build"]
runs-on: [ self-hosted, small ]
timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf186w')"
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf186h')"
env:
AP_MODEL: cig_wf186w
AP_MODEL: cig_wf186h
steps:
- name: Set AP model output
id: ap_model
Expand Down Expand Up @@ -1146,7 +1146,7 @@ jobs:


test-edgecore-eap104:
needs: ["vars", "build", "test-cig-wf186w" ]
needs: ["vars", "build", "test-cig-wf186h" ]
runs-on: [ self-hosted, small ]
timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap104')"
Expand Down Expand Up @@ -2573,7 +2573,7 @@ jobs:
report:
if: "!cancelled()"
runs-on: ubuntu-latest
needs: [vars, test-cig-wf186w, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
needs: [vars, test-cig-wf186h, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -2654,7 +2654,7 @@ jobs:

# Cleanup
cleanup:
needs: [test-cig-wf186w, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
needs: [test-cig-wf186h, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
runs-on: ubuntu-latest
if: always()
steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/quali.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
description: "revision of the Open Wifi Helm chart"
ap_models:
required: true
default: "cig_wf186w,edgecore_eap104,cig_wf196,udaya_a6-id2,yuncore_ax820,edgecore_eap102,yuncore_fap655,cig_wf189,edgecore_eap105,sercomm_ap72tip,edgecore_eap101,edgecore_eap111"
default: "cig_wf186h,edgecore_eap104,cig_wf196,udaya_a6-id2,yuncore_ax820,edgecore_eap102,yuncore_fap655,cig_wf189,edgecore_eap105,sercomm_ap72tip,edgecore_eap101,edgecore_eap111"
description: "the AP models to test"
ap_version:
required: true
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
if [[ "$SLOT" -eq "1" ]]; then
echo "Choosing first slot (5 PM IST)"
if [[ "$DOW" -eq "1" || "$DOW" -eq "3" ]]; then
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186w,cig_wf196,yuncore_ax820' }}"
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186h,cig_wf196,yuncore_ax820' }}"
else
AP_MODELS="${{ github.event.inputs.ap_models || 'yuncore_fap655,sercomm_ap72tip,edgecore_eap101' }}"
fi
Expand All @@ -103,7 +103,7 @@ jobs:
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf189,edgecore_eap105,edgecore_eap111' }}"
fi
else
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186w,cig_wf196,yuncore_ax820,yuncore_fap655,sercomm_ap72tip,edgecore_eap101' }}"
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186h,cig_wf196,yuncore_ax820,yuncore_fap655,sercomm_ap72tip,edgecore_eap101' }}"
fi
echo "List of AP models to test - $AP_MODELS"
Expand Down Expand Up @@ -672,12 +672,12 @@ jobs:
if: failure()
run: kubectl -n openwifi-qa01 logs deployment/owsec

test-cig-wf186w:
test-cig-wf186h:
needs: [ "vars", "build" ]
runs-on: ubuntu-latest
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf186w')"
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf186h')"
env:
AP_MODEL: cig_wf186w
AP_MODEL: cig_wf186h
steps:
- name: Set AP model output
id: ap_model
Expand Down Expand Up @@ -1212,7 +1212,7 @@ jobs:
report:
if: "!cancelled()"
runs-on: ubuntu-latest
needs: [vars, test-cig-wf186w, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
needs: [vars, test-cig-wf186h, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -1263,7 +1263,7 @@ jobs:

# Cleanup
cleanup:
needs: [test-cig-wf186w, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
needs: [test-cig-wf186h, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
runs-on: ubuntu-latest
if: always()
steps:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
description: "revision of the Open Wifi Helm chart"
ap_models:
required: true
default: "cig_wf186w,edgecore_eap104,cig_wf196,udaya_a6-id2,yuncore_ax820,edgecore_eap102,yuncore_fap655,cig_wf189,edgecore_eap105,sercomm_ap72tip,edgecore_eap101,edgecore_eap111"
default: "cig_wf186h,edgecore_eap104,cig_wf196,udaya_a6-id2,yuncore_ax820,edgecore_eap102,yuncore_fap655,cig_wf189,edgecore_eap105,sercomm_ap72tip,edgecore_eap101,edgecore_eap111"
description: "the AP models to test"
ap_version:
required: true
Expand Down Expand Up @@ -90,13 +90,13 @@ jobs:
# choose AP models as per the day if the scheduled run gets triggered else input provided.
if [[ "$DOW" -eq "5" ]]; then
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186w,cig_wf196,cig_wf189,edgecore_eap105' }}"
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186h,cig_wf196,cig_wf189,edgecore_eap105' }}"
elif [[ "$DOW" -eq "6" ]]; then
AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_eap104,yuncore_ax820,sercomm_ap72tip,edgecore_eap111' }}"
elif [[ "$DOW" -eq "7" ]]; then
AP_MODELS="${{ github.event.inputs.ap_models || 'udaya_a6-id2,edgecore_eap102,yuncore_fap655,edgecore_eap101' }}"
else
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186w,cig_wf196,yuncore_ax820,yuncore_fap655,sercomm_ap72tip,edgecore_eap101' }}"
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf186h,cig_wf196,yuncore_ax820,yuncore_fap655,sercomm_ap72tip,edgecore_eap101' }}"
fi
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
Expand Down Expand Up @@ -461,13 +461,13 @@ jobs:
if: failure()
run: kubectl -n openwifi-qa01 logs deployment/owsec

test-cig-wf186w:
test-cig-wf186h:
needs: [ "vars", "build"]
runs-on: [ self-hosted, small ]
timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf186w')"
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf186h')"
env:
AP_MODEL: cig_wf186w
AP_MODEL: cig_wf186h
steps:
- name: Set AP model output
id: ap_model
Expand Down Expand Up @@ -1793,7 +1793,7 @@ jobs:
run: kubectl -n openwifi-qa01 logs deployment/owsec

test-edgecore-eap104:
needs: ["vars", "build", "test-cig-wf186w"]
needs: ["vars", "build", "test-cig-wf186h"]
runs-on: [self-hosted, small]
timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap104')"
Expand Down Expand Up @@ -4117,7 +4117,7 @@ jobs:
report:
if: "!cancelled()"
runs-on: ubuntu-latest
needs: [vars, test-cig-wf186w, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
needs: [vars, test-cig-wf186h, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -4170,7 +4170,7 @@ jobs:

# Cleanup
cleanup:
needs: [test-cig-wf186w, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
needs: [test-cig-wf186h, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-edgecore-eap102, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111]
runs-on: ubuntu-latest
if: always()
steps:
Expand Down
22 changes: 22 additions & 0 deletions tests/e2e/basic/performance_tests/performance_pass_fail.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,28 @@
"UDP": 1800
}
},
"cig_wf186h":{
"2G 2x2 20MHz": {
"TCP": 200,
"UDP": 220
},
"2G 4x4 20MHz": {
"TCP": null,
"UDP": null
},
"5G 2x2 80MHz": {
"TCP": 800,
"UDP": 900
},
"5G 4x4 80MHz": {
"TCP": null,
"UDP": null
},
"5G 2x2 160MHz": {
"TCP": 1600,
"UDP": 1800
}
},
"hfcl_ion4xe":{
"2G 2x2 20MHz": {
"TCP": 200,
Expand Down

0 comments on commit 6d81fdd

Please sign in to comment.