Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout error for the Microchip board during Sanitycheck #21591

Closed
maksimmasalski opened this issue Dec 26, 2019 · 3 comments
Closed

Timeout error for the Microchip board during Sanitycheck #21591

maksimmasalski opened this issue Dec 26, 2019 · 3 comments
Assignees
Labels
area: Sanitycheck Sanitycheck has been renamed to Twister bug The issue is a bug, or the PR is fixing a bug

Comments

@maksimmasalski
Copy link
Collaborator

maksimmasalski commented Dec 26, 2019

Describe the bug
Discovered problem that Sanitycheck stopped work on the Microchip board. Now for every test after it was build and uploaded to the board, no output during Sanitycheck run, as a result Sanitycheck shows Timeout error. Tested on 2 independent computers with Microchip board.

The latest working commit was 23bddde. Below is shown output which was during that commit. If to use same commit now, error happens and I can't reproduce the same working behaviour. It means that something happened maybe with west. I can't find out the root cause, I tried to modify sanitycheck script, but it was no succes to deal with it.

====WORKING OUTPUT START====

[maksim@maksim-nuc zephyr]$ sanitycheck --device-testing --device-serial /dev/ttyUSB1 -p mec15xxevb_assy6853 -T /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api/ -v -v
JOBS: 8
Reading test case configuration files under /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api...
scanning /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api
Found possible test case in /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api
Reading platform configuration files under /home/maksim/zephyrproject/zephyr/boards...
platform filter: ['mec15xxevb_assy6853']
arch_filter: None
tag_filter: None
exclude_tag: None
Building initial testcase list...
2 test configurations selected, 0 configurations discarded due to filters.
Device testing on:
mec15xxevb_assy6853 (None) on /dev/ttyUSB1
Adding tasks to the queue...
Running cmake on /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
Running cmake on /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
DONE FEEDING
build test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo
Building /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
build test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll
Building /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
run test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo
make: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
run test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll
make[1]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[2]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 1%] Built target kobj_types_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 4%] Built target syscall_list_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 5%] Built target syscall_macros_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 5%] Built target driver_validation_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 6%] Built target offsets
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 7%] Built target offsets_h
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 24%] Built target kernel
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 28%] Built target app
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 46%] Built target zephyr
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 47%] Built target linker_script_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 49%] Built target arch__common
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 59%] Built target arch__arm__core
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 65%] Built target arch__arm__core__cortex_m
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 78%] Built target lib__libc__minimal
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 80%] Built target lib__posix
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 81%] Built target boards__arm__mec15xxevb_assy6853
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 82%] Built target subsys__testsuite__ztest
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 83%] Built target drivers__gpio
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 85%] Built target drivers__i2c
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 87%] Built target drivers__spi
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 89%] Built target drivers__espi
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 91%] Built target drivers__ps2
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 92%] Built target drivers__kscan
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 93%] Built target drivers__serial
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 95%] Built target zephyr_prebuilt
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 95%] Built target linker_pass_final_script_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 98%] Built target zephyr_final
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
Scanning dependencies of target flash
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[100%] Flashing mec15xxevb_assy6853
-- west flash: using runner dediprog
DpCmd Linux 1.11.1.07 Engine Version:
Last Built on May 25 2018
By reading the chip ID, the chip applies to [ W25Q128BV ]
W25Q128BV parameters to be applied by default
W25Q128BV chip size is 16777216 bytes.
Loading file, please wait ...(/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo/zephyr/spi_image.bin)
Auto Sequences, please wait ...
Device 1 (DP112688):
Device 1 (DP112688):
Automatic program OK
Checksum(whole file): BE5D5AC5
Checksum(Written part of file): BE5D5AC5
Verifying, please wait ...
Device 1 (DP112688):
Device 1 (DP112688):
Verify OK
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[100%] Built target flash
make[2]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[1]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
DEVICE: *** Booting Zephyr OS build v2.1.0-rc2-51-g23bdddea0c1b ***
DEVICE: Running test suite fifo_api
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_thread2thread
DEVICE: PASS - test_fifo_thread2thread
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_thread2isr
DEVICE: PASS - test_fifo_thread2isr
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_isr2thread
DEVICE: PASS - test_fifo_isr2thread
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_get_fail
DEVICE: PASS - test_fifo_get_fail
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_loop
DEVICE: * Pass data by fifo in loop 0
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 1
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 2
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 3
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 4
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 5
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 6
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 7
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 8
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 9
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 10
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 11
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 12
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 13
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 14
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 15
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 16
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 17
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 18
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 19
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 20
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 21
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 22
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 23
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 24
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 25
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 26
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 27
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 28
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 29
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 30
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 31
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: PASS - test_fifo_loop
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_cancel_wait
DEVICE: PASS - test_fifo_cancel_wait
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_is_empty_thread
DEVICE: PASS - test_fifo_is_empty_thread
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_is_empty_isr
DEVICE: PASS - test_fifo_is_empty_isr
DEVICE: ===================================================================
DEVICE: Test suite fifo_api succeeded
DEVICE: ===================================================================
DEVICE: PROJECT EXECUTION SUCCESSFUL
1/2 mec15xxevb_assy6853 tests/kernel/fifo/fifo_api/kernel.fifo PASSED (device 54.267s)
make: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[1]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[2]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 1%] Built target kobj_types_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 4%] Built target syscall_list_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 5%] Built target syscall_macros_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 6%] Built target driver_validation_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 7%] Built target offsets
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 8%] Built target offsets_h
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 27%] Built target kernel
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 31%] Built target app
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 48%] Built target zephyr
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 48%] Built target linker_script_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 50%] Built target arch__common
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 60%] Built target arch__arm__core
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 66%] Built target arch__arm__core__cortex_m
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 77%] Built target lib__libc__minimal
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 79%] Built target lib__posix
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 81%] Built target boards__arm__mec15xxevb_assy6853
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 82%] Built target subsys__testsuite__ztest
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 83%] Built target drivers__gpio
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 85%] Built target drivers__i2c
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 87%] Built target drivers__spi
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 89%] Built target drivers__espi
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 91%] Built target drivers__ps2
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 92%] Built target drivers__kscan
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 93%] Built target drivers__serial
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 95%] Built target zephyr_prebuilt
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[ 96%] Built target linker_pass_final_script_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[100%] Built target zephyr_final
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
Scanning dependencies of target flash
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[100%] Flashing mec15xxevb_assy6853
-- west flash: using runner dediprog
DpCmd Linux 1.11.1.07 Engine Version:
Last Built on May 25 2018
By reading the chip ID, the chip applies to [ W25Q128BV ]
W25Q128BV parameters to be applied by default
W25Q128BV chip size is 16777216 bytes.
Loading file, please wait ...(/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll/zephyr/spi_image.bin)
Auto Sequences, please wait ...
Device 1 (DP112688):
Device 1 (DP112688):
Automatic program OK
Checksum(whole file): EDDCB197
Checksum(Written part of file): EDDCB197
Verifying, please wait ...
Device 1 (DP112688):
Device 1 (DP112688):
Verify OK
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
[100%] Built target flash
make[2]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[1]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
DEVICE: *** Booting Zephyr OS build v2.1.0-rc2-51-g23bdddea0c1b ***
DEVICE: Running test suite fifo_api
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_thread2thread
DEVICE: PASS - test_fifo_thread2thread
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_thread2isr
DEVICE: PASS - test_fifo_thread2isr
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_isr2thread
DEVICE: PASS - test_fifo_isr2thread
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_get_fail
DEVICE: PASS - test_fifo_get_fail
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_loop
DEVICE: * Pass data by fifo in loop 0
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 1
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 2
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 3
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 4
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 5
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 6
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 7
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 8
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 9
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 10
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 11
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 12
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 13
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 14
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 15
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 16
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 17
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 18
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 19
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 20
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 21
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 22
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 23
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 24
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 25
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 26
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 27
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 28
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 29
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 30
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: * Pass data by fifo in loop 31
DEVICE: main fifo put ---> isr fifo get
DEVICE: isr fifo put ---> thread fifo get
DEVICE: thread fifo put ---> main fifo get
DEVICE:
DEVICE: PASS - test_fifo_loop
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_cancel_wait
DEVICE: PASS - test_fifo_cancel_wait
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_is_empty_thread
DEVICE: PASS - test_fifo_is_empty_thread
DEVICE: ===================================================================
DEVICE: starting test - test_fifo_is_empty_isr
DEVICE: PASS - test_fifo_is_empty_isr
DEVICE: ===================================================================
DEVICE: Test suite fifo_api succeeded
DEVICE: ===================================================================
DEVICE: PROJECT EXECUTION SUCCESSFUL
2/2 mec15xxevb_assy6853 tests/kernel/fifo/fifo_api/kernel.fifo.poll PASSED (device 54.320s)
2 of 2 tests passed (100.00%), 0 failed, 0 skipped with 0 warnings in 113.28 seconds
In total 2 test cases were executed on 1 out of total 213 platforms (0.47%)
Hardware distribution summary:
mec15xxevb_assy6853 (None): 2

====WORKING OUTPUT END====
|
|
|
|
|
|
====ERROR OUTPUT START====

[maksim@maksim-nuc zephyr]$ sanitycheck --device-testing --device-serial /dev/ttyUSB0 -p mec15xxevb_assy6853 -T /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api/ -v -v
Renaming output directory to /home/maksim/zephyrproject/zephyr/sanity-out.61
JOBS: 8
Reading test case configuration files under /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api...
scanning /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api
Found possible test case in /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api
Reading platform configuration files under /home/maksim/zephyrproject/zephyr/boards...
platform filter: ['mec15xxevb_assy6853']
arch_filter: None
tag_filter: None
exclude_tag: None
Building initial testcase list...
2 test configurations selected, 0 configurations discarded due to filters.
Device testing on:
mec15xxevb_assy6853 (None) on /dev/ttyUSB0
Adding tasks to the queue...
Running cmake on /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
Running cmake on /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
DONE FEEDING
build test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll
Building /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
build test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo
Building /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
run test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll
run test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo
make: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[1]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[2]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 1%] Built target kobj_types_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 4%] Built target syscall_list_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 5%] Built target syscall_macros_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 5%] Built target driver_validation_h_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 6%] Built target offsets
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 7%] Built target offsets_h
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 24%] Built target kernel
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 28%] Built target app
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 46%] Built target zephyr
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 47%] Built target linker_script_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 49%] Built target arch__common
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 59%] Built target arch__arm__core
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 65%] Built target arch__arm__core__cortex_m
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 78%] Built target lib__libc__minimal
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 80%] Built target lib__posix
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 81%] Built target boards__arm__mec15xxevb_assy6853
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 82%] Built target subsys__testsuite__ztest
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 83%] Built target drivers__gpio
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 85%] Built target drivers__i2c
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 87%] Built target drivers__spi
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 89%] Built target drivers__espi
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 91%] Built target drivers__ps2
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 92%] Built target drivers__kscan
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 93%] Built target drivers__serial
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 95%] Built target zephyr_prebuilt
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 95%] Built target linker_pass_final_script_target
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[ 98%] Built target zephyr_final
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
Scanning dependencies of target flash
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[100%] Flashing mec15xxevb_assy6853
-- west flash: using runner dediprog
DpCmd Linux 1.11.1.07 Engine Version:
Last Built on May 25 2018
By reading the chip ID, the chip applies to [ W25Q128BV ]
W25Q128BV parameters to be applied by default
W25Q128BV chip size is 16777216 bytes.
Loading file, please wait ...(/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo/zephyr/spi_image.bin)
Auto Sequences, please wait ...
Device 1 (DP112688):
Device 1 (DP112688):
Automatic program OK
Checksum(whole file): BE5D5AC5
Checksum(Written part of file): BE5D5AC5
Verifying, please wait ...
Device 1 (DP112688):
Device 1 (DP112688):
Verify OK
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
[100%] Built target flash
make[2]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make[1]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
make: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo'
1/2 mec15xxevb_assy6853 tests/kernel/fifo/fifo_api/kernel.fifo FAILED N/A (device 111.525s)
see: sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo/handler.log
make: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[1]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[2]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Entering directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'
make[3]: Leaving directory '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll'

====ERROR OUTPUT END====

|
|
|
|
|
|
The latest master 4e135d7 give more error output. At least we know that it is Timeout error.
====ERROR OUTPUT START====

Device testing on:
| Platform | ID | Serial device |
|---------------------|------|-----------------|
| mec15xxevb_assy6853 | | /dev/ttyUSB0 |
INFO - Adding tasks to the queue...
DEBUG - Running cmake on /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
DEBUG - Running cmake on /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
DEBUG - DONE FEEDING
DEBUG - build test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll
DEBUG - Building /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
DEBUG - build test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo
DEBUG - Building /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api for mec15xxevb_assy6853
DEBUG - run test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo
DEBUG - run test: mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll
DEBUG - Flash command: ['make', '-C', '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo', 'flash']
INFO - 1/2 mec15xxevb_assy6853 tests/kernel/fifo/fifo_api/kernel.fifo FAILED Timeout (device 112.362s)
ERROR - see: sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo/build.log
DEBUG - Flash command: ['make', '-C', '/home/maksim/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo.poll', 'flash']

====ERROR OUTPUT END====

To Reproduce
Steps to reproduce the behavior:

  1. Use Microchip board https://docs.zephyrproject.org/latest/boards/arm/mec15xxevb_assy6853/doc/index.html
  2. Use the latest master or the commit 23bddde
  3. Run Sanitycheck sanitycheck --device-testing --device-serial /dev/ttyUSB1 -p mec15xxevb_assy6853 -T /home/maksim/zephyrproject/zephyr/tests/kernel/fifo/fifo_api/ -v -v
    you can also run the sanitycheck using hardware map for the Microchip board -the same behaviour.
  4. See the error (Timeout).

Expected behavior
Should have output of the running tests and pass that FIFO test succesffully as it was before. Now that FIFO test or any other test not work on the Microchip board due to that error.

Impact
Can't use Microchip for the Sanitycheck.

Screenshots or console output

Environment (please complete the following information):

  • OS: Fedora 28
  • Toolchain Zephyr SDK 0.10.3
  • 23bddde or the latest master
@maksimmasalski maksimmasalski added the bug The issue is a bug, or the PR is fixing a bug label Dec 26, 2019
@nashif nashif self-assigned this Jan 2, 2020
@nashif nashif added the area: Sanitycheck Sanitycheck has been renamed to Twister label Jan 2, 2020
@nashif
Copy link
Member

nashif commented Jan 2, 2020

The commit 23bddde being the last commit that works is curious. This was in the release phase of 2.1 and is one commit before rc3, nothing in that area changed, so I am not sure how you got to this commit. Are you saying that 2.1 (commit b413223) does not work also?

Please try manually and verify that you can build, flash and run those tests without sanitycheck on current master.

@nashif
Copy link
Member

nashif commented Jan 2, 2020

Also, please attach the contents of device.log, handler.log and build.log from sanity-out/mec15xxevb_assy6853/tests/kernel/fifo/fifo_api/kernel.fifo/

@maksimmasalski
Copy link
Collaborator Author

maksimmasalski commented Jan 3, 2020

@nashif Wrong wiring of the board caused that problem. Before wiring was correct, and then I changed it, so I missed that wiring can be a root cause too. In sanitycheck PR #21528 I found a bug, so I submitted a PR #21652 to fix it. That bug also caused a Timeout error, but the root cause was another. Please check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Sanitycheck Sanitycheck has been renamed to Twister bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants