[
https://issues.apache.org/jira/browse/CLOUDSTACK-9328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223620#comment-15223620
]
ASF GitHub Bot commented on CLOUDSTACK-9328:
--------------------------------------------
Github user swill commented on the pull request:
https://github.com/apache/cloudstack/pull/1455#issuecomment-205111794
### CI RESULTS
**MULTIPLE FAILURES, NEEDS WORK!**
There are problems with this code. Here is a summary of the issues. I
have included detailed results so you can track down the issues.
```
======================================================================
ERROR: test_02_vpc_privategw_static_routes
(integration.smoke.test_privategw_acl.TestPrivateGwACL)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/data/git/cs1/cloudstack/test/integration/smoke/test_privategw_acl.py", line
263, in test_02_vpc_privategw_static_routes
self.performVPCTests(vpc_off)
File
"/data/git/cs1/cloudstack/test/integration/smoke/test_privategw_acl.py", line
309, in performVPCTests
vlan_1 = int(vlans[0])
TypeError: int() argument must be a string or a number, not 'tuple'
```
```
======================================================================
ERROR: test_03_vpc_privategw_restart_vpc_cleanup
(integration.smoke.test_privategw_acl.TestPrivateGwACL)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/data/git/cs1/cloudstack/test/integration/smoke/test_privategw_acl.py", line
275, in test_03_vpc_privategw_restart_vpc_cleanup
self.performVPCTests(vpc_off, True)
File
"/data/git/cs1/cloudstack/test/integration/smoke/test_privategw_acl.py", line
309, in performVPCTests
vlan_1 = int(vlans[0])
TypeError: int() argument must be a string or a number, not 'tuple'
```
```
======================================================================
ERROR: test_04_rvpc_privategw_static_routes
(integration.smoke.test_privategw_acl.TestPrivateGwACL)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/data/git/cs1/cloudstack/test/integration/smoke/test_privategw_acl.py", line
287, in test_04_rvpc_privategw_static_routes
self.performVPCTests(vpc_off)
File
"/data/git/cs1/cloudstack/test/integration/smoke/test_privategw_acl.py", line
309, in performVPCTests
vlan_1 = int(vlans[0])
TypeError: int() argument must be a string or a number, not 'tuple'
```
Not sure if this is related to one of the other failures or not...
```
======================================================================
FAIL: Test Remote Access VPN in VPC
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/git/cs1/cloudstack/test/integration/smoke/test_vpc_vpn.py",
line 419, in test_01_vpc_remote_access_vpn
vpnUser, "Failed to create Remote Access VPN User")
AssertionError: Failed to create Remote Access VPN User
```
**Associated Uploads**
*
[results.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1455/results.txt)
Uploads will be available until `2016-06-04 00:00:00 +0000 GMT`
*Comment created by [`upr comment`](https://github.com/swill/upr).*
> Fix vlan issues from test suite test_privategw_acl.py in BVT
> ------------------------------------------------------------
>
> Key: CLOUDSTACK-9328
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9328
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Reporter: Sanjeev N
> Assignee: Sanjeev N
>
> Fix vlan issues from test suite test_privategw_acl.py in BVT
> Currently the tests reads the vlans from the physical network and takes the
> first vlan from the list of vlans and uses it. However, this approach might
> not work when the tests run in parallel. E.g. in CI we run test suits in
> parallel and the first vlan may not be available and tests would fail if we
> try to use the vlan which is already in use.
> Made changes to the script so that it will get the free vlan list from the DB
> and uses the first vlan from the available pool.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)