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

Review request for Ambari and Nate Cole.


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


Repository: ambari


Description
-------

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'


Diffs
-----

  ambari-server/src/test/python/TestAmbariServer.py 95cb467 
  ambari-server/src/test/python/TestOSCheck.py 5b6e79d 
  ambari-server/src/test/python/TestServerClassPath.py 6e54316 
  ambari-server/src/test/python/TestServerUpgrade.py 5ac8d1c 
  ambari-server/src/test/python/TestServerUtils.py 4d8c076 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to