New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 795130 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

chell chromeos-ec test flake

Project Member Reported by dgarr...@chromium.org, Dec 14 2017

Issue description

This build, with no relevant CLs:

https://luci-milo.appspot.com/buildbot/chromeos/chell-paladin/3374


Saw this unittest failure *twice*:

chromeos-ec-0.0.1-r4417: --- Emulator initialized after reboot ---
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: [Reset cause: power-on]
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: [0.000016 SW 0x04]
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Running check_init...OK
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Running simple_write...OK
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Running simple_search...OK
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Running simple_delete...OK
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Running complex_write...OK
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Running weird_keys...OK
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Running weird_values...OK
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Running fill_it_up...OK
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: PaConsole input initialized
chromeos-ec-0.0.1-r4417: ss!
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Console is enabled; type HELP for help.
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: > [0.000128 event set 0x0000000000002000]
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: [0.000134 hostcmd init 0x0000000000002000]
chromeos-ec-0.0.1-r4417: 
chromeos-ec-0.0.1-r4417: Stack trace of task 1 (HOOKS):
chromeos-ec-0.0.1-r4417: #0  /build/chell/lib64/libpthread.so.0(pthread_cond_wait+0xbf) [0x7f67cc8451ff]
chromeos-ec-0.0.1-r4417:     ??:0
chromeos-ec-0.0.1-r4417: #1  build/host/nvmem_vars/nvmem_vars.exe(task_wait_event+0x89) [0x412570]
chromeos-ec-0.0.1-r4417:     /build/chell/tmp/portage/chromeos-base/chromeos-ec-0.0.1-r4417/work/platform/ec/core/host/task.c:204
chromeos-ec-0.0.1-r4417: #2  build/host/nvmem_vars/nvmem_vars.exe(hook_task+0x1f7) [0x40ac83]
chromeos-ec-0.0.1-r4417:     /build/chell/tmp/portage/chromeos-base/chromeos-ec-0.0.1-r4417/work/platform/ec/common/hooks.c:243
chromeos-ec-0.0.1-r4417: #3  build/host/nvmem_vars/nvmem_vars.exe(_task_start_impl+0x79) [0x412b45]
chromeos-ec-0.0.1-r4417:     /build/chell/tmp/portage/chromeos-base/chromeos-ec-0.0.1-r4417/work/platform/ec/core/host/task.c:406 (discriminator 1)
chromeos-ec-0.0.1-r4417: #4  /build/chell/lib64/libpthread.so.0(+0x72b8) [0x7f67cc83f2b8]
chromeos-ec-0.0.1-r4417:     ??:0
chromeos-ec-0.0.1-r4417: #5  /build/chell/lib64/libc.so.6(clone+0x6d) [0x7f67cc583fad]
chromeos-ec-0.0.1-r4417:     ??:0
 
Components: Infra>Client>ChromeOS
Passing to the sheriff to find an owner.

Comment 2 by dtor@chromium.org, Dec 18 2017

Owner: gwendal@chromium.org
Cc: aaboagye@chromium.org scollyer@chromium.org vbendeb@chromium.org
Components: -Infra>Client>ChromeOS OS>Firmware>EC
Labels: -Pri-3 OS-Chrome Pri-2
Looks like a race condition during the test test/nvmem_vars.c.

test_print_result was called with __test_error_count == 0, but the task HOOKS was waiting for an event that will never come.

Status: Assigned (was: Untriaged)

Sign in to add a comment