Skip to content

fix and restore test script for TC-RVCOPSTATE-2.5 #40002

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

Merged
merged 8 commits into from
Jul 15, 2025

Conversation

kiel-apple
Copy link
Contributor

@kiel-apple kiel-apple commented Jul 14, 2025

Summary

This PR was reverted because CI was failing on the added test. The added test needed app pipe arguments to work correctly after I modified it to send commands to the example app.

Related issues

PR #39931 is the original change with testing notes and code conversations.

Testing

  • Checking CI, as the changes will only apply there.
  • Local testing with example app:
    • example app in one terminal
      • scripts/examples/gn_build_example.sh examples/rvc-app/linux examples/rvc-app/linux/out/rvc-app
      • ./examples/rvc-app/linux/out/rvc-app/chip-rvc-app --app-pipe /tmp/rvc_fifo
    • test script in another terminal
      • source scripts/activate.sh && scripts/build_python.sh -m platform -d true -i python_env
      • python3 src/python_testing/TC_RVCOPSTATE_2_5.py --commissioning-method on-network --passcode 20202021 --discriminator 3840 --storage-path ~/.chip_admin_storage.json --bypass-attestation-verifier --endpoint 1 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --int-arg runmode_cleanmode:1 --app-pipe /tmp/rvc_fifo

Readability checklist

The checklist below will help the reviewer finish PR review in time and keep the
code readable:

  • PR title is
    descriptive
  • Apply the
    “When in Rome…”
    rule (coding style)
  • PR size is short
  • Try to avoid "squashing" and "force-update" in commit history
  • CI time didn't increase

See: Pull Request Guidelines

KishokG and others added 2 commits July 14, 2025 09:08
…hip#39931)

* Adding TC_RVCOPSTATE_2_5 automated script

* Update TC_RVCOPSTATE_2_5.py

* Update TC_RVCOPSTATE_2_5.py

* Update TC_RVCOPSTATE_2_5.py

* Fixing copilot review comments

* Restyled by autopep8

* Restyled by isort

* Fixing review comments

* Restyled by autopep8

* Restyled by isort

* Removing unused import

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

* update script to match updated test plan: remove forced command to Docked and associated check - state coulde be Charging, for instance

* add check for SeekingCharger operational state in step 8 to match test plan

* Restyled by autopep8

* fix indent

* Restyled by autopep8

* force example app to docked state in CI

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>

* reset RVC example app when run in CI

* Restyled by autopep8

* use required clean mode number as `cleaning_mode`

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Kiel Oleson <kielo@apple.com>
Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request restores and fixes a Python test script for TC-RVCOPSTATE-2.5. The main change is the addition of the test file TC_RVCOPSTATE_2_5.py and enabling it for CI by providing the necessary application arguments.

My review of the new test script has identified a few issues that should be addressed:

  • A critical issue where a variable is used before it's guaranteed to be defined, which would cause the test to fail in CI.
  • A high severity correctness issue in a helper function where an incorrect enum utility function is used, which works only by coincidence.
  • A medium severity issue with a misleading assertion message that could hinder debugging.

I have provided specific code suggestions to resolve these issues. Overall, the changes are in the right direction to get this test working correctly.

Copy link

PR #40002: Size comparison from e560a10 to 02778f8

Full report (2 builds for cc32xx)
platform target config section e560a10 02778f8 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548818 548818 0 0.0
RAM 205104 205104 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581794 581794 0 0.0
RAM 205304 205304 0 0.0

kiel-apple and others added 3 commits July 14, 2025 09:33
Copy link

PR #40002: Size comparison from e560a10 to d83de15

Full report (3 builds for cc32xx, stm32)
platform target config section e560a10 d83de15 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548818 548818 0 0.0
RAM 205104 205104 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581794 581794 0 0.0
RAM 205304 205304 0 0.0
stm32 light STM32WB5MM-DK FLASH 465236 465236 0 0.0
RAM 141336 141336 0 0.0

@kiel-apple kiel-apple requested a review from Copilot July 14, 2025 17:17
Copilot

This comment was marked as outdated.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link

github-actions bot commented Jul 14, 2025

PR #40002: Size comparison from e560a10 to b13fba0

Full report (59 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section e560a10 b13fba0 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102628 1102628 0 0.0
RAM 178970 178970 0 0.0
bl702 lighting-app bl702+eth FLASH 656030 656030 0 0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 833218 833218 0 0.0
RAM 124469 124469 0 0.0
bl706+mfd+rpc+littlefs FLASH 1065336 1065336 0 0.0
RAM 117341 117341 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894882 894882 0 0.0
RAM 105628 105628 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978600 978600 0 0.0
RAM 109820 109820 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 765048 765048 0 0.0
RAM 103336 103336 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 776420 776420 0 0.0
RAM 108504 108504 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 722752 722752 0 0.0
RAM 96908 96908 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 707044 707044 0 0.0
RAM 97116 97116 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548818 548818 0 0.0
RAM 205104 205104 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581794 581794 0 0.0
RAM 205304 205304 0 0.0
efr32 lock-app BRD4187C FLASH 956600 956600 0 0.0
RAM 126532 126532 0 0.0
BRD4338a FLASH 751132 751132 0 0.0
RAM 251880 251880 0 0.0
window-app BRD4187C FLASH 1049512 1049512 0 0.0
RAM 122728 122728 0 0.0
esp32 all-clusters-app c3devkit DRAM 102232 102232 0 0.0
FLASH 1780566 1780566 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121116 121116 0 0.0
FLASH 1747870 1747870 0 0.0
IRAM 117071 117071 0 0.0
linux air-purifier-app debug unknown 4856 4856 0 0.0
FLASH 2793704 2793704 0 0.0
RAM 117192 117192 0 0.0
all-clusters-app debug unknown 5672 5672 0 0.0
FLASH 6195744 6195744 0 0.0
RAM 532016 532016 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5470648 5470648 0 0.0
RAM 227848 227848 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4804860 4804860 0 0.0
RAM 207552 207552 0 0.0
camera-app debug unknown 8976 8976 0 0.0
FLASH 6945307 6945307 0 0.0
RAM 230592 230592 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 14388171 14388171 0 0.0
RAM 662456 662456 0 0.0
chip-tool debug unknown 6272 6272 0 0.0
FLASH 14760385 14760385 0 0.0
RAM 656096 656096 0 0.0
chip-tool-ipv6only arm64 unknown 40736 40736 0 0.0
FLASH 12730631 12730631 0 0.0
RAM 702360 702360 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4787716 4787716 0 0.0
RAM 200424 200424 0 0.0
fabric-admin debug unknown 5952 5952 0 0.0
FLASH 12803205 12803205 0 0.0
RAM 655128 655128 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4590190 4590190 0 0.0
RAM 193264 193264 0 0.0
fabric-sync debug unknown 5064 5064 0 0.0
FLASH 5738957 5738957 0 0.0
RAM 492528 492528 0 0.0
lighting-app debug+rpc+ui unknown 6280 6280 0 0.0
FLASH 5691649 5691649 0 0.0
RAM 209816 209816 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4833572 4833572 0 0.0
RAM 197032 197032 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4444046 4444046 0 0.0
RAM 185952 185952 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4516210 4516210 0 0.0
RAM 188824 188824 0 0.0
shell debug unknown 4288 4288 0 0.0
FLASH 3073436 3073436 0 0.0
RAM 147184 147184 0 0.0
thermostat-no-ble arm64 unknown 9832 9832 0 0.0
FLASH 4233599 4233599 0 0.0
RAM 233192 233192 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 6103805 6103805 0 0.0
RAM 616808 616808 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 12906653 12906653 0 0.0
RAM 772592 772592 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 888064 888064 0 0.0
RAM 166122 166122 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 897204 897204 0 0.0
RAM 145060 145060 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 858388 858388 0 0.0
RAM 141014 141014 0 0.0
nxp contact mcxw71+release FLASH 624744 624744 0 0.0
RAM 63132 63132 0 0.0
lock mcxw71+release FLASH 775952 775952 0 0.0
RAM 67788 67788 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1632452 1632452 0 0.0
RAM 211064 211064 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1576644 1576644 0 0.0
RAM 208432 208432 0 0.0
light cy8ckit_062s2_43012 FLASH 1449436 1449436 0 0.0
RAM 197152 197152 0 0.0
lock cy8ckit_062s2_43012 FLASH 1481692 1481692 0 0.0
RAM 224872 224872 0 0.0
qpg lighting-app qpg6200+debug FLASH 744184 744184 0 0.0
RAM 94252 94252 0 0.0
lock-app qpg6200+debug FLASH 753804 753804 0 0.0
RAM 94280 94280 0 0.0
stm32 light STM32WB5MM-DK FLASH 465236 465236 0 0.0
RAM 141336 141336 0 0.0
telink bridge-app tl7218x FLASH 702278 702278 0 0.0
RAM 93564 93564 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 794006 794006 0 0.0
RAM 43980 43980 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 782412 782412 0 0.0
RAM 100876 100876 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 709528 709528 0 0.0
RAM 54204 54204 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 746122 746122 0 0.0
RAM 77368 77368 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 722848 722848 0 0.0
RAM 36960 36960 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602948 602948 0 0.0
RAM 112496 112496 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 817966 817970 4 0.0
RAM 99128 99128 0 0.0
tizen all-clusters-app arm unknown 5096 5096 0 0.0
FLASH 1695632 1695632 0 0.0
RAM 91404 91404 0 0.0
chip-tool-ubsan arm unknown 20800 20800 0 0.0
FLASH 21098370 21098370 0 0.0
RAM 9178412 9178412 0 0.0

Copy link

github-actions bot commented Jul 14, 2025

PR #40002: Size comparison from e560a10 to 784e0e3

Full report (59 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section e560a10 784e0e3 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102628 1102624 -4 -0.0
RAM 178970 178970 0 0.0
bl702 lighting-app bl702+eth FLASH 656030 656022 -8 -0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 833218 833210 -8 -0.0
RAM 124469 124469 0 0.0
bl706+mfd+rpc+littlefs FLASH 1065336 1065328 -8 -0.0
RAM 117341 117341 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894882 894874 -8 -0.0
RAM 105628 105628 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978600 978592 -8 -0.0
RAM 109820 109820 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 765048 765024 -24 -0.0
RAM 103336 103336 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 776420 776396 -24 -0.0
RAM 108504 108504 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 722752 722752 0 0.0
RAM 96908 96908 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 707044 707044 0 0.0
RAM 97116 97116 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548818 548818 0 0.0
RAM 205104 205104 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581794 581770 -24 -0.0
RAM 205304 205304 0 0.0
efr32 lock-app BRD4187C FLASH 956600 956560 -40 -0.0
RAM 126532 126532 0 0.0
BRD4338a FLASH 751132 751004 -128 -0.0
RAM 251880 251880 0 0.0
window-app BRD4187C FLASH 1049512 1049368 -144 -0.0
RAM 122728 122728 0 0.0
esp32 all-clusters-app c3devkit DRAM 102232 102232 0 0.0
FLASH 1780566 1780530 -36 -0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121116 121116 0 0.0
FLASH 1747870 1747826 -44 -0.0
IRAM 117071 117071 0 0.0
linux air-purifier-app debug unknown 4856 4856 0 0.0
FLASH 2793704 2793704 0 0.0
RAM 117192 117192 0 0.0
all-clusters-app debug unknown 5672 5672 0 0.0
FLASH 6195744 6195358 -386 -0.0
RAM 532016 531936 -80 -0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5470648 5470262 -386 -0.0
RAM 227848 227768 -80 -0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4804860 4804474 -386 -0.0
RAM 207552 207456 -96 -0.0
camera-app debug unknown 8976 8976 0 0.0
FLASH 6945307 6944923 -384 -0.0
RAM 230592 230496 -96 -0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 14388171 14388219 48 0.0
RAM 662456 662456 0 0.0
chip-tool debug unknown 6272 6272 0 0.0
FLASH 14760385 14760385 0 0.0
RAM 656096 656096 0 0.0
chip-tool-ipv6only arm64 unknown 40736 40736 0 0.0
FLASH 12730631 12730631 0 0.0
RAM 702360 702360 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4787716 4787330 -386 -0.0
RAM 200424 200344 -80 -0.0
fabric-admin debug unknown 5952 5952 0 0.0
FLASH 12803205 12803205 0 0.0
RAM 655128 655128 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4590190 4589804 -386 -0.0
RAM 193264 193200 -64 -0.0
fabric-sync debug unknown 5064 5064 0 0.0
FLASH 5738957 5738573 -384 -0.0
RAM 492528 492448 -80 -0.0
lighting-app debug+rpc+ui unknown 6280 6280 0 0.0
FLASH 5691649 5691265 -384 -0.0
RAM 209816 209720 -96 -0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4833572 4833186 -386 -0.0
RAM 197032 196936 -96 -0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4444046 4444046 0 0.0
RAM 185952 185952 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4516210 4516210 0 0.0
RAM 188824 188824 0 0.0
shell debug unknown 4288 4288 0 0.0
FLASH 3073436 3073052 -384 -0.0
RAM 147184 147088 -96 -0.1
thermostat-no-ble arm64 unknown 9832 9824 -8 -0.1
FLASH 4233599 4233279 -320 -0.0
RAM 233192 233104 -88 -0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 6103805 6103405 -400 -0.0
RAM 616808 616728 -80 -0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 12906653 12906109 -544 -0.0
RAM 772592 772464 -128 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 888064 888040 -24 -0.0
RAM 166122 166122 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 897204 897160 -44 -0.0
RAM 145060 145060 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 858388 858364 -24 -0.0
RAM 141014 141014 0 0.0
nxp contact mcxw71+release FLASH 624744 624712 -32 -0.0
RAM 63132 63132 0 0.0
lock mcxw71+release FLASH 775952 775920 -32 -0.0
RAM 67788 67788 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1632452 1632332 -120 -0.0
RAM 211064 211064 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1576644 1576524 -120 -0.0
RAM 208432 208432 0 0.0
light cy8ckit_062s2_43012 FLASH 1449436 1449316 -120 -0.0
RAM 197152 197152 0 0.0
lock cy8ckit_062s2_43012 FLASH 1481692 1481572 -120 -0.0
RAM 224872 224872 0 0.0
qpg lighting-app qpg6200+debug FLASH 744184 744144 -40 -0.0
RAM 94252 94252 0 0.0
lock-app qpg6200+debug FLASH 753804 753764 -40 -0.0
RAM 94280 94280 0 0.0
stm32 light STM32WB5MM-DK FLASH 465236 465212 -24 -0.0
RAM 141336 141336 0 0.0
telink bridge-app tl7218x FLASH 702278 702250 -28 -0.0
RAM 93564 93564 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 794006 793978 -28 -0.0
RAM 43980 43980 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 782412 782384 -28 -0.0
RAM 100876 100876 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 709528 709500 -28 -0.0
RAM 54204 54204 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 746122 746094 -28 -0.0
RAM 77368 77368 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 722848 722820 -28 -0.0
RAM 36960 36960 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602948 602920 -28 -0.0
RAM 112496 112496 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 817966 817942 -24 -0.0
RAM 99128 99128 0 0.0
tizen all-clusters-app arm unknown 5096 5092 -4 -0.1
FLASH 1695632 1695376 -256 -0.0
RAM 91404 91360 -44 -0.0
chip-tool-ubsan arm unknown 20800 20800 0 0.0
FLASH 21098370 21098370 0 0.0
RAM 9178412 9178412 0 0.0

@kiel-apple kiel-apple requested a review from Copilot July 14, 2025 23:09
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR restores a Python automation test script for TC-RVCOPSTATE-2.5 that was previously reverted due to CI failures. The main purpose is to add proper CI configuration with app-pipe arguments to enable the test to communicate with the example RVC (Robotic Vacuum Cleaner) application.

  • Adds complete test implementation for RVC Operational State cluster testing
  • Includes CI test arguments configuration with app-pipe support for automated testing
  • Implements test steps for mode transitions, GoHome command, and docking verification

Copy link
Contributor

@andy31415 andy31415 left a comment

Choose a reason for hiding this comment

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

Approving as a previously merged code that is now CI-fixed

@mergify mergify bot merged commit c999e6a into project-chip:master Jul 15, 2025
71 checks passed
InvalidInMode = 0x3


def error_enum_to_text(error_enum):
Copy link
Contributor

Choose a reason for hiding this comment

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

does an enum class not have a readable % to be used instead? Having this seems harder to maintain.

Or maybe override the str method if we really need to...

image

operational_state = await self.read_operational_state(endpoint=self.endpoint)
asserts.assert_true(operational_state == expected_operational_state,
# TODO: nice conversion of states to strings
f"Expected OperationalState of {expected_operational_state}, got {operational_state}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we use !r and get some goot result?

Copy link
Contributor

Choose a reason for hiding this comment

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

bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Jul 15, 2025
project-chip#39672 renamed
ClusterAttributeChangeAccumulator to AttributeSubscriptionHandler after
project-chip#40002 ran CI but before it
merged, so now we have non-working tests.
cecille pushed a commit that referenced this pull request Jul 16, 2025
#39672 renamed
ClusterAttributeChangeAccumulator to AttributeSubscriptionHandler after
#40002 ran CI but before it
merged, so now we have non-working tests.
LyudmilaKostanyan pushed a commit to LyudmilaKostanyan/connectedhomeip that referenced this pull request Jul 16, 2025
* Adding python automation test script for TC-RVCOPSTATE-2.5 (project-chip#39931)

* Adding TC_RVCOPSTATE_2_5 automated script

* Update TC_RVCOPSTATE_2_5.py

* Update TC_RVCOPSTATE_2_5.py

* Update TC_RVCOPSTATE_2_5.py

* Fixing copilot review comments

* Restyled by autopep8

* Restyled by isort

* Fixing review comments

* Restyled by autopep8

* Restyled by isort

* Removing unused import

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

* update script to match updated test plan: remove forced command to Docked and associated check - state coulde be Charging, for instance

* add check for SeekingCharger operational state in step 8 to match test plan

* Restyled by autopep8

* fix indent

* Restyled by autopep8

* force example app to docked state in CI

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>

* reset RVC example app when run in CI

* Restyled by autopep8

* use required clean mode number as `cleaning_mode`

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Kiel Oleson <kielo@apple.com>
Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>

* add app pipe arguments for CI

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix description of step 9 when waiting for user input

* use RVC app instead of all-clusters for CI testing

* Update src/python_testing/TC_RVCOPSTATE_2_5.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* add command to idle mode so GoHome succeeds

* Restyled by autopep8

---------

Co-authored-by: Kishok G <133193761+KishokG@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
LyudmilaKostanyan pushed a commit to LyudmilaKostanyan/connectedhomeip that referenced this pull request Jul 16, 2025
project-chip#39672 renamed
ClusterAttributeChangeAccumulator to AttributeSubscriptionHandler after
project-chip#40002 ran CI but before it
merged, so now we have non-working tests.
miduggan24 pushed a commit to miduggan24/connectedhomeip that referenced this pull request Jul 17, 2025
project-chip#39672 renamed
ClusterAttributeChangeAccumulator to AttributeSubscriptionHandler after
project-chip#40002 ran CI but before it
merged, so now we have non-working tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants