ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9741) Ranger Python Test Fails Because Of Missing Python Path For Common Services
Date Sun, 22 Feb 2015 22:31:11 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-9741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14332401#comment-14332401
] 

Hudson commented on AMBARI-9741:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1834 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1834/])
AMBARI-9741 - Ranger Python Test Fails Because Of Missing Python Path For Common Services
(jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6eb571c2b8c6071e4c77ff3879b5f10315202d21)
* ambari-server/src/test/python/stacks/2.2/RANGER/test_ranger_usersync.py


> 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)

Mime
View raw message