mirror of
				https://github.com/Telecominfraproject/wlan-testing.git
				synced 2025-10-31 10:57:50 +00:00 
			
		
		
		
	Wifi 13063 (#862)
* removed udaya and replaced test-eap104 from advanced2 to basic4 Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * removed ap's from advanced runs and moved to basic testbeds Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * test-udaya replaced with test-edgecore-ecw5410 & slot's updated with new ap's Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * added ecw5410 to allure overviews page Signed-off-by: anil-tegala <anil.tegala@candelatech.com> --------- Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
This commit is contained in:
		 Anil Kumar Tegala
					Anil Kumar Tegala
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							6528c288c5
						
					
				
				
					commit
					94ca712e78
				
			| @@ -1,7 +1,7 @@ | |||||||
| { | { | ||||||
|     "sanity": { |     "sanity": { | ||||||
|         "OVERVIEW_TITLE": "'OpenWifi sanity results'", |         "OVERVIEW_TITLE": "'OpenWifi sanity results'", | ||||||
|         "OVERVIEW_TESTBEDS": ["edgecore_oap101_6e","edgecore_eap101","cig_wf188n","cig_wf196","edgecore_eap102","edgecore_ecw5211","edgecore_eap104","indio_um-305ac","hfcl_ion4xe"] |         "OVERVIEW_TESTBEDS": ["edgecore_oap101_6e","edgecore_eap101","cig_wf188n","cig_wf196","edgecore_eap102","edgecore_ecw5211","edgecore_ecw5410","edgecore_eap104","indio_um-305ac","hfcl_ion4xe"] | ||||||
|     }, |     }, | ||||||
|     "interop": { |     "interop": { | ||||||
|         "OVERVIEW_TITLE": "'OpenWifi interop results'", |         "OVERVIEW_TITLE": "'OpenWifi interop results'", | ||||||
| @@ -15,6 +15,6 @@ | |||||||
|  |  | ||||||
|     "performance": { |     "performance": { | ||||||
|         "OVERVIEW_TITLE": "'OpenWifi performance results'", |         "OVERVIEW_TITLE": "'OpenWifi performance results'", | ||||||
|         "OVERVIEW_TESTBEDS": ["edgecore_oap101_6e","edgecore_eap101","cig_wf188n","cig_wf196","edgecore_eap102","edgecore_ecw5211","edgecore_eap104","indio_um-305ac","hfcl_ion4xe"] |         "OVERVIEW_TESTBEDS": ["edgecore_oap101_6e","edgecore_eap101","cig_wf188n","cig_wf196","edgecore_eap102","edgecore_ecw5211","edgecore_ecw5410","edgecore_eap104","indio_um-305ac","hfcl_ion4xe"] | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
							
								
								
									
										201
									
								
								.github/workflows/quali.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										201
									
								
								.github/workflows/quali.yml
									
									
									
									
										vendored
									
									
								
							| @@ -22,7 +22,7 @@ on: | |||||||
|         description: "revision of the Open Wifi Helm chart" |         description: "revision of the Open Wifi Helm chart" | ||||||
|       ap_models: |       ap_models: | ||||||
|         required: true |         required: true | ||||||
|         default: "cig_wf188n,cig_wf196,edgecore_ecw5211,indio_um-305ac,edgecore_eap101" |         default: "cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,indio_um-305ac,edgecore_oap101_6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,edgecore_ecw5410" | ||||||
|         description: "the AP models to test" |         description: "the AP models to test" | ||||||
|       ap_version: |       ap_version: | ||||||
|         required: true |         required: true | ||||||
| @@ -76,10 +76,10 @@ jobs: | |||||||
|           echo "Current slot is $SLOT" |           echo "Current slot is $SLOT" | ||||||
|           if [[ "$SLOT" -eq "0" ]]; then |           if [[ "$SLOT" -eq "0" ]]; then | ||||||
|             echo "Choosing first slot since $SLOT == 0" |             echo "Choosing first slot since $SLOT == 0" | ||||||
|             AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n, cig_wf196, edgecore_eap101, edgecore_ecw5211, indio_um-305ac' }}" |             AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,indio_um-305ac' }}" | ||||||
|           else |           else | ||||||
|             echo "Choosing second slot since $SLOT != 0" |             echo "Choosing second slot since $SLOT != 0" | ||||||
|             AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_oap101_6e, edgecore_eap102, edgecore_eap101, edgecore_eap104, indio_um-305ac' }}" |             AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_oap101_6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,edgecore_ecw5410' }}" | ||||||
|           fi |           fi | ||||||
|           echo "List of AP models to test - $AP_MODELS" |           echo "List of AP models to test - $AP_MODELS" | ||||||
|           AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') |           AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') | ||||||
| @@ -307,102 +307,103 @@ jobs: | |||||||
|         if: failure() |         if: failure() | ||||||
|         run: kubectl -n openwifi-qa01 logs deployment/owsec |         run: kubectl -n openwifi-qa01 logs deployment/owsec | ||||||
|  |  | ||||||
| #  test-udaya-a5-id2: |   test-edgecore-ecw5410: | ||||||
| #    needs: [ "vars", "build" ] |     needs: [ "vars", "build" ] | ||||||
| #    runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
| #    if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'udaya_a5-id2')" |     if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_ecw5410')" | ||||||
| #    env: |     env: | ||||||
| #      AP_MODEL: udaya_a5-id2 |       AP_MODEL: edgecore_ecw5410 | ||||||
| #    steps: |     steps: | ||||||
| #      - name: Set AP model output |       - name: Set AP model output | ||||||
| #        id: ap_model |         id: ap_model | ||||||
| #        run: | |         run: | | ||||||
| #          echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT |           echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|  |       - uses: actions/checkout@v3 | ||||||
|  |       - name: Set up Python | ||||||
|  |         uses: actions/setup-python@v4 | ||||||
|  |         with: | ||||||
|  |           python-version: "3.8" | ||||||
|  |  | ||||||
|  |       # TODO WIFI-7839 delete when issue is resolved on AWS CLI side | ||||||
|  |       - name: install kubectl | ||||||
|  |         run: | | ||||||
|  |           curl -s -LO "https://dl.k8s.io/release/v1.27.6/bin/linux/amd64/kubectl" | ||||||
|  |           sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl | ||||||
|  |  | ||||||
|  |       - name: get EKS access credentials | ||||||
|  |         run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} | ||||||
|  |  | ||||||
|  |       - name: prepare namespace name | ||||||
|  |         id: namespace | ||||||
|  |         run: | | ||||||
|  |           NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" | ||||||
|  |           echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|  |       - name: prepare configuration | ||||||
|  |         run: | | ||||||
|  |           cat << EOF > lab_info.json | ||||||
|  |           ${{ secrets.LAB_INFO_JSON }} | ||||||
|  |           EOF | ||||||
|  |  | ||||||
|  |       #          DYN_CONFIG="$(python .quali/get_configuration.py --json ${{ steps.reservation.outputs.identifier }})" | ||||||
|  |       #          jq ".CONFIGURATION.basic=$DYN_CONFIG" lab_info.json > lab_info.json.tmp && mv lab_info.json.tmp lab_info.json | ||||||
|       # |       # | ||||||
| #      - uses: actions/checkout@v3 |       #          # overwrite configuration value from Quali | ||||||
| #      - name: Set up Python |       #          if [ ${{ needs.vars.outputs.existing_controller }} != '' ] | ||||||
| #        uses: actions/setup-python@v4 |       #          then | ||||||
| #        with: |       #            jq '.CONFIGURATION.basic.controller.url="https://sec-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build:16001"' lab_info.json > lab_info.json.tmp && mv lab_info.json.tmp lab_info.json | ||||||
| #          python-version: "3.8" |       #          fi | ||||||
| # |  | ||||||
| #      # TODO WIFI-7839 delete when issue is resolved on AWS CLI side |       - name: run tests | ||||||
| #      - name: install kubectl |         uses: ./.github/actions/run-tests | ||||||
| #        run: | |         with: | ||||||
| #          curl -s -LO "https://dl.k8s.io/release/v1.27.6/bin/linux/amd64/kubectl" |           namespace: ${{ steps.namespace.outputs.name }} | ||||||
| #          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl |           testbed: basic-5a | ||||||
| # |           marker_expression: "${{ needs.vars.outputs.marker_expression }}" | ||||||
| #      - name: get EKS access credentials |           configuration_file: "./lab_info.json" | ||||||
| #        run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} |           testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} | ||||||
| # |           additional_args: '-o firmware="${{ needs.vars.outputs.ap_version }}"' | ||||||
| #      - name: prepare namespace name |           allure_results_artifact_name: "allure-results-${{ steps.ap_model.outputs.model }}" | ||||||
| #        id: namespace |           dns_records_to_resolve: "sec-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build gw-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build fms-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build" | ||||||
| #        run: | |  | ||||||
| #          NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" |       # necessary because if conditionals in composite actions are currently not respected | ||||||
| #          echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT |       - name: get tests logs | ||||||
| # |         if: always() | ||||||
| #      - name: prepare configuration |         continue-on-error: true | ||||||
| #        run: | |         run: | | ||||||
| #          cat << EOF > lab_info.json |           podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") | ||||||
| #          ${{ secrets.LAB_INFO_JSON }} |           kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }} $podname || true | ||||||
| #          EOF |  | ||||||
| # |       - name: delete namespace | ||||||
| #      #          DYN_CONFIG="$(python .quali/get_configuration.py --json ${{ steps.reservation.outputs.identifier }})" |         if: always() | ||||||
| #      #          jq ".CONFIGURATION.basic=$DYN_CONFIG" lab_info.json > lab_info.json.tmp && mv lab_info.json.tmp lab_info.json |         continue-on-error: true | ||||||
| #      # |         run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }} | ||||||
| #      #          # overwrite configuration value from Quali |  | ||||||
| #      #          if [ ${{ needs.vars.outputs.existing_controller }} != '' ] |       - name: show gw logs | ||||||
| #      #          then |         if: failure() | ||||||
| #      #            jq '.CONFIGURATION.basic.controller.url="https://sec-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build:16001"' lab_info.json > lab_info.json.tmp && mv lab_info.json.tmp lab_info.json |         run: kubectl -n openwifi-qa01 logs deployment/owgw | ||||||
| #      #          fi |  | ||||||
| # |       - name: show fms logs | ||||||
| #      - name: run tests |         if: failure() | ||||||
| #        uses: ./.github/actions/run-tests |         run: kubectl -n openwifi-qa01 logs deployment/owfms | ||||||
| #        with: |  | ||||||
| #          namespace: ${{ steps.namespace.outputs.name }} |       - name: show prov logs | ||||||
| #          testbed: basic-3 |         if: failure() | ||||||
| #          marker_expression: "${{ needs.vars.outputs.marker_expression }}" |         run: kubectl -n openwifi-qa01 logs deployment/owprov | ||||||
| #          configuration_file: "./lab_info.json" |  | ||||||
| #          testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} |       - name: show analytics logs | ||||||
| #          additional_args: '-o firmware="${{ needs.vars.outputs.ap_version }}"' |         if: failure() | ||||||
| #          allure_results_artifact_name: "allure-results-${{ steps.ap_model.outputs.model }}" |         run: kubectl -n openwifi-qa01 logs deployment/owanalytics | ||||||
| #          dns_records_to_resolve: "sec-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build gw-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build fms-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build" |  | ||||||
| # |       - name: show subscription (userportal) logs | ||||||
| #      # necessary because if conditionals in composite actions are currently not respected |         if: failure() | ||||||
| #      - name: get tests logs |         run: kubectl -n openwifi-qa01 logs deployment/owsub | ||||||
| #        if: always() |  | ||||||
| #        continue-on-error: true |       - name: show sec logs | ||||||
| #        run: | |         if: failure() | ||||||
| #          podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") |         run: kubectl -n openwifi-qa01 logs deployment/owsec | ||||||
| #          kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }} $podname || true |  | ||||||
| # |  | ||||||
| #      - name: delete namespace |  | ||||||
| #        if: always() |  | ||||||
| #        continue-on-error: true |  | ||||||
| #        run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }} |  | ||||||
| # |  | ||||||
| #      - name: show gw logs |  | ||||||
| #        if: failure() |  | ||||||
| #        run: kubectl -n openwifi-qa01 logs deployment/owgw |  | ||||||
| # |  | ||||||
| #      - name: show fms logs |  | ||||||
| #        if: failure() |  | ||||||
| #        run: kubectl -n openwifi-qa01 logs deployment/owfms |  | ||||||
| # |  | ||||||
| #      - name: show prov logs |  | ||||||
| #        if: failure() |  | ||||||
| #        run: kubectl -n openwifi-qa01 logs deployment/owprov |  | ||||||
| # |  | ||||||
| #      - name: show analytics logs |  | ||||||
| #        if: failure() |  | ||||||
| #        run: kubectl -n openwifi-qa01 logs deployment/owanalytics |  | ||||||
| # |  | ||||||
| #      - name: show subscription (userportal) logs |  | ||||||
| #        if: failure() |  | ||||||
| #        run: kubectl -n openwifi-qa01 logs deployment/owsub |  | ||||||
| # |  | ||||||
| #      - name: show sec logs |  | ||||||
| #        if: failure() |  | ||||||
| #        run: kubectl -n openwifi-qa01 logs deployment/owsec |  | ||||||
|  |  | ||||||
|   test-edgecore-ecw5211: |   test-edgecore-ecw5211: | ||||||
|     needs: [ "vars", "build" ] |     needs: [ "vars", "build" ] | ||||||
| @@ -1092,7 +1093,7 @@ jobs: | |||||||
|   report: |   report: | ||||||
|     if: "!cancelled()" |     if: "!cancelled()" | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     needs: [vars, test-cig-wf188n, test-cig-wf196, test-edgecore-ecw5211, test-indio-um-305ac, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102] |     needs: [vars, test-cig-wf188n, test-cig-wf196, test-edgecore-ecw5211, test-indio-um-305ac, test-edgecore-ecw5410, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102] | ||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
| @@ -1143,7 +1144,7 @@ jobs: | |||||||
|  |  | ||||||
|   # Cleanup |   # Cleanup | ||||||
|   cleanup: |   cleanup: | ||||||
|     needs: [test-cig-wf188n, test-cig-wf196, test-edgecore-ecw5211, test-indio-um-305ac, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102] |     needs: [test-cig-wf188n, test-cig-wf196, test-edgecore-ecw5211, test-indio-um-305ac, test-edgecore-ecw5410, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102] | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     if: always() |     if: always() | ||||||
|     steps: |     steps: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user