DaanHoogland opened a new issue, #7155:
URL: https://github.com/apache/cloudstack/issues/7155

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Documentation Report
    * testing/CI
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   marvin
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.18
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   ~~~
   advanced zone with security groups.
   ~~~
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   when an advanced zone with security groups is used to test for regressions, 
a lot of errors occur.
   an example
   ```
   ERROR: test suite for <class 'tests.smoke.test_router_dns.TestRouterDns'>
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File "/usr/local/lib/python3.6/site-packages/nose/suite.py", line 210, in 
run
       self.setUp()
     File "/usr/local/lib/python3.6/site-packages/nose/suite.py", line 293, in 
setUp
       self.setupContext(ancestor)
     File "/usr/local/lib/python3.6/site-packages/nose/suite.py", line 316, in 
setupContext
       try_run(context, names)
     File "/usr/local/lib/python3.6/site-packages/nose/util.py", line 471, in 
try_run
       return func()
     File "/marvin/tests/smoke/test_router_dns.py", line 92, in setUpClass
       zoneid=cls.zone.id)
     File "/usr/local/lib/python3.6/site-packages/marvin/lib/base.py", line 
3562, in create
       return Network(apiclient.createNetwork(cmd).__dict__)
     File 
"/usr/local/lib/python3.6/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
 line 2981, in createNetwork
       response = self.connection.marvinRequest(command, 
response_type=response, method=method)
     File 
"/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line 
381, in marvinRequest
       raise e
     File 
"/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line 
376, in marvinRequest
       raise self.__lastError
     File 
"/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line 
310, in __parseAndGetResponse
       response_cls)
     File "/usr/local/lib/python3.6/site-packages/marvin/jsonHelper.py", line 
155, in getResultObj
       raise cloudstackException.CloudstackAPIException(respname, errMsg)
   marvin.cloudstackException.CloudstackAPIException: Execute cmd: 
createnetwork failed, due to: errorCode: 431, errorText:Only shared guest 
network can be created in security group enabled zone
   ```
   
   this is not necessary as we know beforehand that these tests will fail.
   Tests need to be properly tagged to not run in these environments.
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to