zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.52k stars 6.45k forks source link

samples: subsys: profiling: perf: sample.perf reports pytest timeout #78413

Open katgiadla opened 6 days ago

katgiadla commented 6 days ago

Describe the bug Sample samples/subsys/profiling/perf/sample.perf reports pytest timeout.

Observed for nrf54l15dk/nrf54l15/cpuflpr

To Reproduce Steps to reproduce the behavior:

  1. have nrf54l15dk/nrf54l15 connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T samples/subsys/profiling/perf/ -p nrf54l15dk/nrf54l15/cpuflpr --device-testing --device-serial /dev/ttyACM1 -v --inline-logs
  4. See console output with error

Expected behavior Valid console output

Impact Not clear

Logs and console output

DEBUG:twister_harness.device.factory: Get device type "hardware"
DEBUG:twister_harness.device.hardware_adapter: Opening serial connection for /dev/serial/by-id/usb-SEGGER_J-Link_00-if00
DEBUG:twister_harness.device.hardware_adapter: Flashing device
DEBUG:twister_harness.device.hardware_adapter: Flashing command: /usr/local/bin/west flash --skip-rebuild --build-dir /zephyr/zephyr/twister-out/nrf54l15dk_nrf54l15_cpuflpr/samples/subsys/profiling/perf/sample.perf --runner nrfutil -- --erase --dev-id 
DEBUG:twister_harness.device.hardware_adapter: Flashing finishedDEBUG:twister_harness.helpers.utils: Found matching key: CONFIG_SHELL_PROMPT_UART="uart:~$ "
INFO:twister_harness.fixtures: Wait for prompt
DEBUG:twister_harness.helpers.shell: Got prompt
INFO:test_perf: send "perf record 200 99" command
ERROR:twister_harness.device.device_adapter: Read from device timeout occurredDEBUG:twister_harness.device.hardware_adapter: Closed serial connection for /dev/serial/by-id/usb-SEGGER_J-Link_if00

Environment (please complete the following information):

Additional context Similar issue has occurred for nrf54l15pdk/nrf54l15/cpuflpr (last one recorded on version v3.7.0-1999-g7cf124).

nashif commented 6 days ago

did that ever work before on those platforms?