ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-5138) Ambari deploy and unit test fails on Python 2.6.9
Date Wed, 19 Mar 2014 14:01:03 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-5138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk resolved AMBARI-5138.
-------------------------------------

    Resolution: Fixed

committed to trunk

> Ambari deploy and unit test fails on Python 2.6.9
> -------------------------------------------------
>
>                 Key: AMBARI-5138
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5138
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>
> {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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message