Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added allure suite, sub suite, parent suit, title #636

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
ffd8bc6
Added allure suite, sub suite, parent suit, title
jitendracandela Jun 23, 2022
c149096
WIFI-9625: Added extra delay in reboot and factory reset tests
Jun 23, 2022
6321682
Updated speed test library of captive portal in Ios (#637)
haricharan-candela Jun 23, 2022
cadcd47
[WIFI-9211] Chg: regression allure report path by marker (#626)
dunaev-dmitry Jun 23, 2022
ec41757
[WIFI-9786] Chg: move tests logs after the tests in separate step (#633)
dunaev-dmitry Jun 23, 2022
3ca5183
[WIFI-9813] Add: logs for services in manual workflow (#638)
dunaev-dmitry Jun 23, 2022
9bf3b98
Added allure title for test cases
jitendracandela Jun 23, 2022
558d3ab
Added extra delay in reboot and factory reset methods (#640)
jitendracandela Jun 23, 2022
6b20c5b
Changed basic names to AP names for performance (#641)
jitendracandela Jun 23, 2022
b39af77
[WIFI-9826] Chg: add interop support to pass firmware (#639)
dunaev-dmitry Jun 23, 2022
f5ccf8d
Stash git changes and force checkout
oblom0v Jun 23, 2022
9f91e3b
Update ucentralgw-qa-deployment.yaml
ragden69 Jun 23, 2022
7899da2
[WIFI-9627] Fix: slot selection in sanity (#642)
dunaev-dmitry Jun 24, 2022
5b11617
[WIFI-9786] Dbg: tests on one example (#643)
dunaev-dmitry Jun 24, 2022
3a7a141
Update quali.yml (#644)
YashSaxenaCT Jun 24, 2022
878fda3
[WIFI-9828] Chg: adapt lib for controller to ommit system trailing sl…
dunaev-dmitry Jun 26, 2022
14777c7
Removed slash at the end of Get API calls (#646)
haricharan-candela Jun 26, 2022
0824867
[WIFI-9842] Fix: wrong output reference for firmware (#647)
dunaev-dmitry Jun 27, 2022
97e4b58
WIFI-7625 (#542)
anil-tegala Jun 27, 2022
e667bf7
WIFI-9958 : Added a marker for ow_sdk_load_tests for sdk tests (#649)
embeddedshivam Jun 27, 2022
548c8d9
Wifi 9958 add the sdk stability long term tests (#651)
embeddedshivam Jun 27, 2022
3034954
[WIFI-9949] Fix: regression paths (#648)
dunaev-dmitry Jun 28, 2022
7b3754a
[WIFI-9949] Fix: typo in regression
dunaev-dmitry Jun 28, 2022
e49a8d4
Use deploy script to upgrade Docker Compose deployment (#650)
oblom0v Jun 28, 2022
60a86da
ios lib fixture for web browser and captive popup in wifi_connect fun…
goyalsaurabh06 Jun 28, 2022
6f58f67
Wifi 9972 (#655)
goyalsaurabh06 Jun 28, 2022
a3cae0a
Wifi 9951 (#656)
haricharan-candela Jun 28, 2022
314e27b
Update interop.yml (#653)
Jyothsna-setti Jun 28, 2022
412f026
Added sdk print and allure logs
Jun 28, 2022
1b5fe2d
WIFI-9990: Fixed the sdk client error (#657)
embeddedshivam Jun 29, 2022
25657ef
Wifi 9990 automation side gateway testcases sdk client attribution er…
embeddedshivam Jun 29, 2022
cb01b82
Updated QA01 to main (#660)
haricharan-candela Jun 29, 2022
603e7c2
Changed Scheduled sanity to 12 AM IST (#661)
haricharan-candela Jun 29, 2022
95b2f02
Wifi 10003 (#662)
haricharan-candela Jun 29, 2022
2bbb660
Wifi 10003 (#663)
haricharan-candela Jun 29, 2022
76cac47
Wifi 10003 (#664)
haricharan-candela Jun 29, 2022
6c72aa1
Updated to 2 AM IST (#665)
haricharan-candela Jun 29, 2022
d445185
Removed unwanted slash of firmwares (#666)
jitendracandela Jun 30, 2022
d1515a8
removed rtty test from sanity
Jun 30, 2022
8728077
Removed ow_sanity_lf marker (#668)
jitendracandela Jul 1, 2022
6cc5d32
[WIFI-9155] Add: deployment env variables for OWRRM (#631)
dunaev-dmitry Jul 7, 2022
1e32eb9
Change deploy-virtual-ap-instance Github action to use updated AP fir…
oblom0v Jul 7, 2022
97920b3
[WIFI-9155] Fix: qa01 installation
dunaev-dmitry Jul 7, 2022
6acd77d
Revert "Change deploy-virtual-ap-instance Github action to use update…
oblom0v Jul 8, 2022
6d01c12
Changed Entity id in CRUD Venue testcase (#672)
haricharan-candela Jul 9, 2022
bb24fad
Added browser compatibility with iPhone-7 (#667)
goyalsaurabh06 Jul 12, 2022
a1a49a8
Update interop.yml (#675)
YashSaxenaCT Jul 13, 2022
8a952e5
Update quali.yml (#674)
YashSaxenaCT Jul 13, 2022
bffcc4c
Added allure suite, sub suite, parent suit, title
jitendracandela Jun 23, 2022
be02063
Added allure title for test cases
jitendracandela Jun 23, 2022
800dd85
Added proper parent_suite,suite,sub_suite and title
jitendracandela Jul 14, 2022
7cc1802
Added proper parent_suite,suite,sub_suite and title
jitendracandela Jul 14, 2022
7b1018e
Resolved conflicts
jitendracandela Jul 14, 2022
b6e3be0
Modification for allure report enhancement
jitendracandela Jul 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .allure-overview/overviews.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

"performance": {
"OVERVIEW_TITLE": "'OpenWifi performance results'",
"OVERVIEW_TESTBEDS": ["basic-01","basic-02","basic-03","basic-04","basic-05","basic-06","basic-07","basic-08","basic-08a"]
"OVERVIEW_TESTBEDS": ["wallys_dr40x9","hfcl_ion4","hfcl_ion4xe","edgecore_ecw5211","edgecore_eap101","edgecore_eap102","cig_wf194c","cig_wf188n","indio_um-305ac","udaya_a5-id2"]
}
}
9 changes: 1 addition & 8 deletions .github/actions/run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,13 @@ runs:
kubectl wait "pod/$podname" --for condition=ready --timeout=600s

rm -f test_everything.xml
rm -rf allure-results
until [ -s test_everything.xml ]
do
sleep 10
kubectl cp $podname:/wlan-testing/tests/test_everything.xml test_everything.xml >/dev/null 2>&1
done
echo "tests completed"
kubectl logs $podname
rm -rf allure-results
echo "downloading allure results..."
kubectl cp $podname:/tmp/allure-results allure-results >/dev/null 2>&1
echo "waiting for pod to exit"
Expand All @@ -151,9 +150,3 @@ runs:
with:
name: ${{ inputs.allure_results_artifact_name }}
path: allure-results

- name: cleanup
if: always()
shell: bash
run: |
kubectl delete ns "${{ inputs.namespace }}" --wait=true
9 changes: 8 additions & 1 deletion .github/workflows/advanced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ jobs:
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
allure_results_artifact_name: allure-results-${{ matrix.testbed }}

# necessary because if conditionals in composite actions are currently not respected
# 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
Expand Down
87 changes: 74 additions & 13 deletions .github/workflows/interop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ on:
description: comma-separated list of devices to test
default: galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12
required: false
firmware:
default: "next-latest"
description: "target firmware version to be specified <branch>-<commit | latest>"
required: false
marker_overwrite:
description: overwrite the Pytest markers that will be selected, will disable report uploading
required: false
schedule:
- cron: "30 20 * * *"
- cron: "35 20 * * *"


defaults:
run:
Expand All @@ -32,9 +37,9 @@ jobs:
outputs:
devices: ${{ steps.vars.outputs.devices }}
marker_overwrite: ${{ steps.vars.outputs.marker_overwrite }}
openwifi_revision: ${{ steps.vars.outputs.openwifi}}
ap_models: ${{ steps.vars.outputs.ap_models}}
ap_version: ${{ steps.vars.outputs.ap_version}}
openwifi_revision: ${{ steps.vars.outputs.openwifi }}
ap_models: ${{ steps.vars.outputs.ap_models }}
firmware: ${{ steps.vars.outputs.firmware }}
marker_expression: ${{ steps.vars.outputs.marker_expression }}
existing_controller: ${{ steps.vars.outputs.existing_controller }}

Expand All @@ -49,7 +54,7 @@ jobs:
echo "::set-output name=devices::${DEVICES}"
echo ::set-output name=openwifi::$(echo "${{ github.event.inputs.openwifi_revision || 'main' }}")
echo ::set-output name=ap_models::$(echo "${{ github.event.inputs.ap_models || 'edgecore_ecw5410,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,cig_wf194c,hfcl_ion4' }}")
echo ::set-output name=ap_version::$(echo "${{ github.event.inputs.ap_version || 'next-latest' }}")
echo ::set-output name=firmware::$(echo "${{ github.event.inputs.firmware || 'next-latest' }}")
echo ::set-output name=marker_expression::$(echo "${{ github.event.inputs.marker_expression || 'uc_sanity' }}")
echo ::set-output name=existing_controller::$(echo "${{ github.event.inputs.existing_controller || 'qa01' }}")

Expand Down Expand Up @@ -135,7 +140,7 @@ jobs:
marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and android and not wpa3_personal' }}"
configuration_file: "./lab_info.json"
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
additional_args: "--device='Galaxy S9' --skip-lanforge"
additional_args: "--device='Galaxy S9' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}"
allure_results_artifact_name: allure-results-galaxy-s9

- name: stop reservation
Expand All @@ -147,6 +152,13 @@ jobs:
CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }}

# 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 interop-${{ github.run_id }}-galaxy-s9 --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n interop-${{ github.run_id }}-galaxy-s9 $podname || true

- name: delete namespace
if: always()
continue-on-error: true
Expand Down Expand Up @@ -222,7 +234,7 @@ jobs:
marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and ios' }}"
configuration_file: "./lab_info.json"
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
additional_args: "--device='iPhone-11' --skip-lanforge"
additional_args: "--device='iPhone-11' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}"
allure_results_artifact_name: allure-results-iphone-11

- name: stop reservation
Expand All @@ -234,6 +246,13 @@ jobs:
CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }}

# 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 interop-${{ github.run_id }}-iphone-11 --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n interop-${{ github.run_id }}-iphone-11 $podname || true

- name: delete namespace
if: always()
continue-on-error: true
Expand Down Expand Up @@ -310,7 +329,7 @@ jobs:
marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and android' }}"
configuration_file: "./lab_info.json"
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
additional_args: "--device='Galaxy S10.*' --skip-lanforge"
additional_args: "--device='Galaxy S10.*' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}"
allure_results_artifact_name: allure-results-galaxy-s10

- name: stop reservation
Expand All @@ -322,6 +341,13 @@ jobs:
CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }}

# 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 interop-${{ github.run_id }}-galaxy-s10 --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n interop-${{ github.run_id }}-galaxy-s10 $podname || true

- name: delete namespace
if: always()
continue-on-error: true
Expand Down Expand Up @@ -399,7 +425,7 @@ jobs:
marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and ios' }}"
configuration_file: "./lab_info.json"
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
additional_args: "--device='iPhone-7' --skip-lanforge"
additional_args: "--device='iPhone-7' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}"
allure_results_artifact_name: allure-results-iphone-7

- name: stop reservation
Expand All @@ -411,6 +437,13 @@ jobs:
CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }}

# 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 interop-${{ github.run_id }}-iphone-7 --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n interop-${{ github.run_id }}-iphone-7 $podname || true

- name: delete namespace
if: always()
continue-on-error: true
Expand Down Expand Up @@ -486,7 +519,7 @@ jobs:
marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and android' }}"
configuration_file: "./lab_info.json"
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
additional_args: "--device='Galaxy S20' --skip-lanforge"
additional_args: "--device='Galaxy S20' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}"
allure_results_artifact_name: allure-results-galaxy-s20

- name: stop reservation
Expand All @@ -498,6 +531,13 @@ jobs:
CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }}

# 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 interop-${{ github.run_id }}-galaxy-s20 --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n interop-${{ github.run_id }}-galaxy-s20 $podname || true

- name: delete namespace
if: always()
continue-on-error: true
Expand Down Expand Up @@ -572,7 +612,7 @@ jobs:
marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and ios' }}"
configuration_file: "./lab_info.json"
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
additional_args: "--device='iPhone-XR' --skip-lanforge"
additional_args: "--device='iPhone-XR' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}"
allure_results_artifact_name: allure-results-iphone-xr

- name: stop reservation
Expand All @@ -584,6 +624,13 @@ jobs:
CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }}

# 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 interop-${{ github.run_id }}-iphone-xr --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n interop-${{ github.run_id }}-iphone-xr $podname || true

- name: delete namespace
if: always()
continue-on-error: true
Expand Down Expand Up @@ -660,7 +707,7 @@ jobs:
marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and android' }}"
configuration_file: "./lab_info.json"
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
additional_args: "--device='Pixel 4' --skip-lanforge"
additional_args: "--device='Pixel 4' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}"
allure_results_artifact_name: allure-results-pixel-4

- name: stop reservation
Expand All @@ -672,6 +719,13 @@ jobs:
CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }}

# 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 interop-${{ github.run_id }}-pixel-4 --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n interop-${{ github.run_id }}-pixel-4 $podname || true

- name: delete namespace
if: always()
continue-on-error: true
Expand Down Expand Up @@ -745,7 +799,7 @@ jobs:
marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and ios' }}"
configuration_file: "./lab_info.json"
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
additional_args: "--device='iPhone-12' --skip-lanforge"
additional_args: "--device='iPhone-12' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}"
allure_results_artifact_name: allure-results-iphone-12

- name: stop reservation
Expand All @@ -757,6 +811,13 @@ jobs:
CLOUDSHELL_PASSWORD: ${{ secrets.CLOUDSHELL_PASSWORD }}

# 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 interop-${{ github.run_id }}-iphone-12 --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n interop-${{ github.run_id }}-iphone-12 $podname || true

- name: delete namespace
if: always()
continue-on-error: true
Expand Down
Loading