connectedhomeip icon indicating copy to clipboard operation
connectedhomeip copied to clipboard

[CERT-TEST-FAILURE] - TC-CNET-1.3 - Test failed

Open Survensa opened this issue 1 year ago • 1 comments

Feature Area

Other

Test Case

TC-CNET-1.3

Reproduction steps

  1. Bring up the DUT with all-clusters-app.
  2. Pair the DUT using chip-tool through "ble-wifi" transport.
  3. Run the command ./chip-tool networkcommissioning read feature-map 1 0

Expected Outcome:

[1651215443.195852][3285:3290] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 2584224280 [1651215443.195939][3285:3290] CHIP:TOO: FeatureMap: 1

Note: As per spec, if TH and DUT is commissioned through the Ble-wifi transport, the FeatureMap should be 1 as WIFI feature is Bit 0.

Actual Outcome:

[1651215443.195852][3285:3290] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 2584224280 [1651215443.195939][3285:3290] CHIP:TOO: FeatureMap: 9

  1. Run the command: ./chip-tool networkcommissioning read accepted-command-list 1 0

Expected Outcome:

[1653909914.972854][3424:3429] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9 DataVersion: 880539056 [1653909914.973027][3424:3429] CHIP:TOO: AcceptedCommandList: 5 entries [1653909914.973102][3424:3429] CHIP:TOO: [1]: 0 [1653909914.973166][3424:3429] CHIP:TOO: [2]: 2 [1653909914.973228][3424:3429] CHIP:TOO: [3]: 4 [1653909914.973289][3424:3429] CHIP:TOO: [4]: 6 [1653909914.973350][3424:3429] CHIP:TOO: [5]: 8

Actual Outcome:

[1708089434.342569][2071:2073] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9 DataVersion: 3732320626 [1708089434.342813][2071:2073] CHIP:TOO: AcceptedCommandList: 6 entries [1708089434.342884][2071:2073] CHIP:TOO: [1]: 0 [1708089434.342942][2071:2073] CHIP:TOO: [2]: 2 [1708089434.343000][2071:2073] CHIP:TOO: [3]: 4 [1708089434.343056][2071:2073] CHIP:TOO: [4]: 6 [1708089434.343113][2071:2073] CHIP:TOO: [5]: 8 [1708089434.343169][2071:2073] CHIP:TOO: [6]: 9

Note: Command ID 9 is not available in spec, but it's listed in Accepted command List.

  1. run the command: ./chip-tool networkcommissioning read generated-command-list 1 0

Expected Outcome:

[1650370123.417759][42418:42423] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF8 DataVersion: 3182776035 [1650370123.417866][42418:42423] CHIP:TOO: GeneratedCommandList: 3 entries [1650370123.417938][42418:42423] CHIP:TOO: [1]: 1 [1650370123.417977][42418:42423] CHIP:TOO: [2]: 5 [1650370123.418013][42418:42423] CHIP:TOO: [3]: 7

Actual Outcome:

[1708089692.418601][2093:2095] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF8 DataVersion: 3732320627 [1708089692.418847][2093:2095] CHIP:TOO: GeneratedCommandList: 4 entries [1708089692.418917][2093:2095] CHIP:TOO: [1]: 1 [1708089692.419000][2093:2095] CHIP:TOO: [2]: 5 [1708089692.419060][2093:2095] CHIP:TOO: [3]: 7 [1708089692.419118][2093:2095] CHIP:TOO: [4]: 10

Note: Command ID 10 is not available in spec, but it's listed in Accepted command List.

Bug prevalence

Whenever I do this

GitHub hash of the SDK that was being used

5589ecba1600232ceaa045087358239c16cd995b

Platform

raspi

Anything else?

Specification Reference: https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/service_device_management/NetworkCommissioningCluster.adoc#commands

Survensa avatar Feb 16 '24 13:02 Survensa

This is because of Wi-Fi PDC

tcarmelveilleux avatar Feb 16 '24 17:02 tcarmelveilleux