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-9895) security_status test cases sporadically fail due to import of status_params module
Date Tue, 03 Mar 2015 22:04:05 GMT

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

Hudson commented on AMBARI-9895:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #1936 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1936/])
AMBARI-9895. security_status test cases sporadically fail due to import of status_params module
(rlevas) (rlevas: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ef25e4de84cf1cc86767db5ffffd24616e33d9d3)
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/nodemanager.py
* ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_server.py
* ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py
* ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_snamenode.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_journalnode.py
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py
* ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/ui_server.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py
* ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py
* ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/nimbus.py
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py
* ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py
* ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_nimbus.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_drpc_server.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py
* ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/drpc_server.py
* ambari-server/src/test/python/stacks/2.1/FALCON/test_falcon_server.py
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py
* ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_webhcat_server.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py


> security_status test cases sporadically fail due to import of status_params module
> ----------------------------------------------------------------------------------
>
>                 Key: AMBARI-9895
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9895
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.0.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: kerberos
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9895_01.patch
>
>
> security_status test cases sporadically fail due to import of status_params module. For
example {{test_security_status}} in {{stacks/2.0.6/HDFS/test_hdfs_client.py}} imports {{status_params.py}}
which is not in the test directory path. 
> Instead of importing  {{status_params.py}}, use values from  {{self.config_dict}}
> Example:
> {code:title=Before}
>     cached_kinit_executor_mock.called_with(status_params.kinit_path_local,
>                                            status_params.hdfs_user,
>                                            status_params.hdfs_user_keytab,
>                                            status_params.hdfs_user_principal,
>                                            status_params.hostname,
>                                            status_params.tmp_dir)
> {code}
> {code:title=After}
>     cached_kinit_executor_mock.called_with(
>       '/usr/bin/kinit',
>       self.config_dict['configurations']['hadoop-env']['hdfs_user'],
>       self.config_dict['configurations']['hadoop-env']['hdfs_user_keytab'],
>       self.config_dict['configurations']['hadoop-env']['hdfs_user_principal_name'],
>       self.config_dict['hostname'],
>       '/tmp'
>     )
> {code}



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

Mime
View raw message