zephyrproject-rtos / zephyr

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

hsdk:There is no case’s information in serial log for ARC(R) HS Development Kit after one case was been flashed into the board. #25022

Closed xuhao8210 closed 3 years ago

xuhao8210 commented 4 years ago

Describe the bug After one case was been flashed into the board:” ARC(R) HS Development Kit”, there is no case’s information in serial log, and only display the commit ID info. For example , after the hello world case was been flashed into the board, the serial log is only display :” Booting Zephyr OS build zephyr-v2.2.0-2375-gfdd85d5ad703 ”.

And I also checked that this problem was been happened after the commit ID: ” 8e653fe6b1aaa142c1f4f4526a3e8caecc522f20” checked in ,and its last commit ID:” f700022a35a1bb1d5eff94dca5942cfe0109164b” can work well.

To Reproduce Steps to reproduce the behavior:

  1. west build -b hsdk -p auto samples/hello_world/
  2. west flash
  3. check the serial log

Expected behavior After the hello world case was been flashed into the board, the serial log should display below.

     *** Booting Zephyr OS build zephyr-v2.2.0-275-gf700022a35a1  ***
     Hello World! hsdk

Screenshots or console output

Booting Zephyr OS build zephyr-v2.2.0-276-g8e653fe6b1aa Booting Zephyr OS build zephyr-v2.2.0-276-g8e653fe6b1aa Booting Zephyr OS build zephyr-v2.2.0-275-gf700022a35a1 Hello World! hsdk Booting Zephyr OS build zephyr-v2.2.0-2375-gfdd85d5ad703

Environment (please complete the following information):

xuhao8210 commented 4 years ago

After I ran the cases: "samples/synchronization/" , "samples/hello_world/","tests/kernel/queue/" and "tests/kernel/mem_protect/sys_sem/" , they are not all display the case’s information in serial log. But the cases:"tests/kernel/pipe/pipe" and "tests/kernel/timer/timer_api/" can display the case’s information in serial log.

vonhust commented 4 years ago

The root cause of this issue is incomplete support of arc multicore in openocd. Sometimes, the current arc open cannot reset the hsdk status correctly, e.g. cache flush. We are working on a fix of this in openocd,

When the metaware debugger is used to flash/debug the hsdk, we can get the expected results:

*** Booting Zephyr OS build zephyr-v2.2.0-2719-ge59ea072e29e***
Hello World! hsdk

I suggest not to debug/flash hsdk before we fix the issues in openocd.

abrodkin commented 4 years ago

From my previous experience that means that master core is infinitely waiting for slaves to wake up which never happens (note we have HSDK configured for SMP mode but in reality run stuff as if it's a normal single-core target).

To fix that one needs to run SMP-aware runner, which might be the one out of:

  1. OpenOCD with SMP support for ARC. This is included in Zephyr's SDK starting from v0.11.3-beta-2 (you may get it here https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.11.3-beta-2)
  2. MDB runner. See PR here https://github.com/zephyrproject-rtos/zephyr/pull/24806 and corresponding branch is here: https://github.com/foss-for-synopsys-dwc-arc-processors/zephyr/tree/topic-mdb-runner

Let me know if either option helps you to get any further.

xuhao8210 commented 4 years ago

After I used sanitycheck script to set up daily test for the ARC(R) HS Development Kit platform, I found that there are about 412 failure test cases on commit ID: 76d8f8f1e2, and all failure test case are same root cause that they don’t display the test result in serial log, so I updated this issue’s priority to high. And please refer my sanitycheck command below for our daily test.

Sanitycheck command :

sanitycheck -p hsdk --device-testing --device-serial /dev/ttyUSB0 -T $HOME/zephyrproject/zephyr/tests/

nashif commented 4 years ago

this is not a high prio bug, the issue is explained above. issues that are related to tools and individual boards are not considered high priority.

abrodkin commented 4 years ago

So with our recent experiments the only solution to this problem is board reset in between tests. And here I mean not only separate sanitycheck invocations but each and every test-case.

Obviously that might be done by toggling a power source but:

  1. It requires controllable power supply/strip
  2. Integration of that power strip/supply control into sanitycheck infrastructure so that separate boards could be reset independently
  3. Might require a bit longer time for safe board proper recovery, i.e. turn power off, wait ~10 seconds (to make sure all AC-DC capacitors are drained and the board is really off now), turn the power on.

In case of majority of ARC boards (excluding just a legacy EM StarterKit) we luckily have global board's reset wired to the same FTDI IC which is used for both JTAG connection & UART. And what we do internally we use a simple homebrew rff-reset utility (see https://github.com/foss-for-synopsys-dwc-arc-processors/rff-ftdi-reset, kudos to @Palmyr3) to cold-reset our boards.

What we may do is to integrate its utilization by the sanitycheck script, for example we tried it that way:

--- a/scripts/sanity_chk/sanitylib.py
+++ b/scripts/sanity_chk/sanitylib.py
@@ -545,6 +545,10 @@ class DeviceHandler(Handler):

     def handle(self):
         out_state = "failed"
+        os.system('rff-reset --serial 251642000087')
+        time.sleep(5)

         if self.suite.west_flash:
             command = ["west", "flash", "--skip-rebuild", "-d", self.build_dir]

Indeed that's just a mock-up and we should do it more-elegant and still quite universal because upcoming MDB-runner (https://github.com/zephyrproject-rtos/zephyr/pull/24806) will also benefit from this feature.

So if my proposal with reset makes sense let's discuss how to do it in the most elegant way.

Also if we decide to go that way we may want to package rff-reset in the SDK. That we may do super-easy via meta-zephyr-sdk or in any other way given simplicity of the utility and not that many dependencies.

xuhao8210 commented 4 years ago

I checked that the newest SDK with version: zephyr-sdk-0.11.3 have included the solution(OpenOCD with SMP support for ARC) from the tag : v0.11.3-beta-2, but the serial log is still only display version without case information after I tried the SDK and the newest commit ID: 8cd6bb6e61b4b17cdc30ada76d7b8a188d4f93ad. BTW, as I have no license for the MDB runner, I have not tried the solution.

abrodkin commented 4 years ago

@xuhao8210 so there're more things to try:

  1. Run HSDK in SMP mode in OpenOCD for real, for this you'll need this https://github.com/zephyrproject-rtos/zephyr/pull/25955.
  2. Even with true SMP execution we noticed the board may enter non-recoverable [via JTAG] state and the only way to recover is to reset the board. Fortunately it could be done w/o any extra HW via the same USB wire which is used for both serial port & JTAG. The only thing which is needed is our tiny utility (https://github.com/foss-for-synopsys-dwc-arc-processors/rff-ftdi-reset).

So that's now an interesting discussion on if we may bundle it into Zephyr's SDK or tools (whatever you call it). Given we have it in sources and it gets built with a trivial Makefile it might be integrated in whatever build system we use in Zephyr. Would be good to hear back from @nashif, @galak & @stephanosio on that one.

xuhao8210 commented 4 years ago

@abrodkin Thanks for your support. After I tried your solution that I added below row in the script:” scripts/sanity_chk/sanitylib.py” to test the newest commit ID for Zephyr Repo, I found that some test cases(e.g. tests/portability/ and tests/lib/ ) are still failure as they reset the board failure, could you please help to check them ?

============add below code in the file:” sanitylib.py” ================== os.system('rff-reset --serial 251642000171') time.sleep(10) os.system('sudo chmod 666 /dev/ttyUSB0') time.sleep(10) ======================================================== BTW, if I did not add the row :”os.system('sudo chmod 666 /dev/ttyUSB0')”, the script was also report error that it can’t open the serial port. And it seems that each platform will be reset for your solution, whether we should find a better way to only reset the hsdk platform, so what are your comments ?

abrodkin commented 4 years ago

@xuhao8210 could you please provide more details on how do those tests still fail? As for chmod on /dev/ttyUSB0 I'm pretty sure it's not needed at all, instead please add your local user to the group which has access to serial ports. Typically it's a dialout group. It could be done that way on Ubuntu:

sudo usermod -a -G dialout $USER
xuhao8210 commented 4 years ago

@abrodkin For the test case:” tests/portability” on Commit ID: 897b5bf60a, could you please check its log below ? BTW, it seems that each platform will be reset for your solution(updating sanitylib.py file), whether we should find a better way to only reset the hsdk platform, so what are your comments ?

==================Test log for tests/portability/ case=====================
_[_ztest@zserver13 zephyr]$ scripts/sanitycheck -p hsdk --device-testing --device-serial /dev/ttyUSB0 -T tests/portability/ -vv
Renaming output directory to /home/ztest/work/zephyrproject/zephyr/sanity-out.5
INFO    - JOBS: 4
DEBUG   - Reading test case configuration files under /home/ztest/work/zephyrproject/zephyr/tests/portability...
DEBUG   - scanning /home/ztest/work/zephyrproject/zephyr/tests/portability
DEBUG   - scanning /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v1
DEBUG   - Found possible test case in /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v1
DEBUG   - scanning /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v2
DEBUG   - Found possible test case in /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v2
DEBUG   - Reading platform configuration files under /home/ztest/work/zephyrproject/zephyr/boards...
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/gpmrb/gpmrb.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/minnowboard/minnowboard.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/acrn/acrn.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/up_squared/up_squared.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/up_squared/up_squared_32.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/qemu_x86/qemu_x86_nommu.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/qemu_x86/qemu_x86.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/qemu_x86/qemu_x86_coverage.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/x86/qemu_x86/qemu_x86_64.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/posix/native_posix/native_posix.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/posix/native_posix/native_posix_64.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/posix/nrf52_bsim/nrf52_bsim.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/emsdp/emsdp_em6.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/emsdp/emsdp_em7d_esp.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/emsdp/emsdp_em9d.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/emsdp/emsdp.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/emsdp/emsdp_em7d.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/emsdp/emsdp_em5d.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/emsdp/emsdp_em4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/nsim/nsim_hs_smp.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/nsim/nsim_hs.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/nsim/nsim_em.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/nsim/nsim_sem.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/nsim/nsim_sem_mpu_stack_guard.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/em_starterkit/em_starterkit_em7d.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/em_starterkit/em_starterkit.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/em_starterkit/em_starterkit_em7d_v22.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/em_starterkit/em_starterkit_em11d.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/hsdk/hsdk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/qemu_arc/qemu_arc_em.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/qemu_arc/qemu_arc_hs.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arc/iotdk/iotdk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/xtensa/intel_s1000_crb/intel_s1000_crb.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/xtensa/qemu_xtensa/qemu_xtensa.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/xtensa/up_squared_adsp/up_squared_adsp.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/xtensa/esp32/esp32.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/xtensa/xt-sim/xt-sim.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/xtensa/odroid_go/odroid_go.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/riscv/hifive1/hifive1.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/riscv/qemu_riscv32/qemu_riscv32.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/riscv/hifive1_revb/hifive1_revb.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/riscv/rv32m1_vega/rv32m1_vega_ri5cy.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/riscv/rv32m1_vega/rv32m1_vega_zero_riscy.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/riscv/litex_vexriscv/litex_vexriscv.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/riscv/qemu_riscv64/qemu_riscv64.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/riscv/m2gl025_miv/m2gl025_miv.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mimxrt1010_evk/mimxrt1010_evk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/bcm958402m2_a72/bcm958402m2_a72.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/atsamr21_xpro/atsamr21_xpro.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52dk_nrf52810/nrf52dk_nrf52810.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/frdm_kl25z/frdm_kl25z.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l053r8/nucleo_l053r8.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/arduino_due/arduino_due.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/warp7_m4/warp7_m4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_argonkey/96b_argonkey.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f429i_disc1/stm32f429i_disc1.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/lpcxpresso54114/lpcxpresso54114_m4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/lpcxpresso54114/lpcxpresso54114_m0.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/lpcxpresso55s16/lpcxpresso55s16_ns.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mps2_an385/mps2_an385.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l452re/nucleo_l452re.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f411e_disco/stm32f411e_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f412zg/nucleo_f412zg.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_carbon/96b_carbon.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/hexiwear_kw40z/hexiwear_kw40z.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/colibri_imx7d_m4/colibri_imx7d_m4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/frdm_kw41z/frdm_kw41z.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f0_disco/stm32f0_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/adafruit_feather_nrf52840/adafruit_feather_nrf52840.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f412g_disco/stm32f412g_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/b_l4s5i_iot01a/b_l4s5i_iot01a.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/frdm_k64f/frdm_k64f.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/frdm_k22f/frdm_k22f.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/sam_e70_xplained/sam_e70_xplained.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/sam_e70_xplained/sam_e70b_xplained.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_g431rb/nucleo_g431rb.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52_adafruit_feather/nrf52_adafruit_feather.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f723e_disco/stm32f723e_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_neonkey/96b_neonkey.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/bl654_dvk/bl654_dvk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/cy8ckit_062_wifi_bt_m4/cy8ckit_062_wifi_bt_m4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/olimex_stm32_h407/olimex_stm32_h407.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mec15xxevb_assy6853/mec15xxevb_assy6853.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f103rb/nucleo_f103rb.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f411re/nucleo_f411re.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/cc3235sf_launchxl/cc3235sf_launchxl.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l496zg/nucleo_l496zg.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f767zi/nucleo_f767zi.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/efm32hg_slstk3400a/efm32hg_slstk3400a.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/pico_pi_m4/pico_pi_m4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/atsame54_xpro/atsame54_xpro.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32mp157c_dk2/stm32mp157c_dk2.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/bcm958402m2_m7/bcm958402m2_m7.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_wistrio/96b_wistrio.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f401re/nucleo_f401re.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nuvoton_pfm_m487/nuvoton_pfm_m487.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/actinius_icarus/actinius_icarus.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l152re/nucleo_l152re.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/particle_boron/particle_boron.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf51dongle_nrf51422/nrf51dongle_nrf51422.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f3_disco/stm32f3_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mimxrt1020_evk/mimxrt1020_evk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/seeeduino_xiao/seeeduino_xiao.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/decawave_dwm1001_dev/decawave_dwm1001_dev.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52832_mdk/nrf52832_mdk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/olimex_stm32_p405/olimex_stm32_p405.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52_sparkfun/nrf52_sparkfun.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52840_blip/nrf52840_blip.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32g0316_disco/stm32g0316_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/lpcxpresso55s69/lpcxpresso55s69_ns.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/lpcxpresso55s69/lpcxpresso55s69_cpu0.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/lpcxpresso55s69/lpcxpresso55s69_cpu1.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/bcm958401m2/bcm958401m2.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/v2m_beetle/v2m_beetle.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32vl_disco/stm32vl_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l073rz/nucleo_l073rz.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32h747i_disco/stm32h747i_disco_m7.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32h747i_disco/stm32h747i_disco_m4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/bl652_dvk/bl652_dvk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f072_eval/stm32f072_eval.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52_vbluno52/nrf52_vbluno52.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_carbon_nrf51/96b_carbon_nrf51.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf9160_innblue21/nrf9160_innblue21.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf9160_innblue21/nrf9160_innblue21ns.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/adafruit_trinket_m0/adafruit_trinket_m0.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_h743zi/nucleo_h743zi.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l4r5zi/nucleo_l4r5zi.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mec2016evb_assy6797/mec2016evb_assy6797.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/sam_v71_xult/sam_v71_xult.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/sam_v71_xult/sam_v71b_xult.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/twr_ke18f/twr_ke18f.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_g474re/nucleo_g474re.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/qemu_cortex_m0/qemu_cortex_m0.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf5340pdk_nrf5340/nrf5340pdk_nrf5340_cpuapp.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf5340pdk_nrf5340/nrf5340pdk_nrf5340_cpunet.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf5340pdk_nrf5340/nrf5340pdk_nrf5340_cpuappns.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/olimexino_stm32/olimexino_stm32.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32l1_disco/stm32l1_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/degu_evk/degu_evk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf51dk_nrf51422/nrf51dk_nrf51422.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/b_l072z_lrwan1/b_l072z_lrwan1.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/adafruit_itsybitsy_m4_express/adafruit_itsybitsy_m4_express.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/waveshare_open103z/waveshare_open103z.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/disco_l475_iot1/disco_l475_iot1.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f302r8/nucleo_f302r8.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32l496g_disco/stm32l496g_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_h745zi_q/nucleo_h745zi_q_m4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_h745zi_q/nucleo_h745zi_q_m7.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l476rg/nucleo_l476rg.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/frdm_k82f/frdm_k82f.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f469i_disco/stm32f469i_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/cc26x2r1_launchxl/cc26x2r1_launchxl.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf51_ble400/nrf51_ble400.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f769i_disco/stm32f769i_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/black_f407ve/black_f407ve.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/sensortile_box/sensortile_box.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/adafruit_feather_stm32f405/adafruit_feather_stm32f405.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_g071rb/nucleo_g071rb.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf51_vbluno51/nrf51_vbluno51.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52840dk_nrf52811/nrf52840dk_nrf52811.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/udoo_neo_full_m4/udoo_neo_full_m4.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52_blenano2/nrf52_blenano2.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32_min_dev/stm32_min_dev_blue.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32_min_dev/stm32_min_dev_black.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/v2m_musca_b1/v2m_musca_b1_nonsecure.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/v2m_musca_b1/v2m_musca_b1.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mimxrt1050_evk/mimxrt1050_evk_qspi.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mimxrt1050_evk/mimxrt1050_evk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mimxrt1015_evk/mimxrt1015_evk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f4_disco/stm32f4_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/usb_kw24d512/usb_kw24d512.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l432kc/nucleo_l432kc.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_aerocore2/96b_aerocore2.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mimxrt1064_evk/mimxrt1064_evk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f446re/nucleo_f446re.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/olimex_stm32_e407/olimex_stm32_e407.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32l476g_disco/stm32l476g_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/qemu_cortex_m3/qemu_cortex_m3.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf9160_innblue22/nrf9160_innblue22.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf9160_innblue22/nrf9160_innblue22ns.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f072b_disco/stm32f072b_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/ruuvi_ruuvitag/ruuvi_ruuvitag.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f746zg/nucleo_f746zg.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/particle_xenon/particle_xenon.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f091rc/nucleo_f091rc.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mikroe_mini_m4_for_stm32/mikroe_mini_m4_for_stm32.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/cy8ckit_062_wifi_bt_m0/cy8ckit_062_wifi_bt_m0.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f746g_disco/stm32f746g_disco.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52833dk_nrf52820/nrf52833dk_nrf52820.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/qemu_cortex_a53/qemu_cortex_a53.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_l552ze_q/nucleo_l552ze_q.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f207zg/nucleo_f207zg.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mimxrt1060_evk/mimxrt1060_evk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mimxrt1060_evk/mimxrt1060_evk_hyperflash.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/thingy52_nrf52832/thingy52_nrf52832.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_avenger96/96b_avenger96.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/atsamd21_xpro/atsamd21_xpro.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/v2m_musca/v2m_musca_nonsecure.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/v2m_musca/v2m_musca.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32373c_eval/stm32373c_eval.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_nitrogen/96b_nitrogen.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f030r8/nucleo_f030r8.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/atsamd20_xpro/atsamd20_xpro.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf51_blenano/nrf51_blenano.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/efm32gg_stk3701a/efm32gg_stk3701a.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/cc1352r1_launchxl/cc1352r1_launchxl.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/efr32_radio/efr32_radio_brd4104a.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/efr32_radio/efr32_radio_brd4250b.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/sam4e_xpro/sam4e_xpro.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/sam4s_xplained/sam4s_xplained.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_meerkat96/96b_meerkat96.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/efm32wg_stk3800/efm32wg_stk3800.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/xmc45_relax_kit/xmc45_relax_kit.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/twr_kv58f220m/twr_kv58f220m.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/efr32mg_sltb004a/efr32mg_sltb004a.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/arduino_zero/arduino_zero.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/ip_k66f/ip_k66f.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52840_papyr/nrf52840_papyr.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/google_kukui/google_kukui.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/particle_argon/particle_argon.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mps2_an521/mps2_an521_nonsecure.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mps2_an521/mps2_an521.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/adafruit_feather_m0_basic_proto/adafruit_feather_m0_basic_proto.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf9160dk_nrf52840/nrf9160dk_nrf52840.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f429zi/nucleo_f429zi.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f303re/nucleo_f303re.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_wb55rg/nucleo_wb55rg.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/efm32pg_stk3402a/efm32pg_stk3402a_jg.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/efm32pg_stk3402a/efm32pg_stk3402a.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mec1501modular_assy6885/mec1501modular_assy6885.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/reel_board/reel_board_v2.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/reel_board/reel_board.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nrf52840_mdk/nrf52840_mdk.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm32f030_demo/stm32f030_demo.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/holyiot_yj16019/holyiot_yj16019.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/black_f407zg_pro/black_f407zg_pro.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/bbc_microbit/bbc_microbit.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/dragino_lsn50/dragino_lsn50.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f070rb/nucleo_f070rb.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/mm_swiftio/mm_swiftio.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/steval_fcu001v1/steval_fcu001v1.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f334r8/nucleo_f334r8.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/hexiwear_k64/hexiwear_k64.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f756zg/nucleo_f756zg.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/nucleo_f413zh/nucleo_f413zh.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/arm/stm3210c_eval/stm3210c_eval.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/nios2/altera_max10/altera_max10.yaml
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/boards/nios2/qemu_nios2/qemu_nios2.yaml
DEBUG   - Reading platform configuration files under /home/ztest/work/zephyrproject/zephyr/scripts/sanity_chk/boards...
DEBUG   - Found platform configuration /home/ztest/work/zephyrproject/zephyr/scripts/sanity_chk/boards/unit/unit_testing/unit_testing.yaml
DEBUG   - platform filter: ['hsdk']
DEBUG   -     arch_filter: None
DEBUG   -      tag_filter: None
DEBUG   -     exclude_tag: None
INFO    - Building initial testcase list...
INFO    - 2 test configurations selected, 0 configurations discarded due to filters.

Device testing on:

| Platform   | ID   | Serial device   |
|------------|------|-----------------|
| hsdk       |      | /dev/ttyUSB0    |

INFO    - Adding tasks to the queue...
DEBUG   - Running cmake on /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v2 for hsdk
DEBUG   - Calling cmake with arguments: ['-B/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2', '-S/home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v2', '-DEXTRA_CFLAGS="-Werror ', '-DEXTRA_AFLAGS=-Wa,--fatal-warnings', '-DEXTRA_LDFLAGS="-Wl,--fatal-warnings', '-GUnix Makefiles', '-DBOARD=hsdk']
DEBUG   - Running cmake on /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v1 for hsdk
DEBUG   - DONE FEEDING
DEBUG   - Calling cmake with arguments: ['-B/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1', '-S/home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v1', '-DEXTRA_CFLAGS="-Werror ', '-DEXTRA_AFLAGS=-Wa,--fatal-warnings', '-DEXTRA_LDFLAGS="-Wl,--fatal-warnings', '-GUnix Makefiles', '-DBOARD=hsdk']
DEBUG   - Finished building /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v1 for hsdk
DEBUG   - Finished building /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v2 for hsdk
DEBUG   - build test: hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2
DEBUG   - Building /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v2 for hsdk
DEBUG   - build test: hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1
DEBUG   - Building /home/ztest/work/zephyrproject/zephyr/tests/portability/cmsis_rtos_v1 for hsdk
DEBUG   - run test: hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2
DEBUG   - run test: hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1
rff: resetting device #0 (SN 251642000171)...rff: resetting device #0 (SN 251642000171)...rff: ftdi: failed to set MPSSE mode, iface: 0, err: -2
rff: write failed on channel A, error -666 (USB device unavailable)
 FAIL
 OK
DEBUG   - Flash command: ['make', '-C', '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2', 'flash']
DEBUG   - Waiting for device hsdk to become available
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: *** Booting Zephyr OS build zephyr-v2.3.0-809-g897b5bf60a12  ***
DEBUG   - DEVICE: Running test suite test_cmsis_v2_apis
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_kernel_apis
DEBUG   - DEVICE: PASS - test_kernel_apis
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_delay
DEBUG   - make: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[1]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[2]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[  2%] Built target parse_syscalls_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[  3%] Built target kobj_types_h_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[  5%] Built target syscall_list_h_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[  8%] Built target driver_validation_h_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[  9%] Built target offsets
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[  9%] Built target offsets_h
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[  9%] Built target zephyr_generated_headers
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 26%] Built target kernel
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 33%] Built target app
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 34%] Built target linker_script_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 55%] Built target zephyr
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 57%] Built target arch__common
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 69%] Built target arch__arc__core
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 80%] Built target lib__libc__minimal
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 82%] Built target lib__posix
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 88%] Built target lib__cmsis_rtos_v2
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 90%] Built target subsys__testsuite__ztest
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 91%] Built target drivers__gpio
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 92%] Built target drivers__spi
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 94%] Built target drivers__serial
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 96%] Built target zephyr_prebuilt
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 96%] Built target linker_pass_final_script_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[ 98%] Built target zephyr_final
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
Scanning dependencies of target flash
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[100%] Flashing hsdk
-- west flash: using runner openocd
L2 cache is present and not disabled
Invalidating L2 cache...
L2 cache has been flushed and invalidated.
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
[100%] Built target flash
make[2]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make[1]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'
make: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2'

DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: PASS - test_delay
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_apis
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/thread_apis.c:131: thread_apis_common: (osThreadGetCount() not equal to 2)
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/thread_apis.c:93: thread2: (osThreadGetState(thread_array[1]) not equal to osThreadReady)
DEBUG   - DEVICE: Incorrect number of cmsis rtos v2 threadsThread not in ready state
DEBUG   - DEVICE:
DEBUG   - DEVICE: FAIL - test_thread_apis
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_apis_dynamic
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/thread_apis.c:131: thread_apis_common: (osThreadGetCount() not equal to 2)
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/thread_apis.c:54: thread1: *args->yield_check not equal to 1
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/thread_apis.c:93: thread2: (osThreadGetState(thread_array[1]) not equal to osThreadReady)
DEBUG   - DEVICE: Thread not in ready stateIncorrect number of cmsis rtos v2 threads
DEBUG   - DEVICE:
DEBUG   - DEVICE:
DEBUG   - DEVICE: FAIL - test_thread_apis_dynamic
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_prio
DEBUG   - DEVICE: PASS - test_thread_prio
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_prio_dynamic
DEBUG   - DEVICE: PASS - test_thread_prio_dynamic
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_timer
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: oneshot_callback (Timer 1) = 1
DEBUG   - Waiting for device hsdk to become available
DEBUG   - Waiting for device hsdk to become available
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: periodic_callback (Timer 2) = 1
DEBUG   - DEVICE: periodic_callback (Timer 2) = 2
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: periodic_callback (Timer 2) = 3
DEBUG   - DEVICE: periodic_callback (Timer 2) = 4
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: periodic_callback (Timer 2) = 5
DEBUG   - DEVICE: PASS - test_timer
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_mutex
DEBUG   - DEVICE: PASS - test_mutex
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_mutex_lock_timeout
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/mutex.c:118: tThread_entry_lock_timeout: status == osErrorResource is false
DEBUG   - DEVICE:
DEBUG   - DEVICE: FAIL - test_mutex_lock_timeout
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_semaphore
DEBUG   - DEVICE: PASS - test_semaphore
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_mempool
DEBUG   - DEVICE: PASS - test_mempool
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_mempool_dynamic
DEBUG   - DEVICE: PASS - test_mempool_dynamic
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_messageq
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: PASS - test_messageq
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_event_flags_no_wait_timeout
DEBUG   - Waiting for device hsdk to become available
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: PASS - test_event_flags_no_wait_timeout
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_event_flags_signalled
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/event_flags.c:43: thread2: (flags & FLAG2 not equal to 0)
DEBUG   - DEVICE: PASS - test_event_flags_signalled
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE:
DEBUG   - DEVICE: START - test_event_flags_isr
DEBUG   - DEVICE: PASS - test_event_flags_isr
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_flags_no_wait_timeout
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/thread_flags.c:35: thread1: (flags & FLAG1 not equal to FLAG1)
DEBUG   - DEVICE:
DEBUG   - DEVICE: FAIL - test_thread_flags_no_wait_timeout
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_flags_signalled
DEBUG   - DEVICE: PASS - test_thread_flags_signalled
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_flags_isr
DEBUG   - DEVICE: PASS - test_thread_flags_isr
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_join
DEBUG   - DEVICE: - Creating thread B...
DEBUG   - DEVICE: - Creating thread A...
DEBUG   - DEVICE: * Thread B started.
DEBUG   - DEVICE: + Thread A started.
DEBUG   - DEVICE: - Waiting for thread B to join...
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: * Thread B joining...
DEBUG   - DEVICE: - Thread B joined.
DEBUG   - DEVICE: + Thread A joining...
DEBUG   - DEVICE: - Waiting for thread A to join...
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/thread_apis.c:305: test_thread_join: (status not equal to osOK)
DEBUG   - DEVICE: osThreadJoin thread A failed!
DEBUG   - DEVICE: FAIL - test_thread_join
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_detached
DEBUG   - DEVICE: * Thread B started.
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: * Thread B joining...
DEBUG   - DEVICE: PASS - test_thread_detached
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_joinable_detach
DEBUG   - DEVICE: * Thread B started.
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: * Thread B joining...
DEBUG   - DEVICE: PASS - test_thread_joinable_detach
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_joinable_terminate
DEBUG   - DEVICE: * Thread B started.
DEBUG   - Waiting for device hsdk to become available
DEBUG   - DEVICE: PASS - test_thread_joinable_terminate
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: Test suite test_cmsis_v2_apis failed.
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: PROJECT EXECUTION FAILED
DEBUG   - Flash command: ['make', '-C', '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1', 'flash']
DEBUG   - DEVICE: *** Booting Zephyr OS build zephyr-v2.3.0-809-g897b5bf60a12  ***
DEBUG   - DEVICE: Running test suite test_cmsis_apis
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_kernel_start
DEBUG   - DEVICE: PASS - test_kernel_start
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_kernel_systick
DEBUG   - make: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[1]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[2]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[  2%] Built target parse_syscalls_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[  3%] Built target kobj_types_h_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[  6%] Built target syscall_list_h_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[  8%] Built target driver_validation_h_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[  9%] Built target offsets
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 10%] Built target offsets_h
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 10%] Built target zephyr_generated_headers
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 27%] Built target kernel
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 34%] Built target app
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 34%] Built target linker_script_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 54%] Built target zephyr
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 56%] Built target arch__common
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 69%] Built target arch__arc__core
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 79%] Built target lib__libc__minimal
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 81%] Built target lib__posix
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 88%] Built target lib__cmsis_rtos_v1
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 89%] Built target subsys__testsuite__ztest
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 91%] Built target drivers__gpio
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 92%] Built target drivers__spi
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 93%] Built target drivers__serial
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 95%] Built target zephyr_prebuilt
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 96%] Built target linker_pass_final_script_target
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[ 98%] Built target zephyr_final
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
Scanning dependencies of target flash
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[3]: Entering directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[100%] Flashing hsdk
-- west flash: using runner openocd
L2 cache is present and not disabled
Invalidating L2 cache...
L2 cache has been flushed and invalidated.
make[3]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
[100%] Built target flash
make[2]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make[1]: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'
make: Leaving directory '/home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1'

DEBUG   - DEVICE: PASS - test_kernel_systick
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_apis
DEBUG   - DEVICE: PASS - test_thread_apis
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_prio
DEBUG   - DEVICE: PASS - test_thread_prio
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_instances
DEBUG   - DEVICE: PASS - test_thread_instances
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_timer
DEBUG   - DEVICE: oneshot_callback (Timer 1) = 1
DEBUG   - DEVICE: periodic_callback (Timer 2) = 1
DEBUG   - DEVICE: periodic_callback (Timer 2) = 2
DEBUG   - DEVICE: periodic_callback (Timer 2) = 3
DEBUG   - DEVICE: periodic_callback (Timer 2) = 4
DEBUG   - DEVICE: periodic_callback (Timer 2) = 5
DEBUG   - DEVICE: PASS - test_timer
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_mutex
DEBUG   - DEVICE: PASS - test_mutex
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_mutex_lock_timeout
DEBUG   - DEVICE: PASS - test_mutex_lock_timeout
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_semaphore
DEBUG   - DEVICE: PASS - test_semaphore
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_mempool
DEBUG   - DEVICE: PASS - test_mempool
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_mailq
DEBUG   - DEVICE: PASS - test_mailq
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_messageq
DEBUG   - DEVICE: PASS - test_messageq
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_signal_events_no_wait
DEBUG   - DEVICE: PASS - test_signal_events_no_wait
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_signal_events_timeout
DEBUG   - DEVICE: PASS - test_signal_events_timeout
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_signal_events_signalled
DEBUG   - DEVICE: PASS - test_signal_events_signalled
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_signal_events_isr
DEBUG   - DEVICE: PASS - test_signal_events_isr
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: Test suite test_cmsis_apis succeeded
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: PROJECT EXECUTION SUCCESSFUL
INFO    - 1/2 hsdk                      tests/portability/cmsis_rtos_v1/portability.cmsis_rtos_v1 PASSED (device 13.135s)
INFO    - 2/2 hsdk                      tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2 FAILED Failed (device 15.599s)
ERROR   - see: /home/ztest/work/zephyrproject/zephyr/sanity-out/hsdk/tests/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2/handler.log

INFO    - 1 of 2 tests passed (50.00%), 1 failed, 0 skipped with 0 warnings in 61.21 seconds
INFO    - In total 2 test cases were executed on 1 out of total 260 platforms (0.38%)
INFO    - 2 tests executed on platforms, 0 tests were only built.

Hardware distribution summary:

| Board   | ID   |   Counter |
|---------|------|-----------|
| hsdk    |      |         2 |__

============================================================
abrodkin commented 4 years ago

@xuhao8210 OK so this needs to be finally solved and I'll take a look at it seriously this time around, see https://github.com/zephyrproject-rtos/zephyr/issues/26665 :)

xuhao8210 commented 4 years ago

@abrodkin OK, Got it . Thanks

abrodkin commented 3 years ago

@xuhao8210 with https://github.com/zephyrproject-rtos/zephyr/pull/27793 merged we now do reset in between tests that way:

echo "#!/bin/bash" > pre_script_file.sh
echo "rff-reset --serial ${DIGILENT_SERIAL_NUMBER} && sleep 2" >> pre_script_file.sh
chmod a+x pre_script_file.sh
./scripts/sanitycheck ... --pre-script pre_script_file.sh ...

And with that we're getting much better results on the HSDK board. Please let us know if it helps on your side.

P.S. Sources and build instructions for rff-reset utility are available here: https://github.com/foss-for-synopsys-dwc-arc-processors/rff-ftdi-reset