ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21713) Python tests started under uid=0 and uid > 0 works differently
Date Thu, 17 Aug 2017 19:41:01 GMT

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

Hudson commented on AMBARI-21713:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #24 (See [https://builds.apache.org/job/Ambari-branch-2.6/24/])
AMBARI-21713 Python tests started under uid=0 and uid > 0 works (hapylestat: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=845aaa3f0cf5e92ebaac661a3836bd8e2aa10e6c])
* (edit) ambari-server/src/test/python/TestMpacks.py
* (edit) ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
* (edit) ambari-server/src/test/python/stacks/utils/RMFTestCase.py


> Python tests started under uid=0 and uid > 0 works differently
> --------------------------------------------------------------
>
>                 Key: AMBARI-21713
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21713
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Grinenko
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: AMBARI-21713-UT.patch
>
>
> The cause is sudo.py and same meaning modules, which implements different logic depends
on user uid. Coz of that us tests covering only uid > 0 logic and starting them from root
(on VM or docker) causing them to fail



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message