Skip to content

[CERT-TEST-FAILURE] [ TC-IDM-6.2 ] [Matter v1.5] Failure of subscribing to events using wildcard endpoints #43547

@avzasorin-sd

Description

@avzasorin-sd

Feature Area

Other

Test Case

TC-IDM-6.2

Reproduction steps

Environment:

CHIP SDK commit: cf84d03
esp-matter SDK commit: d42e9d6f
Matter Test Harness: v2.14+fall2025

Issue report

On Step 4 of TC-IDM-6.2 the following command is issued by Test Harness:

basicinformation subscribe-event-by-id 0x00 10 700 0x12344321 0xFFFF --keepSubscriptions true

It is an attempt to sibscribe to a specific event on specified cluster, but using wildcard (0xFFFF) for all available endpoints.
This results in "Invalid action" error, and the test fails.

Device error logs:

E (194851) chip[IM]: Subscription from [1:000000000001B669] has no access at all. Rejecting request.

chip-tool logs:

SubscribeRequestMessage =
[1772815279.680] [94083:6185884:chip] [DMG] {
[1772815279.680] [94083:6185884:chip] [DMG]   KeepSubscriptions = false, 
[1772815279.680] [94083:6185884:chip] [DMG]   MinIntervalFloorSeconds = 0xa,
[1772815279.680] [94083:6185884:chip] [DMG]   MaxIntervalCeilingSeconds = 0x2bc,
[1772815279.680] [94083:6185884:chip] [DMG]   EventPathIBs =
[1772815279.680] [94083:6185884:chip] [DMG]   [
[1772815279.680] [94083:6185884:chip] [DMG]     EventPath =
[1772815279.680] [94083:6185884:chip] [DMG]     {
[1772815279.680] [94083:6185884:chip] [DMG]       Cluster = 0x28,
[1772815279.680] [94083:6185884:chip] [DMG]       Event = 0x0,
[1772815279.680] [94083:6185884:chip] [DMG]     },
[1772815279.680] [94083:6185884:chip] [DMG]
[1772815279.680] [94083:6185884:chip] [DMG]  ],
[1772815279.680] [94083:6185884:chip] [DMG]
[1772815279.680] [94083:6185884:chip] [DMG]   isFabricFiltered = true, 
[1772815279.680] [94083:6185884:chip] [DMG]   InteractionModelRevision = 12
[1772815279.680] [94083:6185884:chip] [DMG] },

[TOO] Error: IM Error 0x00000580: General error: 0x80 (INVALID_ACTION)
[TOO] Run command failure: IM Error 0x00000580: General error: 0x80 (INVALID_ACTION)

Bug prevalence

every test run

GitHub hash of the SDK that was being used

cf84d03

Platform

esp32

Anything else?

The problem may be connected with this PR:
https://github.com/project-chip/connectedhomeip/pull/39370/changes#diff-09d4e6f8f568b8ae1f60c465f4f2c89e3fb4e92d92ac2308fae80036b2430a1dL81

Previous code had the following check for event path implemented:

RequiredPrivilege::ForReadEvent(ConcreteEventPath(path.mEndpointId, path.mClusterId, aEventPath.mEventId));

But refactored code since June 2025 uses aEventPath instead of path for endpoint and cluster IDs.

if (aProvider->EventInfo(
                {
                    aEventPath.mEndpointId,
                    aEventPath.mClusterId,
                    aEventPath.mEventId,
                },
                eventInfo) != CHIP_NO_ERROR)

In case of wildcard endpoint aEventPath.mEndpointId is equal to 0xFFFF, so I think this may be the reason of the problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Open Cert Blockers

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions