Date   

[Still Failing] Zephyr / zephyr-daily #252 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 5 hours, 33 minutes, 27 seconds
Build #252 | master | 63972d6
View Build →
✖︎

2 failures:

tests/lib/devicetree/devices/libraries.devicetree in mec15xxevb_assy6853:tests/lib/devicetree/devices/libraries.devicetree
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/lib/devicetree/devices
-- Zephyr version: 2.5.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
-- Board: mec15xxevb_assy6853
-- Cache files will be written to: /root/.cache/zephyr
-- Using toolchain: zephyr 0.12.3 (/opt/sdk/zephyr-sdk-0.12.3)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/mec15xxevb_assy6853/mec15xxevb_assy6853.dts
-- Found devicetree overlay: /workdir/zephyr/tests/lib/devicetree/devices/app.overlay
-- Generated zephyr.dts: /workdir/zephyr/twister-out/mec15xxevb_assy6853/tests/lib/devicetree/devices/libraries.devicetree/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/mec15xxevb_assy6853/tests/lib/devicetree/devices/libraries.devicetree/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/mec15xxevb_assy6853/tests/lib/devicetree/devices/libraries.devicetree/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/mec15xxevb_assy6853/mec15xxevb_assy6853_defconfig'
Merged configuration '/workdir/zephyr/tests/lib/devicetree/devices/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/mec15xxevb_assy6853/tests/lib/devicetree/devices/libraries.devicetree/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/mec15xxevb_assy6853/tests/lib/devicetree/devices/libraries.devicetree/zephyr/include/generated/autoconf.h'

warning: I2C_INIT_PRIORITY (defined at drivers/i2c/Kconfig:45) was assigned the value '60' but got
the value ''. Check these unsatisfied dependencies: I2C (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_I2C_INIT_PRIORITY.html and/or look up
I2C_INIT_PRIORITY in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../boards/arm/mec15xxevb_assy6853/CMakeLists.txt:29 (message):
  Microchip SPI Image Generation tool (everglades_spi_gen_lin64) is not
  available.  SPI Image will not be generated.


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/mec15xxevb_assy6853/tests/lib/devicetree/devices/libraries.devicetree
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/driver-validation.h
[5/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[6/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[12/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[16/143] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/143] Linking C static library app/libapp.a
[18/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[24/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[25/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[26/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[29/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[30/143] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[31/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[32/143] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/microchip_mec/mec1501/soc.c.obj
[33/143] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/microchip_mec/mec1501/power.c.obj
[34/143] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/microchip_mec/mec1501/device_power.c.obj
[35/143] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[36/143] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency.c.obj
[37/143] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[38/143] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
[39/143] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[40/143] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[41/143] Generating linker.cmd
[42/143] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[43/143] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/pinmux/pinmux_mchp_xec.c.obj
[44/143] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[45/143] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[46/143] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/mchp_xec_rtos_timer.c.obj
[47/143] Linking C static library zephyr/arch/common/libisr_tables.a
[48/143] Linking C static library zephyr/arch/common/libarch__common.a
[49/143] Linking C static library zephyr/libzephyr.a
[50/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[51/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[52/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[53/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[54/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[55/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[56/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[57/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[58/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[59/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[60/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[61/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[62/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[63/143] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
[64/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[65/143] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[66/143] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[67/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[68/143] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[69/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[70/143] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[71/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[72/143] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
[73/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[74/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[75/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[76/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[77/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[78/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[79/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[80/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[81/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[82/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[83/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[84/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[85/143] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[86/143] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[87/143] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[88/143] Linking C static library zephyr/lib/posix/liblib__posix.a
[89/143] Building C object zephyr/boards/arm/mec15xxevb_assy6853/CMakeFiles/boards__arm__mec15xxevb_assy6853.dir/pinmux.c.obj
FAILED: zephyr/boards/arm/mec15xxevb_assy6853/CMakeFiles/boards__arm__mec15xxevb_assy6853.dir/pinmux.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.5.0-523-g63972d6df712 -DKERNEL -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../../include -Izephyr/include/generated -I../../../../../../../soc/arm/microchip_mec/mec1501 -I../../../../../../../subsys/testsuite/include -I../../../../../../../subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/microchip/mec/common -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/microchip/mec/mec1501 -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/mec15xxevb_assy6853/tests/lib/devicetree/devices/libraries.devicetree/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/lib/devicetree/devices=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/boards/arm/mec15xxevb_assy6853/CMakeFiles/boards__arm__mec15xxevb_assy6853.dir/pinmux.c.obj -MF zephyr/boards/arm/mec15xxevb_assy6853/CMakeFiles/boards__arm__mec15xxevb_assy6853.dir/pinmux.c.obj.d -o zephyr/boards/arm/mec15xxevb_assy6853/CMakeFiles/boards__arm__mec15xxevb_assy6853.dir/pinmux.c.obj   -c /workdir/zephyr/boards/arm/mec15xxevb_assy6853/pinmux.c
/workdir/zephyr/boards/arm/mec15xxevb_assy6853/pinmux.c:35:13: error: 'i2c_pinmux' defined but not used [-Werror=unused-function]
   35 | static void i2c_pinmux(struct pinmux_ports_t *p, uint8_t port_sel)
      |             ^~~~~~~~~~
cc1: all warnings being treated as errors
[90/143] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest.c.obj
[91/143] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest_error_hook.c.obj
ninja: build stopped: subcommand failed.

in Job #dead02b4-afbe-4950-9f80-bedf4fa28c18

tests/lib/devicetree/devices/libraries.devicetree in mec1501modular_assy6885:tests/lib/devicetree/devices/libraries.devicetree
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/lib/devicetree/devices
-- Zephyr version: 2.5.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
-- Board: mec1501modular_assy6885
-- Cache files will be written to: /root/.cache/zephyr
-- Using toolchain: zephyr 0.12.3 (/opt/sdk/zephyr-sdk-0.12.3)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/mec1501modular_assy6885/mec1501modular_assy6885.dts
-- Found devicetree overlay: /workdir/zephyr/tests/lib/devicetree/devices/app.overlay
-- Generated zephyr.dts: /workdir/zephyr/twister-out/mec1501modular_assy6885/tests/lib/devicetree/devices/libraries.devicetree/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/mec1501modular_assy6885/tests/lib/devicetree/devices/libraries.devicetree/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/mec1501modular_assy6885/tests/lib/devicetree/devices/libraries.devicetree/zephyr/include/generated/device_extern.h

warning: I2C_INIT_PRIORITY (defined at drivers/i2c/Kconfig:45) was assigned the value '60' but got
the value ''. Check these unsatisfied dependencies: I2C (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_I2C_INIT_PRIORITY.html and/or look up
I2C_INIT_PRIORITY in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/mec1501modular_assy6885/mec1501modular_assy6885_defconfig'
Merged configuration '/workdir/zephyr/tests/lib/devicetree/devices/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/mec1501modular_assy6885/tests/lib/devicetree/devices/libraries.devicetree/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/mec1501modular_assy6885/tests/lib/devicetree/devices/libraries.devicetree/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../boards/arm/mec1501modular_assy6885/CMakeLists.txt:29 (message):
  Microchip SPI Image Generation tool (everglades_spi_gen_lin64) is not
  available.  SPI Image will not be generated.


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/mec1501modular_assy6885/tests/lib/devicetree/devices/libraries.devicetree
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[6/143] Generating include/generated/driver-validation.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[12/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/143] Building C object CMakeFiles/app.dir/src/main.c.obj
[16/143] Linking C static library app/libapp.a
[17/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[23/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[25/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[26/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[29/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[30/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[31/143] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[32/143] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/microchip_mec/mec1501/soc.c.obj
[33/143] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/microchip_mec/mec1501/power.c.obj
[34/143] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/microchip_mec/mec1501/device_power.c.obj
[35/143] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[36/143] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
[37/143] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency.c.obj
[38/143] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[39/143] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[40/143] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[41/143] Generating linker.cmd
[42/143] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[43/143] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/pinmux/pinmux_mchp_xec.c.obj
[44/143] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[45/143] Linking C static library zephyr/arch/common/libisr_tables.a
[46/143] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[47/143] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/mchp_xec_rtos_timer.c.obj
[48/143] Linking C static library zephyr/arch/common/libarch__common.a
[49/143] Linking C static library zephyr/libzephyr.a
[50/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[51/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[52/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[53/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[54/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[55/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[56/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[57/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[58/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[59/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[60/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[61/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[62/143] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[63/143] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
[64/143] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[65/143] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[66/143] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[67/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[68/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[69/143] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[70/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[71/143] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[72/143] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
[73/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[74/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[75/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[76/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[77/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[78/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[79/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[80/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[81/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[82/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[83/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[84/143] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[85/143] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[86/143] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[87/143] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[88/143] Linking C static library zephyr/lib/posix/liblib__posix.a
[89/143] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest.c.obj
[90/143] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest_error_hook.c.obj
[91/143] Linking C static library zephyr/subsys/testsuite/ztest/libsubsys__testsuite__ztest.a
[92/143] Building C object zephyr/boards/arm/mec1501modular_assy6885/CMakeFiles/boards__arm__mec1501modular_assy6885.dir/pinmux.c.obj
FAILED: zephyr/boards/arm/mec1501modular_assy6885/CMakeFiles/boards__arm__mec1501modular_assy6885.dir/pinmux.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.5.0-523-g63972d6df712 -DKERNEL -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../../include -Izephyr/include/generated -I../../../../../../../soc/arm/microchip_mec/mec1501 -I../../../../../../../subsys/testsuite/include -I../../../../../../../subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/microchip/mec/common -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/microchip/mec/mec1501 -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/mec1501modular_assy6885/tests/lib/devicetree/devices/libraries.devicetree/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/lib/devicetree/devices=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/boards/arm/mec1501modular_assy6885/CMakeFiles/boards__arm__mec1501modular_assy6885.dir/pinmux.c.obj -MF zephyr/boards/arm/mec1501modular_assy6885/CMakeFiles/boards__arm__mec1501modular_assy6885.dir/pinmux.c.obj.d -o zephyr/boards/arm/mec1501modular_assy6885/CMakeFiles/boards__arm__mec1501modular_assy6885.dir/pinmux.c.obj   -c /workdir/zephyr/boards/arm/mec1501modular_assy6885/pinmux.c
/workdir/zephyr/boards/arm/mec1501modular_assy6885/pinmux.c:35:13: error: 'i2c_pinmux' defined but not used [-Werror=unused-function]
   35 | static void i2c_pinmux(struct pinmux_ports_t *p, uint8_t port_sel)
      |             ^~~~~~~~~~
cc1: all warnings being treated as errors
[93/143] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[94/143] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_mchp_xec.c.obj
ninja: build stopped: subcommand failed.

in Job #e3490801-eee7-4ea9-9676-57f7fd38c9bf


[Still Failing] Zephyr / zephyr-daily #251 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 5 hours, 23 minutes, 29 seconds
Build #251 | master | 30dbc40
View Build →


[Failed] Zephyr / zephyr-daily #250 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 5 hours, 49 minutes, 45 seconds
Build #250 | master | 5de3f85
View Build →


[Still Failing] Zephyr / zephyr-daily #247 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 5 hours, 28 minutes, 24 seconds
Build #247 | master | d96c517
View Build →


[Still Failing] Zephyr / zephyr-daily #246 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 5 hours, 34 minutes, 11 seconds
Build #246 | master | d96c517
View Build →


[Still Failing] Zephyr / zephyr-daily #245 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 5 hours, 4 minutes, 48 seconds
Build #245 | master | 3fe33fe
View Build →
✖︎

1 failure:

samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger in twr_ke18f:samples/sensor/mcux_acmp/sample.sensor
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/sensor/mcux_acmp
-- Zephyr version: 2.5.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
-- Board: twr_ke18f
-- Cache files will be written to: /root/.cache/zephyr
-- Using toolchain: zephyr 0.12.3 (/opt/sdk/zephyr-sdk-0.12.3)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/twr_ke18f/twr_ke18f.dts
-- Found devicetree overlay: /workdir/zephyr/samples/sensor/mcux_acmp/boards/twr_ke18f.overlay
-- Generated zephyr.dts: /workdir/zephyr/twister-out/twr_ke18f/samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/twr_ke18f/samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/twr_ke18f/samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/twr_ke18f/twr_ke18f_defconfig'
Merged configuration '/workdir/zephyr/samples/sensor/mcux_acmp/prj.conf'
Merged configuration '/workdir/zephyr/twister-out/twr_ke18f/samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger/twister/testcase_extra.conf'
Configuration saved to '/workdir/zephyr/twister-out/twr_ke18f/samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/twr_ke18f/samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/twr_ke18f/samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger
[1/136] Preparing syscall dependency handling

[2/136] Generating misc/generated/syscalls_subdirs.trigger
[3/136] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/136] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/136] Generating include/generated/driver-validation.h
[6/136] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[7/136] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/136] Generating include/generated/offsets.h
[9/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[12/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[13/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/136] Building C object CMakeFiles/app.dir/src/main.c.obj
[16/136] Linking C static library app/libapp.a
[17/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[19/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[20/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[23/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[25/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[26/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[29/136] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[30/136] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[31/136] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nxp_kinetis/ke1xf/nxp_mpu_regions.c.obj
[32/136] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nxp_kinetis/flash_configuration.c.obj
[33/136] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nxp_kinetis/ke1xf/soc.c.obj
[34/136] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[35/136] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_mcux_pcc.c.obj
[36/136] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_mcux_scg.c.obj
[37/136] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_mcux_sim.c.obj
[38/136] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/pinmux/pinmux_mcux.c.obj
[39/136] Generating linker.cmd
[40/136] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[41/136] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[42/136] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[43/136] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[44/136] Linking C static library zephyr/arch/common/libisr_tables.a
[45/136] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/cortex_m_systick.c.obj
[46/136] Linking C static library zephyr/arch/common/libarch__common.a
[47/136] Linking C static library zephyr/libzephyr.a
[48/136] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[49/136] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[50/136] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[51/136] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[52/136] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[53/136] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[54/136] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[55/136] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[56/136] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[57/136] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[58/136] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[59/136] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[60/136] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[61/136] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[62/136] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
[63/136] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[64/136] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[65/136] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[66/136] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[67/136] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
[68/136] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/mpu/CMakeFiles/arch__arm__core__aarch32__cortex_m__mpu.dir/arm_core_mpu.c.obj
[69/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[70/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[71/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[72/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[73/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[74/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[75/136] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/mpu/CMakeFiles/arch__arm__core__aarch32__cortex_m__mpu.dir/nxp_mpu.c.obj
[76/136] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/mpu/libarch__arm__core__aarch32__cortex_m__mpu.a
[77/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[78/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[79/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[80/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[81/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[82/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[83/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[84/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[85/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[86/136] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[87/136] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[88/136] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[89/136] Linking C static library zephyr/lib/posix/liblib__posix.a
[90/136] Building C object zephyr/boards/arm/twr_ke18f/CMakeFiles/boards__arm__twr_ke18f.dir/pinmux.c.obj
[91/136] Linking C static library zephyr/boards/arm/twr_ke18f/libboards__arm__twr_ke18f.a
[92/136] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_mcux.c.obj
[93/136] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[94/136] Building C object zephyr/drivers/sensor/mcux_acmp/CMakeFiles/drivers__sensor__mcux_acmp.dir/mcux_acmp.c.obj
FAILED: zephyr/drivers/sensor/mcux_acmp/CMakeFiles/drivers__sensor__mcux_acmp.dir/mcux_acmp.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBOARD_FLASH_SIZE="CONFIG_FLASH_SIZE*1024" -DBUILD_VERSION=zephyr-v2.5.0-268-g3fe33fe3883f -DCPU_MKE18F512VLL16 -DKERNEL -DNDEBUG -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I../../../../../../include -Izephyr/include/generated -I../../../../../../soc/arm/nxp_kinetis/ke1xf -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nxp/mcux/devices/MKE18F16 -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nxp/mcux/drivers/kinetis/. -isystem ../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/twr_ke18f/samples/sensor/mcux_acmp/sample.sensor.mcux_acmp.no_trigger/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/sensor/mcux_acmp=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/drivers/sensor/mcux_acmp/CMakeFiles/drivers__sensor__mcux_acmp.dir/mcux_acmp.c.obj -MF zephyr/drivers/sensor/mcux_acmp/CMakeFiles/drivers__sensor__mcux_acmp.dir/mcux_acmp.c.obj.d -o zephyr/drivers/sensor/mcux_acmp/CMakeFiles/drivers__sensor__mcux_acmp.dir/mcux_acmp.c.obj   -c /workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:37:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   37 | #if MCUX_ACMP_HAS_OFFSET
      |     ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:47:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   47 | #if MCUX_ACMP_HAS_INPSEL || MCUX_ACMP_HAS_INNSEL
      |     ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:47:29: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   47 | #if MCUX_ACMP_HAS_INPSEL || MCUX_ACMP_HAS_INNSEL
      |                             ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c: In function 'mcux_acmp_attr_set':
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:99:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   99 | #if MCUX_ACMP_HAS_OFFSET
      |     ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:142:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
  142 | #if MCUX_ACMP_HAS_INPSEL
      |     ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:163:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
  163 | #if MCUX_ACMP_HAS_INNSEL
      |     ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c: In function 'mcux_acmp_attr_get':
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:205:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
  205 | #if MCUX_ACMP_HAS_OFFSET
      |     ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:219:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
  219 | #if MCUX_ACMP_HAS_INPSEL
      |     ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/drivers/sensor/mcux_acmp/mcux_acmp.c:227:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
  227 | #if MCUX_ACMP_HAS_INNSEL
      |     ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[95/136] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj
[96/136] Building C object modules/nxp/CMakeFiles/..__..__var__lib__buildkite-agent__zephyr-module-cache__modules__hal__nxp.dir/mcux/devices/MKE18F16/fsl_clock.c.obj
ninja: build stopped: subcommand failed.

in Job #18d006d0-bfb9-495d-ade4-52d8fe6a01f9


CI Compliance Check, Warnings vs. Errors

Dean Gereaux
 

Hi

 

I’m working on a PR for ZAUTH here:   https://github.com/zephyrproject-rtos/zephyr/pull/31136

 

The Compliance check keeps failing, but when I look at the details there are no errors, however there are warnings about the code line being too long (greater than 100 chars).  Are these warnings treated as errors?

 

I’ve attached the log for reference.

 

Thanks,

 

Dean Gereaux

Golden Bits Software

www.goldenbits.com

 

 


[Still Failing] Zephyr / zephyr-daily #244 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 5 hours, 8 seconds
Build #244 | master | e287fd7
View Build →


[Still Failing] Zephyr / zephyr-daily #243 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 4 hours, 49 minutes, 24 seconds
Build #243 | master | 2011030
View Build →
✖︎

4 failures:

samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram in nucleo_f446re:samples/boards/stm32/backup_sram/sample.boards
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/boards/stm32/backup_sram
-- Zephyr version: 2.5.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nucleo_f446re
-- Cache files will be written to: /root/.cache/zephyr
-- Using toolchain: zephyr 0.12.2 (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nucleo_f446re/nucleo_f446re.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nucleo_f446re/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nucleo_f446re/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nucleo_f446re/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nucleo_f446re/nucleo_f446re_defconfig'
Merged configuration '/workdir/zephyr/samples/boards/stm32/backup_sram/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nucleo_f446re/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nucleo_f446re/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nucleo_f446re/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram
[1/135] Preparing syscall dependency handling

[2/135] Generating misc/generated/syscalls_subdirs.trigger
[3/135] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/135] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/135] Generating include/generated/driver-validation.h
[6/135] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[7/135] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/135] Generating include/generated/offsets.h
[9/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/135] Building C object CMakeFiles/app.dir/src/main.c.obj
[16/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[17/135] Linking C static library app/libapp.a
[18/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[23/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[25/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[26/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[29/135] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[30/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[31/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/stm32f4/soc.c.obj
[32/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32cube_hal.c.obj
[33/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.5.0-205-g2011030600dd -DCORE_CM4 -DHSE_VALUE=8000000 -DKERNEL -DSTM32F446xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../../kernel/include -I../../../../../../../arch/arm/include -I../../../../../../../include -Izephyr/include/generated -I../../../../../../../soc/arm/st_stm32/stm32f4 -I../../../../../../../drivers -I../../../../../../../soc/arm/st_stm32/common/. -I../../../../../../../soc/arm/st_stm32/common -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f4xx/soc -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f4xx/drivers/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f4xx/drivers/include/Legacy -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/common_ll/include -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nucleo_f446re/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/boards/stm32/backup_sram=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj -MF zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj   -c /workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c: In function 'stm32_backup_sram_init':
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c:29:27: error: 'STM32_CLOCK_CONTROL_NAME' undeclared (first use in this function); did you mean 'STM32_CLOCK_CONTROL_NODE'?
   29 |  clk = device_get_binding(STM32_CLOCK_CONTROL_NAME);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
      |                           STM32_CLOCK_CONTROL_NODE
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c:29:27: note: each undeclared identifier is reported only once for each function it appears in
[34/135] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[35/135] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/interrupt_controller/intc_exti_stm32.c.obj
ninja: build stopped: subcommand failed.

in Job #2f58cee6-f72c-4a6f-bb86-062947ba7b5b

samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram in nucleo_f746zg:samples/boards/stm32/backup_sram/sample.boards
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/boards/stm32/backup_sram
-- Zephyr version: 2.5.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nucleo_f746zg
-- Cache files will be written to: /root/.cache/zephyr
-- Using toolchain: zephyr 0.12.2 (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nucleo_f746zg/nucleo_f746zg.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nucleo_f746zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nucleo_f746zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nucleo_f746zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nucleo_f746zg/nucleo_f746zg_defconfig'
Merged configuration '/workdir/zephyr/samples/boards/stm32/backup_sram/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nucleo_f746zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nucleo_f746zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nucleo_f746zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram
[1/135] Preparing syscall dependency handling

[2/135] Generating misc/generated/syscalls_subdirs.trigger
[3/135] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/135] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/135] Generating include/generated/driver-validation.h
[6/135] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[7/135] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/135] Generating include/generated/offsets.h
[9/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[16/135] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/135] Linking C static library app/libapp.a
[18/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[22/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[23/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[25/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[26/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[29/135] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[30/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[31/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32cube_hal.c.obj
[32/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/stm32f7/soc.c.obj
[33/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.5.0-205-g2011030600dd -DCORE_CM7 -DHSE_VALUE=8000000 -DKERNEL -DSTM32F746xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../../kernel/include -I../../../../../../../arch/arm/include -I../../../../../../../include -Izephyr/include/generated -I../../../../../../../soc/arm/st_stm32/stm32f7 -I../../../../../../../drivers -I../../../../../../../soc/arm/st_stm32/common/. -I../../../../../../../soc/arm/st_stm32/common -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include/Legacy -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/common_ll/include -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nucleo_f746zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m7 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/boards/stm32/backup_sram=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj -MF zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj   -c /workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c: In function 'stm32_backup_sram_init':
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c:29:27: error: 'STM32_CLOCK_CONTROL_NAME' undeclared (first use in this function); did you mean 'STM32_CLOCK_CONTROL_NODE'?
   29 |  clk = device_get_binding(STM32_CLOCK_CONTROL_NAME);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
      |                           STM32_CLOCK_CONTROL_NODE
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c:29:27: note: each undeclared identifier is reported only once for each function it appears in
[34/135] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[35/135] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/interrupt_controller/intc_exti_stm32.c.obj
ninja: build stopped: subcommand failed.

in Job #48fb1423-bc57-4ef6-a458-cf19aca3bb51

samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram in nucleo_h743zi:samples/boards/stm32/backup_sram/sample.boards
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/boards/stm32/backup_sram
-- Zephyr version: 2.5.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nucleo_h743zi
-- Cache files will be written to: /root/.cache/zephyr
-- Using toolchain: zephyr 0.12.2 (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nucleo_h743zi/nucleo_h743zi.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nucleo_h743zi/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nucleo_h743zi/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nucleo_h743zi/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nucleo_h743zi/nucleo_h743zi_defconfig'
Merged configuration '/workdir/zephyr/samples/boards/stm32/backup_sram/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nucleo_h743zi/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nucleo_h743zi/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nucleo_h743zi/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram
[1/135] Preparing syscall dependency handling

[2/135] Generating misc/generated/syscalls_subdirs.trigger
[3/135] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/135] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/135] Generating include/generated/driver-validation.h
[6/135] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[7/135] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/135] Generating include/generated/offsets.h
[9/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[16/135] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/135] Linking C static library app/libapp.a
[18/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[22/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[24/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[25/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[26/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/135] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[29/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[30/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[31/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32cube_hal.c.obj
[32/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/stm32h7/soc_m7.c.obj
[33/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.5.0-205-g2011030600dd -DCORE_CM7 -DHSE_VALUE=8000000 -DKERNEL -DSTM32H743xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../../kernel/include -I../../../../../../../arch/arm/include -I../../../../../../../include -Izephyr/include/generated -I../../../../../../../soc/arm/st_stm32/stm32h7 -I../../../../../../../drivers -I../../../../../../../soc/arm/st_stm32/common/. -I../../../../../../../soc/arm/st_stm32/common -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32h7xx/soc -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/Legacy -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/common_ll/include -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nucleo_h743zi/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m7 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/boards/stm32/backup_sram=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj -MF zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj   -c /workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c: In function 'stm32_backup_sram_init':
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c:29:27: error: 'STM32_CLOCK_CONTROL_NAME' undeclared (first use in this function); did you mean 'STM32_CLOCK_CONTROL_NODE'?
   29 |  clk = device_get_binding(STM32_CLOCK_CONTROL_NAME);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
      |                           STM32_CLOCK_CONTROL_NODE
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c:29:27: note: each undeclared identifier is reported only once for each function it appears in
[34/135] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[35/135] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/interrupt_controller/intc_exti_stm32.c.obj
ninja: build stopped: subcommand failed.

in Job #7dfdd4c7-8b34-4a81-88b3-4238d2079c5a

samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram in nucleo_f207zg:samples/boards/stm32/backup_sram/sample.boards
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/boards/stm32/backup_sram
-- Zephyr version: 2.5.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nucleo_f207zg
-- Cache files will be written to: /root/.cache/zephyr
-- Using toolchain: zephyr 0.12.2 (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nucleo_f207zg/nucleo_f207zg.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nucleo_f207zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nucleo_f207zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nucleo_f207zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nucleo_f207zg/nucleo_f207zg_defconfig'
Merged configuration '/workdir/zephyr/samples/boards/stm32/backup_sram/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nucleo_f207zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nucleo_f207zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nucleo_f207zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram
[1/135] Preparing syscall dependency handling

[2/135] Generating misc/generated/syscalls_subdirs.trigger
[3/135] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/135] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/135] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[6/135] Generating include/generated/driver-validation.h
[7/135] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/135] Generating include/generated/offsets.h
[9/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[12/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[13/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[16/135] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/135] Linking C static library app/libapp.a
[18/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[23/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[25/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[26/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/135] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[29/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[30/135] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[31/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/stm32f2/soc.c.obj
[32/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32cube_hal.c.obj
[33/135] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.5.0-205-g2011030600dd -DHSE_VALUE=8000000 -DKERNEL -DSTM32F207xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../../kernel/include -I../../../../../../../arch/arm/include -I../../../../../../../include -Izephyr/include/generated -I../../../../../../../soc/arm/st_stm32/stm32f2 -I../../../../../../../drivers -I../../../../../../../soc/arm/st_stm32/common/. -I../../../../../../../soc/arm/st_stm32/common -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f2xx/soc -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f2xx/drivers/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/stm32f2xx/drivers/include/Legacy -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/stm32/stm32cube/common_ll/include -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nucleo_f207zg/samples/boards/stm32/backup_sram/sample.boards.stm32.backup_sram/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m3 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/boards/stm32/backup_sram=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj -MF zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/common/stm32_backup_sram.c.obj   -c /workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c: In function 'stm32_backup_sram_init':
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c:29:27: error: 'STM32_CLOCK_CONTROL_NAME' undeclared (first use in this function); did you mean 'STM32_CLOCK_CONTROL_NODE'?
   29 |  clk = device_get_binding(STM32_CLOCK_CONTROL_NAME);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
      |                           STM32_CLOCK_CONTROL_NODE
/workdir/zephyr/soc/arm/st_stm32/common/stm32_backup_sram.c:29:27: note: each undeclared identifier is reported only once for each function it appears in
[34/135] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[35/135] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/interrupt_controller/intc_exti_stm32.c.obj
ninja: build stopped: subcommand failed.

in Job #9971146f-bd7e-4c6c-accd-7397e06bba05


[Still Failing] Zephyr / zephyr-daily #242 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 4 hours, 50 minutes, 44 seconds
Build #242 | master | acf42a2
View Build →


[Failed] Zephyr / zephyr-daily #241 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 4 hours, 56 minutes, 26 seconds
Build #241 | master | fe6266e
View Build →


[Still Failing] Zephyr / zephyr-daily #231 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 4 hours, 50 minutes, 43 seconds
Build #231 | master | 92c93b1
View Build →


[Still Failing] Zephyr / zephyr-daily #230 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 4 hours, 49 minutes, 30 seconds
Build #230 | master | 4d4a636
View Build →


[Failed] Zephyr / zephyr-daily #229 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 4 hours, 51 minutes, 21 seconds
Build #229 | master | 67f4311
View Build →
✖︎

1 failure:

samples/bluetooth/peripheral_hr/sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy in rv32m1_vega_ri5cy:samples/bluetooth/peripheral_hr/sample.bluetooth
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/bluetooth/peripheral_hr
-- Zephyr version: 2.5.0-rc2 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: rv32m1_vega_ri5cy
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/riscv/rv32m1_vega/rv32m1_vega_ri5cy.dts
-- Found devicetree overlay: /workdir/zephyr/samples/bluetooth/peripheral_hr/boards/rv32m1_vega_ri5cy.overlay
-- Generated zephyr.dts: /workdir/zephyr/twister-out/rv32m1_vega_ri5cy/samples/bluetooth/peripheral_hr/sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/rv32m1_vega_ri5cy/samples/bluetooth/peripheral_hr/sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/rv32m1_vega_ri5cy/samples/bluetooth/peripheral_hr/sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/riscv/rv32m1_vega/rv32m1_vega_ri5cy_defconfig'
Merged configuration '/workdir/zephyr/samples/bluetooth/peripheral_hr/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/rv32m1_vega_ri5cy/samples/bluetooth/peripheral_hr/sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/rv32m1_vega_ri5cy/samples/bluetooth/peripheral_hr/sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/rv32m1_vega_ri5cy/samples/bluetooth/peripheral_hr/sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy
[1/204] Preparing syscall dependency handling

[2/204] Generating misc/generated/syscalls_subdirs.trigger
[3/204] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/204] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/204] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[6/204] Generating include/generated/driver-validation.h
[7/204] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[8/204] Generating include/generated/offsets.h
[9/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[12/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[13/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[16/204] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/204] Linking C static library app/libapp.a
[18/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[22/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[24/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[25/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[26/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[29/204] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[30/204] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/openisa_rv32m1/soc_irq.S.obj
[31/204] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/openisa_rv32m1/vector.S.obj
[32/204] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[33/204] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/openisa_rv32m1/wdog.S.obj
[34/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_list.c.obj
[35/204] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/openisa_rv32m1/soc.c.obj
[36/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[38/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[39/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_backend_uart.c.obj
[40/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/bluetooth/services/dis.c.obj
[41/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
[42/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/bluetooth/services/bas.c.obj
[43/204] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/bluetooth/services/hrs.c.obj
[44/204] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[45/204] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/interrupt_controller/intc_rv32m1_intmux.c.obj
[46/204] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_rv32m1_pcc.c.obj
[47/204] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/pinmux/pinmux_rv32m1.c.obj
[48/204] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[49/204] Building C object zephyr/CMakeFiles/zephyr.dir/var/lib/buildkite-agent/zephyr-module-cache/modules/crypto/tinycrypt/lib/source/utils.c.obj
[50/204] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/rv32m1_lptmr_timer.c.obj
[51/204] Building C object zephyr/CMakeFiles/zephyr.dir/var/lib/buildkite-agent/zephyr-module-cache/modules/crypto/tinycrypt/lib/source/ecc_dh.c.obj
[52/204] Building C object zephyr/CMakeFiles/zephyr.dir/var/lib/buildkite-agent/zephyr-module-cache/modules/crypto/tinycrypt/lib/source/aes_encrypt.c.obj
[53/204] Building C object zephyr/CMakeFiles/zephyr.dir/var/lib/buildkite-agent/zephyr-module-cache/modules/crypto/tinycrypt/lib/source/aes_decrypt.c.obj
[54/204] Generating linker.cmd
[55/204] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[56/204] Building C object zephyr/CMakeFiles/zephyr.dir/var/lib/buildkite-agent/zephyr-module-cache/modules/crypto/tinycrypt/lib/source/cmac_mode.c.obj
[57/204] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[58/204] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[59/204] Building C object zephyr/CMakeFiles/zephyr.dir/var/lib/buildkite-agent/zephyr-module-cache/modules/crypto/tinycrypt/lib/source/ecc.c.obj
[60/204] Linking C static library zephyr/arch/common/libisr_tables.a
[61/204] Linking C static library zephyr/arch/common/libarch__common.a
[62/204] Linking C static library zephyr/libzephyr.a
[63/204] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[64/204] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[65/204] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[66/204] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[67/204] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[68/204] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/swap.S.obj
[69/204] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[70/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[71/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[72/204] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[73/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[74/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[75/204] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[76/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[77/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[78/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[79/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[80/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[81/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[82/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[83/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[84/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[85/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[86/204] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[87/204] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[88/204] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[89/204] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[90/204] Linking C static library zephyr/lib/posix/liblib__posix.a
[91/204] Building C object zephyr/boards/riscv/rv32m1_vega/CMakeFiles/boards__riscv__rv32m1_vega.dir/pinmux.c.obj
[92/204] Linking C static library zephyr/boards/riscv/rv32m1_vega/libboards__riscv__rv32m1_vega.a
[93/204] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
[94/204] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/log.c.obj
[95/204] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/rpa.c.obj
[96/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/uuid.c.obj
[97/204] Linking C static library zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a
[98/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/addr.c.obj
[99/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_ecc.c.obj
[100/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
[101/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/buf.c.obj
[102/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/l2cap.c.obj
[103/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/conn.c.obj
[104/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/att.c.obj
[105/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/gatt.c.obj
[106/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_core.c.obj
[107/204] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mem.c.obj
[108/204] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj
FAILED: zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc -DBUILD_VERSION=v2.5.0-rc2 -DCPU_RV32M1_ri5cy -DKERNEL -DXCVR_GENFSK_ENABLED -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../../../../../../subsys/bluetooth/controller/ll_sw/openisa/lll -I../../../../../../subsys/bluetooth/controller/ll_sw/openisa -I../../../../../../subsys/bluetooth/controller/hci/openisa -I../../../../../../subsys/bluetooth/controller/. -I../../../../../../subsys/bluetooth/controller/include -I../../../../../../subsys/bluetooth/controller/ll_sw -I../../../../../../include -Izephyr/include/generated -I../../../../../../soc/riscv/openisa_rv32m1 -I../../../../../../subsys/bluetooth -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/openisa/vega_sdk_riscv/RISCV -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/openisa/vega_sdk_riscv/devices/RV32M1 -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/openisa/vega_sdk_riscv/devices/RV32M1/drivers/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/openisa/vega_sdk_riscv/middleware/wireless/framework/XCVR/RV32M1 -I/var/lib/buildkite-agent/zephyr-module-cache/modules/crypto/tinycrypt/lib/include -isystem ../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/rv32m1_vega_ri5cy/samples/bluetooth/peripheral_hr/sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mabi=ilp32 -march=rv32ima -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/bluetooth/peripheral_hr=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -march=rv32imc -std=c99 -nostdinc -O2 -MD -MT zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj -MF zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj.d -o zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj   -c /workdir/zephyr/subsys/bluetooth/controller/util/memq.c
/workdir/zephyr/subsys/bluetooth/controller/util/memq.c: In function 'memq_enqueue':
/workdir/zephyr/subsys/bluetooth/controller/util/memq.c:103:2: error: implicit declaration of function 'cpu_dmb' [-Werror=implicit-function-declaration]
  103 |  cpu_dmb(); /* Ensure data accesses are synchronized */
      |  ^~~~~~~
cc1: all warnings being treated as errors
[109/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/keys.c.obj
[110/204] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/smp.c.obj
ninja: build stopped: subcommand failed.

in Job #039be7ba-bf56-494d-94be-d44903a9c47f


[Still Failing] Zephyr / zephyr-daily #227 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 3 hours, 15 minutes, 6 seconds
Build #227 | master | 3f1d1f5
View Build →
✖︎

2 failures:

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340dk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
nrf5340dk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sectiParsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'
ons of the manual might be helpful
too.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[6/143] Generating include/generated/driver-validation.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/143] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[14/143] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-173-g3f1d1f5773dd -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[15/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[16/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
ninja: build stopped: subcommand failed.

in Job #61ee4068-394e-4a62-845f-17edb7959737

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340pdk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340pdk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet.dts
nrf5340pdk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../CMakeLists.txt:1350 (message):


        WARNING:  The board 'nrf5340pdk_nrf5340_cpunet' is deprecated and will be
        removed in version v2.6.0


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[6/143] Generating include/generated/driver-validation.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/143] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-173-g3f1d1f5773dd -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[13/143] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[14/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
ninja: build stopped: subcommand failed.

in Job #b713c78f-1c98-4378-8e35-d55137d84415


[Still Failing] Zephyr / zephyr-daily #226 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 3 hours, 21 minutes, 48 seconds
Build #226 | master | 893857b
View Build →
✖︎

2 failures:

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340pdk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340pdk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet.dts
nrf5340pdk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sectiParsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'
ons of the manual might be helpful
too.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../CMakeLists.txt:1350 (message):


        WARNING:  The board 'nrf5340pdk_nrf5340_cpunet' is deprecated and will be
        removed in version v2.6.0


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/143] Generating include/generated/driver-validation.h
[6/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[12/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[14/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[15/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[16/143] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-170-g893857b48af2 -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[17/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
ninja: build stopped: subcommand failed.

in Job #0364fc80-74ff-467e-8d1f-b8219e3a72c0

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340dk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
nrf5340dk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[6/143] Generating include/generated/driver-validation.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/143] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/143] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-170-g893857b48af2 -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[15/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[16/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
ninja: build stopped: subcommand failed.

in Job #505a1115-d5d7-49f4-9fe5-7a9926d54f93


[Still Failing] Zephyr / zephyr-daily #225 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 3 hours, 11 minutes, 57 seconds
Build #225 | master | 3740f60
View Build →
✖︎

2 failures:

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340pdk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340pdk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet.dts
nrf5340pdk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sectiParsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'
ons of the manual might be helpful
too.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../CMakeLists.txt:1350 (message):


        WARNING:  The board 'nrf5340pdk_nrf5340_cpunet' is deprecated and will be
        removed in version v2.6.0


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/143] Generating include/generated/driver-validation.h
[6/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/143] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[14/143] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-167-g3740f6063148 -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[15/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[16/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
ninja: build stopped: subcommand failed.

in Job #2378f926-9c02-4bc6-a47d-70d7beefffe3

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340dk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
nrf5340dk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[5/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[6/143] Generating include/generated/driver-validation.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[12/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[15/143] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-167-g3740f6063148 -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[16/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[17/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
ninja: build stopped: subcommand failed.

in Job #673ec0f6-d075-47a1-9de8-97765facc888


[Still Failing] Zephyr / zephyr-daily #224 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 3 hours, 15 minutes, 19 seconds
Build #224 | master | 30de4b5
View Build →
✖︎

2 failures:

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340pdk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340pdk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet.dts
nrf5340pdk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../CMakeLists.txt:1350 (message):


        WARNING:  The board 'nrf5340pdk_nrf5340_cpunet' is deprecated and will be
        removed in version v2.6.0


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[6/143] Generating include/generated/driver-validation.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/143] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[14/143] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-136-g30de4b5dd952 -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[15/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[16/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
ninja: build stopped: subcommand failed.

in Job #946cbac6-9e54-4723-a293-a21972b59a33

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340dk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
nrf5340dk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/143] Preparing syscall dependency handling

[2/143] Generating misc/generated/syscalls_subdirs.trigger
[3/143] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/143] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/143] Generating include/generated/driver-validation.h
[6/143] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/143] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/143] Generating include/generated/offsets.h
[9/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/143] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[13/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[14/143] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-136-g30de4b5dd952 -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[15/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[16/143] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
ninja: build stopped: subcommand failed.

in Job #c521112f-f6fc-4a1d-b455-54320c003fb8


[Still Failing] Zephyr / zephyr-daily #223 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 3 hours, 12 minutes, 11 seconds
Build #223 | master | af67564
View Build →
✖︎

2 failures:

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340pdk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340pdk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet.dts
nrf5340pdk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../CMakeLists.txt:1350 (message):


        WARNING:  The board 'nrf5340pdk_nrf5340_cpunet' is deprecated and will be
        removed in version v2.6.0


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/142] Preparing syscall dependency handling

[2/142] Generating misc/generated/syscalls_subdirs.trigger
[3/142] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/142] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/142] Generating include/generated/driver-validation.h
[6/142] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/142] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/142] Generating include/generated/offsets.h
[9/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/142] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[13/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[15/142] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-107-gaf67564573f5 -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340pdk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[16/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[17/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
ninja: build stopped: subcommand failed.

in Job #1711d45b-03d8-4a99-a0f5-026eed0dcf05

tests/subsys/power/power_mgmt/subsys.power.device_pm in nrf5340dk_nrf5340_cpunet:tests/subsys/power/power_mgmt/subsys.power
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/subsys/power/power_mgmt
-- Zephyr version: 2.5.0-rc1 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpunet
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.2)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
nrf5340dk_nrf5340_cpunet.dts.pre.tmp:70.25-76.5: Warning (unique_unit_address_if_enabled): /soc/clock@41005000: duplicate unit-address (also used in node /soc/power@41005000)
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/device_extern.h

warning: PM (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:64,
subsys/power/Kconfig:13) was assigned the value 'y' but got the value 'n'. Check these unsatisfied
dependencies: ((SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X) || (SYS_CLOCK_EXISTS
&& !SOC_NRF5340_CPUNET_QKAA)) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM.html and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: The choice symbol PM_POLICY_APP (defined at subsys/power/policy/Kconfig:20) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_PM_POLICY_APP.html and/or look up
PM_POLICY_APP in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sectiParsing /workdir/zephyr/tests/subsys/power/power_mgmt/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig'
Merged configuration '/workdir/zephyr/tests/subsys/power/power_mgmt/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h'
ons of the manual might be helpful
too.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm
[1/142] Preparing syscall dependency handling

[2/142] Generating misc/generated/syscalls_subdirs.trigger
[3/142] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/142] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/142] Generating include/generated/driver-validation.h
[6/142] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/142] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/142] Generating include/generated/offsets.h
[9/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/142] Building C object CMakeFiles/app.dir/src/dummy_driver.c.obj
[13/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[14/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[15/142] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.5.0-rc1-107-gaf67564573f5 -DKERNEL -DNRF5340_XXAA_NETWORK -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/zephyr/kernel/include -I/workdir/zephyr/arch/arm/include -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/arm/nordic_nrf/nrf53 -I/workdir/zephyr/subsys/testsuite/include -I/workdir/zephyr/subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/nordic/nrfx -I/workdir/modules/hal/nordic/nrfx/drivers/include -I/workdir/modules/hal/nordic/nrfx/mdk -I/workdir/zephyr/modules/hal_nordic/nrfx/. -isystem /workdir/zephyr/lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/nrf5340dk_nrf5340_cpunet/tests/subsys/power/power_mgmt/subsys.power.device_pm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/subsys/power/power_mgmt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj   -c /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_low_power_devices':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:64:9: error: implicit declaration of function 'pm_is_sleep_state' [-Werror=implicit-function-declaration]
   64 |  return pm_is_sleep_state(state);
      |         ^~~~~~~~~~~~~~~~~
In file included from /workdir/zephyr/subsys/testsuite/ztest/include/ztest.h:60,
                 from /workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:10:
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'pm_policy_next_state':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:31: error: 'struct z_kernel' has no member named 'idle'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |                               ^
/workdir/zephyr/subsys/testsuite/ztest/include/ztest_assert.h:93:12: note: in definition of macro 'zassert'
   93 |  z_zassert(cond, msg ? ("(" default_msg ")") : (default_msg), \
      |            ^~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:74:2: note: in expansion of macro 'zassert_true'
   74 |  zassert_true(ticks == _kernel.idle, NULL);
      |  ^~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c: In function 'test_main':
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:9: error: variable 'notifier' has initializer but incomplete type
  214 |  struct pm_notifier notifier = {
      |         ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:4: error: 'struct pm_notifier' has no member named 'state_entry'
  215 |   .state_entry = notify_pm_state_entry,
      |    ^~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: error: excess elements in struct initializer [-Werror]
  215 |   .state_entry = notify_pm_state_entry,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:215:18: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:4: error: 'struct pm_notifier' has no member named 'state_exit'
  216 |   .state_exit = notify_pm_state_exit,
      |    ^~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: error: excess elements in struct initializer [-Werror]
  216 |   .state_exit = notify_pm_state_exit,
      |                 ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:216:17: note: (near initialization for 'notifier')
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: storage size of 'notifier' isn't known
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:219:2: error: implicit declaration of function 'pm_notifier_register' [-Werror=implicit-function-declaration]
  219 |  pm_notifier_register(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:231:2: error: implicit declaration of function 'pm_notifier_unregister' [-Werror=implicit-function-declaration]
  231 |  pm_notifier_unregister(&notifier);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/tests/subsys/power/power_mgmt/src/main.c:214:21: error: unused variable 'notifier' [-Werror=unused-variable]
  214 |  struct pm_notifier notifier = {
      |                     ^~~~~~~~
cc1: all warnings being treated as errors
[16/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[17/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
ninja: build stopped: subcommand failed.

in Job #7eb39d13-f545-400c-b4fb-d74710b27bd6


[Still Failing] Zephyr / zephyr-daily #222 (master) #builds

Buildkite <notifications@...>
 

Scheduled build Duration: 3 hours, 35 minutes, 25 seconds
Build #222 | master | 51c34bb
View Build →

161 - 180 of 2909