ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15690) Ambari server python tests broken
Date Mon, 04 Apr 2016 16:55:25 GMT

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

Andrew Onischuk updated AMBARI-15690:
-------------------------------------
    Status: Patch Available  (was: Open)

> Ambari server python tests broken
> ---------------------------------
>
>                 Key: AMBARI-15690
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15690
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15690.patch
>
>
>     
>     Traceback (most recent call last):
>       File "unitTests.py", line 298, in <module>
>         sys.exit(main())
>       File "unitTests.py", line 250, in main
>         suites = [unittest.defaultTestLoader.loadTestsFromName(name) for name in modules]
>       File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py",
line 91, in loadTestsFromName
>         module = __import__('.'.join(parts_copy))
>       File "/Users/ncole/src/hwx/ambari/ambari-server/src/test/python/_TestServerUpgrade.py",
line 38, in <module>
>         from ambari_server.serverUpgrade import set_current, SetCurrentVersionOptions,
upgrade_stack
>       File "/Users/ncole/src/hwx/ambari/ambari-server/src/main/python/ambari_server/serverUpgrade.py",
line 34, in <module>
>         from ambari_server.dbConfiguration import DBMSConfigFactory, check_jdbc_drivers,
\
>       File "/Users/ncole/src/hwx/ambari/ambari-server/src/main/python/ambari_server/dbConfiguration.py",
line 28, in <module>
>         from ambari_server.serverConfiguration import decrypt_password_for_alias, get_ambari_properties,
get_is_secure, \
>       File "/Users/ncole/src/hwx/ambari/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 45, in <module>
>         OS_VERSION = OSCheck().get_os_major_version()
>       File "/Users/ncole/src/hwx/ambari/ambari-common/src/main/python/ambari_commons/os_check.py",
line 314, in get_os_major_version
>         return OSCheck.get_os_version().split('.')[0]
>       File "/Users/ncole/src/hwx/ambari/ambari-common/src/main/python/ambari_commons/os_check.py",
line 293, in get_os_version
>         return OSCheck.get_alias(OSCheck._get_os_type(), OSCheck._get_os_version())[1]
>       File "/Users/ncole/src/hwx/ambari/ambari-common/src/main/python/ambari_commons/os_check.py",
line 243, in _get_os_type
>         dist = OSCheck.os_distribution()
>       File "/Users/ncole/src/hwx/ambari/ambari-common/src/main/python/ambari_commons/os_check.py",
line 197, in os_distribution
>         distribution = platform.linux_distribution()
>       File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py",
line 329, in linux_distribution
>         return _dist_try_harder(distname,version,id)
>       File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py",
line 232, in _dist_try_harder
>         verfiles = os.listdir('/usr/lib/setup')
>     OSError: [Errno 2] No such file or directory: '/usr/lib/setup'
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message