New issue
Advanced search Search tips

Issue 908662 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 12
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

telemetry_UnitTests failing in amd64-generic-telemetry VMTest stage with "ImportError: No module named pandas"

Project Member Reported by derat@chromium.org, Nov 27

Issue description

The VMTest stage is failing consistently on the amd64-generic-telemetry builder in telemetry_UnitTests:

http://cros-goldeneye/chromeos/healthmonitoring/buildDetails?buildbucketId=8928789021746823632
http://cros-goldeneye/chromeos/healthmonitoring/buildDetails?buildbucketId=8928808389090728128
etc.

I see the following in telemetry_UnitTests.INFO:

11/26 07:03:41.013 INFO |      base_sysinfo:0400| ChromeOS BOARD = amd64-generic_VM
11/26 07:03:41.029 INFO |run_chromeos_tests:0022| Running unit tests in /usr/local/telemetry/src/tools/perf with browser_type "system".
11/26 07:08:33.930 INFO |run_chromeos_tests:0052| Failed to import test module: test_results.analysis_unittest
11/26 07:08:33.931 INFO |run_chromeos_tests:0052| Traceback (most recent call last):
11/26 07:08:33.933 INFO |run_chromeos_tests:0052|   File "/usr/local/lib64/python2.7/unittest/loader.py", line 254, in _find_tests
11/26 07:08:33.935 INFO |run_chromeos_tests:0052|     module = self._get_module_from_name(name)
11/26 07:08:33.935 INFO |run_chromeos_tests:0052|   File "/usr/local/lib64/python2.7/unittest/loader.py", line 232, in _get_module_from_name
11/26 07:08:33.937 INFO |run_chromeos_tests:0052|     __import__(name)
11/26 07:08:33.938 INFO |run_chromeos_tests:0052|   File "/usr/local/telemetry/src/tools/perf/test_results/analysis_unittest.py", line 7, in <module>
11/26 07:08:33.940 INFO |run_chromeos_tests:0052|     from test_results import analysis
11/26 07:08:33.940 INFO |run_chromeos_tests:0052|   File "/usr/local/telemetry/src/tools/perf/test_results/analysis.py", line 8, in <module>
11/26 07:08:33.941 INFO |run_chromeos_tests:0052|     import pandas  # pylint: disable=import-error
11/26 07:08:33.942 INFO |run_chromeos_tests:0052| ImportError: No module named pandas
11/26 07:08:33.943 INFO |run_chromeos_tests:0052| 
11/26 07:08:34.008 WARNI|              test:0606| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/test.py", line 600, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/common_lib/test.py", line 800, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/common_lib/test.py", line 464, in execute
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/common_lib/test.py", line 371, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/tests/telemetry_UnitTests/telemetry_UnitTests.py", line 35, in run_once
    raise error.TestFail(error_str)
TestFail: The unit tests of /usr/local/telemetry/src/tools/perf failed.

(I'm assuming that that stack trace is the reason why the test is failing, but who knows...)

Achuith, are you the right person to look at this?
 
Summary: telemetry_UnitTests failing in amd64-generic-telemetry VMTest stage with "ImportError: No module named pandas" (was: telemetry_UnitTestsServer failing in amd64-generic-telemetry VMTest stage with "ImportError: No module named pandas")
Cc: glevin@chromium.org mukai@chromium.org
Status: Fixed (was: Assigned)

Sign in to add a comment