Skip to content
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

tests: kernel: timer: starve: DTS failure stm32f3_seco_d23 #53194

Closed
nordic-piks opened this issue Dec 19, 2022 · 4 comments
Closed

tests: kernel: timer: starve: DTS failure stm32f3_seco_d23 #53194

nordic-piks opened this issue Dec 19, 2022 · 4 comments
Assignees
Labels
area: Devicetree area: Timer Timer bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: high High impact/importance bug Regression Something, which was working, does not anymore

Comments

@nordic-piks
Copy link
Collaborator

nordic-piks commented Dec 19, 2022

Describe the bug
Running CI on PR for zephyr:
scripts/twister -p stm32f3_seco_d23 -s zephyr/tests/kernel/timer/starve/kernel.timer.starve

Observed for

  • stm32f3_seco_d23

To Reproduce
Steps to reproduce the behavior:

  1. scripts/twister -p stm32f3_seco_d23 -s zephyr/tests/kernel/timer/starve/kernel.timer.starve

Expected behavior
Valid console output

Impact
Not clear

Logs and console output

ERROR   - Cmake build failure: /__w/zephyr/zephyr/tests/kernel/timer/starve for stm32f3_seco_d23
INFO    -  56/510 stm32f3_seco_d23          zephyr/tests/kernel/timer/starve/kernel.timer.starve FAILED Cmake build failure (build)
INFO    - /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23/zephyr/tests/kernel/timer/starve/kernel.timer.starve/build.log
ERROR   - Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/tests/kernel/timer/starve
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter 
-- Cache files will be written to: /__w/zephyr/zephyr/.cache
-- Zephyr version: 3.2.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: stm32f3_seco_d23
-- Found host-tools: zephyr 0.15.2 (/opt/toolchains/zephyr-sdk-0.15.2)
-- Found toolchain: zephyr 0.15.2 (/opt/toolchains/zephyr-sdk-0.15.2)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.15.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") 
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/arm/stm32f3_seco_d23/stm32f3_seco_d23.dts
devicetree error: 'resets' is marked as required in 'properties:' in /__w/zephyr/zephyr/dts/bindings/timer/st,stm32-timers.yaml, but does not appear in <Node /soc/timers@40000800 in '/__w/zephyr/zephyr/misc/empty_file.c'>
-- In: /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23/zephyr/tests/kernel/timer/starve/kernel.timer.starve/zephyr, command: /usr/bin/python3.8;/__w/zephyr/zephyr/scripts/dts/gen_defines.py;--dts;/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23/zephyr/tests/kernel/timer/starve/kernel.timer.starve/zephyr/zephyr.dts.pre;--dtc-flags;'';--bindings-dirs;/__w/zephyr/zephyr/dts/bindings;--header-out;/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23/zephyr/tests/kernel/timer/starve/kernel.timer.starve/zephyr/include/generated/devicetree_generated.h.new;--dts-out;/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23/zephyr/tests/kernel/timer/starve/kernel.timer.starve/zephyr/zephyr.dts.new;--edt-pickle-out;/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23/zephyr/tests/kernel/timer/starve/kernel.timer.starve/zephyr/edt.pickle;--edtlib-Werror;--vendor-prefixes;/__w/zephyr/zephyr/dts/bindings/vendor-prefixes.txt
CMake Error at /__w/zephyr/zephyr/cmake/modules/dts.cmake:231 (message):
  gen_defines.py failed with return code: 1
Call Stack (most recent call first):
  /__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:[108](https://github.com/zephyrproject-rtos/zephyr/actions/runs/3732036217/jobs/6331025248#step:13:109) (include)
  /__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!

Environment (please complete the following information):

  • OS: Ubuntu 20.04.1 LTS
  • Toolchain Zephyr SDK 0.15.1
  • Commit SHA or Version used: 3c9aa92
@nordic-piks nordic-piks added the bug The issue is a bug, or the PR is fixing a bug label Dec 19, 2022
@PerMac
Copy link
Member

PerMac commented Dec 19, 2022

This is a regression on main and is blocking PRs which get this executed. E.g.:
#53179

@cfriedt
Copy link
Member

cfriedt commented Dec 19, 2022

Was literally just about to create this report because it's blocking #52977

@cfriedt
Copy link
Member

cfriedt commented Dec 19, 2022

Also trivially reproducible with west build -p auto -b stm32f3_seco_d23 tests/kernel/common/

@cfriedt cfriedt added Regression Something, which was working, does not anymore area: Timer Timer labels Dec 19, 2022
@erwango
Copy link
Member

erwango commented Dec 19, 2022

Fixed by #53192

@erwango erwango closed this as completed Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree area: Timer Timer bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: high High impact/importance bug Regression Something, which was working, does not anymore
Projects
None yet
Development

No branches or pull requests

4 participants