[
https://issues.apache.org/jira/browse/CLOUDSTACK-8971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965783#comment-14965783
]
ASF GitHub Bot commented on CLOUDSTACK-8971:
--------------------------------------------
Github user michaelandersen commented on the pull request:
https://github.com/apache/cloudstack/pull/957#issuecomment-149706192
@remibergsma @wilderrodrigues LGTM'ed this one too soon, was a bit too
enthusiastic. sorry about that. Ran the test just now, but it's failing!
nosetests --with-marvin --log-folder-path=/tmp/marvin/
--marvin-config=../../../mct-zone1-kvm1.cfg -a
tags=advanced,required_hardware=false test_privategw_acl.py
=== Marvin Init Logging Successful===
Creating Admin Account for Domain ID ==>
01634a5a-726d-11e5-9395-5254001daa62
Creating a VPC offering..
Enabling the VPC offering created
Creating a VPC network in the account:
test-TestPrivateGwACL-test_privategw_acl-KZ68F5
cCreate NetworkOffering
Created and Enabled NetworkOffering
Adding Network={'netmask': '255.255.255.0', 'displaytext': 'Test Network',
'name': 'NETWORK-10.1.1.1'}
Created network with ID: b8914c96-9a92-4bbb-8e6b-51b1ed74a803
===final results are now copied to:
/tmp/marvin//MarvinLogs/test_privategw_acl_GYMPT8===
----
test_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL)
... === TestName: test_privategw_acl | Status : FAILED ===
FAIL
======================================================================
FAIL: test_privategw_acl
(integration.smoke.test_privategw_acl.TestPrivateGwACL)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/mandersen/Projects/cloudstack/test/integration/smoke/test_privategw_acl.py",
line 199, in test_privategw_acl
self.createPvtGw()
File
"/Users/mandersen/Projects/cloudstack/test/integration/smoke/test_privategw_acl.py",
line 275, in createPvtGw
self.fail("Failed to create Private Gateway ==> %s" % e)
AssertionError: Failed to create Private Gateway ==> Execute cmd:
createprivategateway failed, due to: errorCode: 530, errorText:None
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_privategw_acl | Status : FAILED ===
> Remove hardcoded configuration from test_privategw_acl
> ------------------------------------------------------
>
> Key: CLOUDSTACK-8971
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8971
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Test
> Reporter: Wilder Rodrigues
> Assignee: Wilder Rodrigues
>
> The current test_privategw_acl.py has come hardcoded configuration that makes
> it not very reliable:
> * self.networkOfferingId = 11
> * self.zoneId = 1
> * self.serviceOfferingId = 1
> * self.templateId = 5
> The current test does not clean up the resources created. This has to be
> added as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)