incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Shkvyra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-2524) Unit tests are failing on Master build - test https/master key persist.
Date Mon, 01 Jul 2013 13:06:20 GMT
Dmytro Shkvyra created AMBARI-2524:
--------------------------------------

             Summary: Unit tests are failing on Master build - test https/master key persist.
                 Key: AMBARI-2524
                 URL: https://issues.apache.org/jira/browse/AMBARI-2524
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.2.5
            Reporter: Dmytro Shkvyra
             Fix For: 1.2.5


Unit tests are failing on Master build  - test https/master key persist.

{code}
======================================================================
ERROR: test_setup_https (TestAmbaryServer.TestAmbariServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-server/src/test/python/TestAmbaryServer.py",
line 1012, in test_setup_https  
    ambari_server.setup_https(args)
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-server/src/main/python/ambari-server.py",
line 2692, in setup_https
    adjust_directory_permissions(ambari_user)
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-server/src/main/python/ambari-server.py",
line 571, in adjust_directory_permissions
    os.mkdir(bootstrap_dir)
OSError: [Errno 2] No such file or directory: ''

======================================================================
ERROR: test_setup_master_key_not_persist (TestAmbaryServer.TestAmbariServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-server/src/test/python/TestAmbaryServer.py",
line 2817, in test_setup_master_key_not_persist
    ambari_server.setup_master_key(False)
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-server/src/main/python/ambari-server.py",
line 2476, in setup_master_key
    ambari_user = read_ambari_user()
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-server/src/main/python/ambari-server.py",
line 551, in read_ambari_user
    conf_file = find_properties_file()
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-server/src/main/python/ambari-server.py",
line 331, in find_properties_file  
    raise FatalException(1, err)
FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'

======================================================================
ERROR: test_setup_master_key_persist (TestAmbaryServer.TestAmbariServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/mahadev/workspace/ambari-workspace/ambari-svn-trunk/ambari-server/src/test/python/TestAmbaryServer.py",
line 2786, in test_setup_master_key_persist
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message