certification-tool icon indicating copy to clipboard operation
certification-tool copied to clipboard

[TC-WNCV-4.2] The test case is failing due to an OperationalStatus attribute value mismatch when executed along with other Window Covering Test cases

Open raju-apple opened this issue 2 years ago • 2 comments

From chip-certification-tool created by Rajashreekalmane: CHIP-Specifications/chip-certification-tool#962

Describe the bug

[TC-WNCV-4.2] The test case is failing due to an OperationalStatus attribute value mismatch when executed along with other Window Covering Test cases but It passes when executed individually

PFA Screenshot of individual Run image

PFA Screenshot when TC executed along with other Window Covering Test cases image

Log files

PFA log of individual Run

UI_Test_Run_2023_09_07_16_08_40(1).log

PFA log when TC executed along with other Window Covering Test cases UI_Test_Run_2023_09_07_16_06_07.log

PICS file

Window Covering Cluster Test Plan.txt

Additional Info: Version: TH Fall2023 Sha: 58a51bef

raju-apple avatar Oct 19 '23 19:10 raju-apple

During my analysis, I noticed that if steps 1a and 1b are commented in TC-WNCV-4.2 YAML script, the test case passes individually and also along with other test case. Does it make sense to remove the steps from test plan?

  • TC-WNCV-4.2 individual run Screenshot 2023-09-14 at 15 43 51

  • TC-WNCV-4.2 along with other test case Screenshot 2023-09-14 at 15 44 11

raju-apple avatar Oct 19 '23 19:10 raju-apple

Hi @Rajashreekalmane in the related step (3b) it is asked: Motion should be over with OperationalStatus Value of bits 0..5 must be xx000000b but in the YAML file shows:

### Check for END OF MOVEMENTs
    - label: "Step 3b: TH reads OperationalStatus attribute from DUT"
      command: "readAttribute"
      attribute: "OperationalStatus"
      PICS: WNCV.S.A000a
      response:
          value: 0

So I performed a test by changing value: 0 to value: 0x0000000, and it keeps failing for the same reason as before: Test Failure: The test expectation "value (10) == 0" is false

In another scenario, just for testing (Not sure if it make sense), I commented out the init step and the test execution was successfully when this test is running alone and running after TC-WNCV-4.1. I commented the init step in both TC-WNCV-4.1 and TC-WNCV-4.2.

The related step that I commented out during my test.

    - label:
          "Step 1a: TH sends DownOrClose command to preposition the DUT in the
          opposite direction"
      command: "DownOrClose"
      PICS: WNCV.S.C01.Rsp

CC @cecille

rquidute avatar Jan 16 '24 23:01 rquidute

SDK issue fixed.

fabiowmm avatar Oct 10 '24 18:10 fabiowmm