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.98k stars 6.69k forks source link

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

Open katgiadla opened 2 months ago

katgiadla commented 2 months 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 2 months ago

did that ever work before on those platforms?

nordic-piks commented 2 months ago

@PerMac @katgiadla More logs are needed, what is the issues in the test?

nordic-piks commented 2 months ago

Triaged internally

github-actions[bot] commented 5 days ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.