Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10068

smoketest/test_iso.py reports assertion failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: marvin
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      The following was reported from recent smoketest runs

      2017-09-04 11:23:16,432 - CRITICAL - FAILED: test_02_edit_iso: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_iso.py", line 327, in test_02_edit_iso\n    "Check if image is bootable of updated ISO"\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual\n    assertion_func(first, second, msg=msg)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual\n    raise self.failureException(msg)\n', 'AssertionError: Check if image is bootable of updated ISO\n']
      2017-09-04 11:24:56,797 - CRITICAL - FAILED: test_05_iso_permissions: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_iso.py", line 480, in test_05_iso_permissions\n    "Check ispublic permission of ISO"\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual\n    assertion_func(first, second, msg=msg)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual\n    raise self.failureException(msg)\n', 'AssertionError: Check ispublic permission of ISO\n']
      

      It appears that asserts.equal(boolean.True, str.True) which seems to be causing the issue. Probably related to some api changes in recent PRs. Will fix the equation to str.lower() so it'll pass.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bstoyanov Boris Stoyanov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: