[ 
https://issues.apache.org/jira/browse/AMBARI-13921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk resolved AMBARI-13921.
--------------------------------------
    Resolution: Fixed

Committed to branch-2.1

> Python UT fails on branch-2.1 for python stack tests 
> -----------------------------------------------------
>
>                 Key: AMBARI-13921
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13921
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.3
>
>
>     ----------------------------------------------------------------------
>     Failed tests:
>     FAIL: test_pre_upgrade_restart_23 (test_namenode.TestNamenode)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", 
> line 1199, in patched
>         return func(*args, **keywargs)
>       File 
> "/home/user/ambari/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py",
>  line 1323, in test_pre_upgrade_restart_23
>         self.assertEquals(1, mocks_dict['call'].call_count)
>     AssertionError: 
>     
>     [ERROR] Failed to execute goal 
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (python-test) on project 
> ambari-server: Command execution failed. Process exited with an error: 1 
> (Exit value: 1) -> [Help 1]
>     [ERROR] 
>     [ERROR] To see the full stack trace of the errors, re-run Maven with the 
> -e switch.
>     [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>     [ERROR] 
>     [ERROR] For more information about the errors and possible solutions, 
> please read the following articles:
>     [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>     [ERROR] 
>     [ERROR] After correcting the problems, you can resume the build with the 
> command
>     [ERROR]   mvn <goals> -rf :ambari-server
>     



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

Reply via email to