project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.45k stars 1.99k forks source link

[CERT-TEST-FAILURE] [TC-RVCRUNM-2.2] [TC-RVCLEANM-2-2] -- Python Tests Failure #35315

Closed Ashwinigrl closed 1 month ago

Ashwinigrl commented 1 month ago

Feature Area

Area:RobotVacuums

Test Case

TC-RVCRUNM-2.2 TC-RVCLEANM-2-2

Reproduction steps

  1. Command used to launch the DUT : ./chip-all-clusters-app
  2. Command used to run the python script : python3 TC_RVCRUNM_2_2.py --discriminator 3840 --passcode 20202021 --commissioning-method on-network --storage-path admin_storage.json --PICS <RVCRUNMode cluster PICS file> --endpoint 1 --paa-trust-store-path ../../credentials/development/paa-root-certs/ --int-arg PIXIT.RVCRUNM.MODE_A:1 PIXIT.RVCRUNM.MODE_B:2 --app-pid <app pid>

While executing the TC-RVCCLEANM-2.2 Python script, the test is failing at Test Step 6b Send ChangeToMode MODE_B command with error mobly.signals.TestFailure: Details=Expected a ChangeToMode response status of InvalidInMode(0x03), got Success(0x00), Extras=None. The issue arises from line 127, where the BitMask value self.directmodech_bit_mask is incorrectly set to 0x8000. According to the specification, the correct value should be 0x10000, which enables the 16th bit.

Bug prevalence

Whenever I do

GitHub hash of the SDK that was being used

dd875401ae2f5c2f39b9e69f156cd6fabebe2aa8

Platform

raspi

Anything else?

Python Script References:

image

Reference Log: TC-RVCRUNM-2.2.txt TC-RVCCLEANM-2.2.txt

Specification References: image

Ashwinigrl commented 1 month ago

Issue fixed in commit 708558881bf6e5b0dac3c09489124907927b6cd2. Hence closing the issue.