mirror of
				https://github.com/Telecominfraproject/wlan-testing.git
				synced 2025-10-31 02:48:11 +00:00 
			
		
		
		
	Wifi 14036 (#982)
* Updated sanity, performance, regression workflows as per 3.2 target APs & Commented out cron job Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Added pass-fail for cig_wf189 AP Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> --------- Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
		 Jitendrakumar Kushavah
					Jitendrakumar Kushavah
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							1f71f75908
						
					
				
				
					commit
					42cb11ae63
				
			
							
								
								
									
										731
									
								
								.github/workflows/performance.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										731
									
								
								.github/workflows/performance.yml
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										475
									
								
								.github/workflows/quali.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										475
									
								
								.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,yuncore_fap655,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,cig_wf186w,edgecore_eap111,hfcl_ion4xi,udaya_a6-id2,edgecore_eap105,sercomm_ap72tip" | ||||
|         default: "hfcl_ion4xi,edgecore_eap104,cig_wf196,udaya_a6-id2,yuncore_ax820,hfcl_ion4xe,yuncore_fap655,cig_wf189,edgecore_eap105,sercomm_ap72tip,edgecore_eap101,edgecore_eap111" | ||||
|         description: "the AP models to test" | ||||
|       ap_version: | ||||
|         required: true | ||||
| @@ -41,8 +41,8 @@ on: | ||||
|         default: "" | ||||
|         description: "Tests release branch to use (i.e. 'release/v2.8.0' or 'master'). If left empty, latest release branch is used" | ||||
|  | ||||
|   schedule: | ||||
|     - cron: "30 11 * * 1-5" | ||||
|   # schedule: | ||||
|   #  - cron: "30 11 * * 1-5" | ||||
|  | ||||
| jobs: | ||||
|   # Set vars | ||||
| @@ -127,95 +127,6 @@ jobs: | ||||
|  | ||||
|   # Run tests on APs | ||||
|  | ||||
|   test-cig-wf188n: | ||||
|     needs: [ "vars", "build" ] | ||||
|     runs-on: ubuntu-latest | ||||
|     if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf188n')" | ||||
|     env: | ||||
|       AP_MODEL: cig_wf188n | ||||
|     steps: | ||||
|       - name: Set AP model output | ||||
|         id: ap_model | ||||
|         run: | | ||||
|           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 | ||||
|       | ||||
|  | ||||
|       - name: run tests | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-1a | ||||
|           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 }} | ||||
|           additional_args: '-o firmware="${{ needs.vars.outputs.ap_version }}"' | ||||
|           allure_results_artifact_name: "allure-results-${{ steps.ap_model.outputs.model }}" | ||||
|           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" | ||||
|  | ||||
|       # necessary because if conditionals in composite actions are currently not respected | ||||
|       - name: get tests logs | ||||
|         if: always() | ||||
|         continue-on-error: true | ||||
|         run: | | ||||
|           podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") | ||||
|           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-cig-wf196: | ||||
|     needs: [ "vars", "build" ] | ||||
|     runs-on: ubuntu-latest | ||||
| @@ -260,7 +171,7 @@ jobs: | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-6 | ||||
|           testbed: basic-2 | ||||
|           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 }} | ||||
| @@ -305,8 +216,6 @@ jobs: | ||||
|         if: failure() | ||||
|         run: kubectl -n openwifi-qa01 logs deployment/owsec | ||||
|  | ||||
|  | ||||
|  | ||||
|   test-yuncore-fap655: | ||||
|     needs: [ "vars", "build" ] | ||||
|     runs-on: ubuntu-latest | ||||
| @@ -396,6 +305,95 @@ jobs: | ||||
|         if: failure() | ||||
|         run: kubectl -n openwifi-qa01 logs deployment/owsec | ||||
|  | ||||
|   test-cig-wf189: | ||||
|     needs: [ "vars", "build" ] | ||||
|     runs-on: ubuntu-latest | ||||
|     if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf189')" | ||||
|     env: | ||||
|       AP_MODEL: cig_wf189 | ||||
|     steps: | ||||
|       - name: Set AP model output | ||||
|         id: ap_model | ||||
|         run: | | ||||
|           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 | ||||
|  | ||||
|  | ||||
|       - name: run tests | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-4a | ||||
|           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 }} | ||||
|           additional_args: '-o firmware="${{ needs.vars.outputs.ap_version }}"' | ||||
|           allure_results_artifact_name: "allure-results-${{ steps.ap_model.outputs.model }}" | ||||
|           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" | ||||
|  | ||||
|       # necessary because if conditionals in composite actions are currently not respected | ||||
|       - name: get tests logs | ||||
|         if: always() | ||||
|         continue-on-error: true | ||||
|         run: | | ||||
|           podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") | ||||
|           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-yuncore-ax820: | ||||
|     needs: [ "vars", "build" ] | ||||
|     runs-on: ubuntu-latest | ||||
| @@ -440,7 +438,7 @@ jobs: | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-5 | ||||
|           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 }} | ||||
| @@ -529,96 +527,7 @@ jobs: | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-4a | ||||
|           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 }} | ||||
|           additional_args: '-o firmware="${{ needs.vars.outputs.ap_version }}"' | ||||
|           allure_results_artifact_name: "allure-results-${{ steps.ap_model.outputs.model }}" | ||||
|           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" | ||||
|  | ||||
|       # necessary because if conditionals in composite actions are currently not respected | ||||
|       - name: get tests logs | ||||
|         if: always() | ||||
|         continue-on-error: true | ||||
|         run: | | ||||
|           podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") | ||||
|           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-oap101-6e: | ||||
|     needs: ["vars", "build"] | ||||
|     runs-on: ubuntu-latest | ||||
|     if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_oap101-6e')" | ||||
|     env: | ||||
|       AP_MODEL: edgecore_oap101-6e | ||||
|     steps: | ||||
|       - name: Set AP model output | ||||
|         id: ap_model | ||||
|         run: | | ||||
|           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 | ||||
|  | ||||
|  | ||||
|       - name: run tests | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-6a | ||||
|           testbed: basic-1a | ||||
|           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 }} | ||||
| @@ -796,7 +705,7 @@ jobs: | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-3b | ||||
|           testbed: basic-1 | ||||
|           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 }} | ||||
| @@ -887,187 +796,7 @@ jobs: | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           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 }} | ||||
|           additional_args: '-o firmware="${{ needs.vars.outputs.ap_version }}"' | ||||
|           allure_results_artifact_name: "allure-results-${{ steps.ap_model.outputs.model }}" | ||||
|           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" | ||||
|  | ||||
|       # necessary because if conditionals in composite actions are currently not respected | ||||
|       - name: get tests logs | ||||
|         if: always() | ||||
|         continue-on-error: true | ||||
|         run: | | ||||
|           podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") | ||||
|           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-eap102: | ||||
|     needs: [ "vars", "build" ] | ||||
|     runs-on: ubuntu-latest | ||||
|     if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap102')" | ||||
|     env: | ||||
|       AP_MODEL: edgecore_eap102 | ||||
|     steps: | ||||
|       - name: Set AP model output | ||||
|         id: ap_model | ||||
|         run: | | ||||
|           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 | ||||
|       | ||||
|  | ||||
|       - name: run tests | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-1 | ||||
|           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 }} | ||||
|           additional_args: '-o firmware="${{ needs.vars.outputs.ap_version }}"' | ||||
|           allure_results_artifact_name: "allure-results-${{ steps.ap_model.outputs.model }}" | ||||
|           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" | ||||
|  | ||||
|       # necessary because if conditionals in composite actions are currently not respected | ||||
|       - name: get tests logs | ||||
|         if: always() | ||||
|         continue-on-error: true | ||||
|         run: | | ||||
|           podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") | ||||
|           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-cig-wf186w: | ||||
|     needs: [ "vars", "build" ] | ||||
|     runs-on: ubuntu-latest | ||||
|     if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf186w')" | ||||
|     env: | ||||
|       AP_MODEL: cig_wf186w | ||||
|     steps: | ||||
|       - name: Set AP model output | ||||
|         id: ap_model | ||||
|         run: | | ||||
|           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 | ||||
|  | ||||
|  | ||||
|       - name: run tests | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-5a | ||||
|           testbed: basic-6 | ||||
|           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 }} | ||||
| @@ -1156,7 +885,7 @@ jobs: | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-2 | ||||
|           testbed: basic-6a | ||||
|           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 }} | ||||
| @@ -1245,7 +974,7 @@ jobs: | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-6b | ||||
|           testbed: basic-5 | ||||
|           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 }} | ||||
| @@ -1423,7 +1152,7 @@ jobs: | ||||
|         uses: ./.github/actions/run-tests | ||||
|         with: | ||||
|           namespace: ${{ steps.namespace.outputs.name }} | ||||
|           testbed: basic-6c | ||||
|           testbed: basic-5a | ||||
|           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 }} | ||||
| @@ -1472,7 +1201,7 @@ jobs: | ||||
|   report: | ||||
|     if: "!cancelled()" | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: [vars, test-cig-wf188n, test-cig-wf196, test-yuncore-fap655, test-yuncore-ax820, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102, test-cig-wf186w, test-edgecore-eap111, test-hfcl-ion4xi, test-udaya-a6-id2, test-edgecore-eap105, test-sercomm-ap72tip] | ||||
|     needs: [vars, test-hfcl-ion4xi, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-hfcl-ion4xe, test-yuncore-fap655, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-edgecore-eap101, test-edgecore-eap111] | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|       matrix: | ||||
| @@ -1523,7 +1252,7 @@ jobs: | ||||
|  | ||||
|   # Cleanup | ||||
|   cleanup: | ||||
|     needs: [test-cig-wf188n, test-cig-wf196, test-yuncore-fap655, test-yuncore-ax820, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102, test-cig-wf186w, test-edgecore-eap111, test-hfcl-ion4xi, test-udaya-a6-id2, test-edgecore-eap105,test-sercomm-ap72tip] | ||||
|     needs: [test-hfcl-ion4xi, test-edgecore-eap104, test-cig-wf196, test-udaya-a6-id2, test-yuncore-ax820, test-hfcl-ion4xe, 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: | ||||
|   | ||||
							
								
								
									
										1214
									
								
								.github/workflows/regression.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1214
									
								
								.github/workflows/regression.yml
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -296,6 +296,36 @@ | ||||
|         "UDP": null | ||||
|       } | ||||
|     }, | ||||
|     "cig_wf189":{ | ||||
|       "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": null, | ||||
|         "UDP": null | ||||
|       }, | ||||
|       "6G 2x2 160MHz": { | ||||
|         "TCP": 1600, | ||||
|         "UDP": 1800 | ||||
|       }, | ||||
|       "6G 4x4 160MHz": { | ||||
|         "TCP": null, | ||||
|         "UDP": null | ||||
|       } | ||||
|     }, | ||||
|     "udaya_a6-id2":{ | ||||
|       "2G 2x2 20MHz": { | ||||
|         "TCP": 200, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user