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

test_nuage_public_sharednetwork_userdata fails due to errortext changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.11.0.0
    • None
    • Test
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • Nuagevsp only

    Description

      In test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py , there are 4 failing tests as in master upstream the errortext in case of VM deployment failure changed from errortext "Failed to deploy VM" has changed to "Unable to start VM instance"
      This failing test is nuagespecific and can only run in a NuageVSP environment.

      Following tests are failing and need adapting.

      Validate that Different gateway subnet fail as it is not supported ... === TestName: test_06_verify_different_gateway_subnet_fails_sharednetwork_all | Status : FAILED ===
      FAIL
      Validate that Different gateway subnet fail as it is not supported ... === TestName: test_07_different_gateway_subnet_fails_sharednetwork_domain | Status : FAILED ===
      FAIL
      Validate that Different gateway subnet fail as it is not supported ... === TestName: test_08_different_gateway_subnet_fails_sharednetwork_nosubdomain | Status : FAILED ===
      FAIL
      Validate that Different gateway subnet fail as it is not supported ... === TestName: test_09_different_gateway_subnet_fails_sharednetwork_account | Status : FAILED ===
      FAIL

      All above tests fails due to an AssertionError: correct exception is not raised.

      Solution is that errortext "Failed to deploy VM" needs to changed to "Unable to start VM instance"
      This bug is written to get this change in upstream master.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smeetsr Raf Smeets
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: