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

[DISHM]-Initial add of yaml test scripts for dishwasher mode cluster #27946

Closed
wants to merge 302 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
1965a0d
Merge branch 'master' into test-branch
abpoth Jul 19, 2023
67c8bff
Merge branch 'master' into test-branch
abpoth Jul 20, 2023
4864226
Merge branch 'master' into test-branch
abpoth Jul 20, 2023
38e7ced
sync submodules
abpoth Jul 20, 2023
60e229f
Merge branch 'master' into test-branch
abpoth Jul 20, 2023
618d2ec
resolving conflicts
abpoth Jul 20, 2023
91ac6e8
Merge branch 'master' into test-branch
abpoth Jul 20, 2023
0587e39
updated from upstream and fixed conflicts with outdated dishwashermod…
abpoth Jul 24, 2023
491a9d2
updated DISHM test cases per current spec and ran code regen successf…
abpoth Jul 24, 2023
0e2af46
updated code regen and removed manual tests
abpoth Jul 24, 2023
0a08459
Merge branch 'master' into test-branch
abpoth Jul 24, 2023
f71a4f0
Merge branch 'master' into test-branch
abpoth Jul 27, 2023
b97c686
updated DISHM_1_1 test to accomodate test plan and comments
abpoth Jul 27, 2023
bd39d34
updated test wording
abpoth Jul 27, 2023
ab5fbec
updating DISHM yaml test scripts in prep for writing python test scripts
abpoth Jul 27, 2023
ea9778b
Merge branch 'master' into test-branch
abpoth Jul 27, 2023
34b1940
ran code regeneration
abpoth Jul 27, 2023
be8cc27
Restyled by whitespace
restyled-commits Jul 27, 2023
6b3b577
Restyled by prettier-json
restyled-commits Jul 27, 2023
ca76f30
Restyled by prettier-yaml
restyled-commits Jul 27, 2023
9c03e31
Merge branch 'master' into test-branch
abpoth Jul 31, 2023
dcabd2c
Merge branch 'master' into test-branch
abpoth Jul 31, 2023
21aa444
added python test scripts and ran code regeneration
abpoth Jul 31, 2023
b240a42
update to variable name
abpoth Jul 31, 2023
cbf22cc
reverted back to old yaml test scripts with updated test values
abpoth Jul 31, 2023
071696a
updated whitespace and style
abpoth Jul 31, 2023
c9ac999
Restyled by whitespace
restyled-commits Jul 31, 2023
c713486
Restyled by prettier-yaml
restyled-commits Jul 31, 2023
fb4cd63
Restyled by autopep8
restyled-commits Jul 31, 2023
1895c8c
Merge branch 'master' into test-branch
abpoth Aug 1, 2023
90e1356
Merge branch 'master' into test-branch
abpoth Aug 1, 2023
25f1a0b
Merge branch 'master' into test-branch
abpoth Aug 1, 2023
fe28144
Merge branch 'master' into test-branch
abpoth Aug 2, 2023
d44a74e
Merge branch 'master' into test-branch
abpoth Aug 2, 2023
f4a2167
Merge branch 'master' into test-branch
abpoth Aug 2, 2023
e40da62
Update src/app/tests/suites/certification/Test_TC_DISHM_1_2.yaml
abpoth Aug 3, 2023
cdc2d48
removed conflicting .yaml test scripts and updated test steps per com…
abpoth Aug 3, 2023
ca9909d
Merge branch 'master' into test-branch
abpoth Aug 3, 2023
46287a9
Merge branch 'master' into test-branch
abpoth Aug 4, 2023
d24bd7a
created and reference issue on dishwasher mode cluster for CI tests
abpoth Aug 4, 2023
3389432
Merge branch 'master' into test-branch
abpoth Aug 4, 2023
fd171b6
enabled EventList condition for test AttributeList support
abpoth Aug 4, 2023
959b094
Merge branch 'master' into test-branch
abpoth Aug 4, 2023
686c070
Update src/python_testing/TC_DISHM_1_2.py
abpoth Aug 15, 2023
05646e5
Update src/python_testing/TC_DISHM_3_1.py
abpoth Aug 15, 2023
b07fc85
Update src/python_testing/TC_DISHM_3_1.py
abpoth Aug 15, 2023
7a5480a
[ReadHandler] ReportScheduler Injection (#28497)
lpbeliveau-silabs Aug 4, 2023
f9c7e80
[Java] Fix crash on 32bit Android phone when eventing is enabled (#28…
yufengwangca Aug 4, 2023
9af7b3a
Json to Tlv and Tlv to Json Converters Implementation in CPP (#27635)
emargolis Aug 4, 2023
5b99fc2
Reduce the size of FabricInfo by reordering some members. (#28278)
bzbarsky-apple Aug 5, 2023
0f759e0
Update template and regen (#28529)
andy31415 Aug 5, 2023
7b5e4e1
[Java] Remove duplicated implemenation for ReportCallback (#28541)
yufengwangca Aug 7, 2023
5c5abdb
[ESP32] CI: Build applications for C6 and H2 targets and added light-…
shubhamdp Aug 7, 2023
0c984b2
Improve encoding of lists where first item can't fit in packet. (#28346)
bzbarsky-apple Aug 7, 2023
1d2c932
Add a way to have tests run only in the python-chip-tool driver. (#28…
bzbarsky-apple Aug 7, 2023
8d99483
Remove special-case in ToInteractionModelStatus. (#28538)
bzbarsky-apple Aug 7, 2023
d903479
Fix reservation logic in reporting engine. (#28542)
bzbarsky-apple Aug 7, 2023
a562ee9
[Android, Java] Fix JNI Type casting issue (#28464)
joonhaengHeo Aug 7, 2023
b65f440
[Telink] Factory reset using power on sequence (#28519)
andriy-bilynskyy Aug 7, 2023
e4786ce
fix pics (#28561)
duyen-tran Aug 7, 2023
e83c7fc
[Android] virtual-device-app: Add On/Off Switch feature in App (#28550)
chulspro Aug 7, 2023
a778e4a
[Silabs] Add ICD configurations to the Silabs Light-Switch app (#28559)
mkardous-silabs Aug 7, 2023
c5e5c9e
[Java] Add support for Timestamp type in EventState (#28540)
yufengwangca Aug 7, 2023
f1d6693
Get configure working again and fix the minimal build (#28547)
ksperling-apple Aug 8, 2023
71562a4
Explicitly call the EndianPutSigned for signed integers. (#28374)
hicklin Aug 8, 2023
1bf9f88
Bump third_party/mbedtls/repo from `e15b8d2` to `f97832a` (#28555)
dependabot[bot] Aug 8, 2023
890d858
Bump third_party/ot-br-posix/repo from `8a6c5a0` to `b0bbad3` (#28554)
dependabot[bot] Aug 8, 2023
dac8d32
Bump third_party/imgui/repo from `19ae142` to `226923f` (#28553)
dependabot[bot] Aug 8, 2023
f939773
[ESP32] Fix the docs when upgrading to esp-idf v5.1 (#28570)
shubhamdp Aug 8, 2023
c275f21
Improve size calculation for our packets. (#28563)
bzbarsky-apple Aug 8, 2023
4675ae2
[kvs] replace checkexist with deletekey (#28513)
pankore Aug 8, 2023
6e77751
[Android] Support FabricFilter to ChipClusters API (#28208)
yhoyoon Aug 8, 2023
741d93a
Mode base reporting change in supported modes (#28575)
hicklin Aug 8, 2023
d9b950a
TC-PS-3.1: Add cluster revision check (#28482)
cecille Aug 8, 2023
4f87615
python testing: Support QR / manual codes for commissioning (#28479)
cecille Aug 8, 2023
5766085
EFR32: PSA configuration for compatibility with GSDK 4.3.0 attestatio…
rcasallas-silabs Aug 8, 2023
1982e6b
ESP32: Add ICD support for Thread devices (#28359)
wqx6 Aug 8, 2023
f2aab7a
Fix cancellation of subscriptions to work correctly. (#28569)
bzbarsky-apple Aug 8, 2023
3eb919e
[Android] Decouple generated API - 2 (#28010)
joonhaengHeo Aug 8, 2023
78ff362
Add support for controllers not advertising their operational identit…
bzbarsky-apple Aug 8, 2023
6f38017
Add a way ask a DeviceCommissioner for its DeviceAttestationVerifier.…
bzbarsky-apple Aug 8, 2023
9827b99
Modified script Jul 28 (#28361)
manjunath-grl Aug 9, 2023
ecfe14f
Add an attestation challenge to MTROperationalCredentialsClusterAttes…
bzbarsky-apple Aug 9, 2023
fc04475
Reduce the amount of code generated for MTRClusters. (#28594)
bzbarsky-apple Aug 9, 2023
fffd0c7
Add airquality example (#28447)
tcave-bb Aug 9, 2023
ec150e6
[K32W0] SDK 2.6.12 changes (#28489)
marius-alex-tache Aug 9, 2023
b73eea6
[Docker][K32W1] Add support for K32W1 SDK (#28601)
marius-alex-tache Aug 9, 2023
0ea5ab3
Fix a typo for a non-matched parameter in EventState (#28597)
yufengwangca Aug 9, 2023
1d3c7ad
Adding invalid in state to status code file (#28530)
abeck-whirlpool Aug 9, 2023
9ebc9f7
Fix k32w image instructions (#28607)
andy31415 Aug 9, 2023
0c90669
Separate out python dependencies for running scripts (#28582)
andy31415 Aug 9, 2023
732b12e
Reorder mode base and op state (#28573)
hicklin Aug 9, 2023
bf8c55a
[BouffaloLab][BLE]Add BLE ManagerImpl ShutDown Function (#28600)
shchen-Lab Aug 9, 2023
aab28b9
[Telink] Fix restart BLE adv after commissioning fail (#28606)
serhiiSalamakha Aug 9, 2023
2caf5e7
Fix bootstrap on M1/M2 mac. (#28609)
bzbarsky-apple Aug 9, 2023
b8b5b18
Looking to remove dependencies from `requirements.all.txt` (#28613)
andy31415 Aug 9, 2023
c950c1d
Fix TI_SYSCONFIG_ROOT in vscode dockerfile (#28612)
andy31415 Aug 9, 2023
732dbf6
Add support for SmokeCO TC's in chip-all-clusters-app (#28548)
ericzijian1994 Aug 10, 2023
2eb070e
[ESP32] Add matter IP events for Ethernet (#28520)
PSONALl Aug 10, 2023
9408019
Check if Mode Base is already in the requested mode before calling th…
hicklin Aug 10, 2023
faac89a
Fix KeySetRemove to fail on key set index 0 (#28524)
tcarmelveilleux Aug 10, 2023
f540d99
Add missed code review comments (#28626)
andy31415 Aug 10, 2023
14fe3a5
Remove .kvs file that I accidentally merged (#28624)
mhazley Aug 10, 2023
cb239f8
Update Silabs docker to pull latest gsdk (v4.3.1) (#28633)
jmartinez-silabs Aug 10, 2023
3d6d959
[Linux] C++ version of autoptr for glib objects (#28304)
arkq Aug 10, 2023
21f4083
Fix various issues in TC-DRLK-2.1 (#28509)
jrhees-cae Aug 10, 2023
bf66202
[ReadHandler] Removed Scheduling of report from OnReadHandlerCreated …
lpbeliveau-silabs Aug 10, 2023
cac551f
Fix issue labeler to detect darwin/linux better: (#28631)
bzbarsky-apple Aug 10, 2023
a66c77c
TC-DRLK-2.2/2.3/2.12: Modify flow to allow for RequirePINforRemoteOpe…
jrhees-cae Aug 10, 2023
6fc39c1
fix wifi ncp icd build. (#28632)
jmartinez-silabs Aug 10, 2023
b3e7f45
Make AddStatus generally VerifyOrDie and have centralized logging (#2…
andy31415 Aug 10, 2023
870ab5a
Make it final for fields are only assgined during initialization (#28…
yufengwangca Aug 11, 2023
c6ded28
[ESP32] Fix the parentheses and ifdefs during ble deinit (#28628)
shubhamdp Aug 11, 2023
3e408cf
Add Feature bitmap to Descriptor XML. (#28636)
bzbarsky-apple Aug 11, 2023
9771ad0
Revert "Make AddStatus generally VerifyOrDie and have centralized log…
bzbarsky-apple Aug 11, 2023
8d5e1cd
Align Data Model and Interaction Model revisions with spec. (#28645)
bzbarsky-apple Aug 11, 2023
d3c7e1f
Adding laundry washer controls to all clusters (#28616)
abeck-whirlpool Aug 11, 2023
a7ad119
Revert "Adding laundry washer controls to all clusters" (#28670)
woody-apple Aug 11, 2023
0d28ecb
Fix 917 soc builds (#28666)
jmartinez-silabs Aug 12, 2023
93dbac9
enable wconversion for matter controller java/jni (#28667)
yunhanw-google Aug 12, 2023
74edbdc
[Silabs]Always print in logs the QR code unconditionnally of the LCD …
jmartinez-silabs Aug 12, 2023
c8a682b
Add missing locks around nodeIDToDeviceMap access. (#28675)
bzbarsky-apple Aug 12, 2023
ff16f77
[ESP32]: Add way to configure BLE scan response. (#28571)
jadhavrohit924 Aug 14, 2023
a70956f
[Silabs] Update lock app to send correct lock operation event (#28660)
mykrupp Aug 14, 2023
97f5279
updating to allow merge
abpoth Aug 15, 2023
4b10ee1
adding back in the pigweed repo
abpoth Aug 15, 2023
789faff
updates to complete merge of master
abpoth Aug 15, 2023
b3775ff
updating to match submodules
abpoth Aug 15, 2023
e13ece9
Merge branch 'master' into test-branch
abpoth Aug 15, 2023
2e7f1ea
Updating to match upstream
abpoth Aug 15, 2023
af92128
Updated DISHM_3_1.py to address test-plan discrepencies
abpoth Aug 15, 2023
d7542b1
Update src/python_testing/TC_DISHM_3_1.py
abpoth Aug 15, 2023
710a6a6
Update src/python_testing/TC_DISHM_2_1.py
abpoth Aug 15, 2023
edd5370
Update src/python_testing/TC_DISHM_2_1.py
abpoth Aug 15, 2023
9a7402e
Update src/python_testing/TC_DISHM_2_1.py
abpoth Aug 15, 2023
a98d8e9
addressed all current comments and regenerated code
abpoth Aug 15, 2023
01f2912
Merge branch 'master' into test-branch
abpoth Aug 15, 2023
e043c69
Merge branch 'master' into test-branch
abpoth Aug 16, 2023
c9f7b6d
update to python test scripts to pass all tests
abpoth Aug 18, 2023
37c4d62
Merge branch 'master' into test-branch
abpoth Aug 18, 2023
83aeeb1
Restyled by whitespace
restyled-commits Aug 18, 2023
efd154f
adjusted files per build errors
abpoth Aug 21, 2023
6f57567
Merge branch 'master' into test-branch
abpoth Aug 21, 2023
0bf63d0
adjusted files per build errors
abpoth Aug 21, 2023
78d641d
Merge branch 'master' into test-branch
abpoth Aug 21, 2023
4bd5a35
Merge branch 'master' into test-branch
abpoth Aug 22, 2023
41c1fe1
Adjustments to pass REPL tests
abpoth Aug 22, 2023
eae34e7
fixing merge conflicts
abpoth Aug 24, 2023
9923de1
fixed merge conflicts with commands.h
abpoth Aug 24, 2023
127d34d
fixing module update mistake
abpoth Aug 24, 2023
ee34b77
fixing submodules
abpoth Aug 24, 2023
391682c
fixing submodules
abpoth Aug 24, 2023
01948f6
[chip-tool] Remove codegen tests (#28783)
vivien-apple Aug 22, 2023
eeadd15
Merge branch 'master' into test-branch
abpoth Aug 25, 2023
e5638f2
trying to fix submodules
abpoth Aug 25, 2023
5c1bba8
trying to fix submodules
abpoth Aug 25, 2023
2c6eb0b
fixing submodules
abpoth Aug 25, 2023
2c6d9ea
restoring repo
abpoth Aug 25, 2023
a44c005
Merge branch 'master' into test-branch
abpoth Aug 25, 2023
58f0dbc
Revert unexpectd submodule changes
abpoth Aug 25, 2023
90fc76d
reverting due to unexpected submodule updates
abpoth Aug 25, 2023
5a3b3de
Merge branch 'project-chip:master' into test-branch
abpoth Aug 28, 2023
eddd8a1
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
32db844
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
d33a383
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
6653b46
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
fb6f87e
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
04d51ea
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
b88bb1c
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
85f4b4b
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
c7c8c97
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
c9f6f1b
reverting due to unwanted changes to third party repos
abpoth Aug 28, 2023
6826fec
Merge branch 'master' into test-branch
abpoth Aug 28, 2023
1f2d476
fixing CI errors with Linux Lint
abpoth Aug 28, 2023
c2aea76
fixing merge conflicts
abpoth Aug 28, 2023
d942223
fixing merge conflicts
abpoth Aug 28, 2023
d5445f9
Restyled by whitespace
restyled-commits Aug 28, 2023
3d7b960
Merge branch 'master' into test-branch
abpoth Aug 28, 2023
7200d63
gerge branch 'master' into test-branch
abpoth Sep 12, 2023
a8ef6ad
Merge branch 'project-chip:master' into test-branch
abpoth Sep 12, 2023
b7511c1
Resyncing submodules
abpoth Sep 12, 2023
75b4052
Reverting unexpected submodule changes
abpoth Sep 12, 2023
4ea179d
Updating test scripts per comments and updated test plan
abpoth Sep 12, 2023
a75791e
Restyled by autopep8
restyled-commits Sep 12, 2023
2242fb6
Merge branch 'master' into test-branch
abpoth Sep 12, 2023
4d325d8
update per lint code base failures
abpoth Sep 12, 2023
31d3f18
Merge branch 'master' into test-branch
abpoth Sep 12, 2023
ab37840
updating per comments
abpoth Sep 15, 2023
d8e3e58
Merge branch 'master' into test-branch
abpoth Sep 15, 2023
861581c
adding explicit check for string type and length for tag name
abpoth Sep 18, 2023
ca4dde6
Merge branch 'master' into test-branch
abpoth Sep 18, 2023
5d21eaf
Restyled by autopep8
restyled-commits Sep 18, 2023
59f7423
Merge branch 'project-chip:master' into test-branch
abpoth Sep 19, 2023
b133ad4
updated scripts per test findings with all-clusters-app
abpoth Sep 20, 2023
2adf1fe
Restyled by autopep8
restyled-commits Sep 20, 2023
374fcac
Restyled by isort
restyled-commits Sep 20, 2023
5935ac1
Merge branch 'master' into test-branch
abpoth Sep 20, 2023
11668ac
Merge branch 'project-chip:master' into test-branch
abpoth Sep 25, 2023
d5c4e18
resolving diff in ci-pics-values
abpoth Sep 25, 2023
213dd80
resolving diff in ci-pics-values
abpoth Sep 25, 2023
a78091a
Reverting due to unexpected submodule changes
abpoth Sep 25, 2023
89549b4
Update ci-pics-values to match upstream
abpoth Sep 25, 2023
d9d31ea
Adding TC_DISHM_1_2.py to CI tests
abpoth Sep 25, 2023
b9cec48
Update src/python_testing/TC_DISHM_3_2.py
abpoth Sep 25, 2023
2f5e81d
Update src/python_testing/TC_DISHM_3_3.py
abpoth Sep 25, 2023
a1f71da
Update src/python_testing/TC_DISHM_3_3.py
abpoth Sep 25, 2023
959d921
addressing commits and cleaning up
abpoth Sep 25, 2023
8b89315
addressing test plan issues
abpoth Sep 25, 2023
b0c0bc2
Merge branch 'master' into test-branch
abpoth Sep 25, 2023
eacf54a
Resolving REPL CI test failures
abpoth Sep 26, 2023
225f65f
Reverting due to unexpectd submodule changes
abpoth Sep 26, 2023
8d571fd
Merge branch 'master' into test-branch
abpoth Sep 26, 2023
a75b1d2
Restyled by autopep8
restyled-commits Sep 26, 2023
13c9d7d
Merge branch 'master' into test-branch
abpoth Sep 28, 2023
defd381
updated code regen file
abpoth Sep 28, 2023
2051e38
Merge branch 'master' into test-branch
abpoth Sep 29, 2023
ddab1ee
Merge branch 'project-chip:master' into test-branch
abpoth Oct 6, 2023
e4156c2
Merge branch 'master' into test-branch
abpoth Oct 11, 2023
6f70062
Merge branch 'master' into test-branch
abpoth Oct 11, 2023
17c3f90
updating DISHM_2_1.py and DISHM_3_2.py per review comments
abpoth Oct 11, 2023
0ba274a
Merge branch 'master' into test-branch
abpoth Oct 11, 2023
5e34c91
Merge branch 'master' into test-branch
abpoth Oct 12, 2023
537b2e7
Merge branch 'master' into test-branch
abpoth Oct 12, 2023
8e2ca10
Merge branch 'master' into test-branch
abpoth Oct 13, 2023
58f7e3e
Update src/python_testing/TC_DISHM_2_1.py
abpoth Oct 19, 2023
898d118
Update src/python_testing/TC_DISHM_2_1.py
abpoth Oct 19, 2023
7ad6576
Merged from master
rbultman Dec 29, 2023
4a1c60b
zap regen
rbultman Dec 29, 2023
a41d45e
Fix lint error
rbultman Dec 29, 2023
416f75c
Update expected cluster revision
rbultman Dec 29, 2023
c77f68a
Rev Change
rbultman Jan 4, 2024
7de593c
Fix test, address comment
rbultman Jan 4, 2024
663b4cf
Fix lint error
rbultman Jan 4, 2024
7985546
Remove commented test code
rbultman Jan 4, 2024
81c6dd4
Make script match TP
rbultman Jan 5, 2024
c6761ce
Remove unnecessary check
rbultman Jan 5, 2024
3d59c7e
Removed unused var
rbultman Jan 5, 2024
cc1a85a
Restyled by autopep8
restyled-commits Jan 5, 2024
bc7b0ed
Restyled by isort
restyled-commits Jan 5, 2024
033f34e
changes
rbultman Mar 13, 2024
b1f74ae
Restyled by autopep8
restyled-commits Mar 13, 2024
1eb8df7
Merging from master, resolving conflicts
rbultman Mar 13, 2024
c35ef14
Merging from master
rbultman Mar 18, 2024
38d21d9
Merging from master
rbultman Mar 21, 2024
bcfd6c8
Merging from master
rbultman Apr 1, 2024
bdda9a4
Apply suggestions from code review
rbultman Apr 2, 2024
8921f91
Apply suggestions from code review
rbultman Apr 2, 2024
a81855c
Remove and rework tests per comments.
rbultman May 3, 2024
64474e4
Remove copy-paste error
rbultman May 3, 2024
82160dc
Removed bad checks
rbultman May 3, 2024
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
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ jobs:
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_TIMESYNC_3_1.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json --enable-key 000102030405060708090a0b0c0d0e0f" --script "src/python_testing/TC_TestEventTrigger.py" --script-args "--storage-path admin_storage.json --bool-arg allow_sdk_dac:true --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TestBatchInvoke.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_DISHM_1_2.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
abpoth marked this conversation as resolved.
Show resolved Hide resolved
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --script "src/python_testing/TestConformanceSupport.py" --script-args "--trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TestGroupTableReports.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --script "src/python_testing/TestMatterTestingSupport.py" --script-args "--trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
Expand Down
201 changes: 123 additions & 78 deletions src/app/tests/suites/certification/Test_TC_DISHM_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,94 +13,139 @@
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default

name: 263.1.1. [TC-DISHM-1.1] Global attributes with DUT as Server
name: 194.1.1. [TC-DISHM-1.1] Global Attributes with DUT as Server

PICS:
- DISHM.S

config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
cluster: "Dishwasher Mode"
endpoint: 1

tests:
- label:
"Step 1: Commission DUT to TH (can be skipped if done in a preceding
test)."
verification: |

disabled: true

- label: "Step 2: TH reads from the DUT the ClusterRevision attribute."
verification: |
./chip-tool dishwashermode read cluster-revision 1 1

Verify the "ClusterRevision" value is of unit16 and reflects the highest revision number 2 on the TH(Chip-tool) and below is the sample log provided for the raspi platform:

CHIP:DMG : }
CHIP:TOO : Endpoint: 1 Cluster: 0x0000_0059 Attribute 0x0000_FFFD DataVersion: 2488070594
CHIP:TOO : ClusterRevision: 2
disabled: true

- label: "Step 3: TH reads from the DUT the FeatureMap attribute."
verification: |
./chip-tool dishwashermode read feature-map 1 1

On the TH(Chip-tool) Log, Verify featureMap value is 0 and below is the sample log provided for the raspi platform:

[1690365613.351850][27441:27443] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0059 Attribute 0x0000_FFFC DataVersion: 1130015440
[1690365613.351911][27441:27443] CHIP:TOO: FeatureMap: 1
disabled: true

- label: "Step 4: TH reads from the DUT the AttributeList attribute."
verification: |
./chip-tool dishwashermode read attribute-list 1 1

Verify the "AttributeList " should include the mandatory attributes (values 0, 1),
- Global attributes (value 65533, 65532, 65531, 65529 and 65528) and
- List may include optional attribute(value 0x0002), if DISHM.S.A0002(StartUpMode) supports, on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
- label: "1. Wait for the commissioned device to be retrieved"
cluster: "DelayCommands"
command: "WaitForCommissionee"
arguments:
values:
- name: "nodeId"
value: nodeId

- label: "2. TH reads the ClusterRevision from DUT"
command: "readAttribute"
attribute: "ClusterRevision"
response:
value: 2
constraints:
type: int16u

- label: "3. TH reads the FeatureMap from DUT"
PICS: " !DISHM.S.F00 "
command: "readAttribute"
attribute: "FeatureMap"
response:
value: 0
constraints:
type: bitmap32

[1696402605.599359][7921:7923] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0059 Attribute 0x0000_FFFB DataVersion: 712950283
[1696402605.599377][7921:7923] CHIP:TOO: AttributeList: 9 entries
[1696402605.599382][7921:7923] CHIP:TOO: [1]: 0
[1696402605.599385][7921:7923] CHIP:TOO: [2]: 1
[1696402605.599388][7921:7923] CHIP:TOO: [3]: 2
[1696402605.599391][7921:7923] CHIP:TOO: [4]: 3
[1696402605.599393][7921:7923] CHIP:TOO: [5]: 65528
[1696402605.599396][7921:7923] CHIP:TOO: [6]: 65529
[1696402605.599399][7921:7923] CHIP:TOO: [7]: 65531
[1696402605.599402][7921:7923] CHIP:TOO: [8]: 65532
[1696402605.599404][7921:7923] CHIP:TOO: [9]: 65533
disabled: true

- label: "Step 5: TH reads from the DUT the EventList attribute."
verification: |
./chip-tool dishwashermode read event-list 1 1

* Step 5 is currently not supported and SHALL be skipped.

[1696402636.316151][7926:7928] CHIP:DMG: }
[1696402636.316183][7926:7928] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE)
disabled: true

- label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute."
verification: |
./chip-tool dishwashermode read accepted-command-list 1 1

Verify the "AcceptedCommandList" contains a list of mandatory commands (value 0) on the TH (Chip-tool) and below is the sample log provided for the raspi platform:
- label:
"Given DISHM.S.F00(DEPONOFF) ensure featuremap has the correct bit set"
PICS: DISHM.S.F00
command: "readAttribute"
attribute: "FeatureMap"
response:
value: 1
constraints:
type: bitmap32

# Reference for "SHALL NOT contain" issue: https://github.com/project-chip/connectedhomeip/issues/28287
rbultman marked this conversation as resolved.
Show resolved Hide resolved
- label: "4. TH reads AttributeList from DUT"
PICS: PICS_EVENT_LIST_ENABLED
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533]
abpoth marked this conversation as resolved.
Show resolved Hide resolved

- label: "4. TH reads AttributeList from DUT"
PICS: "!PICS_EVENT_LIST_ENABLED"
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [0, 1, 65528, 65529, 65531, 65532, 65533]

[1690365651.143190][27451:27453] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0059 Attribute 0x0000_FFF9 DataVersion: 1130015440
[1690365651.143256][27451:27453] CHIP:TOO: AcceptedCommandList: 1 entries
[1690365651.143284][27451:27453] CHIP:TOO: [1]: 0
disabled: true
- label:
"4. TH reads optional attribute (DISHM.S.A0002(StartUpMode)) in
AttributeList"
PICS: DISHM.S.A0002
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [2]
abpoth marked this conversation as resolved.
Show resolved Hide resolved

- label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute."
verification: |
./chip-tool dishwashermode read generated-command-list 1 1
- label:
"4. TH reads optional attribute (DISHM.S.A0002(StartUpMode)) in
AttributeList"
PICS: " !DISHM.S.A0002 "
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
excludes: [2]

Verify " GeneratedCommandList" contains a list of mandatory commands (value 1) on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
- label:
"4. TH reads optional attribute (DISHM.S.F00(DEPONOFF)) in
AttributeList"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this in the test plan... Did it get changed after the last update to this PR?

PICS: DISHM.S.F00
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [3]
abpoth marked this conversation as resolved.
Show resolved Hide resolved

abpoth marked this conversation as resolved.
Show resolved Hide resolved
[1689997224.280302][360025:360027] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0059 Attribute 0x0000_FFF8 DataVersion: 1427220838
[1689997224.280330][360025:360027] CHIP:TOO: GeneratedCommandList: 1 entries
[1689997224.280346][360025:360027] CHIP:TOO: [1]: 1
disabled: true
- label:
"4. TH reads optional attribute (DISHM.S.F00(DEPONOFF)) in
AttributeList"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, don't see this in the test plan.

PICS: " !DISHM.S.F00 "
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
excludes: [3]

# Reference for "SHALL NOT contain" issue: https://github.com/project-chip/connectedhomeip/issues/28287
rbultman marked this conversation as resolved.
Show resolved Hide resolved
- label: "5. TH reads from the DUT the EventList attribute"
PICS: PICS_EVENT_LIST_ENABLED
command: "readAttribute"
attribute: "EventList"
response:
value: []
constraints:
type: list

# Reference for "SHALL NOT contain" issue: https://github.com/project-chip/connectedhomeip/issues/28287
rbultman marked this conversation as resolved.
Show resolved Hide resolved
- label: "6. TH reads AcceptedCommandList from DUT"
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
constraints:
type: list
contains: [0]
abpoth marked this conversation as resolved.
Show resolved Hide resolved

# Reference for "SHALL NOT contain" issue: https://github.com/project-chip/connectedhomeip/issues/28287
rbultman marked this conversation as resolved.
Show resolved Hide resolved
- label: "7. TH reads from the DUT the GeneratedCommandList attribute"
command: "readAttribute"
attribute: "GeneratedCommandList"
response:
constraints:
type: list
contains: [1]
abpoth marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions src/app/tests/suites/ciTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"Test_TC_DGETH_2_2"
],
"DiagnosticsLogs": ["Test_TC_DLOG_1_1"],
"DishwasherMode": ["Test_TC_DISHM_1_1"],
"EnergyEVSE": ["Test_TC_EEVSE_1_1", "Test_TC_EEVSE_2_1"],
"EnergyEVSEMode": [
"Test_TC_EEVSEM_1_1",
Expand Down Expand Up @@ -406,6 +407,7 @@
"DeviceEnergyManagementMode",
"Descriptor",
"DiagnosticsLogs",
"DishwasherMode",
"EthernetNetworkDiagnostics",
"EnergyEVSE",
"EnergyEVSEMode",
Expand Down
9 changes: 0 additions & 9 deletions src/app/tests/suites/manualTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,6 @@
"Test_TC_DISHALM_3_5",
"Test_TC_DISHALM_3_6"
],
"DishwasherMode": [
"Test_TC_DISHM_1_1",
"Test_TC_DISHM_1_2",
"Test_TC_DISHM_2_1",
"Test_TC_DISHM_3_1",
"Test_TC_DISHM_3_2",
"Test_TC_DISHM_3_3"
],
"DeviceManagement": [
"Test_TC_BINFO_3_1",
"Test_TC_OPCREDS_3_1",
Expand Down Expand Up @@ -321,7 +313,6 @@
"DeviceManagement",
"DiagnosticsLogs",
"DishwasherAlarm",
"DishwasherMode",
"Descriptor",
"DeviceEnergyManagementMode",
"FanControl",
Expand Down
121 changes: 121 additions & 0 deletions src/python_testing/TC_DISHM_1_2.py
abpoth marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
#
# Copyright (c) 2023 Project CHIP Authors
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

import logging

import chip.clusters as Clusters
from chip.clusters.Types import NullValue
from matter_testing_support import MatterBaseTest, async_test_body, default_matter_test_main
from mobly import asserts


class TC_DISHM_1_2(MatterBaseTest):

async def read_mode_attribute_expect_success(self, endpoint, attribute):
cluster = Clusters.Objects.DishwasherMode
return await self.read_single_attribute_check_success(endpoint=endpoint, cluster=cluster, attribute=attribute)

@async_test_body
async def test_TC_DISHM_1_2(self):

self.endpoint = self.user_params.get("endpoint", 1)
abpoth marked this conversation as resolved.
Show resolved Hide resolved
logging.info("This test expects to find this cluster on endpoint 1")

attributes = Clusters.DishwasherMode.Attributes

self.print_step(1, "Commissioning, already done")

if self.check_pics("DISHM.S.A0000"):
self.print_step(2, "Read SupportedModes attribute")
supported_modes = await self.read_mode_attribute_expect_success(endpoint=self.endpoint, attribute=attributes.SupportedModes)

logging.info("SupportedModes: %s" % (supported_modes))

asserts.assert_greater_equal(len(supported_modes), 2, "SupportedModes must have at least two entries!")
asserts.assert_less_equal(len(supported_modes), 255, "SupportedModes must have at most 255 entries!")

supported_modes_dut = []
abpoth marked this conversation as resolved.
Show resolved Hide resolved
for m in supported_modes:
if m.mode in supported_modes_dut:
asserts.fail("SupportedModes must have unique mode values!")
else:
supported_modes_dut.append(m.mode)

labels = []
abpoth marked this conversation as resolved.
Show resolved Hide resolved
for m in supported_modes:
if m.label in labels:
asserts.fail("SupportedModes must have unique mode label values!")
else:
labels.append(m.label)

# common mode tags
commonTags = {0x0: 'Auto',
0x1: 'Quick',
0x2: 'Quiet',
0x3: 'LowNoise',
0x4: 'LowEnergy',
0x5: 'Vacation',
0x6: 'Min',
0x7: 'Max',
0x8: 'Night',
0x9: 'Day'}

# kUnknownEnumValue may not be defined
try:
modeTags = [tag.value for tag in Clusters.DishwasherMode.Enums.ModeTag
if tag is not Clusters.DishwasherMode.Enums.ModeTag.kUnknownEnumValue]
except AttributeError:
modeTags = Clusters.DishwasherMode.Enums.ModeTag

for m in supported_modes:
for t in m.modeTags:
is_mfg = (0x8000 <= t.value and t.value <= 0xBFFF)
abpoth marked this conversation as resolved.
Show resolved Hide resolved
asserts.assert_true(t.value <= 0xFFFF, "Tag value is > 16 bits")
asserts.assert_true(t.value in commonTags.keys() or t.value in modeTags or is_mfg,
"Found a SupportedModes entry with invalid mode tag value!")

asserts.assert_true(type(m.label) is str and len(m.label) in range(1, 65),
"TagName is not the appropriate length or type")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test plan only checks this in the is_mfg case, no?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The string is mandatory but the value is MS. The spec states that the text "SHALL indicate readable text", which implies at least 1 character. I think the check is correct.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that the spec requires a label. I just don't see the test plan saying to check for a length >= 1. Am I missing it? Sounds like a test plan issue that needs raising?

What the test plan does say is:

if the Value field is in the MfgTags (0x8000 to 0xBFFF) range, the TagName field is a string with a length between 1 and 64

which I admit I confused with the label test.... but that's talking about a different field, which doesn't even exist?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR was raised to remove this check from the test case: https://github.com/CHIP-Specifications/chip-test-plans/pull/4145

if t.value == Clusters.DishwasherMode.Enums.ModeTag.kNormal:
normal_present = True
asserts.assert_true(normal_present, "The Supported Modes does not have an entry of Normal(0x4000)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this will throw an exception if normal_present never got set, instead of failing the assert, right? Seems like normal_present should be set false before the loop.


if self.check_pics("DISHM.S.A0001"):
self.print_step(3, "Read CurrentMode attribute")
current_mode = await self.read_mode_attribute_expect_success(endpoint=self.endpoint, attribute=attributes.CurrentMode)

logging.info("CurrentMode: %s" % (current_mode))
asserts.assert_true(current_mode in supported_modes_dut, "CurrentMode is not a supported mode!")

if self.check_pics("DISHM.S.A0003"):
self.print_step(4, "Read OnMode attribute")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this part in the test plan...

on_mode = await self.read_mode_attribute_expect_success(endpoint=self.endpoint, attribute=attributes.OnMode)

logging.info("OnMode: %s" % (on_mode))
asserts.assert_true(on_mode in supported_modes_dut or on_mode == NullValue, "OnMode is not a supported mode!")

if self.check_pics("DISHM.S.A0002"):
self.print_step(5, "Read StartUpMode attribute")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this part in the test plan either.

startup_mode = await self.read_mode_attribute_expect_success(endpoint=self.endpoint, attribute=attributes.StartUpMode)

logging.info("StartUpMode: %s" % (startup_mode))
asserts.assert_true(startup_mode in supported_modes_dut or startup_mode ==
NullValue, "StartUpMode is not a supported mode!")


if __name__ == "__main__":
default_matter_test_main()
Loading
Loading