Tests are failing with No module named crash_test |
||||
Issue descriptionWmatrix link: https://wmatrix.googleplex.com/failures/unfiltered?suites=usb_detect&builds=R57-9059.0.0&releases=57&platforms=chell All tests are failing with "No module named crash_test" Error messages. job page: https://ubercautotest.corp.google.com/afe/#tab_id=view_job&object_id=89513948 From debug logs: ==================================== 12/07 17:39:29.717 INFO | server_job:0153| START platform_ExternalUsbPeripherals.detect.unplug_plug platform_ExternalUsbPeripherals.detect.unplug_plug timestamp=1481161169 localtime=Dec 07 17:39:29 12/07 17:39:29.846 INFO | server_job:0153| FAIL platform_ExternalUsbPeripherals.detect.unplug_plug platform_ExternalUsbPeripherals.detect.unplug_plug timestamp=1481161169 localtime=Dec 07 17:39:29 No module named crash_test Traceback (most recent call last): File "/usr/local/autotest/server/server_job.py", line 843, in group_func test.runtest(self, url, tag, args, dargs) File "/usr/local/autotest/server/test.py", line 289, in runtest *logging_args) File "/usr/local/autotest/client/common_lib/test.py", line 867, in runtest exec ('import %s' % modulename, local_namespace, global_namespace) File "<string>", line 1, in <module> File "/usr/local/autotest/server/site_tests/platform_ExternalUsbPeripherals/platform_ExternalUsbPeripherals.py", line 7, in <module> from autotest_lib.client.cros.crash_test import CrashTest ImportError: No module named crash_test 12/07 17:39:29.847 INFO | server_job:0153| END ABORT platform_ExternalUsbPeripherals.detect.unplug_plug platform_ExternalUsbPeripherals.detect.unplug_plug timestamp=1481161169 localtime=Dec 07 17:39:29 No module named crash_test Traceback (most recent call last): File "/usr/local/autotest/server/server_job.py", line 870, in _run_group result = function(*args, **dargs) File "/usr/local/autotest/server/server_job.py", line 843, in group_func test.runtest(self, url, tag, args, dargs) File "/usr/local/autotest/server/test.py", line 289, in runtest *logging_args) File "/usr/local/autotest/client/common_lib/test.py", line 867, in runtest exec ('import %s' % modulename, local_namespace, global_namespace) File "<string>", line 1, in <module> File "/usr/local/autotest/server/site_tests/platform_ExternalUsbPeripherals/platform_ExternalUsbPeripherals.py", line 7, in <module> from autotest_lib.client.cros.crash_test import CrashTest ImportError: No module named crash_test 12/07 17:39:29.847 ERROR| server_job:0788| Exception escaped control file, job aborting: Traceback (most recent call last): File "/usr/local/autotest/server/server_job.py", line 780, in run self._execute_code(server_control_file, namespace) File "/usr/local/autotest/server/server_job.py", line 1280, in _execute_code execfile(code_file, namespace, namespace) File "/usr/local/autotest/results/89513948-chromeos-test/control.srv", line 80, in <module> parallel_simple(run, machines) File "/usr/local/autotest/server/subcommand.py", line 93, in parallel_simple function(arg) File "/usr/local/autotest/results/89513948-chromeos-test/control.srv", line 78, in run usb_list=usb_list, usb_checks=usb_checks, tag="detect.unplug_plug") File "/usr/local/autotest/server/server_job.py", line 854, in run_test result, exc_info = self._run_group(testname, subdir, group_func) File "/usr/local/autotest/server/server_job.py", line 878, in _run_group raise error.JobError(name + ' failed\n' + traceback.format_exc()) JobError: platform_ExternalUsbPeripherals.detect.unplug_plug failed Traceback (most recent call last): File "/usr/local/autotest/server/server_job.py", line 870, in _run_group result = function(*args, **dargs) File "/usr/local/autotest/server/server_job.py", line 843, in group_func test.runtest(self, url, tag, args, dargs) File "/usr/local/autotest/server/test.py", line 289, in runtest *logging_args) File "/usr/local/autotest/client/common_lib/test.py", line 867, in runtest exec ('import %s' % modulename, local_namespace, global_namespace) File "<string>", line 1, in <module> File "/usr/local/autotest/server/site_tests/platform_ExternalUsbPeripherals/platform_ExternalUsbPeripherals.py", line 7, in <module> from autotest_lib.client.cros.crash_test import CrashTest ImportError: No module named crash_test 12/07 17:39:29.848 INFO | server_job:0153| INFO ---- ---- timestamp=1481161169 job_abort_reason=platform_ExternalUsbPeripherals.detect.unplug_plug failed Traceback (most recent call last): File "/usr/local/autotest/server/server_job.py", line 870, in _run_group result = function(*args, **dargs) File "/usr/local/autotest/server/server_job.py", line 843, in group_func test.runtest(self, url, tag, args, dargs) File "/usr/local/autotest/server/test.py", line 289, in runtest *logging_args) File "/usr/local/autotest/client/common_lib/test.py", line 867, in runtest exec ('import %s' % modulename, local_namespace, global_namespace) File "<string>", line 1, in <module> File "/usr/local/autotest/server/site_tests/platform_ExternalUsbPeripherals/platform_ExternalUsbPeripherals.py", line 7, in <module> from autotest_lib.client.cros.crash_test import CrashTest ImportError: No module named crash_test localtime=Dec 07 17:39:29 platform_ExternalUsbPeripherals.detect.unplug_plug failed Traceback (most recent call last): File "/usr/local/autotest/server/server_job.py", line 870, in _run_group result = function(*args, **dargs) File "/usr/local/autotest/server/server_job.py", line 843, in group_func test.runtest(self, url, tag, args, dargs) File "/usr/local/autotest/server/test.py", line 289, in runtest *logging_args) File "/usr/local/autotest/client/common_lib/test.py", line 867, in runtest exec ('import %s' % modulename, local_namespace, global_namespace) File "<string>", line 1, in <module> File "/usr/local/autotest/server/site_tests/platform_ExternalUsbPeripherals/platform_ExternalUsbPeripherals.py", line 7, in <module> from autotest_lib.client.cros.crash_test import CrashTest ImportError: No module named crash_test 12/07 17:39:29.922 ERROR| logging_manager:0626| {'builds': "{'cros-version': 'chell-release/R57-9059.0.0'}", 'job_started': 1481161075, 'hostname': 'chromeos1-row2-rack4-host5', 'status_version': 1, 'label': 'chell-release/R57-9059.0.0/usb_detect/platform_ExternalUsbPeripherals.detect.unplug_plug', 'parent_job_id': 89513750, 'build': 'chell-release/R57-9059.0.0', 'drone': 'chromeos-server70.hot.corp.google.com', 'user': 'chromeos-test', 'suite': 'usb_detect', 'experimental': 'False', 'job_queued': 1481157620} 12/07 17:39:29.923 ERROR| logging_manager:0626| MACHINE NAME: chromeos1-row2-rack4-host5 ========================================
,
Dec 10 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/c6b917e1e5301293479b8783d2830252522b0db3 commit c6b917e1e5301293479b8783d2830252522b0db3 Author: Kalin Stoyanov <kalin@chromium.org> Date: Fri Dec 09 17:12:48 2016 Remove crash_test import BUG= chromium:672533 TEST=None Change-Id: I4bd21c4160b35fb7e5a8d6adc0abf4e30a66225d Reviewed-on: https://chromium-review.googlesource.com/418323 Commit-Ready: Kalin Stoyanov <kalin@chromium.org> Tested-by: Kalin Stoyanov <kalin@chromium.org> Reviewed-by: Sridhar Sonti <sontis@google.com> Reviewed-by: Ruchi Jahagirdar <rjahagir@chromium.org> [modify] https://crrev.com/c6b917e1e5301293479b8783d2830252522b0db3/server/site_tests/platform_ExternalUsbPeripherals/platform_ExternalUsbPeripherals.py
,
Dec 12 2016
Actually I see the tests platform_KernelErrorPaths.* are failing same way. Thsi seems applying to the server side tests that import crash_test.py In this case: from autotest_lib.client.cros.crash_test import CrashTest Adding 'crash' to teh package name seems to resolve this i.e. autotest_lib.client.cros.crash.crash_test (I'll revert the #2 change)
,
Dec 12 2016
Link for the platform_KernelErrorPaths failures: Screenshot: https://screenshot.googleplex.com/AOEOyqYjH1X wmatrix: https://wmatrix.googleplex.com/unfiltered?hide_missing=true&tests=platform_KernelErrorPaths.%2A&days_back=14&releases=57
,
Dec 13 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/d7858fa573c4cd4df5548bfac793d71e13580063 commit d7858fa573c4cd4df5548bfac793d71e13580063 Author: Kalin Stoyanov <kalin@chromium.org> Date: Mon Dec 12 19:19:06 2016 Fix broken crash_test import BUG= chromium:672533 TEST=tested locally Change-Id: Ic54577c9e2e955845e7ce7a6135b036863b8f31b Reviewed-on: https://chromium-review.googlesource.com/418882 Commit-Ready: Kalin Stoyanov <kalin@chromium.org> Tested-by: Kalin Stoyanov <kalin@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org> [modify] https://crrev.com/d7858fa573c4cd4df5548bfac793d71e13580063/server/site_tests/logging_GenerateCrashFiles/logging_GenerateCrashFiles.py [modify] https://crrev.com/d7858fa573c4cd4df5548bfac793d71e13580063/server/site_tests/platform_ExternalUsbPeripherals/platform_ExternalUsbPeripherals.py [modify] https://crrev.com/d7858fa573c4cd4df5548bfac793d71e13580063/server/site_tests/platform_KernelErrorPaths/platform_KernelErrorPaths.py
,
Dec 13 2016
,
Dec 20 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by ka...@chromium.org
, Dec 9 2016