esp-matter: TC-RR-1.1 Constrain Error (CON-1074)

Describe the bug In TC-RR-1.1 from python_testing library the Node-Label of the BasicInformation cluster is written with the sequence Before Subscriptions 12345678912. This one is 32 characters long. It results in the failure:

IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR)

If I shorten the sequence by 1 it writes with SUCCESS. I read through the spec, an the maximum length is set to 32. But the situation is really unclear (from Matter 22-27349-002_Matter-1.1-Core-Specification.pdf):

Note that the character string type is a bounded sequence of characters whose size bound format is not specified in the data model, but rather a property of the underlying encoding. Therefore, no assumptions are to be made about the presence or absence of a length prefix or null-terminator byte, or other implementation considerations.

What should we do? Am I the first one running this test?

Environment ESP-Matter commit f511d226420f56a0565f7b147ebc399f88afc3ce ESP-IDF commit e088c3766ba440e72268b458a68f27b6e7d63986 connectedhomeip commit 32992decc576355eb7bedc97c3e18c8efdd58e6c SOC: ESP32 Host Machine OS: Linux version 6.1.29-1-MANJARO (builduser@fv-az292-908) (gcc (GCC) 12.2.1 20230201, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT_DYNAMIC Wed May 17 14:00:55 UTC 2023

  • Commissioner app and versions if present: chip-tool from official TH v2.8.1-official
  • Commissioner’s logs if present: 20240307-TC-RR-1_1-chiptool.log

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

@PhLuReh You would still need the 657.patch

I was just referring to the commend inside the code, which says verified during write operations.

This check happens in attribute_storage.cpp.

attribute_storage.cpp is not part of the patch, nor of the commit?

The chip-tool log is still the same. I try to send a DUT-log in 3 hours.