-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] Error on TC-DRLK-2.8 execution (CONSTRAINT_ERROR) #28005
Comments
This is a chip-tool binary that was somehow compiled incorrectly. It's not even testing the server in this case, because it is failing to send the invalid value to start with.
but it looks like this specific chip-tool binary was compiled without that setting somehow. @ccruzagralopes Where did this chip-tol binary come from? |
This error happened with a few images: The one from the first logs I've built using the Dockerfile from
It also happened when using the same build steps for SHA I'm using an ubuntu VM in an Intel chip Macbook, so these two images were built for amd64. But the TH issues were filed from someone that used a binary that came from the |
That docker image already has the tool built, no? And sounds like it's built incorrectly... Which sounds like an issue for https://github.com/CHIP-Specifications/chip-certification-tool or so, not an SDK issue. |
@bzbarsky-apple So if it's built incorrectly, we need to fix this in here:
|
The Not sure if something changed in |
I think it's always been wrong. This bit:
does the "unified" build that ignores app-specific configs, because it's just kind of broken. We should probably be building chip-tool as part of the |
I think the |
Totally believable. Anyway, moving to building chip-tool as part of the build_examples bits (like it is in Matter CI) should resolve this problem.... |
We will try that! If we add |
Note that you could also just do:
to build just chip-tool if the |
I believe the target supports
may work. |
However I am somehow unclear what platform-mdns has to do with constraint errors. I added the above describing how to set up platform-mdns, however I believe we should support both platformmdns or minmdns in the same way. |
@ccruzagralopes That |
I agree. I just found it odd because I had used this same Dockerfile (without the mentioned changes) yesterday and successfully built a new image, so I don't see another reason for this issue to happen now and not yesterday |
@ccruzagralopes I believe the virtualenv thing was a known issue on Matter tip for a day or so. Update to tip as of right now, just in case. Note that skipping |
@bzbarsky-apple I realized that the About the other things that With these changes, I was able to build a new image that didn't fail The Dockerfile that I used and was able to build the image was: Dockerfile.txt |
@ccruzagralopes Great! TC-DRLK-2.6 failing with UNSUPPORTED_COMMAND sounds like a different issue, fwiw.... Is it running against lock-app or chip-all-clusters-app? Because all-clusters-app does not implement all the lock bits. |
@bzbarsky-apple I was running with chip-all-clusters-app, that was the issue 😅 When I ran it using chip-lock-app it passed |
closing the issue based on your comment @ccruzagralopes , feel free to re-open if this is still an issue |
Reproduction steps
chip-all-clusters-app
chip-tool
to execute the test steps forTC-DRLK-2.8
:Commission DUT:
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6a:
Step 6b:
Step 7:
Step 8:
Step 9:
Step 10:
Decommission DUT:
Error
On step 4, the expected response is:
Instead, chip-tool is giving the error:
CHIP:TOO: Run command failure: src/app/data-model/Encode.h:75: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR)
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
9ac1480
Platform
other
Platform Version(s)
No response
Anything else?
Logs
chip-all-clusters-app
logs: chip-all-clusters-app.logchip-tool
logs: chip-tool.logTest plan verification steps
Additional testing
I also tested the same test case using
chip-lock-app
, but go the same result:chip-lock-app
logs: 2_chip-lock-app.logchip-tool
logs: 2_chip-tool.logAdditional Comments
This bug has been found when trying to run
TC-DRLK-2.6
andTC-DRLK-2.8
in Test Harness. This same error is also happening when runningTC-DRLK-2.6
. I believe the root cause is probably be the same.TC-DRLK-2.6
andTC-DRLK-2.8
: UI_Test_Run_2023_07_14_16_03_37.logTest Harness related issues
TC-DRLK-2.8
issue: https://github.com/CHIP-Specifications/chip-certification-tool/issues/897TC-DRLK-2.6
issue: https://github.com/CHIP-Specifications/chip-certification-tool/issues/895The text was updated successfully, but these errors were encountered: