cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8971) Remove hardcoded configuration from test_privategw_acl
Date Wed, 21 Oct 2015 06:00:33 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966305#comment-14966305
] 

ASF GitHub Bot commented on CLOUDSTACK-8971:
--------------------------------------------

Github user wilderrodrigues commented on the pull request:

    https://github.com/apache/cloudstack/pull/957#issuecomment-149791585
  
    @michaelandersen 
    
    Could you give some details on how you executed the tests? It looks like env issues.
    
    Did you...
    
    * checked out the PR
    * built ACS and RPMs
    * installed RPMs on KVM
    * cleaned the DB
    * deployed DC
    * ran the tests
    
    ...?
    
    Or was it executed towards an existing/running environment?
    
    As you can see in the Python stack trace, it says errorTest: None
    
    ```
    AssertionError: Failed to create Private Gateway ==> Execute cmd: createprivategateway
failed, due to: errorCode: 530, errorText:None
    ```
    
    When you ran it, were the templates ready? Could you please follow steps above and try
again? I will also try on my side.
    
    Cheers,
    Wilder
    



> 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)

Mime
View raw message