Skip to content

Commit

Permalink
Reboot command will not be applicable to certification of DUTs adding…
Browse files Browse the repository at this point in the history
… user prompt to manually reboot the DUT (#20153)

* Modified scripts removed reboot command steps

* Added auto generated files

* Modified tests after rebase

* Auto generated files
  • Loading branch information
manjunath-grl authored and pull[bot] committed Jul 19, 2023
1 parent 74bd141 commit 2f96365
Show file tree
Hide file tree
Showing 15 changed files with 1,172 additions and 766 deletions.
3 changes: 3 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,9 @@ PICS:
- label: "Skip sample app"
id: PICS_SKIP_SAMPLE_APP

- label: "Run steps in SDK and CI only"
id: PICS_SDK_CI_ONLY

- label: "Level Control for Lighting"
id: OO_LT

Expand Down
42 changes: 42 additions & 0 deletions src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,23 @@ tests:
type: bool

- label: "Reboot target device"
PICS: PICS_SDK_CI_ONLY
cluster: "SystemCommands"
command: "Reboot"

- label: "Reboot target device(DUT)"
verification: |
Not implemented in YAML
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "Please reboot the DUT and enter 'y' after DUT starts"
- name: "expectedValue"
value: "y"

- label: "Wait for the commissioned device to be retrieved"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand All @@ -63,9 +77,23 @@ tests:

##Event 11343 implementation not done
- label: "Reboot target device"
PICS: PICS_SDK_CI_ONLY
cluster: "SystemCommands"
command: "Reboot"

- label: "Reboot target device(DUT)"
verification: |
Not implemented in YAML
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "Please reboot the DUT and enter 'y' after DUT starts"
- name: "expectedValue"
value: "y"

- label: "Wait for the commissioned device to be retrieved"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand All @@ -87,9 +115,23 @@ tests:
value: nodeId

- label: "Reboot target device"
PICS: PICS_SDK_CI_ONLY
cluster: "SystemCommands"
command: "Reboot"

- label: "Reboot target device(DUT)"
verification: |
Not implemented in YAML
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "Please reboot the DUT and enter 'y' after DUT starts"
- name: "expectedValue"
value: "y"

- label: "Wait for the commissioned device to be retrieved"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
48 changes: 45 additions & 3 deletions src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,42 @@ tests:
constraints:
type: uint16

- label: "Reboot DUT (node)"
- label: "Reboot target device"
PICS: PICS_SDK_CI_ONLY
cluster: "SystemCommands"
command: "Reboot"

- label: "Reboot DUT (node)"
- label: "Reboot target device(DUT)"
verification: |
Not implemented in YAML
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "Please reboot the DUT and enter 'y' after DUT starts"
- name: "expectedValue"
value: "y"

- label: "Reboot target device"
PICS: PICS_SDK_CI_ONLY
cluster: "SystemCommands"
command: "Reboot"

- label: "Reboot target device(DUT)"
verification: |
Not implemented in YAML
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "Please reboot the DUT and enter 'y' after DUT starts"
- name: "expectedValue"
value: "y"

- label: "Wait for the commissioned device to be retrieved"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand All @@ -75,10 +103,24 @@ tests:
constraints:
type: uint32

- label: "Reboot DUT (node)"
- label: "Reboot target device"
PICS: PICS_SDK_CI_ONLY
cluster: "SystemCommands"
command: "Reboot"

- label: "Reboot target device(DUT)"
verification: |
Not implemented in YAML
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "Please reboot the DUT and enter 'y' after DUT starts"
- name: "expectedValue"
value: "y"

- label: "Wait for the commissioned device to be retrieved"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
8 changes: 0 additions & 8 deletions src/app/tests/suites/certification/Test_TC_MF_1_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ config:
defaultValue: "MT:0000000000I.0648G00"

tests:
- label: "Reboot target device"
cluster: "SystemCommands"
command: "Reboot"
arguments:
values:
- name: "discriminator"
value: discriminator

- label: "TH_CR1 starts a commissioning process with DUT_CE"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
8 changes: 0 additions & 8 deletions src/app/tests/suites/certification/Test_TC_MF_1_15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ config:
defaultValue: "MT:-24J0AFN00KA0648G00"

tests:
- label: "Reboot target device"
cluster: "SystemCommands"
command: "Reboot"
arguments:
values:
- name: "discriminator"
value: discriminator

- label: "TH_CR1 starts a commissioning process with DUT_CE"
identity: "alpha"
cluster: "DelayCommands"
Expand Down
14 changes: 0 additions & 14 deletions src/app/tests/suites/certification/Test_TC_MF_1_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ config:
defaultValue: "MT:0000000000I31506010" # This value needs to be generated automatically

tests:
- label: "Stop target device"
cluster: "SystemCommands"
command: "Stop"

- label:
"Start target device with the provided discriminator for basic
commissioning advertisement"
cluster: "SystemCommands"
command: "Start"
arguments:
values:
- name: "discriminator"
value: discriminator

- label: "TH_CR1 starts a commissioning process with DUT_CE"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
14 changes: 0 additions & 14 deletions src/app/tests/suites/certification/Test_TC_MF_1_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ config:
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically

tests:
- label: "Stop target device"
cluster: "SystemCommands"
command: "Stop"

- label:
"Start target device with the provided discriminator for basic
commissioning advertisement"
cluster: "SystemCommands"
command: "Start"
arguments:
values:
- name: "discriminator"
value: discriminator

- label: "TH_CR1 starts a commissioning process with DUT_CE"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
8 changes: 0 additions & 8 deletions src/app/tests/suites/certification/Test_TC_MF_1_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ config:
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically

tests:
- label: "Reboot target device"
cluster: "SystemCommands"
command: "Reboot"
arguments:
values:
- name: "discriminator"
value: discriminator

- label: "TH_CR1 starts a commissioning process with DUT_CE"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
14 changes: 0 additions & 14 deletions src/app/tests/suites/certification/Test_TC_MF_1_6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,6 @@ config:
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically

tests:
- label: "Stop target device"
cluster: "SystemCommands"
command: "Stop"

- label:
"Start target device with the provided discriminator for basic
commissioning advertisement"
cluster: "SystemCommands"
command: "Start"
arguments:
values:
- name: "discriminator"
value: discriminator

- label: "TH_CR1 starts a commissioning process with DUT_CE"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
8 changes: 0 additions & 8 deletions src/app/tests/suites/certification/Test_TC_MF_1_9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ config:
defaultValue: "MT:0000000000I.0648G00"

tests:
- label: "Reboot target device"
cluster: "SystemCommands"
command: "Reboot"
arguments:
values:
- name: "discriminator"
value: discriminator

- label: "TH_CR1 starts a commissioning process with DUT_CE"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
Loading

0 comments on commit 2f96365

Please sign in to comment.