ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 19397: Ambari deploy and unit test fails on Python 2.6.9
Date Wed, 19 Mar 2014 13:34:20 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19397/
-----------------------------------------------------------

Review request for Ambari and Eugene Chekanskiy.


Bugs: AMBARI-5138
    https://issues.apache.org/jira/browse/AMBARI-5138


Repository: ambari


Description
-------

{code}
[INFO] --- exec-maven-plugin:1.2:exec (python-test) @ ambari-server ---
Running tests for stack:1.3.2 service:GANGLIA
Process Process-1:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/process.py",
line 232, in _bootstrap
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/process.py",
line 88, in run
    self._target(*self._args, **self._kwargs)
  File "unitTests.py", line 95, in stack_test_executor
    modules]
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/unittest.py",
line 576, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-server/src/test/python/stacks/1.3.2/GANGLIA/test_ganglia_monitor.py",
line 21, in <module>
    from stacks.utils.RMFTestCase import *
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 29, in <module>
    from resource_management.core.environment import Environment
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/__init__.py",
line 23, in <module>
    from resource_management.libraries import *
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/__init__.py",
line 23, in <module>
    from resource_management.libraries.functions import *
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/__init__.py",
line 23, in <module>
    from resource_management.libraries.functions.default import *
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/default.py",
line 24, in <module>
    from resource_management.libraries.script import Script
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/script/__init__.py",
line 23, in <module>
    from resource_management.libraries.script.script import *
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/script/script.py",
line 27, in <module>
    from resource_management.core.environment import Environment
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/core/__init__.py",
line 23, in <module>
    from resource_management.core.base import *
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/core/base.py",
line 27, in <module>
    from resource_management.core.environment import Environment
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/core/environment.py",
line 30, in <module>
    from resource_management.core import shell
  File "/Users/swagle/Documents/workspace/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py",
line 27, in <module>
    from subprocess import TimeoutExpired
ImportError: cannot import name TimeoutExpired
{code}


Diffs
-----

  ambari-agent/src/main/python/resource_management/core/exceptions.py 6a447d7 
  ambari-agent/src/main/python/resource_management/core/providers/system.py fee24be 
  ambari-agent/src/main/python/resource_management/core/shell.py 77f2a9c 

Diff: https://reviews.apache.org/r/19397/diff/


Testing
-------


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message