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

[TC-WNCV-2.1] Attributes with server as DUT #10769

Closed
ReneJosefsen opened this issue Oct 21, 2021 · 1 comment · Fixed by #12096
Closed

[TC-WNCV-2.1] Attributes with server as DUT #10769

ReneJosefsen opened this issue Oct 21, 2021 · 1 comment · Fixed by #12096

Comments

@ReneJosefsen
Copy link
Contributor

ReneJosefsen commented Oct 21, 2021

Problem

  • expected behavior: Test to run successful in test harness cli
  • actual behavior: Test fails due to invalid value for ex. type attribute
  • steps to reproduce: Run TC-WNCV-2.1 test from TH cli

Log

ubuntu@matter-te-6:~/cli$ ./cli.sh run-tests --selected-tests '{"chip_tool_tests":{"FirstChipToolSuite":{"TC_WNCV_2_1":1}}}'
Creating new test run with title: 2021-10-19 13:00:01.083439
Starting Test run: Title: 2021-10-19 13:00:01.083439, id: 77
Test Run [EXECUTING]

  • Test Suite run with chip-tool tests [EXECUTING]
    • Window Covering [TC-WNCV-2.1] Attributes with server as DUT [EXECUTING]
      - Starting ChipTool Test [EXECUTING]
      - Starting ChipTool Test [PASSED]
      - read the RO mandatory attribute default: Type [EXECUTING]
      - read the RO mandatory attribute default: Type [FAILED]
    • Window Covering [TC-WNCV-2.1] Attributes with server as DUT [FAILED]
  • Test Suite run with chip-tool tests [FAILED]
    Test Run [FAILED]
    Log output in: './output_logs/test_run_2021-10-19 13:00:01.083439.log'

CHIPTOOL | 2021-10-19 13:00:16.922 | [1634648415.023032][20:30] CHIP:ZCL: ReadAttributesResponse:
CHIPTOOL | 2021-10-19 13:00:16.923 | [1634648415.023080][20:30] CHIP:ZCL: ClusterId: 0x0000_0102
CHIPTOOL | 2021-10-19 13:00:16.924 | [1634648415.023117][20:30] CHIP:ZCL: attributeId: 0x0000_0000
CHIPTOOL | 2021-10-19 13:00:16.926 | [1634648415.023147][20:30] CHIP:ZCL: status: Success (0x0000)
CHIPTOOL | 2021-10-19 13:00:16.927 | [1634648415.023177][20:30] CHIP:ZCL: attribute TLV Type: 0x04
CHIPTOOL | 2021-10-19 13:00:16.929 | [1634648415.023229][20:30] CHIP:TOO: ***** Test Failure: type value mismatch: 8 != 0
DEBUG | 2021-10-19 13:00:16.930 | Found failure: type value mismatch: 8 != 0
WARNING | 2021-10-19 13:00:16.931 | Test Failure: type value mismatch: 8 != 0

Proposed Solution

Update the TC-WNCV-2.1 test script

@jmeg-sfy
Copy link
Contributor

Values must be replaced by range interval to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants