New issue
Advanced search Search tips

Issue 671378 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

kernel_Delay tests fails frequently

Project Member Reported by snanda@chromium.org, Dec 5 2016

Issue description

Project Member

Comment 1 by bugdroid1@chromium.org, Jan 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/d49d2e17d072acedf35664cec84a1f4acc5d1938

commit d49d2e17d072acedf35664cec84a1f4acc5d1938
Author: David Riley <davidriley@chromium.org>
Date: Tue Dec 13 00:23:16 2016

kernel_Delay: Allow test to work without userspace governor.

Test previously requireds userspace governor which is not available
on newer Intel platforms.

BUG=chromium:671378
TEST=test_that kernel_Delay on cave

Change-Id: Idaa2b35fea0058bfba7d6cfa5bd0dd1331717c6d
Reviewed-on: https://chromium-review.googlesource.com/419080
Commit-Ready: David Riley <davidriley@chromium.org>
Tested-by: David Riley <davidriley@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>

[modify] https://crrev.com/d49d2e17d072acedf35664cec84a1f4acc5d1938/client/site_tests/kernel_Delay/kernel_Delay.py

Project Member

Comment 2 by bugdroid1@chromium.org, Mar 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/ad366ed355b7847719c0be7b2c3036d77d1a2665

commit ad366ed355b7847719c0be7b2c3036d77d1a2665
Author: David Riley <davidriley@chromium.org>
Date: Tue Mar 14 22:06:03 2017

kernel_Delay: Fix test for 4.4 systems.

The udelay_test kernel module was renamed upstream to test_udelay
which affects >4.4 kernels.  Handle both versions of kernel within the
test.

BUG=chromium:671378
TEST=test_that -b glimmer DUT kernel_Delay

Change-Id: Id45a15391db73abb8ea3f04cf29205336cafd42c
Reviewed-on: https://chromium-review.googlesource.com/446036
Commit-Ready: David Riley <davidriley@chromium.org>
Tested-by: David Riley <davidriley@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>

[modify] https://crrev.com/ad366ed355b7847719c0be7b2c3036d77d1a2665/client/site_tests/kernel_Delay/kernel_Delay.py

Comment 3 by rajatja@google.com, Mar 29 2017

I see that this still fails (I verified on poppy). I verified that I have test_udelay.ko present in my /lib/modules and a manual "modprobe test_udelay" does load the module. Apparently problem is the module name?

The module name is test_udelay, where as the test tries to load udelay_test?

Command </sbin/modprobe udelay_test> failed, rc=1, Command returned non-zero exit status




autotests.tar.gz
4.0 MB Download

Comment 4 by rajatja@google.com, Mar 29 2017

BTW, my kernel version is:

localhost ~ # uname -a
Linux localhost 4.4.52-07969-ga3f96b3 #3 SMP PREEMPT Tue Mar 28 10:37:09 PDT 2017 x86_64 Intel(R) Pentium(R) CPU 4410Y @ 1.50GHz GenuineIntel GNU/Linux
localhost ~ #
Is this on ToT?  Or some release branch?  The change I landed should load test_udelay for 4.4 kernels.  And I'm not seeing the failure on wmatrix any more.
Status: Assigned (was: Untriaged)

Sign in to add a comment