Skip to content

[BUG] Chip-App fails to execute Test case TC-PRS-3.1 #25382

Closed
@sholagi

Description

Reproduction steps

  1. Open Terminal 1 and run 'rm -rf /tmp/chip_*;./chip-app1 --trace_file "/logs/trace_log_2023-02-28_19.47.05_0xb14e1214ed9efe87_SIMULATED_APP_TEST_PAIRING.log" --trace_decode 1`
  2. Open Terminal 2 and run rm -rf /tmp/chip*;./chip-tool pairing code 305414945 MT:-24J0AFN00KA0648G00
  3. Ctrl+C on Terminal 1.
  4. In Terminal 1, run ./chip-app1 --command Test_TC_PRS_3_1_Simulated --secured-device-port 5540 --trace_file "/logs/trace_log_2023-02-28_19.47.14_0xb14e1214ed9efe87_SIMULATED_APP_TEST_Test_TC_PRS_3_1_Simulated.log" --trace_decode 1
  5. In Terminal 2, run the below commands:
    ./chip-tool pressuremeasurement read measured-value 305414945 0
    ./chip-tool pressuremeasurement read min-measured-value 305414945 0
    ./chip-tool pressuremeasurement read max-measured-value 305414945 0
    ./chip-tool pressuremeasurement read tolerance 305414945 0
    ./chip-tool pressuremeasurement read scaled-value 305414945 0
    ./chip-tool pressuremeasurement read min-scaled-value 305414945 0
    ./chip-tool pressuremeasurement read max-scaled-value 305414945 0
    ./chip-tool pressuremeasurement read scaled-tolerance 305414945 0
    ./chip-tool pressuremeasurement read scale 305414945 0
  6. Observe in Terminal 1 that chip-app seem to skip step "read scale" and move to next step to prompt user. Chip-app does not seem to respond to the request from the controller.
  7. Observe in Terminal 2 that chip-tool fails.

Logs of test step to read scale attribute are attached from chip-app and controller

Bug prevalence

100%

GitHub hash of the SDK that was being used

b89e83b

Platform

raspi

Platform Version(s)

No response

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions