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

[jira] [Created] (AMBARI-9741) Ranger Python Test Fails Because Of Missing Python Path For Common Services

Jonathan Hurley created AMBARI-9741:
---------------------------------------

             Summary: Ranger Python Test Fails Because Of Missing Python Path For Common Services
                 Key: AMBARI-9741
                 URL: https://issues.apache.org/jira/browse/AMBARI-9741
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Blocker
             Fix For: 2.0.0


Python tests on build.apache.org are failing because {{patch}} cannot find the module to patch.

{code}
OK
Running tests for stack:2.2 service:RANGER
test_upgrade (test_ranger_usersync.TestRangerUserSync) ... ERROR
test_upgrade (test_ranger_admin.TestRangerAdmin) ... 2015-02-21 00:04:28,200 - Could not determine HDP version for component ranger-admin by calling '/usr/bin/hdp-select status ranger-admin > /tmp/user/10011/ambari-test/tmpLUpYb6'. Return Code: 127, Output: .
2015-02-21 00:04:28,200 - Could not determine HDP version for component ranger-admin by calling '/usr/bin/hdp-select status ranger-admin > /tmp/user/10011/ambari-test/tmpLUpYb6'. Return Code: 127, Output: .
ok

======================================================================
ERROR: test_upgrade (test_ranger_usersync.TestRangerUserSync)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1191, in patched
    arg = patching.__enter__()
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__
    self.target = self.getter()
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda>
    getter = lambda: _importer(target)
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer
    thing = __import__(import_path)
ImportError: No module named setup_ranger
{code}



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