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

Andrew Onischuk updated AMBARI-18442:
-------------------------------------
    Attachment: AMBARI-18442.patch

> Python UT fail on trunk
> -----------------------
>
>                 Key: AMBARI-18442
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18442
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-18442.patch
>
>
>     ----------------------------------------------------------------------
>     Failed tests:
>     FAIL: test_service_check (test_service_check.TestAtlasCheck)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File 
> "/home/user/ambari/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py",
>  line 40, in test_service_check
>         try_sleep = 10)
>       File 
> "/home/user/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
>  line 281, in assertResourceCalled
>         self.assertEquals(name, resource.name)
>     AssertionError: 'curl -s -o /dev/null -w "%{http_code}" 
> http://c6401.ambari.apache.org:21000/' != u'curl -k -s -o /dev/null -w 
> "%{http_code}" http://c6401.ambari.apache.org:21000/'
>     
>     FAIL: test_service_check_secure (test_service_check.TestAtlasCheck)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File 
> "/home/user/ambari/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py",
>  line 60, in test_service_check_secure
>         try_sleep = 10)
>       File 
> "/home/user/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
>  line 281, in assertResourceCalled
>         self.assertEquals(name, resource.name)
>     AssertionError: 'curl --negotiate -u : -b ~/cookiejar.txt -c 
> ~/cookiejar.txt -s -o /dev/null -w "%{http_code}" 
> https://c6401.ambari.apache.org:21443/' != u'curl -k --negotiate -u : -b 
> ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null -w "%{http_code}" 
> https://c6401.ambari.apache.org:21443/'
>     
>     ----------------------------------------------------------------------
>     Total run:1126
>     Total errors:0
>     Total failures:2
>     ERROR
>     INFO: AMBARI_SERVER_LIB is not set, using default /usr/lib/ambari-server
>     INFO: Return code from stack upgrade command, retcode = 0
>     [INFO] 
> ------------------------------------------------------------------------
>     [INFO] Reactor Summary:
>     [INFO] 
>     [INFO] Ambari Views ...................................... SUCCESS 
> [2.258s]
>     [INFO] Ambari Metrics Common ............................. SUCCESS 
> [1.391s]
>     [INFO] Ambari Server ..................................... FAILURE 
> [1:17.985s]
>     [INFO] Ambari Agent ...................................... SKIPPED
>     [INFO] 
> ------------------------------------------------------------------------
>     [INFO] BUILD FAILURE
>     [INFO] 
> ------------------------------------------------------------------------
>     [INFO] Total time: 1:26.129s
>     [INFO] Finished at: Thu Sep 22 13:49:12 EEST 2016
>     [INFO] Final Memory: 84M/1187M
>     [INFO] 
> ------------------------------------------------------------------------
>     [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