You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2016/05/05 08:35:12 UTC

[jira] [Created] (AMBARI-16265) Storm python tests are brocken

Vitaly Brodetskyi created AMBARI-16265:
------------------------------------------

             Summary: Storm python tests are brocken
                 Key: AMBARI-16265
                 URL: https://issues.apache.org/jira/browse/AMBARI-16265
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Vitaly Brodetskyi
            Assignee: Vitaly Brodetskyi
            Priority: Critical
             Fix For: 2.4.0


{code}
----------------------------------------------------------------------
Failed tests:
FAIL: test_start_default (test_storm_ui_server.TestStormUiServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
    return func(*args, **keywargs)
  File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py", line 77, in test_start_default
    try_sleep = 10,
  File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 256, in assertResourceCalled
    self.assertEquals(name, resource.name)
AssertionError: "/usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep backtype.storm.ui.core$ && /usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep backtype.storm.ui.core$ | awk {'print $1'} > /var/run/storm/ui.pid" != u"/usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep storm.ui.core$ && /usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep storm.ui.core$ | awk {'print $1'} > /var/run/storm/ui.pid"

FAIL: test_start_secured (test_storm_ui_server.TestStormUiServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
    return func(*args, **keywargs)
  File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py", line 152, in test_start_secured
    try_sleep = 10,
  File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 256, in assertResourceCalled
    self.assertEquals(name, resource.name)
AssertionError: "/usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep backtype.storm.ui.core$ && /usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep backtype.storm.ui.core$ | awk {'print $1'} > /var/run/storm/ui.pid" != u"/usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep storm.ui.core$ && /usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep storm.ui.core$ | awk {'print $1'} > /var/run/storm/ui.pid"

----------------------------------------------------------------------
Total run:1014
Total errors:0
Total failures:2
ERROR
{code}



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