Hi Gabriel,

I think the best way would be to try to reproduce the issue locally (using 
simulator), find the root cause and fix the issue (either the test or ACS 
codebase).


The specific failing test has been clubbed with other project related tests 
which may be the reason (i.e. they are not cleaning up created projects and 
other resources) of the failing test as well, which always fails due to the 
reason/errors you've shared (max. number of projects reached). So, perhaps the 
project related component tests needs fixing. Not ideal, but a quick fix could 
be to move the failing test in another Travis job section, i.e. to run them 
with non-project related tests:

https://github.com/apache/cloudstack/blob/master/.travis.yml#L129


- Rohit

________________________________
From: Gabriel Beims Bräscher <[email protected]>
Sent: Wednesday, September 27, 2017 7:11:23 PM
To: [email protected]
Subject: Travis failing on test 'test_project_limits'

Hi, Folks.

I have seen PRs with Travis failing on test 'test_project_limits'.

Some of those PRs are the following:
https://github.com/apache/cloudstack/pull/2275
https://github.com/apache/cloudstack/pull/2274
https://github.com/apache/cloudstack/pull/2270
https://github.com/apache/cloudstack/pull/2268
https://github.com/apache/cloudstack/pull/2267
https://github.com/apache/cloudstack/pull/2244
https://github.com/apache/cloudstack/pull/2242
https://github.com/apache/cloudstack/pull/1448

The test result is related to the following error.

2017-09-26 19:43:38,215 - DEBUG - ::::::::::::STARTED : TC:
test_02_project_limits_normal_user :::::::::::
2017-09-26 19:43:38,216 - DEBUG - Payload: {'account':
u'test-TestResourceLimitsProject-test_maxAccountNetworks-6LU0PW',
'domainid': u'3a763321-9d30-4071-a2f0-6f267b04b9b2', 'name':
'Project-7KRNJ1', 'apiKey':
u'DBgHlBp7EP009lqPH-JFDmLkQ4ZsCvHFIoX-zzwXjovTNNE4jHNgXgMZBWBGMtxLIrasO_yn9DrGqRQOm5NvMA',
'command': 'createProject', 'signature': 'PumS+Jnh/q4RAoHRWFDcv21WYtk=',
'displaytext': 'Test project', 'response': 'json'}
2017-09-26 19:43:38,216 - DEBUG - ========Sending GET Cmd :
createProject=======
2017-09-26 19:43:38,245 - ERROR - Exception:['Traceback (most recent call
last):\n', '  File
"/home/travis/.local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 308, in __parseAndGetResponse\n    response_cls)\n', '  File
"/home/travis/.local/lib/python2.7/site-packages/marvin/jsonHelper.py",
line 150, in getResultObj\n    raise
cloudstackException.CloudstackAPIException(respname, errMsg)\n',
"CloudstackAPIException: Execute cmd: createproject failed, due to:
errorCode: 535, errorText:Maximum number of resources of type 'project' for
domain id=5 has been exceeded.\n"]

How can we proceed and fix this?

Cheers,
Gabriel.

[email protected] 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

Reply via email to