Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20776

test_kill_process_with_children and test_facterMemInfoOutput test fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.1
    • test
    • None

    Description

      test_kill_process_with_children and test_facterMemInfoOutput unit test fails with below error.

      ======================================================================
      FAIL: test_kill_process_with_children (TestShell.TestShell)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/xxx/SOURCES/ambari/ambari-agent/src/test/python/ambari_agent/TestShell.py", line 71, in test_kill_process_with_children
          self.assertTrue(sleep_cmd in out)
      AssertionError
      
      ======================================================================
      FAIL: test_facterMemInfoOutput (TestHardware.TestHardware)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/xxx/SOURCES/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
          return func(*args, **keywargs)
        File "/xxx/SOURCES/ambari/ambari-agent/src/test/python/ambari_agent/TestHardware.py", line 247, in test_facterMemInfoOutput
          self.assertEquals(result['memorysize'], 1832392)
      AssertionError: u'4194304' != 1832392
      

      Attachments

        1. AMBARI-20776.patch
          2 kB
          Dmytro Sen

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              yeshavora Yesha Vora
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: