You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2015/02/11 22:01:11 UTC

[jira] [Updated] (AMBARI-9582) Ambari Trunk is broken with multiple test failures

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

Dmitry Lysnichenko updated AMBARI-9582:
---------------------------------------
    Attachment: AMBARI-9582.patch

> Ambari Trunk is broken with multiple test failures
> --------------------------------------------------
>
>                 Key: AMBARI-9582
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9582
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9582.patch
>
>
> Trunk has been broken since yesterday as a result of python unit test failures.
> This has prevented me from merging a patch for a blocking bug that was ready to merge yesterday : https://hortonworks.jira.com/browse/BUG-30083
> The last good build was #1731 at Feb 11, 2015 5:42:29 AM
> The build where the current failures started was # 1732
> AMBARI-9564. Add warning if the user tries to install Spark with "HDP 2.2" (warn that it won't work with HDP 2.2.0). (onechiporenko)
> The current failures are:
> ======================================================================
> ERROR: test_change_objects_owner_both (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 6405, in test_change_objects_owner_both
>     self.assertRaises(FatalException, change_objects_owner, args)
>   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 456, in assertRaises
>     callableObj(*args, **kwargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 161, in change_objects_owner
>     dbms = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ======================================================================
> ERROR: test_change_objects_owner_only_stderr (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 6460, in test_change_objects_owner_only_stderr
>     self.assertRaises(FatalException, change_objects_owner, args)
>   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 456, in assertRaises
>     callableObj(*args, **kwargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 161, in change_objects_owner
>     dbms = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ======================================================================
> ERROR: test_change_objects_owner_only_stdout (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 6433, in test_change_objects_owner_only_stdout
>     self.assertRaises(FatalException, change_objects_owner, args)
>   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 456, in assertRaises
>     callableObj(*args, **kwargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 161, in change_objects_owner
>     dbms = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ======================================================================
> ERROR: test_configure_postgres (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 620, in test_configure_postgres
>     dbConfig = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ======================================================================
> ERROR: test_prompt_db_properties_for_each_database_type (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 2584, in test_prompt_db_properties_for_each_database_type
>     dbConfig = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ======================================================================
> ERROR: test_prompt_db_properties_postgre_adv (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 2495, in test_prompt_db_properties_postgre_adv
>     dbmsConfig = factory.create(args, props)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ======================================================================
> ERROR: test_reset (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 3076, in test_reset
>     reset(args)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverSetup.py", line 1083, in reset
>     _reset_database(options)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverSetup.py", line 874, in _reset_database
>     dbmsAmbari = factory.create(options, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ======================================================================
> ERROR: test_setup_db (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 764, in test_setup_db
>     dbms = PGConfig(args, properties, "local")
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 194, in get_os_family
>     os_family = OSCheck.get_os_type()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 184, in get_os_type
>     raise Exception("Cannot detect os type. Exiting...")
> Exception: Cannot detect os type. Exiting...
> ======================================================================
> ERROR: test_setup_db_connect_attempts_fail (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 792, in test_setup_db_connect_attempts_fail
>     dbms = PGConfig(args, properties, "local")
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 194, in get_os_family
>     os_family = OSCheck.get_os_type()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 184, in get_os_type
>     raise Exception("Cannot detect os type. Exiting...")
> Exception: Cannot detect os type. Exiting...
> ======================================================================
> ERROR: test_setup_db_connect_attempts_success (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 820, in test_setup_db_connect_attempts_success
>     dbms = PGConfig(args, properties, "local")
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 194, in get_os_family
>     os_family = OSCheck.get_os_type()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 184, in get_os_type
>     raise Exception("Cannot detect os type. Exiting...")
> Exception: Cannot detect os type. Exiting...
> ======================================================================
> ERROR: test_silent_reset (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 3192, in test_silent_reset
>     rcode = reset(args)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverSetup.py", line 1083, in reset
>     _reset_database(options)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverSetup.py", line 874, in _reset_database
>     dbmsAmbari = factory.create(options, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ======================================================================
> ERROR: test_upgrade_from_161 (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 3978, in test_upgrade_from_161
>     upgrade(args)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 284, in upgrade
>     change_objects_owner(args)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 161, in change_objects_owner
>     dbms = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ----------------------------------------------------------------------
> Ran 231 tests in 4.605s
> FAILED (errors=12)
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: test_linux_flow (TestAlertDiskSpace.TestAlertDiskSpace)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/host_scripts/TestAlertDiskSpace.py", line 35, in test_linux_flow
>     res = alert_disk_space.execute()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_family_impl.py", line 84, in thunk
>     fn_id = fn_id_base + "." + OSCheck.get_os_family()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 194, in get_os_family
>     os_family = OSCheck.get_os_type()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 184, in get_os_type
>     raise Exception("Cannot detect os type. Exiting...")
> Exception: Cannot detect os type. Exiting...
> ERROR: test_change_objects_owner_both (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 6405, in test_change_objects_owner_both
>     self.assertRaises(FatalException, change_objects_owner, args)
>   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 456, in assertRaises
>     callableObj(*args, **kwargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 161, in change_objects_owner
>     dbms = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ERROR: test_change_objects_owner_only_stderr (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 6460, in test_change_objects_owner_only_stderr
>     self.assertRaises(FatalException, change_objects_owner, args)
>   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 456, in assertRaises
>     callableObj(*args, **kwargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 161, in change_objects_owner
>     dbms = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ERROR: test_change_objects_owner_only_stdout (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 6433, in test_change_objects_owner_only_stdout
>     self.assertRaises(FatalException, change_objects_owner, args)
>   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 456, in assertRaises
>     callableObj(*args, **kwargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 161, in change_objects_owner
>     dbms = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ERROR: test_configure_postgres (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 620, in test_configure_postgres
>     dbConfig = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ERROR: test_prompt_db_properties_for_each_database_type (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 2584, in test_prompt_db_properties_for_each_database_type
>     dbConfig = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ERROR: test_prompt_db_properties_postgre_adv (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 2495, in test_prompt_db_properties_postgre_adv
>     dbmsConfig = factory.create(args, props)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ERROR: test_reset (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 3076, in test_reset
>     reset(args)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverSetup.py", line 1083, in reset
>     _reset_database(options)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverSetup.py", line 874, in _reset_database
>     dbmsAmbari = factory.create(options, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ERROR: test_setup_db (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 764, in test_setup_db
>     dbms = PGConfig(args, properties, "local")
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 194, in get_os_family
>     os_family = OSCheck.get_os_type()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 184, in get_os_type
>     raise Exception("Cannot detect os type. Exiting...")
> Exception: Cannot detect os type. Exiting...
> ERROR: test_setup_db_connect_attempts_fail (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 792, in test_setup_db_connect_attempts_fail
>     dbms = PGConfig(args, properties, "local")
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 194, in get_os_family
>     os_family = OSCheck.get_os_type()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 184, in get_os_type
>     raise Exception("Cannot detect os type. Exiting...")
> Exception: Cannot detect os type. Exiting...
> ERROR: test_setup_db_connect_attempts_success (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 820, in test_setup_db_connect_attempts_success
>     dbms = PGConfig(args, properties, "local")
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 194, in get_os_family
>     os_family = OSCheck.get_os_type()
>   File "/Users/john/workspace/ambari-test/ambari-common/src/main/python/ambari_commons/os_check.py", line 184, in get_os_type
>     raise Exception("Cannot detect os type. Exiting...")
> Exception: Cannot detect os type. Exiting...
> ERROR: test_silent_reset (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 3192, in test_silent_reset
>     rcode = reset(args)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverSetup.py", line 1083, in reset
>     _reset_database(options)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverSetup.py", line 874, in _reset_database
>     dbmsAmbari = factory.create(options, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ERROR: test_upgrade_from_161 (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/john/workspace/ambari-test/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/test/python/TestAmbariServer.py", line 3978, in test_upgrade_from_161
>     upgrade(args)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 284, in upgrade
>     change_objects_owner(args)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/serverUpgrade.py", line 161, in change_objects_owner
>     dbms = factory.create(args, properties)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 417, in create
>     dbmsConfig = desc.create_config(options, properties, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration.py", line 67, in create_config
>     return self.fn_create_config(options, properties, self.storage_key, dbId)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 705, in createPGConfig
>     return PGConfig(options, properties, storage_type)
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py", line 354, in __init__
>     PGConfig.PG_HBA_DIR = get_postgre_hba_dir(OSCheck.get_os_family())
>   File "/Users/john/workspace/ambari-test/ambari-server/src/main/python/ambari_server/utils.py", line 218, in get_postgre_hba_dir
>     os.symlink(glob.glob(PG_HBA_INIT_FILES[OS_FAMILY] + '*')[0],
> IndexError: list index out of range
> ----------------------------------------------------------------------
> Total run:590
> Total errors:13
> Total failures:0



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