-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Fix] Possible fix for matter-test-scripts issue #227: Remove PICS from OPSTATE tests #34290
[Fix] Possible fix for matter-test-scripts issue #227: Remove PICS from OPSTATE tests #34290
Conversation
j-ororke
commented
Jul 10, 2024
- Removed PICS checks in TC_OpstateCommon.py module and replaced with attribute and command checks from connected endpoint during tests.
- Removed PICS checks and replaced with attribute and command checks from endpoint during tests.
PR #34290: Size comparison from 3c96d5b to d10612e Full report (11 builds for cc32xx, mbed, nrfconnect, qpg, stm32, tizen)
|
- Removed some variables that were no longer needed
PR #34290: Size comparison from 3c96d5b to 832661a Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
- Removed automatable PICS checks and replaced with attributes available to be gathered from endpoint.
PR #34290: Size comparison from 3c96d5b to 53f6afb Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
- Adding back in missing time import and test runner comments into test module
- Replaced input() with wait_for_user_input() in test script - Added back in short sleep to script, not sure why it got removed.
PR #34290: Size comparison from 3c96d5b to e30aefa Full report (3 builds for cc32xx, stm32)
|
PR #34290: Size comparison from 3c96d5b to 084a115 Increases above 0.2%:
Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
- Had to remove "test_step" variable that was attempting to be called in wait_for_user_input() as it was not being defined earlier in the test module.
PR #34290: Size comparison from 3c96d5b to 3c2ba60 Full report (11 builds for cc32xx, mbed, nrfconnect, qpg, stm32, tizen)
|
- Minor change to remove unneeded f-string from wait_for_user_input().
PR #34290: Size comparison from 3c96d5b to ec31380 Increases above 0.2%:
Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #34290: Size comparison from 4c69001 to b9df025 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #34290: Size comparison from 38ad07d to a435556 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py
Outdated
Show resolved
Hide resolved
…matter_testing.py Adding coding change from Cecille! Co-authored-by: C Freeman <[email protected]>
PR #34290: Size comparison from 38ad07d to d18eaa6 Full report (19 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
|
- Updated to using attribute_guard function in place of attributes_guard.
PR #34290: Size comparison from 38ad07d to 06c7306 Full report (14 builds for cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
|
PR #34290: Size comparison from 38ad07d to c5906ab Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
c5906ab
to
06c7306
Compare
PR #34290: Size comparison from ca772d7 to 06c7306 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #34290: Size comparison from 84fb78f to b5a9905 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
- Updated matter_testing support module to include new command_guard() and feature_guard() - Created standalone test to show that guard functionality works for CASE, PASE, and no factory reset commissioning - Added TC_TestAttrAvail to slow tests as it takes ~30 seconds to run the tests
PR #34290: Size comparison from 84fb78f to e57caad Full report (5 builds for cc32xx, stm32, tizen)
|
- Updated to using new command_guard() for OPSTATE tests
PR #34290: Size comparison from 84fb78f to c21d11b Full report (3 builds for cc32xx, stm32)
|
- Resolving linting errors
PR #34290: Size comparison from 84fb78f to b1a3e06 Full report (14 builds for cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
|
PR #34290: Size comparison from 5d42d92 to 7e22b21 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py
Outdated
Show resolved
Hide resolved
…matter_testing.py Adding commi from Cecille to the code here to help better clarify and explain reasoning for this coding change. Co-authored-by: C Freeman <[email protected]>
PR #34290: Size comparison from 5d42d92 to 360e51c Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|