diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index a697026b2..29dd3ad10 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -22,7 +22,7 @@ on: description: "revision of the Open Wifi Helm chart" ap_models: required: true - default: "Wallys_DR6018,hfcl_ion4xe,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4,indio_um-305ac,hfcl_ion4xi,udaya_a5-id2,cig_wf196" + 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 @@ -73,7 +73,7 @@ jobs: marker_expressions=${MARKER_EXPRESSIONS} EOF - AP_MODELS="${{ github.event.inputs.ap_models || 'Wallys_DR6018,hfcl_ion4xe,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4,indio_um-305ac,hfcl_ion4xi,udaya_a5-id2,cig_wf196' }}" + AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,indio_um-305ac,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}" AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') cat >> $GITHUB_OUTPUT << EOF ap_models=${AP_MODELS} @@ -103,275 +103,13 @@ jobs: registry_password: ${{ secrets.DOCKER_USER_PASSWORD }} # Run tests on APs - test-wallys-DR6018: - needs: [ "vars", "build" ] - runs-on: [self-hosted, small] - timeout-minutes: 1440 - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'Wallys_DR6018')" - env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} - AP_MODEL: Wallys_DR6018 - 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" - -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi - - # 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: install aws CLI tool - run: | - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" - unzip awscliv2.zip - sudo ./aws/install - - - name: get EKS access credentials - run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} - - - name: prepare namespace name - id: namespace - run: | - NAMESPACE="regression-${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - - - name: run dfs tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-01 - marker_expression: "ow_regression_lf and dfs_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-dfs_tests - 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 }}-dfs --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-dfs $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-dfs - - - name: run multipsk tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-01 - marker_expression: "ow_regression_lf and multi_psk_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-multi_psk_tests - 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 }}-multipsk --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-multipsk $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-multipsk - - - name: run rate_limiting tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-01 - marker_expression: "ow_regression_lf and rate_limiting_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-rate_limiting_tests - 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 }}-rate-limiting --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-rate-limiting $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-rate-limiting - - - name: run rate_limiting_with_radius tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-01 - marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-rate_limiting_with_radius_tests - 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 }}-rate-limiting-radius --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-rate-limiting-radius $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-rate-limiting-radius - - - name: run dynamic_vlan tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-01 - marker_expression: "ow_regression_lf and dynamic_vlan_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-dynamic_vlan_tests - 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 }}-dynamic-vlan --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-dynamic-vlan $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-dynamic-vlan - - - name: run multi_vlan tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-01 - marker_expression: "ow_regression_lf and multi_vlan_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-multi_vlan_tests - 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 }}-multi-vlan --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-multi-vlan $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-multi-vlan - - - name: show gw logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw - - - name: show fms logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms - - - name: show prov logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov - - - name: show analytics logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics - - - name: show subscription (userportal) logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub - - - name: show sec logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec - -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} test-hfcl-ion4xe: - needs: ["vars", "build", "test-edgecore-eap102"] + needs: ["vars", "build", "test-edgecore-eap101"] runs-on: [self-hosted, small] timeout-minutes: 1440 if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'hfcl_ion4xe')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} AP_MODEL: hfcl_ion4xe steps: - name: Set AP model output @@ -385,29 +123,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -436,21 +151,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-06a + testbed: basic-3a marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -475,7 +182,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-06a + testbed: basic-3a marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -500,7 +207,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-06a + testbed: basic-3a marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -525,7 +232,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-06a + testbed: basic-3a marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -550,7 +257,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-06a + testbed: basic-3a marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -575,7 +282,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-06a + testbed: basic-3a marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -597,31 +304,28 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} test-edgecore-eap101: needs: ["vars", "build"] @@ -629,9 +333,6 @@ jobs: timeout-minutes: 1440 if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap101')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} AP_MODEL: edgecore_eap101 steps: - name: Set AP model output @@ -645,29 +346,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -696,21 +374,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-07 + testbed: basic-3 marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -735,7 +405,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-07 + testbed: basic-3 marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -760,7 +430,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-07 + testbed: basic-3 marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -785,7 +455,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-07 + testbed: basic-3 marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -810,7 +480,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-07 + testbed: basic-3 marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -835,7 +505,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-07 + testbed: basic-3 marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -857,31 +527,28 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} test-edgecore-ecw5211: needs: ["vars", "build"] @@ -889,9 +556,6 @@ jobs: timeout-minutes: 1440 if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_ecw5211')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} AP_MODEL: edgecore_ecw5211 steps: - name: Set AP model output @@ -905,29 +569,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -956,21 +597,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-04 + testbed: basic-4 marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -995,7 +628,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-04 + testbed: basic-4 marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1020,7 +653,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-04 + testbed: basic-4 marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1045,7 +678,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-04 + testbed: basic-4 marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1070,7 +703,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-04 + testbed: basic-4 marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1095,7 +728,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-04 + testbed: basic-4 marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1117,41 +750,35 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} test-cig-wf188n: - needs: ["vars", "build"] + needs: ["vars", "build", "test-edgecore-eap102"] runs-on: [self-hosted, small] timeout-minutes: 1440 if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf188n')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} AP_MODEL: cig_wf188n steps: - name: Set AP model output @@ -1165,29 +792,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -1216,21 +820,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-05 + testbed: basic-1a marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1255,7 +851,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-05 + testbed: basic-1a marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1280,7 +876,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-05 + testbed: basic-1a marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1305,7 +901,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-05 + testbed: basic-1a marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1330,7 +926,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-05 + testbed: basic-1a marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1355,7 +951,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-05 + testbed: basic-1a marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1377,31 +973,28 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} test-edgecore-eap102: needs: ["vars", "build"] @@ -1409,9 +1002,6 @@ jobs: timeout-minutes: 1440 if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap102')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} AP_MODEL: edgecore_eap102 steps: - name: Set AP model output @@ -1425,29 +1015,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -1476,21 +1043,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-06 + testbed: basic-1 marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1515,7 +1074,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-06 + testbed: basic-1 marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1540,7 +1099,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-06 + testbed: basic-1 marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1565,7 +1124,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-06 + testbed: basic-1 marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1590,7 +1149,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-06 + testbed: basic-1 marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1615,7 +1174,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-06 + testbed: basic-1 marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1637,42 +1196,36 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} - test-liteon-wpx8324: - needs: ["vars", "build"] + test-edgecore-eap104: + needs: ["vars", "build", "test-edgecore-ecw5211"] runs-on: [self-hosted, small] timeout-minutes: 1440 - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'liteon_wpx8324')" + if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap104')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} - AP_MODEL: liteon_wpx8324 + AP_MODEL: edgecore_eap104 steps: - name: Set AP model output id: ap_model @@ -1685,29 +1238,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -1736,21 +1266,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-08 + testbed: basic-4a marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1775,7 +1297,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-08 + testbed: basic-4a marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1800,7 +1322,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-08 + testbed: basic-4a marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1825,7 +1347,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-08 + testbed: basic-4a marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1850,7 +1372,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-08 + testbed: basic-4a marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1875,7 +1397,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-08 + testbed: basic-4a marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -1897,42 +1419,36 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} - test-hfcl-ion4: - needs: ["vars", "build"] + test-edgecore-oap101-6e: + needs: ["vars", "build", "test-cig-wf196"] runs-on: [self-hosted, small] timeout-minutes: 1440 - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'hfcl_ion4')" + if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_oap101-6e')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} - AP_MODEL: hfcl_ion4 + AP_MODEL: edgecore_oap101-6e steps: - name: Set AP model output id: ap_model @@ -1945,29 +1461,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -1996,21 +1489,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-02 + testbed: basic-2a marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2035,7 +1520,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-02 + testbed: basic-2a marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2060,7 +1545,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-02 + testbed: basic-2a marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2085,7 +1570,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-02 + testbed: basic-2a marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2110,7 +1595,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-02 + testbed: basic-2a marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2135,7 +1620,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-02 + testbed: basic-2a marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2157,31 +1642,28 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} test-indio-um-305ac: needs: ["vars", "build"] @@ -2189,9 +1671,6 @@ jobs: timeout-minutes: 1440 if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'indio_um-305ac')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} AP_MODEL: indio_um-305ac steps: - name: Set AP model output @@ -2205,29 +1684,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -2256,21 +1712,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-03 + testbed: basic-5 marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2295,7 +1743,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-03 + testbed: basic-5 marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2320,7 +1768,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-03 + testbed: basic-5 marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2345,7 +1793,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-03 + testbed: basic-5 marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2370,7 +1818,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-03 + testbed: basic-5 marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2395,7 +1843,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-03 + testbed: basic-5 marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2417,41 +1865,35 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} test-hfcl-ion4xi: - needs: [ "vars", "build", "test-edgecore-ecw5211" ] + needs: [ "vars", "build", "test-indio-um-305ac"] runs-on: [self-hosted, small] timeout-minutes: 1440 if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'hfcl_ion4xi')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} AP_MODEL: hfcl_ion4xi steps: - name: Set AP model output @@ -2465,29 +1907,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -2516,21 +1935,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-04a + testbed: basic-5a marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2555,7 +1966,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-04a + testbed: basic-5a marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2580,7 +1991,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-04a + testbed: basic-5a marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2605,7 +2016,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-04a + testbed: basic-5a marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2630,7 +2041,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-04a + testbed: basic-5a marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2655,7 +2066,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-04a + testbed: basic-5a marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -2677,285 +2088,30 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} - test-udaya-a5-id2: - needs: [ "vars", "build", "test-liteon-wpx8324" ] - runs-on: [self-hosted, small] - timeout-minutes: 1440 - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'udaya_a5-id2')" - env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} - AP_MODEL: udaya_a5-id2 - 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" - -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi - - # 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: install aws CLI tool - run: | - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" - unzip awscliv2.zip - sudo ./aws/install - - - name: get EKS access credentials - run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} - - - name: prepare namespace name - id: namespace - run: | - NAMESPACE="regression-${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - - - name: run dfs tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: basic-08a - marker_expression: "ow_regression_lf and dfs_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-dfs_tests - - # 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 }}-dfs --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-dfs $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-dfs - - - name: run multipsk tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: basic-08a - marker_expression: "ow_regression_lf and multi_psk_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-multi_psk_tests - - # 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 }}-multipsk --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-multipsk $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-multipsk - - - name: run rate_limiting tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: basic-08a - marker_expression: "ow_regression_lf and rate_limiting_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-rate_limiting_tests - - # 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 }}-rate-limiting --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-rate-limiting $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-rate-limiting - - - name: run rate_limiting_with_radius tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: basic-08a - marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-rate_limiting_with_radius_tests - - # 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 }}-rate-limiting-radius --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-rate-limiting-radius $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-rate-limiting-radius - - - name: run dynamic_vlan tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: basic-08a - marker_expression: "ow_regression_lf and dynamic_vlan_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-dynamic_vlan_tests - - # 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 }}-dynamic-vlan --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-dynamic-vlan $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-dynamic-vlan - - - name: run multi_vlan tests - uses: ./.github/actions/run-tests - if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" - with: - namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: basic-08a - marker_expression: "ow_regression_lf and multi_vlan_tests" - configuration_file: "./lab_info.json" - testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-multi_vlan_tests - - # 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 }}-multi-vlan --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") - kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-multi-vlan $podname || true - - - name: delete namespace - if: always() - continue-on-error: true - run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-multi-vlan - - - name: show gw logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw - - - name: show fms logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms - - - name: show prov logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov - - - name: show analytics logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics - - - name: show subscription (userportal) logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub - - - name: show sec logs - if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec - -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} test-cig-wf196: needs: [ "vars", "build" ] @@ -2963,9 +2119,6 @@ jobs: timeout-minutes: 1440 if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'cig_wf196')" env: -# CLOUDSHELL_URL: quali-cloudshell.lab.wlan.tip.build -# CLOUDSHELL_USER: ${{ secrets.CLOUDSHELL_USER }} -# CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }} AP_MODEL: cig_wf196 steps: - name: Set AP model output @@ -2979,29 +2132,6 @@ jobs: with: python-version: "3.8" -# - name: install dependencies -# run: pip install -r .quali/requirements.txt -# -# - name: start reservation -# run: | -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}","Optional Existing SDK Namespace":"${{ needs.vars.outputs.existing_controller }}"}' --reservation-duration 720 "Basic Lab" -# else -# python .quali/start_reservation.py --global-inputs '{"Chart Version":"${{ needs.vars.outputs.openwifi_revision }}","AP Model":"${{ steps.ap_model.outputs.model }}"}' --reservation-duration 720 "Basic Lab" -# fi -# -# - name: set reservation outputs -# if: always() -# id: reservation -# run: | -# echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT -# else -# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT -# fi # TODO WIFI-7839 delete when issue is resolved on AWS CLI side - name: install kubectl @@ -3030,21 +2160,13 @@ jobs: ${{ 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 -# -# # overwrite configuration value from Quali -# if [ ${{ needs.vars.outputs.existing_controller }} != '' ] -# then -# 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 -# fi - name: run dfs tests uses: ./.github/actions/run-tests if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dfs_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dfs - testbed: advance-03 + testbed: basic-2 marker_expression: "ow_regression_lf and dfs_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -3068,7 +2190,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_psk_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multipsk - testbed: advance-03 + testbed: basic-2 marker_expression: "ow_regression_lf and multi_psk_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -3092,7 +2214,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting - testbed: advance-03 + testbed: basic-2 marker_expression: "ow_regression_lf and rate_limiting_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -3116,7 +2238,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius - testbed: advance-03 + testbed: basic-2 marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -3140,7 +2262,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'dynamic_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-dynamic-vlan - testbed: advance-03 + testbed: basic-2 marker_expression: "ow_regression_lf and dynamic_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -3164,7 +2286,7 @@ jobs: if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'multi_vlan_tests')" with: namespace: ${{ steps.namespace.outputs.name }}-multi-vlan - testbed: advance-03 + testbed: basic-2 marker_expression: "ow_regression_lf and multi_vlan_tests" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} @@ -3185,37 +2307,34 @@ jobs: - name: show gw logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owgw + run: kubectl -n openwifi-qa01 logs deployment/owgw - name: show fms logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owfms + run: kubectl -n openwifi-qa01 logs deployment/owfms - name: show prov logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owprov + run: kubectl -n openwifi-qa01 logs deployment/owprov - name: show analytics logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owanalytics + run: kubectl -n openwifi-qa01 logs deployment/owanalytics - name: show subscription (userportal) logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsub + run: kubectl -n openwifi-qa01 logs deployment/owsub - name: show sec logs if: failure() - run: kubectl -n openwifi-${{ steps.reservation.outputs.namespace }} logs deployment/owsec + run: kubectl -n openwifi-qa01 logs deployment/owsec -# - name: stop reservation -# if: always() -# run: python .quali/stop_reservation.py ${{ steps.reservation.outputs.identifier }} # Save reports report: if: "!cancelled()" runs-on: ubuntu-latest - needs: [vars, test-wallys-DR6018, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-ecw5211, test-cig-wf188n, test-edgecore-eap102, test-liteon-wpx8324, test-hfcl-ion4, test-indio-um-305ac, test-hfcl-ion4xi, test-udaya-a5-id2, test-cig-wf196] + needs: [vars, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-ecw5211, test-cig-wf188n, test-edgecore-eap102, test-edgecore-eap104, test-edgecore-oap101-6e, test-indio-um-305ac, test-hfcl-ion4xi, test-cig-wf196] strategy: fail-fast: false matrix: @@ -3268,7 +2387,7 @@ jobs: # Cleanup cleanup: - needs: [test-wallys-DR6018, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-ecw5211, test-cig-wf188n, test-edgecore-eap102, test-liteon-wpx8324, test-hfcl-ion4, test-indio-um-305ac, test-hfcl-ion4xi, test-udaya-a5-id2, test-cig-wf196] + needs: [test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-ecw5211, test-cig-wf188n, test-edgecore-eap102, test-edgecore-eap104, test-edgecore-oap101-6e, test-indio-um-305ac, test-hfcl-ion4xi, test-cig-wf196] runs-on: ubuntu-latest if: always() steps: