Topics

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


Buildkite <notifications@...>
 

Scheduled build Duration: 3 hours, 35 minutes, 18 seconds
Build #216 | master | f93ee95
View Build →
✖︎

6 failures:

tests/kernel/tickless/tickless_concept/kernel.tickless.concept in cc1352r1_launchxl:tests/kernel/tickless/tickless_concept/kernel.tickless
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/kernel/tickless/tickless_concept
-- Zephyr version: 2.4.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: cc1352r1_launchxl
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.1)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.1/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/cc1352r1_launchxl/cc1352r1_launchxl.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/cc1352r1_launchxl/cc1352r1_launchxl_defconfig'
Merged configuration '/workdir/zephyr/tests/kernel/tickless/tickless_concept/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/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.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept
[1/149] Preparing syscall dependency handling

[2/149] Generating misc/generated/syscalls_subdirs.trigger
[3/149] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/149] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/149] Generating include/generated/driver-validation.h
[6/149] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/149] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/149] Generating include/generated/offsets.h
[9/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/149] Building C object CMakeFiles/app.dir/src/main.c.obj
[16/149] Linking C static library app/libapp.a
[17/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[24/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[25/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[26/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[29/149] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[30/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[31/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/ccfg.c.obj
[33/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/soc.c.obj
[34/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[35/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/power.c.obj
[36/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-3328-gf93ee9508b66 -DKERNEL -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/ti_simplelink/cc13x2_cc26x2 -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/ti/simplelink/source/ti/devices/cc13x2_cc26x2/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/source -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/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/tests/kernel/tickless/tickless_concept=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/subsys/power/pm_ctrl.c.obj -MF zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj   -c /workdir/zephyr/subsys/power/pm_ctrl.c
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_disable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:24:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   24 |  v = atomic_inc(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_enable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:36:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   36 |  v = atomic_dec(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_is_state_enabled':
/workdir/zephyr/subsys/power/pm_ctrl.c:47:21: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   47 |  return (atomic_get(&power_state_disable_count[state]) == 0);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[37/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[38/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency_cc13x2_cc26x2.c.obj
ninja: build stopped: subcommand failed.

in Job #84146eb9-e66d-43fb-854c-1337eb98ddd2

tests/kernel/timer/timer_api/kernel.timer.tickless in /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept:tests/kernel/timer/timer_api/kernel.timer
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/kernel/timer/timer_api
-- Zephyr version: 2.4.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: cc1352r1_launchxl
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.1)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.1/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/cc1352r1_launchxl/cc1352r1_launchxl.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/cc1352r1_launchxl/cc1352r1_launchxl_defconfig'
Merged configuration 'prj_tickless.conf'
Configuration saved to '/workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/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.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../subsys/random/CMakeLists.txt:11 (message):


      Warning: CONFIG_TEST_RANDOM_GENERATOR is not a truly random generator.
      This capability is not secure and it is provided for testing purposes only.
      Use it carefully.


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless
[1/152] Preparing syscall dependency handling

[2/152] Generating misc/generated/syscalls_subdirs.trigger
[3/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/152] Generating include/generated/driver-validation.h
[6/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/152] Generating include/generated/offsets.h
[9/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[16/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/152] Building C object CMakeFiles/app.dir/src/timer_convert.c.obj
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[19/152] Linking C static library app/libapp.a
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[22/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[25/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[29/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/ccfg.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/soc.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/power.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-3328-gf93ee9508b66 -DKERNEL -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/ti_simplelink/cc13x2_cc26x2 -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/ti/simplelink/source/ti/devices/cc13x2_cc26x2/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/source -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/cc1352r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/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/tests/kernel/timer/timer_api=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/subsys/power/pm_ctrl.c.obj -MF zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj   -c /workdir/zephyr/subsys/power/pm_ctrl.c
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_disable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:24:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   24 |  v = atomic_inc(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_enable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:36:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   36 |  v = atomic_dec(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_is_state_enabled':
/workdir/zephyr/subsys/power/pm_ctrl.c:47:21: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   47 |  return (atomic_get(&power_state_disable_count[state]) == 0);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency_cc13x2_cc26x2.c.obj
ninja: build stopped: subcommand failed.

in Job #84146eb9-e66d-43fb-854c-1337eb98ddd2

tests/kernel/tickless/tickless_concept/kernel.tickless.concept in cc1352r_sensortag:tests/kernel/tickless/tickless_concept/kernel.tickless
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/kernel/tickless/tickless_concept
-- Zephyr version: 2.4.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: cc1352r_sensortag
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.1)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.1/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/cc1352r_sensortag/cc1352r_sensortag.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/cc1352r_sensortag/cc1352r_sensortag_defconfig'
Merged configuration '/workdir/zephyr/tests/kernel/tickless/tickless_concept/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/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.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/tickless/tickless_concept/kernel.tickless.concept
[1/149] Preparing syscall dependency handling

[2/149] Generating misc/generated/syscalls_subdirs.trigger
[3/149] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/149] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/149] Generating include/generated/driver-validation.h
[6/149] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/149] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/149] Generating include/generated/offsets.h
[9/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/149] Building C object CMakeFiles/app.dir/src/main.c.obj
[16/149] Linking C static library app/libapp.a
[17/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[19/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[20/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[23/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[25/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[26/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[30/149] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[31/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/ccfg.c.obj
[33/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/soc.c.obj
[34/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[35/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/power.c.obj
[36/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-3328-gf93ee9508b66 -DKERNEL -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/ti_simplelink/cc13x2_cc26x2 -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/ti/simplelink/source/ti/devices/cc13x2_cc26x2/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/source -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/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/tests/kernel/tickless/tickless_concept=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/subsys/power/pm_ctrl.c.obj -MF zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj   -c /workdir/zephyr/subsys/power/pm_ctrl.c
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_disable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:24:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   24 |  v = atomic_inc(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_enable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:36:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   36 |  v = atomic_dec(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_is_state_enabled':
/workdir/zephyr/subsys/power/pm_ctrl.c:47:21: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   47 |  return (atomic_get(&power_state_disable_count[state]) == 0);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[37/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[38/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency_cc13x2_cc26x2.c.obj
ninja: build stopped: subcommand failed.

in Job #97bb3d37-fcce-4866-be56-4aa334b33944

tests/kernel/timer/timer_api/kernel.timer.tickless in /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/tickless/tickless_concept/kernel.tickless.concept:tests/kernel/timer/timer_api/kernel.timer
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/kernel/timer/timer_api
-- Zephyr version: 2.4.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: cc1352r_sensortag
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.1)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.1/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/cc1352r_sensortag/cc1352r_sensortag.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/cc1352r_sensortag/cc1352r_sensortag_defconfig'
Merged configuration 'prj_tickless.conf'
Configuration saved to '/workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/timer/timer_api/kernel.timer.tickless/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.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../subsys/random/CMakeLists.txt:11 (message):


      Warning: CONFIG_TEST_RANDOM_GENERATOR is not a truly random generator.
      This capability is not secure and it is provided for testing purposes only.
      Use it carefully.


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/timer/timer_api/kernel.timer.tickless
[1/152] Preparing syscall dependency handling

[2/152] Generating misc/generated/syscalls_subdirs.trigger
[3/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[6/152] Generating include/generated/driver-validation.h
[7/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/152] Generating include/generated/offsets.h
[9/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[16/152] Building C object CMakeFiles/app.dir/src/timer_convert.c.obj
[17/152] Linking C static library app/libapp.a
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[19/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[22/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[25/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[29/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/ccfg.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/soc.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/power.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-3328-gf93ee9508b66 -DKERNEL -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/ti_simplelink/cc13x2_cc26x2 -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/ti/simplelink/source/ti/devices/cc13x2_cc26x2/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/source -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/cc1352r_sensortag/tests/kernel/timer/timer_api/kernel.timer.tickless/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/tests/kernel/timer/timer_api=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/subsys/power/pm_ctrl.c.obj -MF zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj   -c /workdir/zephyr/subsys/power/pm_ctrl.c
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_disable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:24:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   24 |  v = atomic_inc(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_enable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:36:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   36 |  v = atomic_dec(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_is_state_enabled':
/workdir/zephyr/subsys/power/pm_ctrl.c:47:21: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   47 |  return (atomic_get(&power_state_disable_count[state]) == 0);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency_cc13x2_cc26x2.c.obj
ninja: build stopped: subcommand failed.

in Job #97bb3d37-fcce-4866-be56-4aa334b33944

tests/kernel/tickless/tickless_concept/kernel.tickless.concept in cc26x2r1_launchxl:tests/kernel/tickless/tickless_concept/kernel.tickless
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/kernel/tickless/tickless_concept
-- Zephyr version: 2.4.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: cc26x2r1_launchxl
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.1)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.1/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/cc26x2r1_launchxl/cc26x2r1_launchxl.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/cc26x2r1_launchxl/cc26x2r1_launchxl_defconfig'
Merged configuration '/workdir/zephyr/tests/kernel/tickless/tickless_concept/prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/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.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept
[1/149] Preparing syscall dependency handling

[2/149] Generating misc/generated/syscalls_subdirs.trigger
[3/149] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/149] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/149] Generating include/generated/driver-validation.h
[6/149] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/149] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/149] Generating include/generated/offsets.h
[9/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/149] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/149] Linking C static library app/libapp.a
[15/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[16/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[17/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[19/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[20/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[24/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[25/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[26/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[29/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[30/149] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[31/149] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[32/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/ccfg.c.obj
[33/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/soc.c.obj
[34/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[35/149] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/power.c.obj
[36/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-3328-gf93ee9508b66 -DKERNEL -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/ti_simplelink/cc13x2_cc26x2 -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/ti/simplelink/source/ti/devices/cc13x2_cc26x2/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/source -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept/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/tests/kernel/tickless/tickless_concept=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/subsys/power/pm_ctrl.c.obj -MF zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj   -c /workdir/zephyr/subsys/power/pm_ctrl.c
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_disable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:24:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   24 |  v = atomic_inc(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_enable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:36:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   36 |  v = atomic_dec(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_is_state_enabled':
/workdir/zephyr/subsys/power/pm_ctrl.c:47:21: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   47 |  return (atomic_get(&power_state_disable_count[state]) == 0);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[37/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[38/149] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency_cc13x2_cc26x2.c.obj
ninja: build stopped: subcommand failed.

in Job #a6f1157b-dad7-4e13-a8e0-5a1c30534cf9

tests/kernel/timer/timer_api/kernel.timer.tickless in /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/tickless/tickless_concept/kernel.tickless.concept:tests/kernel/timer/timer_api/kernel.timer
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/kernel/timer/timer_api
-- Zephyr version: 2.4.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: cc26x2r1_launchxl
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.12.1)
-- Found dtc: /opt/sdk/zephyr-sdk-0.12.1/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/cc26x2r1_launchxl/cc26x2r1_launchxl.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/include/generated/device_extern.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/cc26x2r1_launchxl/cc26x2r1_launchxl_defconfig'
Merged configuration 'prj_tickless.conf'
Configuration saved to '/workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/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.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../subsys/random/CMakeLists.txt:11 (message):


      Warning: CONFIG_TEST_RANDOM_GENERATOR is not a truly random generator.
      This capability is not secure and it is provided for testing purposes only.
      Use it carefully.


-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless
[1/152] Preparing syscall dependency handling

[2/152] Generating misc/generated/syscalls_subdirs.trigger
[3/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/152] Generating include/generated/driver-validation.h
[6/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/152] Generating include/generated/offsets.h
[9/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[10/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[12/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[16/152] Building C object CMakeFiles/app.dir/src/timer_convert.c.obj
[17/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[19/152] Linking C static library app/libapp.a
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[22/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[25/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[29/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/ccfg.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/soc.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/ti_simplelink/cc13x2_cc26x2/power.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj
ccache /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-3328-gf93ee9508b66 -DKERNEL -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/ti_simplelink/cc13x2_cc26x2 -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/ti/simplelink/source/ti/devices/cc13x2_cc26x2/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/. -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/ti/simplelink/source -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include -isystem /opt/sdk/zephyr-sdk-0.12.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/cc26x2r1_launchxl/tests/kernel/timer/timer_api/kernel.timer.tickless/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/tests/kernel/timer/timer_api=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/subsys/power/pm_ctrl.c.obj -MF zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/subsys/power/pm_ctrl.c.obj   -c /workdir/zephyr/subsys/power/pm_ctrl.c
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_disable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:24:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   24 |  v = atomic_inc(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_enable_state':
/workdir/zephyr/subsys/power/pm_ctrl.c:36:6: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   36 |  v = atomic_dec(&power_state_disable_count[state]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c: In function 'pm_ctrl_is_state_enabled':
/workdir/zephyr/subsys/power/pm_ctrl.c:47:21: error: array subscript  is outside array bounds of 'atomic_t[0]' {aka 'int[]'} [-Werror=array-bounds]
   47 |  return (atomic_get(&power_state_disable_count[state]) == 0);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/power/pm_ctrl.c:17:17: note: while referencing 'power_state_disable_count'
   17 | static atomic_t power_state_disable_count[POWER_STATE_MAX];
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency_cc13x2_cc26x2.c.obj
ninja: build stopped: subcommand failed.

in Job #a6f1157b-dad7-4e13-a8e0-5a1c30534cf9