[
https://issues.apache.org/jira/browse/CLOUDSTACK-10211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312551#comment-16312551
]
ASF GitHub Bot commented on CLOUDSTACK-10211:
---------------------------------------------
rhtyd closed pull request #2385: CLOUDSTACK-10211 Fixed
test_nuage_public_sharednetwork_userdata tests
URL: https://github.com/apache/cloudstack/pull/2385
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py
b/test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py
index d33d076aab0..554741b1a98 100644
---
a/test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py
+++
b/test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py
@@ -409,8 +409,8 @@ def
test_01_verify_deployvm_fail_startip_sharednetwork_scope_all(self):
except Exception as e:
self.debug("Deploy vm fails as expected with exception %s" % e)
self.debug("Going to verify the exception message")
- excetionmsg = "it is reserved for the VR in network"
- if excetionmsg in str(e):
+ exceptionmsg = "it is reserved for the VR in network"
+ if exceptionmsg in str(e):
self.debug("correct exception is raised")
else:
self.fail("correct exception is not raised")
@@ -705,8 +705,8 @@ def
test_06_verify_different_gateway_subnet_fails_sharednetwork_all(self):
"fails as expected with exception %s" % e)
self.debug("Going to verify the exception message")
self.delete_subnet_verify(self.shared_network_all, subnet2)
- excetionmsg = "Failed to deploy VM"
- if excetionmsg in str(e):
+ exceptionmsg = "Unable to start VM instance"
+ if exceptionmsg in str(e):
self.debug("correct exception is raised")
else:
self.fail("correct exception is not raised")
@@ -739,8 +739,8 @@ def
test_07_different_gateway_subnet_fails_sharednetwork_domain(self):
self.debug("Going to verify the exception message")
self.delete_subnet_verify(
self.shared_network_domain_with_subdomain_d11, subnet2)
- excetionmsg = "Failed to deploy VM"
- if excetionmsg in str(e):
+ exceptionmsg = "Unable to start VM instance"
+ if exceptionmsg in str(e):
self.debug("correct exception is raised")
else:
self.fail("correct exception is not raised")
@@ -772,8 +772,8 @@ def
test_08_different_gateway_subnet_fails_sharednetwork_nosubdomain(self):
self.debug("Going to verify the exception message")
self.delete_subnet_verify(
self.shared_network_domain_d11, subnet2)
- excetionmsg = "Failed to deploy VM"
- if excetionmsg in str(e):
+ exceptionmsg = "Unable to start VM instance"
+ if exceptionmsg in str(e):
self.debug("correct exception is raised")
else:
self.fail("correct exception is not raised")
@@ -805,8 +805,8 @@ def
test_09_different_gateway_subnet_fails_sharednetwork_account(self):
self.debug("Going to verify the exception message")
self.delete_subnet_verify(
self.shared_network_account_d111a, subnet2)
- excetionmsg = "Failed to deploy VM"
- if excetionmsg in str(e):
+ exceptionmsg = "Unable to start VM instance"
+ if exceptionmsg in str(e):
self.debug("correct exception is raised")
else:
self.fail("correct exception is not raised")
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> test_nuage_public_sharednetwork_userdata fails due to errortext changed
> -----------------------------------------------------------------------
>
> Key: CLOUDSTACK-10211
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10211
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Test
> Affects Versions: 4.11.0.0
> Environment: Nuagevsp only
> Reporter: Raf Smeets
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)