[GitHub] cloudstack pull request: CLOUDSTACK-9304: Add nuagevsp userdata te...

2016-03-10 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1431#discussion_r55646437
  
--- Diff: test/integration/component/test_nuage_vsp.py ---
@@ -1,334 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-""" P1 tests for NuageVsp network Plugin
-"""
-# Import Local Modules
-from nose.plugins.attrib import attr
-from marvin.cloudstackTestCase import cloudstackTestCase
-from marvin.cloudstackAPI import (listPhysicalNetworks,
-  listNetworkServiceProviders,
-  addNetworkServiceProvider,
-  deleteNetworkServiceProvider,
-  deleteNuageVspDevice,
-  updateNetworkServiceProvider,
-  addNuageVspDevice,
-  destroyVirtualMachine)
-from marvin.lib.utils import (cleanup_resources)
-from marvin.lib.base import (Account,
- VirtualMachine,
- ServiceOffering,
- NetworkOffering,
- Network)
-from marvin.lib.common import (get_domain,
-   get_zone,
-   get_template)
-
-import logging
-import unittest
-
-
-class Services:
-
-"""Test NuageVsp plugin
-"""
-
-def __init__(self):
-print "in __init__"
-self.services = {
-"account": {
-"email": "cloudst...@cloudmonkey.com",
-"firstname": "cloudstack",
-"lastname": "bob",
-"username": "admin",
-"password": "password",
-},
-"service_offering": {
-"name": "Tiny Instance",
-"displaytext": "Tiny Instance",
-"cpunumber": 1,
-"cpuspeed": 100,# in MHz
-"memory": 128,   # In MBs
-},
-"virtual_machine": {
-"displayname": "TestVM",
-"username": "root",
-"password": "password",
-"ssh_port": 22,
-"hypervisor": 'KVM',
-"privateport": 22,
-"publicport": 22,
-"protocol": 'TCP',
-},
-"nuage_vsp_device": {
-"hostname": '172.31.222.162',
-"username": 'cloudstackuser1',
-"password": 'cloudstackuser1',
-"port": '8443',
-"apiversion": 'v3_2',
-"retrycount": '4',
-"retryinterval": '60'
-},
-# services supported by Nuage for isolated networks.
-"network_offering": {
-"name": 'nuage_marvin',
-"displaytext": 'nuage_marvin',
-"guestiptype": 'Isolated',
-"supportedservices":
-'Dhcp,SourceNat,Connectivity,StaticNat,UserData,Firewall',
-"traffictype": 'GUEST',
-"availability": 'Optional',
-"serviceProviderList": {
-"UserData": 'VirtualRouter',
-"Dhcp": 'NuageVsp',
-"Connectivity": 'NuageVsp',
-"StaticNat": 'NuageVsp',
-"SourceNat": 'NuageVsp',
-"Firewall": 'NuageVsp'
-},
-"serviceCapabilityList": {
-"SourceNat": {"SupportedSourceNatTypes": "perzone"},
-}
-},
-"network": {
-"name": "nuage",
-"displaytext": "nuage",
-},
-"ostype": '

[GitHub] cloudstack pull request: [Bug-Id: CS-9306]Replace testdata with se...

2016-03-10 Thread sanju1010
GitHub user sanju1010 opened a pull request:

https://github.com/apache/cloudstack/pull/1436

[Bug-Id: CS-9306]Replace testdata with services

Replaced people.apache.org with home.apache.org in test_usage services 
class and test_data.py file.


Test Create/Delete a ISO and verify its usage is generated correctly ... 
=== TestName: test_01_ISO_usage | Status : SUCCESS ===
ok

--
Ran 1 test in 76.650s

OK

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/sanju1010/cloudstack cs-9306

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/1436.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1436


commit 337539aca287f4c204b0f279fa31825aebe8fdf5
Author: sanjeevn 
Date:   2016-03-08T09:24:32Z

Replace testdata with services
Bug-Id: CS-9306
Reviewed-by: Sanjeev




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: build-master-slowbuild #3430

2016-03-10 Thread jenkins
See 

--
[...truncated 28679 lines...]
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.723s]
[INFO] Apache CloudStack . SUCCESS [2.289s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.789s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.525s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:30.647s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.110s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.506s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.450s]
[INFO] Apache CloudStack API . SUCCESS [1:49.536s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.242s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.017s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.087s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.726s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.927s]
[INFO] Apache CloudStack Core  SUCCESS [1:23.609s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.275s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.281s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.285s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:06.151s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.730s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [24.814s]
[INFO] Apache CloudStack Server .. SUCCESS [4:15.594s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [38.273s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.142s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:23.198s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.071s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.449s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [54.689s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.776s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.800s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.737s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [26.090s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.820s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.253s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.594s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.023s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.004s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.883s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.926s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.263s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.232s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.338s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.809s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[17.135s]
[INFO] Apache Cloud

[GitHub] cloudstack pull request: [Bug-Id: CS-9306]Replace testdata with se...

2016-03-10 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/1436#issuecomment-194748400
  
@sanju1010 Sanju can you please use the full id of the jira issue instead 
of CS-9306? At first I thought it was a private issue but then I woke up and 
tried CLOUDSTACK-9306 ;) I have to apologise for whatever you didn't hear me 
think.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: build-systemvm64-master #773

2016-03-10 Thread jenkins
See 

Changes:

[n.tavares] ADD be explicit about the underlying limitation - OpenSwan

--
[...truncated 3366 lines...]
100% [Sources 25.4 MB]
  
Get:2 http://http.debian.net wheezy-backports/main i386 Packages/DiffIndex 
[7,234 B]

  
100% [Sources 25.4 MB] [2 Packages 0 B/7,234 B 0%]
  
100% [Sources 25.4 MB]
  
Hit http://http.debian.net wheezy-backports/main Translation-en/DiffIndex

100% [Sources 25.4 MB]
  
100% [Working]
  
100% [Packages 28.5 MB]
100% [Packages 28.5 MB]
   
100% [Working]
  
100% [Packages 28.5 MB]
100% [Packages 28.5 MB]
   
100% [Working]
  
100% [Translation-en 18.5 MB]
100% [Translation-en 18.5 MB]
 
100% [Working]
  
100% [Sources 16.0 kB]
  
100% [Working]
  
Fetched 8,246 B in 3s (2,276 B/s)

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 1%

Reading package lists... 26%

Reading package lists... 31%

Reading package lists... 31%

Reading package lists... 50%

Reading package lists... 64%

Reading package lists... 64%

Reading package lists... 76%

Reading package lists... 84%

Reading package lists... 84%

Reading package lists... 86%

Reading package lists... 86%

Reading package lists... 88%

Reading package lists... 88%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... Done

+ apt-get -y --force-yes upgrade

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree   


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following packages have been kept back:
  openswan
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
+ '[' amd64 == amd64 ']'
+ wget http://people.apache.org/~rajeshbattala/hv-kvp-daemon_3.1_amd64.deb
--2016-03-10 09:32:06--  
http://people.apache.org/~rajeshbattala/hv-kvp-daemon_3.1_amd64.deb
Resolving people.apache.org (people.apache.org)... 163.172.16.173, 
2001:bc8:2142:100::
Connecting to people.apache.org (people.apache.org)|163.172.16.173|:80... 
connected.
HTTP request sent, awaiting response... 404 Not Found
2016-03-10 09:32:07 ERROR 404: Not Found.

ERROR: exit code 8
Error executing command ./install_systemvm_packages.sh : Exitcode was not what 
we expected
Exitcode was not what we expected
+ on_exit
+ (( i=5-1  ))
+ (( i>=0  ))
+ sleep 2
+ log DEBUG 'on_exit: veewee_destroy'
+ local level=DEBUG
+ shift
+ [[ 1 != \1 ]]
+ local code=
++ date '+%F %T'
+ local 'line=[2016-03-10 09:32:09] DEBUG: on_exit: veewee_destroy'
+ '[' -t 2 ']'
+ echo '[2016-03-10 09:32:09] DEBUG: on_exit: veewee_destroy'
[2016-03-10 09:32:09] DEBUG: on_exit: veewee_destroy
+ eval veewee_destroy
++ veewee_destroy
++ log INFO 'destroying existing veewee image, if any'
++ local level=INFO
++ shift
++ [[ 1 != \1 ]]
++ local code=
+++ date '+%F %T'
++ local 'line=[2016-03-10 09:32:09] INFO: destroying existing veewee image, if 
any'
++ '[' -t 2 ']'
++ echo '[2016-03-10 09:32:09] INFO: destroying existing veewee image, if any'
[2016-03-10 09:32:09] INFO: destroying existing veewee image, if any
++ set +e
++ bundle exec veewee vbox destroy systemvm64template-master-4.6.0
Shutting down vm systemvm64template-master-4.6.0
VBoxManage unregistervm  "systemvm64template-master-4.6.0" --delete
Deleting vm systemvm64template-master-4.6.0
++ set -e
+ (( i--  ))
+ (( i>=0  ))
+ sleep 2
+ log DEBUG 'on_exit: rm -f cloud_scripts_shar_archive.sh'
+ local level=DEBUG
+ shift
+ [[ 1 != \1 ]]
+ local code=
++ date '+%F %T'
+ local 'line=[2016-03-10 09:32:16] DEBUG: on_exit: rm -f 
cloud_scripts_shar_archive.sh'
+ '[' -t 2 ']'
+ echo '[2016-03-10 09:32:16] DEBUG: on_exit: rm -f 
cloud_scripts_shar_archive.sh'
[2016-03-10 09:32:16] DEBUG: on_exit: rm -f cloud_scripts_shar_archive.sh
+ eval rm -f cloud_scripts_shar_archive.sh
++ rm -f cloud_scripts_shar_archive.sh
+ (( i--  ))
+ (( i>=0  ))
+ sleep 2
+ log DEBUG 'on_exit: rm -rf definitions/systemvm64template-master-4.6.0'
+ local level=DEBUG
+ shift
+ [[ 1 != \1 ]]
+ local code=
++ date '+%F %T'
+ local 'line=[2016-03-10 09:32:18] DEBUG: on_exit: rm -rf 
definitions/systemvm64template-maste

Build failed in Jenkins: build-master-slowbuild #3431

2016-03-10 Thread jenkins
See 

--
[...truncated 28679 lines...]
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.768s]
[INFO] Apache CloudStack . SUCCESS [2.318s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.787s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.915s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:31.289s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.098s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.862s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.831s]
[INFO] Apache CloudStack API . SUCCESS [1:50.876s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.897s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.256s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.083s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.441s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.282s]
[INFO] Apache CloudStack Core  SUCCESS [1:20.840s]
[INFO] Apache CloudStack Agents .. SUCCESS [37.315s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.338s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.340s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.398s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [41.125s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.662s]
[INFO] Apache CloudStack Server .. SUCCESS [4:15.129s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.882s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.561s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.370s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.074s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.451s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [52.974s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.556s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.757s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.123s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.799s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [21.251s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.136s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.674s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.218s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.979s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.464s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.502s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[38.056s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.463s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.892s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.890s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.568s]
[INFO] Apache Cloud

[GitHub] cloudstack pull request: CLOUDSTACK-9298: Improve performance of r...

2016-03-10 Thread nvazquez
Github user nvazquez commented on the pull request:

https://github.com/apache/cloudstack/pull/1425#issuecomment-194884875
  
Hi @rafaelweingartner @pedro-martins,

I see continuous integration check is still failing due to this error, I 
made some changes in setup/db/db/schema-481to490.sql:

[ERROR] Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:java (create-schema) on project 
cloud-developer: An exception occured while executing the Java class. null: 
InvocationTargetException: Unable to upgrade the database: Unable to execute 
upgrade script: 
/home/travis/build/apache/cloudstack/developer/target/db/db/schema-481to490.sql:
 Access denied; you need (at least one of) the SUPER privilege(s) for this 
operation -> [Help 1]


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: build-master-slowbuild #3432

2016-03-10 Thread jenkins
See 

--
[...truncated 28679 lines...]
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.699s]
[INFO] Apache CloudStack . SUCCESS [2.070s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.771s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.796s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:30.179s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.109s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.982s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.986s]
[INFO] Apache CloudStack API . SUCCESS [1:50.095s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.861s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.483s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.089s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.436s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.050s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.257s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.549s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.654s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.606s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:06.267s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [41.035s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [26.005s]
[INFO] Apache CloudStack Server .. SUCCESS [4:11.322s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.764s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.444s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:23.404s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.068s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.450s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [54.882s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.233s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.705s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.716s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.875s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.794s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [34.922s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.446s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.861s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.949s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.354s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.553s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[35.667s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.737s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.546s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.851s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[17.132s]
[INFO] Apache Cloud

[GitHub] cloudstack pull request: Change variable "ROOK_DISK_CONTROLLER" to...

2016-03-10 Thread pedro-martins
Github user pedro-martins commented on the pull request:

https://github.com/apache/cloudstack/pull/1434#issuecomment-194957493
  
Simple change in variable name, LGTM


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: [CLOUDSTACK-9296] Start ipsec for client ...

2016-03-10 Thread syed
Github user syed commented on the pull request:

https://github.com/apache/cloudstack/pull/1423#issuecomment-194962876
  
@kiwiflyer : Rebase done. Here is the log from the VR when I enable client 
side vpn 

```
2016-03-10 17:01:25,876  merge.py load:60 Loading data bag type 
remoteaccessvpn
2016-03-10 17:01:25,876  configure.py process:624 {u'69.196.164.233': 
{u'local_ip': u'10.1.2.1', u'preshared_key': u'FTfwOHPZK8gBAXWHS4SzhsQN', 
u'create': True, u'vpn_server_ip': u'69.196.164.233', u'local_cidr': 
u'10.20.0.0/22', u'ip_range': u'10.1.2.2-10.1.2.254', u'public_interface': 
u'eth1', u'type': u'remoteaccessvpn'}, u'id': u'remoteaccessvpn'}
2016-03-10 17:01:25,876  configure.py process:632 Enabling  remote access 
vpn  on 69.196.164.233
2016-03-10 17:01:25,876  CsHelper.py execute2:181 Executing: service ipsec 
status
2016-03-10 17:01:25,907  CsHelper.py execute2:181 Executing: service ipsec 
start
```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: build-master-slowbuild #3433

2016-03-10 Thread jenkins
See 

--
[...truncated 28679 lines...]
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.681s]
[INFO] Apache CloudStack . SUCCESS [2.082s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.771s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.666s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:32.541s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.097s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.828s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.905s]
[INFO] Apache CloudStack API . SUCCESS [1:48.786s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.398s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.116s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.088s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [29.035s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.185s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.214s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.164s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [37.119s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.515s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:08.228s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [41.054s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.678s]
[INFO] Apache CloudStack Server .. SUCCESS [4:15.855s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.888s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.169s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:24.062s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.089s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.442s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.454s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.560s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.356s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.616s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [32.005s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.675s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.492s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.413s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.422s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.001s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.143s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.737s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[35.495s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.356s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.058s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [16.153s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.617s]
[INFO] Apache Cloud

[GitHub] cloudstack pull request: removed unused HypervDummyResourceBase cl...

2016-03-10 Thread pedro-martins
GitHub user pedro-martins opened a pull request:

https://github.com/apache/cloudstack/pull/1437

removed unused HypervDummyResourceBase class

Was removed the class 
com.cloud.hypervisor.hyperv.resource.HypervDummyResourceBase

 - This class do not have the annotation @Component and there are no beans 
that instantiate this class in XML files, then this class isn't in the spring 
lifecycle;
 - The constructor of this class isn't called in the entire ACS code;
 - There is no other class that extends this class.

Well, I think that this class isn't used in the ACS code, but if I'm wrong, 
please be free to comment.

Ty. 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pedro-martins/cloudstack 
removed-unused-HypervDummyResourceBase-class

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/1437.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1437


commit e1a75de9bc46776390d05aa1e996861a5a1e053a
Author: pedro-martins 
Date:   2016-03-10T17:46:33Z

removed unused
com.cloud.hypervisor.hyperv.resource.HypervDummyResourceBase
class




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Results of a IPv6 brainstorm day

2016-03-10 Thread John Burwell
Wido,

Curious if you have been able to make any progress on this work. Have you been 
able to move it forward? If not, what kind of help would you need?

Thanks,
-John

>

[ShapeBlue]
John Burwell
ShapeBlue

d:  +44 (20) 3603 0542 | s: +1 (571) 403-2411 


e:  john.burw...@shapeblue.com | t: 
 |  w:  
www.shapeblue.com

a:  53 Chandos Place, Covent Garden London WC2N 4HS UK


[cid:imagefbc38a.png@a8508906.4c973695]


Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services 
India LLP is a company incorporated in India and is operated under license from 
Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in 
Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd 
is a company registered by The Republic of South Africa and is traded under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error.




On Dec 22, 2015, at 5:17 AM, Wido den Hollander  wrote:
>
>
>
> On 12/22/2015 04:35 AM, Ian Rae wrote:
>> Great to hear, next time I am happy to commit an engineer from CloudOps to
>> participate. We have done quite a bit of work around VPC and also need to
>> solve for IPv6 soon.
>>
>> Thanks for sharing, great initiative/goal and I will make sure the CloudOps
>> team reviews and supports this.
>>
>
> Great! The first challenge will be to get the core of ACS aware of IPv6.
> Pass IP addresses is InetAddress instead of a String, etc, etc.
>
> I don't know if a very big team can work on this without very short
> communication between the different people.
>
> But again, any help is appreciated! We need this to go in.
>
> Wido
>
>> On Friday, December 18, 2015, Wido den Hollander  wrote:
>>
>>> Hi,
>>>
>>> Yesterday we from PCextreme, Leaseweb and Schuberg Phillis sat down for
>>> a IPv6 brainstorm session.
>>>
>>> We asked a good IPv6 consultant (Sander Steffann) to join us to help us
>>> identify some glitches in our ideas.
>>>
>>> We had two ideas:
>>> -
>>>
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/IPv6+in+Basic+Networking
>>> -
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/IPv6+in+VPC+Router
>>>
>>> Overall, our ideas looked good, our main concern was security grouping.
>>> How to prevent clients from spoofing and such.
>>>
>>> I updated the spec for the Basic Networking with those ideas.
>>>
>>> A few things worth noting:
>>> - Link-Local traffic should be allowed for specific ICMPv6-only. No UDP
>>> or TCP!
>>> - A DUID can not be trusted. We need a tagger on the HV which adds the
>>> MAC address as DHCPv6 option 37.
>>> - SLAAC can not be used. DHCPv6+IA only
>>> - We can assign multiple IPs and Prefixes via DHCPv6
>>> - ISC Kea seems very nice as a DHCPv6 server: http://kea.isc.org/wiki
>>>
>>> A few RFCs which might be worth reading:
>>> - https://www.ietf.org/rfc/rfc4890.txt
>>> - https://tools.ietf.org/html/rfc6939
>>> - https://tools.ietf.org/html/rfc4861
>>>
>>> We will start to work on this, but the CloudStack core is still very,
>>> very, very IPv4 minded and this will need a lot of refactoring.
>>>
>>> However, once you understand IPv6 better it is much more simple then
>>> IPv4 imho.
>>>
>>> The end goal is that CloudStack can run on IPv6-only without ANY IPv4.
>>>
>>> What also resulted from this day:
>>> - Basic Networking can probably be merged with Advanced Networking with
>>> Direct Attached
>>> - Isolated Networks are about the same as a VPC
>>> - We might be able to ditch the SSVM in most situations
>>>
>>> Any way, enough work to do!
>>>
>>> Wido
>>>
>>
>>

Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build | 
CSForge – rapid IaaS deployment framework
CloudStack Consulting | 
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support | CloudStack 
Bootcamp Training Courses


Build failed in Jenkins: build-master-slowbuild #3434

2016-03-10 Thread jenkins
See 

--
[...truncated 28679 lines...]
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.843s]
[INFO] Apache CloudStack . SUCCESS [2.221s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.766s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.503s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:29.659s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.103s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.786s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.773s]
[INFO] Apache CloudStack API . SUCCESS [1:49.027s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.524s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.518s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.100s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.872s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.306s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.820s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.086s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.136s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.468s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.499s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.428s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [26.114s]
[INFO] Apache CloudStack Server .. SUCCESS [4:13.806s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.622s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.226s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.329s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.069s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.472s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.268s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [50.151s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.528s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.329s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.751s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.342s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.493s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.249s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.163s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.962s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.338s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[24.830s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[35.619s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.399s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.092s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [14.731s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[17.297s]
[INFO] Apache Cloud

[GitHub] cloudstack pull request: Addresses CLOUDSTACK-9300 where the MySQL...

2016-03-10 Thread Slair1
Github user Slair1 commented on the pull request:

https://github.com/apache/cloudstack/pull/1428#issuecomment-195054079
  
Looks like the cloudstack-usage server has a similar problem.  it 
continuously restarts if db.ha.enable = true.

i got it to work in my environment with the change in this PR: 
https://github.com/apache/cloudstack/pull/1433


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Results of a IPv6 brainstorm day

2016-03-10 Thread Wido den Hollander

> Op 10 maart 2016 om 21:15 schreef John Burwell :
> 
> 
> Wido,
> 
> Curious if you have been able to make any progress on this work. Have you been
> able to move it forward? If not, what kind of help would you need?
> 

Yes. Not so much in code inside CloudStack, but mainly in figuring out DHCPv6
stuff and searching for the right components.

The DHCPv6 part is something that I would like to see handled by Kea. Blogged
about my tests with Kea: http://blog.widodh.nl/2016/02/isc-kea-dhcpv6-server/

The security grouping part could be done by libvirt:
* https://issues.apache.org/jira/browse/CLOUDSTACK-1164
*
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201601.mbox/%3C568CE637.4000507%40widodh.nl%3E

This supports both IPv4 and IPv6. So this combined brings us to:
- Kea for DHCPv6
- Libvirt for KVM Security Grouping

I haven't gotten to writing any actual code since this mainly means that a MAJOR
overhaul is needed of the internals of CloudStack. All the code now assumes IPv4
addresses in there...

Wido

> Thanks,
> -John
> 
> >
> 
> [ShapeBlue]
> John Burwell
> ShapeBlue
> 
> d:  +44 (20) 3603 0542 | s: +1 (571) 403-2411
> 
> 
> e:  john.burw...@shapeblue.com | t:
>  |  w:
>  www.shapeblue.com
> 
> a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
> 
> 
> [cid:imagefbc38a.png@a8508906.4c973695]
> 
> 
> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> Services India LLP is a company incorporated in India and is operated under
> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company
> incorporated in Brasil and is operated under license from Shape Blue Ltd.
> ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa
> and is traded under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based upon
> its contents, nor copy or show it to anyone. Please contact the sender if you
> believe you have received this email in error.
> 
> 
> 
> 
> On Dec 22, 2015, at 5:17 AM, Wido den Hollander  wrote:
> >
> >
> >
> > On 12/22/2015 04:35 AM, Ian Rae wrote:
> >> Great to hear, next time I am happy to commit an engineer from CloudOps to
> >> participate. We have done quite a bit of work around VPC and also need to
> >> solve for IPv6 soon.
> >>
> >> Thanks for sharing, great initiative/goal and I will make sure the CloudOps
> >> team reviews and supports this.
> >>
> >
> > Great! The first challenge will be to get the core of ACS aware of IPv6.
> > Pass IP addresses is InetAddress instead of a String, etc, etc.
> >
> > I don't know if a very big team can work on this without very short
> > communication between the different people.
> >
> > But again, any help is appreciated! We need this to go in.
> >
> > Wido
> >
> >> On Friday, December 18, 2015, Wido den Hollander  wrote:
> >>
> >>> Hi,
> >>>
> >>> Yesterday we from PCextreme, Leaseweb and Schuberg Phillis sat down for
> >>> a IPv6 brainstorm session.
> >>>
> >>> We asked a good IPv6 consultant (Sander Steffann) to join us to help us
> >>> identify some glitches in our ideas.
> >>>
> >>> We had two ideas:
> >>> -
> >>>
> >>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/IPv6+in+Basic+Networking
> >>> -
> >>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/IPv6+in+VPC+Router
> >>>
> >>> Overall, our ideas looked good, our main concern was security grouping.
> >>> How to prevent clients from spoofing and such.
> >>>
> >>> I updated the spec for the Basic Networking with those ideas.
> >>>
> >>> A few things worth noting:
> >>> - Link-Local traffic should be allowed for specific ICMPv6-only. No UDP
> >>> or TCP!
> >>> - A DUID can not be trusted. We need a tagger on the HV which adds the
> >>> MAC address as DHCPv6 option 37.
> >>> - SLAAC can not be used. DHCPv6+IA only
> >>> - We can assign multiple IPs and Prefixes via DHCPv6
> >>> - ISC Kea seems very nice as a DHCPv6 server: http://kea.isc.org/wiki
> >>>
> >>> A few RFCs which might be worth reading:
> >>> - https://www.ietf.org/rfc/rfc4890.txt
> >>> - https://tools.ietf.org/html/rfc6939
> >>> - https://tools.ietf.org/html/rfc4861
> >>>
> >>> We will start to work on this, but the CloudStack core is still very,
> >>> very, very IPv4 minded and this will need a lot of refactoring.
> >>>
> >>> However, once you understand IPv6 better it is much more simple then
> >>> IPv4 imho.
> >>>
> >>> The end goal is that CloudStack can run on IPv6-only without ANY IPv4.
> >>>
> >>> What also resulted from this day:
> >>> - Basic 

Re: Results of a IPv6 brainstorm day

2016-03-10 Thread Erik Weber
On Thu, Mar 10, 2016 at 10:31 PM, Wido den Hollander  wrote:

>
> > Op 10 maart 2016 om 21:15 schreef John Burwell <
> john.burw...@shapeblue.com>:
> >
> >
> > Wido,
> >
> > Curious if you have been able to make any progress on this work. Have
> you been
> > able to move it forward? If not, what kind of help would you need?
> >
>
> Yes. Not so much in code inside CloudStack, but mainly in figuring out
> DHCPv6
> stuff and searching for the right components.
>
> The DHCPv6 part is something that I would like to see handled by Kea.
> Blogged
> about my tests with Kea:
> http://blog.widodh.nl/2016/02/isc-kea-dhcpv6-server/
>
>
AFAIK dnsmasq should support DHCPv6 leases based on MAC-addresses as well,
should ease the transition a bit to not have to switch the software inside
the VR.

-- 
Erik


[GitHub] cloudstack pull request: removed unused HypervDummyResourceBase cl...

2016-03-10 Thread eriweb
Github user eriweb commented on the pull request:

https://github.com/apache/cloudstack/pull/1437#issuecomment-195069715
  
Have you done any testing?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9298: Improve performance of r...

2016-03-10 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/1425#issuecomment-195093089
  
@nvazquez the code is ok now.
I believe the problems you are having are due to lines 27, 28 and 29; I 
think you can remove them.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [PROPOSAL] Minimum Viable CI Integration

2016-03-10 Thread Will Stevens
I have made the request.  Here is the Jira ticket:
https://issues.apache.org/jira/browse/INFRA-11429

Here is the content of the request...

---

This request is for personal access tokens with the following permission be
added to the https://github.com/apache/cloudstack repository in order for
the apache cloudstack community to be able to implement Continuious
Integration.

Permission: (https://github.com/settings/tokens)
- `repo:status` - Grants read/write access to public and private repository
commit statuses. This scope is only necessary to grant other users or
services access to private repository commit statuses without granting
access to the code.

With this permission the token owner will be able to view the
apache/cloudstack repo and will be able to create and update the status of
a pull request.  This is the same type of permission used by the current
TravisCI integration, but will allow the community to feedback the status
of distributed CI runs on physical hardware.  Here is more detail on the
Status functionality: https://developer.github.com/v3/repos/statuses/

We would like the following apache/cloudstack community members be sent
their own personal access tokens since they will be providing physical
hardware for doing CI for apache/cloudstack and would like the results of
these CI runs to be posted back to the community so the release managers on
the project can better assess the impact of the different pull requests.

Will Stevens 
Paul Angus 
Bharat Kumar 
Remi Bergsma 

By providing each individual their own access token, you maintain fine
grain control of their access to modify pull request statuses from their CI
and you can revoke individual tokens if there is ever a concern.

Some more context around this request...

The Apache CloudStack community has been struggling with code quality
issues due to the lack of CI and the wide breadth of features.  Because of
the scale of the project, no single organization or community member has
the hardware to fully test the extent of the functionality provided by the
product.  This in combination with the attempt to increase the release
cadence, the lack of full CI coverage is becoming a painful reality.

I have developed a very simple CLI tool called `upr` (
https://github.com/swill/upr) which can be easily integrated into any CI
implementation used by the different organizations/individuals to post back
the status of their CI runs to the community.

Please feel free to engage with us on the dev@cloudstack.apache.org mailing
list if anything is unclear or if you have questions.

---

*Will STEVENS*
Lead Developer

*CloudOps* *| *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_

On Wed, Mar 9, 2016 at 2:38 PM, Erik Weber  wrote:

> I say go for it
>
> On Wed, Mar 9, 2016 at 5:21 PM, Will Stevens 
> wrote:
>
> > Anyone have any feedback on this?  I would like to get this ticket opened
> > this week.
> >
> > *Will STEVENS*
> > Lead Developer
> >
> > *CloudOps* *| *Cloud Solutions Experts
> > 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> > w cloudops.com *|* tw @CloudOps_
> >
> > On Tue, Mar 8, 2016 at 12:46 PM, Will Stevens 
> > wrote:
> >
> > > I am going to open a ticket with the infra team to request access
> tokens
> > > for each of the organizations who are putting up hardware for the CI
> > cause.
> > >
> > > The reason I am planning to request a token for each organization
> > > individually is because I want to make a point about our need for CI
> and
> > > the need for many groups to be doing CI in order for us to get full
> > > hardware coverage of the different features we support.  The token is
> > > needed in order for the different CI implementations to be able to
> simply
> > > post back a 'red light', 'green light' status of the pull request in
> > > github.  More details can be added in comments using an implementation
> > like
> > > what Bharat is working on, but the focus of this request will be to
> > enable
> > > us to have the ability for the different CI environments to get at
> least
> > > 'red light', 'green light' functionality for pull requests.
> > >
> > > I will be requesting a token with the following basic permissions:
> > > - public_repo - the same as an anonymous user
> > > - repo:status - this allows for the status of a PR to be changed to one
> > > of the following 4 states; pending, success, failure, error, with some
> > > additional information such as; context, description, and a public url
> > for
> > > more details of the status.
> > >
> > > I am going to associate people with each token request and ask that
> each
> > > person be sent their own token since they are providing infrastructure
> to
> > > operate a CI environment and the community would like visibility into
> > their
> > > results.
> > >
> > > The people I am going to ask for a token for are as follows:
> > >
> > > Will Stevens 
> > > Paul Angus 
> > > Bharat Kumar 
> > > Remi Bergsma 
>

[GitHub] cloudstack pull request: removed unused HypervDummyResourceBase cl...

2016-03-10 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/1437#issuecomment-195095474
  
@eriweb
There are things that do not need to be tested, we work in computer 
science; if there is no reference to an object/class, there is no way it is 
being used.

The only reference for that class name is in a log at line 250 of class 
“com.cloud.hypervisor.hyperv.discoverer.HypervServerDiscoverer”, the log 
says that it is creating the dummyResource, however, it creates the 
“com.cloud.hypervisor.hyperv.resource.HypervDirectConnectResource” at line 
282.

This is a fair and simple removal of unused code/class. @pedro-martins , 
could you also fix the log message in “HypervServerDiscoverer” at line 250?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Change variable "ROOK_DISK_CONTROLLER" to...

2016-03-10 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/1434#issuecomment-195096276
  
Merging giving LGTMs and that build passes


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Change variable "ROOK_DISK_CONTROLLER" to...

2016-03-10 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/1434


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: build-master-slowbuild #3435

2016-03-10 Thread jenkins
See 

--
[...truncated 28689 lines...]
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.715s]
[INFO] Apache CloudStack . SUCCESS [2.075s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.774s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.726s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:27.536s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.105s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.876s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.999s]
[INFO] Apache CloudStack API . SUCCESS [1:48.445s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.204s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.127s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.086s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.414s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.295s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.083s]
[INFO] Apache CloudStack Agents .. SUCCESS [37.518s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [38.912s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [13.710s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:05.073s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.625s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.682s]
[INFO] Apache CloudStack Server .. SUCCESS [4:13.266s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.294s]
[INFO] Apache CloudStack Usage Server  SUCCESS [43.880s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.427s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.071s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.479s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.723s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [49.195s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.760s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [25.905s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.796s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.720s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [36.421s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.006s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.263s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.001s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.182s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.400s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.150s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.222s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.089s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.809s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.625s]
[INFO] Apache Cloud

Build failed in Jenkins: build-master-noredist #4844

2016-03-10 Thread jenkins
See 

Changes:

[gabrascher] VmDetailConstants "ROOK_DISK_CONTROLLER" to "ROOT_DISK_CONTROLLER"

--
[...truncated 897 lines...]
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
2016-03-11 00:50:39,101 DEBUG [utils.script.Script] (main:) Executing: 
/bin/bash -c /not/existing/scripts/1457657439101 
2016-03-11 00:50:39,104 DEBUG [utils.script.Script] (main:) Exit value is 127
2016-03-11 00:50:39,104 DEBUG [utils.script.Script] (main:) /bin/bash: 
/not/existing/scripts/1457657439101: No such file or directory
2016-03-11 00:50:39,106 DEBUG [utils.script.Script] (main:) Executing: 
/bin/bash -c echo 'hello world!' 
2016-03-11 00:50:39,108 DEBUG [utils.script.Script] (main:) Execution is 
successful.
2016-03-11 00:50:39,109 DEBUG [utils.script.Script] (main:) Executing: 
/bin/bash -c echo 'hello world!' 
2016-03-11 00:50:39,112 DEBUG [utils.script.Script] (main:) Execution is 
successful.
Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.049 sec - in 
com.cloud.utils.ScriptTest
Running com.cloud.utils.TestProfiler
Configure log4j with default properties
2016-03-11 00:50:39,141 INFO  [cloud.utils.TestProfiler] (main:) testProfiler() 
started
2016-03-11 00:50:40,151 INFO  [cloud.utils.TestProfiler] (main:) Duration in 
Millis: 1010
2016-03-11 00:50:40,151 INFO  [cloud.utils.TestProfiler] (main:) testProfiler() 
stopped
Configure log4j with default properties
Configure log4j with default properties
2016-03-11 00:50:41,183 INFO  [cloud.utils.TestProfiler] (main:) Duration in 
Nano: 1010154480
Configure log4j with default properties
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.067 sec - in 
com.cloud.utils.TestProfiler
Running com.cloud.utils.net.NetUtilsTest
2016-03-11 00:50:41,222 INFO  [utils.net.NetUtils] (main:) Invalid value of 
cidr 10.3.6.5/50
2016-03-11 00:50:41,231 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::1
2016-03-11 00:50:41,232 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::2
2016-03-11 00:50:41,234 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::2
2016-03-11 00:50:41,235 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::1
2016-03-11 00:50:41,236 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::2
2016-03-11 00:50:41,237 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::6975:37e:c100:f59c
2016-03-11 00:50:41,240 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::18b8:5160:2f2c:fc6d
2016-03-11 00:50:41,241 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::b3f3:9622:dba2:bcfb
2016-03-11 00:50:41,243 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::bc96:58dc:f8bf:e577
2016-03-11 00:50:41,244 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::f8f7:de08:111c:86e9
2016-03-11 00:50:41,247 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::7d5:97bd:7d60:6565
2016-03-11 00:50:41,248 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::fe15:a7e:a895:8a53
2016-03-11 00:50:41,250 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::bb3b:7194:be24:adac
2016-03-11 00:50:41,251 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::ccba:28d6:720c:cbb8
2016-03-11 00:50:41,253 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::185b:fd0c:fe81:e06b
2016-03-11 00:50:41,271 ERROR [utils.net.NetUtils] (main:) empty cidr can not 
be converted to longs
com.cloud.utils.exception.CloudRuntimeException: empty cidr can not be 
converted to longs
at com.cloud.utils.net.NetUtils.cidrToLong(NetUtils.java:887)
at com.cloud.utils.net.NetUtils.isNetworksOverlap(NetUtils.java:1174)
at 
com.cloud.utils.net.NetUtilsTest.testIsNetworksOverlapWithEmptyValues(NetUtilsTest.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.

[GitHub] cloudstack pull request: CLOUDSTACK-9304: Add nuagevsp userdata te...

2016-03-10 Thread shivsg
Github user shivsg commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1431#discussion_r55776272
  
--- Diff: test/integration/component/test_nuage_vsp.py ---
@@ -1,334 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-""" P1 tests for NuageVsp network Plugin
-"""
-# Import Local Modules
-from nose.plugins.attrib import attr
-from marvin.cloudstackTestCase import cloudstackTestCase
-from marvin.cloudstackAPI import (listPhysicalNetworks,
-  listNetworkServiceProviders,
-  addNetworkServiceProvider,
-  deleteNetworkServiceProvider,
-  deleteNuageVspDevice,
-  updateNetworkServiceProvider,
-  addNuageVspDevice,
-  destroyVirtualMachine)
-from marvin.lib.utils import (cleanup_resources)
-from marvin.lib.base import (Account,
- VirtualMachine,
- ServiceOffering,
- NetworkOffering,
- Network)
-from marvin.lib.common import (get_domain,
-   get_zone,
-   get_template)
-
-import logging
-import unittest
-
-
-class Services:
-
-"""Test NuageVsp plugin
-"""
-
-def __init__(self):
-print "in __init__"
-self.services = {
-"account": {
-"email": "cloudst...@cloudmonkey.com",
-"firstname": "cloudstack",
-"lastname": "bob",
-"username": "admin",
-"password": "password",
-},
-"service_offering": {
-"name": "Tiny Instance",
-"displaytext": "Tiny Instance",
-"cpunumber": 1,
-"cpuspeed": 100,# in MHz
-"memory": 128,   # In MBs
-},
-"virtual_machine": {
-"displayname": "TestVM",
-"username": "root",
-"password": "password",
-"ssh_port": 22,
-"hypervisor": 'KVM',
-"privateport": 22,
-"publicport": 22,
-"protocol": 'TCP',
-},
-"nuage_vsp_device": {
-"hostname": '172.31.222.162',
-"username": 'cloudstackuser1',
-"password": 'cloudstackuser1',
-"port": '8443',
-"apiversion": 'v3_2',
-"retrycount": '4',
-"retryinterval": '60'
-},
-# services supported by Nuage for isolated networks.
-"network_offering": {
-"name": 'nuage_marvin',
-"displaytext": 'nuage_marvin',
-"guestiptype": 'Isolated',
-"supportedservices":
-'Dhcp,SourceNat,Connectivity,StaticNat,UserData,Firewall',
-"traffictype": 'GUEST',
-"availability": 'Optional',
-"serviceProviderList": {
-"UserData": 'VirtualRouter',
-"Dhcp": 'NuageVsp',
-"Connectivity": 'NuageVsp',
-"StaticNat": 'NuageVsp',
-"SourceNat": 'NuageVsp',
-"Firewall": 'NuageVsp'
-},
-"serviceCapabilityList": {
-"SourceNat": {"SupportedSourceNatTypes": "perzone"},
-}
-},
-"network": {
-"name": "nuage",
-"displaytext": "nuage",
-},
-"ostype": 'Cen

Build failed in Jenkins: build-master-slowbuild #3436

2016-03-10 Thread jenkins
See 

Changes:

[gabrascher] VmDetailConstants "ROOK_DISK_CONTROLLER" to "ROOT_DISK_CONTROLLER"

--
[...truncated 28679 lines...]
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.780s]
[INFO] Apache CloudStack . SUCCESS [2.134s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.791s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.845s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:29.733s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.103s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.875s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.064s]
[INFO] Apache CloudStack API . SUCCESS [1:48.213s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [15.896s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.232s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.081s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.015s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.664s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.385s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.118s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.293s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [15.512s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.640s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [39.892s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.749s]
[INFO] Apache CloudStack Server .. SUCCESS [4:15.472s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [39.701s]
[INFO] Apache CloudStack Usage Server  SUCCESS [43.651s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.118s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.068s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.465s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [55.518s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [47.780s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.080s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.249s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.603s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.564s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.207s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.115s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.531s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.085s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.669s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.157s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[35.778s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.833s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.457s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [16.741s]
[INF

[GitHub] cloudstack pull request: CLOUDSTACK-9304: Add nuagevsp userdata te...

2016-03-10 Thread sneeladh
Github user sneeladh commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1431#discussion_r55789682
  
--- Diff: test/integration/component/test_nuage_vsp.py ---
@@ -1,334 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-""" P1 tests for NuageVsp network Plugin
-"""
-# Import Local Modules
-from nose.plugins.attrib import attr
-from marvin.cloudstackTestCase import cloudstackTestCase
-from marvin.cloudstackAPI import (listPhysicalNetworks,
-  listNetworkServiceProviders,
-  addNetworkServiceProvider,
-  deleteNetworkServiceProvider,
-  deleteNuageVspDevice,
-  updateNetworkServiceProvider,
-  addNuageVspDevice,
-  destroyVirtualMachine)
-from marvin.lib.utils import (cleanup_resources)
-from marvin.lib.base import (Account,
- VirtualMachine,
- ServiceOffering,
- NetworkOffering,
- Network)
-from marvin.lib.common import (get_domain,
-   get_zone,
-   get_template)
-
-import logging
-import unittest
-
-
-class Services:
-
-"""Test NuageVsp plugin
-"""
-
-def __init__(self):
-print "in __init__"
-self.services = {
-"account": {
-"email": "cloudst...@cloudmonkey.com",
-"firstname": "cloudstack",
-"lastname": "bob",
-"username": "admin",
-"password": "password",
-},
-"service_offering": {
-"name": "Tiny Instance",
-"displaytext": "Tiny Instance",
-"cpunumber": 1,
-"cpuspeed": 100,# in MHz
-"memory": 128,   # In MBs
-},
-"virtual_machine": {
-"displayname": "TestVM",
-"username": "root",
-"password": "password",
-"ssh_port": 22,
-"hypervisor": 'KVM',
-"privateport": 22,
-"publicport": 22,
-"protocol": 'TCP',
-},
-"nuage_vsp_device": {
-"hostname": '172.31.222.162',
-"username": 'cloudstackuser1',
-"password": 'cloudstackuser1',
-"port": '8443',
-"apiversion": 'v3_2',
-"retrycount": '4',
-"retryinterval": '60'
-},
-# services supported by Nuage for isolated networks.
-"network_offering": {
-"name": 'nuage_marvin',
-"displaytext": 'nuage_marvin',
-"guestiptype": 'Isolated',
-"supportedservices":
-'Dhcp,SourceNat,Connectivity,StaticNat,UserData,Firewall',
-"traffictype": 'GUEST',
-"availability": 'Optional',
-"serviceProviderList": {
-"UserData": 'VirtualRouter',
-"Dhcp": 'NuageVsp',
-"Connectivity": 'NuageVsp',
-"StaticNat": 'NuageVsp',
-"SourceNat": 'NuageVsp',
-"Firewall": 'NuageVsp'
-},
-"serviceCapabilityList": {
-"SourceNat": {"SupportedSourceNatTypes": "perzone"},
-}
-},
-"network": {
-"name": "nuage",
-"displaytext": "nuage",
-},
-"ostype": 'C

Build failed in Jenkins: build-master-slowbuild #3437

2016-03-10 Thread jenkins
See 

--
[...truncated 28679 lines...]
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.766s]
[INFO] Apache CloudStack . SUCCESS [2.584s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.910s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.272s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:30.352s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.103s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [54.684s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [28.081s]
[INFO] Apache CloudStack API . SUCCESS [1:57.371s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.520s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.799s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.097s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.234s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.966s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.531s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.457s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [35.769s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.084s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:08.292s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.706s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [26.097s]
[INFO] Apache CloudStack Server .. SUCCESS [4:18.368s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.561s]
[INFO] Apache CloudStack Usage Server  SUCCESS [43.521s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.201s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.098s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.440s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [55.669s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [47.598s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.204s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.128s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.641s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [22.928s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.372s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.284s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.460s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.983s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.374s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[24.355s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[37.401s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.351s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.620s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [16.804s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.642s]
[INFO] Apache Cloud

[GitHub] cloudstack pull request: CLOUDSTACK-9304: Add nuagevsp userdata te...

2016-03-10 Thread sanju1010
Github user sanju1010 commented on the pull request:

https://github.com/apache/cloudstack/pull/1431#issuecomment-195224152
  
LGTM based on the code review.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---