text:
CLOUDSTACK-9604: Root disk resize support for VMware and XenServer.

For complete description please refer -> CLOUDSTACK-9604

Quickly tested with 4.10 pre jdk8 and it work creating vm and resize the root volume on XenServer 6.5.  tested using lvmiscsi and SolidFire storage plugins.

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-489

Hi @pdion891, @borisstoyanov, @anshul1886 and @pdube,
Thanks for your valuable suggestion and help.

@blueorangutan test centos7 vmware-65

@borisstoyanov unsupported parameters provided. Supported mgmt server os are: centos6, centos7, ubuntu. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-ubuntu, xenserver-65sp1, xenserver-62sp1, vmware-60u2, vmware-55u3, vmware-51u1, vmware-50u1

@blueorangutan test centos7 vmware-60u2

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-60u2) has been kicked to run smoke tests

@blueorangutan test centos7 xenserver-62sp1

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + xenserver-62sp1) has been kicked to run smoke tests

Trillian test result (tid-827)
Environment: vmware-60u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 40945 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t827-vmware-60u2.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermitten failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Test completed. 45 look ok, 4 have error(s)

Test
Result
Time (s)
Test File

test_04_rvpc_privategw_static_routes
Failure
839.15
test_privategw_acl.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Failure
111.31
test_internal_lb.py

test_00_deploy_vm_root_resize
Failure
0.86
test_deploy_vm_root_resize.py

test_CreateTemplateWithDuplicateName
Error
5.14
test_templates.py

test_01_create_template
Error
5.14
test_templates.py

ContextSuite context=TestTemplates>:setup
Error
264.33
test_templates.py

test_01_vpc_site2site_vpn
Success
342.30
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
151.66
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
587.62
test_vpc_vpn.py

test_02_VPC_default_routes
Success
362.55
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
624.11
test_vpc_router_nics.py

test_05_rvpc_multi_tiers
Success
617.55
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Success
1509.34
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
654.65
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
638.49
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Success
1320.79
test_vpc_redundant.py

test_09_delete_detached_volume
Success
20.82
test_volumes.py

test_06_download_detached_volume
Success
45.51
test_volumes.py

test_05_detach_volume
Success
100.28
test_volumes.py

test_04_delete_attached_volume
Success
10.45
test_volumes.py

test_03_download_attached_volume
Success
20.36
test_volumes.py

test_02_attach_volume
Success
78.95
test_volumes.py

test_01_create_volume
Success
510.55
test_volumes.py

test_03_delete_vm_snapshots
Success
275.19
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
227.21
test_vm_snapshots.py

test_01_test_vm_volume_snapshot
Success
181.51
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
161.69
test_vm_snapshots.py

test_deploy_vm_multiple
Success
187.24
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.02
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.82
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.25
test_vm_life_cycle.py

test_08_migrate_vm
Success
60.98
test_vm_life_cycle.py

test_07_restore_vm
Success
0.10
test_vm_life_cycle.py

test_06_destroy_vm
Success
10.15
test_vm_life_cycle.py

test_03_reboot_vm
Success
5.14
test_vm_life_cycle.py

test_02_start_vm
Success
20.33
test_vm_life_cycle.py

test_01_stop_vm
Success
10.16
test_vm_life_cycle.py

test_10_destroy_cpvm
Success
231.98
test_ssvm.py

test_09_destroy_ssvm
Success
263.83
test_ssvm.py

test_08_reboot_cpvm
Success
156.65
test_ssvm.py

test_07_reboot_ssvm
Success
158.50
test_ssvm.py

test_06_stop_cpvm
Success
171.86
test_ssvm.py

test_05_stop_ssvm
Success
173.79
test_ssvm.py

test_04_cpvm_internals
Success
1.32
test_ssvm.py

test_03_ssvm_internals
Success
3.62
test_ssvm.py

test_02_list_cpvm_vm
Success
0.13
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.14
test_ssvm.py

test_01_snapshot_root_disk
Success
21.19
test_snapshots.py

test_04_change_offering_small
Success
116.84
test_service_offerings.py

test_03_delete_service_offering
Success
0.04
test_service_offerings.py

test_02_edit_service_offering
Success
0.08
test_service_offerings.py

test_01_create_service_offering
Success
0.11
test_service_offerings.py

test_02_sys_template_ready
Success
0.13
test_secondary_storage.py

test_01_sys_vm_start
Success
0.18
test_secondary_storage.py

test_09_reboot_router
Success
140.91
test_routers.py

test_08_start_router
Success
116.43
test_routers.py

test_07_stop_router
Success
20.22
test_routers.py

test_06_router_advanced
Success
0.06
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.68
test_routers.py

test_03_restart_network_cleanup
Success
131.17
test_routers.py

test_02_router_internal_adv
Success
1.01
test_routers.py

test_01_router_internal_basic
Success
0.54
test_routers.py

test_router_dns_guestipquery
Success
76.73
test_router_dns.py

test_router_dns_externalipquery
Success
0.08
test_router_dns.py

test_router_dhcphosts
Success
149.04
test_router_dhcphosts.py

test_router_dhcp_opts
Success
21.66
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.09
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
25.45
test_reset_vm_on_reboot.py

test_createRegion
Success
0.04
test_regions.py

test_create_pvlan_network
Success
5.21
test_pvlan.py

test_dedicatePublicIpRange
Success
0.47
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
988.75
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
602.24
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
182.91
test_privategw_acl.py

test_01_primary_storage_nfs
Success
36.18
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.20
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.68
test_portable_publicip.py

test_isolate_network_password_server
Success
97.41
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.14
test_over_provisioning.py

test_oobm_zchange_password
Success
31.00
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.33
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.27
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.32
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.33
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.35
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.31
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.35
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
82.65
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.15
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.09
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
0.18
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.09
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.07
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.07
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
29.44
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.36
test_non_contigiousvlan.py

test_01_nic
Success
465.96
test_nic.py

test_releaseIP
Success
298.33
test_network.py

test_reboot_router
Success
776.06
test_network.py

test_public_ip_user_account
Success
10.27
test_network.py

test_public_ip_admin_account
Success
40.35
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
76.86
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
61.62
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
125.38
test_network.py

test_delete_account
Success
267.84
test_network.py

test_02_port_fwd_on_non_src_nat
Success
55.68
test_network.py

test_01_port_fwd_on_src_nat
Success
112.12
test_network.py

test_nested_virtualization_vmware
Success
364.12
test_nested_virtualization.py

test_nic_secondaryip_add_remove
Success
217.75
test_multipleips_per_nic.py

login_test_saml_user
Success
19.32
test_login.py

test_assign_and_removal_lb
Success
148.80
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.54
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
221.59
test_loadbalance.py

test_03_list_snapshots
Success
0.12
test_list_ids_parameter.py

test_02_list_templates
Success
0.04
test_list_ids_parameter.py

test_01_list_volumes
Success
0.03
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.06
test_iso.py

test_05_iso_permissions
Success
0.06
test_iso.py

test_04_extract_Iso
Success
5.20
test_iso.py

test_03_delete_iso
Success
95.22
test_iso.py

test_02_edit_iso
Success
0.08
test_iso.py

test_01_create_iso
Success
21.08
test_iso.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
384.70
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
1030.70
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
817.32
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.29
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.14
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.26
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
5.98
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.87
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.89
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.06
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.95
test_dynamicroles.py

test_role_lifecycle_update
Success
11.01
test_dynamicroles.py

test_role_lifecycle_list
Success
5.90
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.96
test_dynamicroles.py

test_role_lifecycle_create
Success
5.94
test_dynamicroles.py

test_role_inuse_deletion
Success
5.96
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.16
test_dynamicroles.py

test_role_account_acls
Success
8.44
test_dynamicroles.py

test_default_role_deletion
Success
5.98
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.07
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.04
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.05
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.08
test_disk_offerings.py

test_01_create_disk_offering
Success
0.11
test_disk_offerings.py

test_deployvm_userdispersing
Success
51.07
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
80.98
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
196.94
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
50.96
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
136.32
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
5.88
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
5.98
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
212.51
test_deploy_vm_iso.py

test_3d_gpu_support
Success
445.19
test_deploy_vgpu_enabled_vm.py

test_DeployVmAntiAffinityGroup
Success
176.67
test_affinity_groups.py

test_08_resize_volume
Skipped
5.11
test_volumes.py

test_07_resize_fail
Skipped
10.25
test_volumes.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_01_scale_vm
Skipped
66.34
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.04
test_primary_storage.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
1.10
test_deploy_vgpu_enabled_vm.py

Trillian test result (tid-828)
Environment: xenserver-62sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42796 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t828-xenserver-62sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermitten failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermitten failure detected: /marvin/tests/smoke/test_password_server.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_secondary_storage.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 44 look ok, 5 have error(s)

Test
Result
Time (s)
Test File

test_05_rvpc_multi_tiers
Failure
545.13
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Failure
1342.06
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
540.38
test_vpc_redundant.py

test_01_sys_vm_start
Failure
0.07
test_secondary_storage.py

test_04_rvpc_privategw_static_routes
Failure
694.00
test_privategw_acl.py

test_00_deploy_vm_root_resize
Failure
117.01
test_deploy_vm_root_resize.py

test_08_migrate_vm
Error
61.01
test_vm_life_cycle.py

test_01_vpc_site2site_vpn
Success
286.21
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
146.86
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
502.68
test_vpc_vpn.py

test_02_VPC_default_routes
Success
304.52
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
578.17
test_vpc_router_nics.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
564.57
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
584.65
test_vpc_redundant.py

test_09_delete_detached_volume
Success
15.81
test_volumes.py

test_08_resize_volume
Success
85.91
test_volumes.py

test_07_resize_fail
Success
101.00
test_volumes.py

test_06_download_detached_volume
Success
20.43
test_volumes.py

test_05_detach_volume
Success
100.26
test_volumes.py

test_04_delete_attached_volume
Success
10.21
test_volumes.py

test_03_download_attached_volume
Success
15.28
test_volumes.py

test_02_attach_volume
Success
10.67
test_volumes.py

test_01_create_volume
Success
392.42
test_volumes.py

test_03_delete_vm_snapshots
Success
280.23
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
216.32
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
131.14
test_vm_snapshots.py

test_deploy_vm_multiple
Success
242.81
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.03
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.64
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.15
test_vm_life_cycle.py

test_07_restore_vm
Success
0.09
test_vm_life_cycle.py

test_06_destroy_vm
Success
5.13
test_vm_life_cycle.py

test_03_reboot_vm
Success
10.17
test_vm_life_cycle.py

test_02_start_vm
Success
20.23
test_vm_life_cycle.py

test_01_stop_vm
Success
30.30
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
90.93
test_templates.py

test_08_list_system_templates
Success
0.04
test_templates.py

test_07_list_public_templates
Success
0.14
test_templates.py

test_05_template_permissions
Success
0.11
test_templates.py

test_04_extract_template
Success
5.13
test_templates.py

test_03_delete_template
Success
5.11
test_templates.py

test_02_edit_template
Success
90.12
test_templates.py

test_01_create_template
Success
55.53
test_templates.py

test_10_destroy_cpvm
Success
196.93
test_ssvm.py

test_09_destroy_ssvm
Success
209.33
test_ssvm.py

test_08_reboot_cpvm
Success
141.78
test_ssvm.py

test_07_reboot_ssvm
Success
144.15
test_ssvm.py

test_06_stop_cpvm
Success
167.01
test_ssvm.py

test_05_stop_ssvm
Success
139.59
test_ssvm.py

test_04_cpvm_internals
Success
1.36
test_ssvm.py

test_03_ssvm_internals
Success
3.73
test_ssvm.py

test_02_list_cpvm_vm
Success
0.14
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.15
test_ssvm.py

test_01_snapshot_root_disk
Success
16.31
test_snapshots.py

test_04_change_offering_small
Success
124.08
test_service_offerings.py

test_03_delete_service_offering
Success
0.04
test_service_offerings.py

test_02_edit_service_offering
Success
0.06
test_service_offerings.py

test_01_create_service_offering
Success
0.09
test_service_offerings.py

test_02_sys_template_ready
Success
0.12
test_secondary_storage.py

test_01_scale_vm
Success
5.25
test_scale_vm.py

test_09_reboot_router
Success
65.52
test_routers.py

test_08_start_router
Success
45.40
test_routers.py

test_07_stop_router
Success
15.32
test_routers.py

test_06_router_advanced
Success
0.07
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.68
test_routers.py

test_03_restart_network_cleanup
Success
115.95
test_routers.py

test_02_router_internal_adv
Success
1.00
test_routers.py

test_01_router_internal_basic
Success
0.57
test_routers.py

test_router_dns_guestipquery
Success
48.78
test_router_dns.py

test_router_dns_externalipquery
Success
0.09
test_router_dns.py

test_router_dhcphosts
Success
153.42
test_router_dhcphosts.py

test_router_dhcp_opts
Success
31.69
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.09
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
40.44
test_reset_vm_on_reboot.py

test_createRegion
Success
0.04
test_regions.py

test_create_pvlan_network
Success
5.23
test_pvlan.py

test_dedicatePublicIpRange
Success
0.44
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
797.45
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
592.94
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
137.83
test_privategw_acl.py

test_01_primary_storage_nfs
Success
55.20
test_primary_storage.py

test_01_primary_storage_iscsi
Success
75.68
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.21
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.47
test_portable_publicip.py

test_isolate_network_password_server
Success
36.59
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.14
test_over_provisioning.py

test_oobm_zchange_password
Success
31.04
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
11.35
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.24
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.41
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.39
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.33
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.50
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.38
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
82.91
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.16
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.09
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.18
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.10
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.07
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.07
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.43
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.34
test_non_contigiousvlan.py

test_01_nic
Success
555.86
test_nic.py

test_releaseIP
Success
283.58
test_network.py

test_reboot_router
Success
529.53
test_network.py

test_public_ip_user_account
Success
10.30
test_network.py

test_public_ip_admin_account
Success
40.37
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
86.91
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
76.80
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
103.44
test_network.py

test_delete_account
Success
313.71
test_network.py

test_02_port_fwd_on_non_src_nat
Success
70.90
test_network.py

test_01_port_fwd_on_src_nat
Success
83.97
test_network.py

test_nic_secondaryip_add_remove
Success
238.36
test_multipleips_per_nic.py

login_test_saml_user
Success
19.31
test_login.py

test_assign_and_removal_lb
Success
149.07
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.79
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
209.19
test_loadbalance.py

test_03_list_snapshots
Success
0.07
test_list_ids_parameter.py

test_02_list_templates
Success
0.05
test_list_ids_parameter.py

test_01_list_volumes
Success
0.03
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.07
test_iso.py

test_05_iso_permissions
Success
0.07
test_iso.py

test_04_extract_Iso
Success
5.13
test_iso.py

test_03_delete_iso
Success
95.23
test_iso.py

test_02_edit_iso
Success
0.07
test_iso.py

test_01_create_iso
Success
21.06
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
439.63
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
278.73
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
945.36
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
623.06
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.30
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.18
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.22
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
6.16
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.88
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.97
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.09
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.98
test_dynamicroles.py

test_role_lifecycle_update
Success
11.99
test_dynamicroles.py

test_role_lifecycle_list
Success
5.96
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.97
test_dynamicroles.py

test_role_lifecycle_create
Success
5.92
test_dynamicroles.py

test_role_inuse_deletion
Success
5.91
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.33
test_dynamicroles.py

test_role_account_acls
Success
8.26
test_dynamicroles.py

test_default_role_deletion
Success
5.98
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.08
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.04
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.05
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.08
test_disk_offerings.py

test_01_create_disk_offering
Success
0.08
test_disk_offerings.py

test_deployvm_userdispersing
Success
96.11
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
40.81
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
337.60
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
65.80
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
131.21
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
5.88
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
5.88
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
202.63
test_deploy_vm_iso.py

test_DeployVmAntiAffinityGroup
Success
191.88
test_affinity_groups.py

test_01_test_vm_volume_snapshot
Skipped
0.00
test_vm_snapshots.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.04
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

@borisstoyanov Looks like some environmental issues with backend NFS. Can you kick it again for vmware ?
u'2017-02-15T20:21:38+0000', jobresult : {errorcode : 530, errortext : u'Failed to create templatecreate template from volume exception: Exception: java.lang.Exception\nMessage: unable to prepare template directory: template/tmpl/2/221, storage: NFS://10.2.0.16/acs/secondary/pr1813-t827-vmware-60u2/pr1813-t827-vmware-60u2-sec1, error msg: mkdir: cannot create directory \u2018/var/cloudstack/mnt/VM/7110653970250.2ffe4b26/template/tmpl/2/221\u2019: Permission denied\n'}, cmd :

@priyankparihar You need to adjust smoke test test_deploy_vm_root_resize.py to support vmware root resize. Otherwise it will keep failing
2017-02-15 12:48:59,150 - CRITICAL - FAILED: test_00_deploy_vm_root_resize: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_deploy_vm_root_resize.py", line 205, in test_00_deploy_vm_root_resize\n    self.assertEqual(success, True, "Check if unsupported hypervisor %s fails appropriately" % self.hypervisor)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual\n    assertion_func(first, second, msg=msg)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual\n    raise self.failureException(msg)\n', 'AssertionError: Check if unsupported hypervisor vmware fails appropriately\n']

Thanks @priyankparihar @serg38
It takes about 6h to execute, can you guys look into resolving the issue with root resize tests and I'll rebuild then.

Hi @borisstoyanov and @serg38 ,
Test case is fixed. Please check. If anything is improper please notify.
--
Thanks :)

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-493

@blueorangutan test centos7 vmware-60u2

@blueorangutan test centos7 xenserver-65sp1

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + xenserver-65sp1) has been kicked to run smoke tests

@blueorangutan test centos7 vmware-60u2

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-60u2) has been kicked to run smoke tests

Trillian test result (tid-836)
Environment: vmware-60u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38546 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t836-vmware-60u2.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Test completed. 47 look ok, 2 have error(s)

Test
Result
Time (s)
Test File

test_04_rvpc_privategw_static_routes
Failure
839.38
test_privategw_acl.py

test_00_deploy_vm_root_resize
Error
0.89
test_deploy_vm_root_resize.py

test_01_vpc_site2site_vpn
Success
327.61
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
146.75
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
568.39
test_vpc_vpn.py

test_02_VPC_default_routes
Success
304.47
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
666.43
test_vpc_router_nics.py

test_05_rvpc_multi_tiers
Success
618.40
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Success
1488.85
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
664.14
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
594.49
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Success
1301.28
test_vpc_redundant.py

test_09_delete_detached_volume
Success
21.07
test_volumes.py

test_06_download_detached_volume
Success
55.68
test_volumes.py

test_05_detach_volume
Success
100.30
test_volumes.py

test_04_delete_attached_volume
Success
10.34
test_volumes.py

test_03_download_attached_volume
Success
15.32
test_volumes.py

test_02_attach_volume
Success
54.24
test_volumes.py

test_01_create_volume
Success
435.99
test_volumes.py

test_03_delete_vm_snapshots
Success
275.23
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
219.23
test_vm_snapshots.py

test_01_test_vm_volume_snapshot
Success
423.39
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
161.79
test_vm_snapshots.py

test_deploy_vm_multiple
Success
202.98
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.03
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.84
test_vm_life_cycle.py

test_09_expunge_vm
Success
185.35
test_vm_life_cycle.py

test_08_migrate_vm
Success
91.53
test_vm_life_cycle.py

test_07_restore_vm
Success
0.12
test_vm_life_cycle.py

test_06_destroy_vm
Success
5.14
test_vm_life_cycle.py

test_03_reboot_vm
Success
5.15
test_vm_life_cycle.py

test_02_start_vm
Success
20.23
test_vm_life_cycle.py

test_01_stop_vm
Success
5.12
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
241.83
test_templates.py

test_08_list_system_templates
Success
0.04
test_templates.py

test_07_list_public_templates
Success
0.04
test_templates.py

test_05_template_permissions
Success
0.06
test_templates.py

test_04_extract_template
Success
15.24
test_templates.py

test_03_delete_template
Success
5.11
test_templates.py

test_02_edit_template
Success
90.14
test_templates.py

test_01_create_template
Success
136.19
test_templates.py

test_10_destroy_cpvm
Success
236.93
test_ssvm.py

test_09_destroy_ssvm
Success
238.99
test_ssvm.py

test_08_reboot_cpvm
Success
246.76
test_ssvm.py

test_07_reboot_ssvm
Success
369.26
test_ssvm.py

test_06_stop_cpvm
Success
176.89
test_ssvm.py

test_05_stop_ssvm
Success
173.74
test_ssvm.py

test_04_cpvm_internals
Success
1.18
test_ssvm.py

test_03_ssvm_internals
Success
3.84
test_ssvm.py

test_02_list_cpvm_vm
Success
0.14
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.16
test_ssvm.py

test_01_snapshot_root_disk
Success
26.25
test_snapshots.py

test_04_change_offering_small
Success
116.86
test_service_offerings.py

test_03_delete_service_offering
Success
0.04
test_service_offerings.py

test_02_edit_service_offering
Success
0.13
test_service_offerings.py

test_01_create_service_offering
Success
0.11
test_service_offerings.py

test_02_sys_template_ready
Success
0.16
test_secondary_storage.py

test_01_sys_vm_start
Success
0.21
test_secondary_storage.py

test_09_reboot_router
Success
120.89
test_routers.py

test_08_start_router
Success
105.80
test_routers.py

test_07_stop_router
Success
25.25
test_routers.py

test_06_router_advanced
Success
0.06
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.65
test_routers.py

test_03_restart_network_cleanup
Success
176.40
test_routers.py

test_02_router_internal_adv
Success
1.09
test_routers.py

test_01_router_internal_basic
Success
0.58
test_routers.py

test_router_dns_guestipquery
Success
76.71
test_router_dns.py

test_router_dns_externalipquery
Success
0.08
test_router_dns.py

test_router_dhcphosts
Success
131.56
test_router_dhcphosts.py

test_router_dhcp_opts
Success
21.66
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.08
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
50.48
test_reset_vm_on_reboot.py

test_createRegion
Success
0.04
test_regions.py

test_create_pvlan_network
Success
5.24
test_pvlan.py

test_dedicatePublicIpRange
Success
0.45
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
958.55
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
601.98
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
182.97
test_privategw_acl.py

test_01_primary_storage_nfs
Success
36.07
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.22
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.45
test_portable_publicip.py

test_isolate_network_password_server
Success
92.17
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.14
test_over_provisioning.py

test_oobm_zchange_password
Success
30.76
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.50
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.29
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.35
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.41
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.45
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.35
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.35
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
87.68
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.17
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.12
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.25
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.11
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.11
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.08
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.43
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.32
test_non_contigiousvlan.py

test_01_nic
Success
460.22
test_nic.py

test_releaseIP
Success
202.97
test_network.py

test_reboot_router
Success
585.01
test_network.py

test_public_ip_user_account
Success
10.33
test_network.py

test_public_ip_admin_account
Success
40.31
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
76.88
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
61.82
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
125.35
test_network.py

test_delete_account
Success
227.57
test_network.py

test_02_port_fwd_on_non_src_nat
Success
55.68
test_network.py

test_01_port_fwd_on_src_nat
Success
111.90
test_network.py

test_nested_virtualization_vmware
Success
358.79
test_nested_virtualization.py

test_nic_secondaryip_add_remove
Success
207.69
test_multipleips_per_nic.py

login_test_saml_user
Success
19.46
test_login.py

test_assign_and_removal_lb
Success
148.66
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.25
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
207.94
test_loadbalance.py

test_03_list_snapshots
Success
0.09
test_list_ids_parameter.py

test_02_list_templates
Success
0.04
test_list_ids_parameter.py

test_01_list_volumes
Success
0.03
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.07
test_iso.py

test_05_iso_permissions
Success
0.08
test_iso.py

test_04_extract_Iso
Success
5.13
test_iso.py

test_03_delete_iso
Success
95.21
test_iso.py

test_02_edit_iso
Success
0.09
test_iso.py

test_01_create_iso
Success
21.01
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
480.53
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
364.16
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
979.65
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
703.05
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.26
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.32
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.24
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
6.07
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.93
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.93
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.02
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.93
test_dynamicroles.py

test_role_lifecycle_update
Success
5.95
test_dynamicroles.py

test_role_lifecycle_list
Success
5.91
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.96
test_dynamicroles.py

test_role_lifecycle_create
Success
5.97
test_dynamicroles.py

test_role_inuse_deletion
Success
6.26
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.19
test_dynamicroles.py

test_role_account_acls
Success
8.36
test_dynamicroles.py

test_default_role_deletion
Success
6.01
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.08
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.06
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.05
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.08
test_disk_offerings.py

test_01_create_disk_offering
Success
0.12
test_disk_offerings.py

test_deployvm_userdispersing
Success
86.20
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
45.78
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
141.24
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
45.66
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
146.77
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
6.02
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
6.00
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
208.09
test_deploy_vm_iso.py

test_3d_gpu_support
Success
345.20
test_deploy_vgpu_enabled_vm.py

test_DeployVmAntiAffinityGroup
Success
176.85
test_affinity_groups.py

test_08_resize_volume
Skipped
5.11
test_volumes.py

test_07_resize_fail
Skipped
10.30
test_volumes.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.03
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.03
test_ssvm.py

test_01_scale_vm
Skipped
66.37
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.04
test_primary_storage.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
1.17
test_deploy_vgpu_enabled_vm.py

Trillian test result (tid-835)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43251 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t835-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 46 look ok, 3 have error(s)

Test
Result
Time (s)
Test File

test_05_rvpc_multi_tiers
Failure
565.46
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Failure
1370.87
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
558.00
test_vpc_redundant.py

test_04_rvpc_privategw_static_routes
Failure
692.75
test_privategw_acl.py

ContextSuite context=TestSnapshotRootDisk>:teardown
Error
61.66
test_snapshots.py

test_01_vpc_site2site_vpn
Success
306.09
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
171.74
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
528.69
test_vpc_vpn.py

test_02_VPC_default_routes
Success
319.44
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
683.44
test_vpc_router_nics.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
819.50
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
1076.78
test_vpc_redundant.py

test_09_delete_detached_volume
Success
15.79
test_volumes.py

test_08_resize_volume
Success
90.91
test_volumes.py

test_07_resize_fail
Success
101.02
test_volumes.py

test_06_download_detached_volume
Success
25.43
test_volumes.py

test_05_detach_volume
Success
100.25
test_volumes.py

test_04_delete_attached_volume
Success
10.40
test_volumes.py

test_03_download_attached_volume
Success
15.30
test_volumes.py

test_02_attach_volume
Success
10.68
test_volumes.py

test_01_create_volume
Success
392.83
test_volumes.py

test_03_delete_vm_snapshots
Success
280.21
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
219.28
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
130.97
test_vm_snapshots.py

test_deploy_vm_multiple
Success
222.95
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.02
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
27.06
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.24
test_vm_life_cycle.py

test_08_migrate_vm
Success
71.10
test_vm_life_cycle.py

test_07_restore_vm
Success
0.11
test_vm_life_cycle.py

test_06_destroy_vm
Success
10.16
test_vm_life_cycle.py

test_03_reboot_vm
Success
10.19
test_vm_life_cycle.py

test_02_start_vm
Success
20.23
test_vm_life_cycle.py

test_01_stop_vm
Success
30.26
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
110.95
test_templates.py

test_08_list_system_templates
Success
0.03
test_templates.py

test_07_list_public_templates
Success
0.04
test_templates.py

test_05_template_permissions
Success
0.06
test_templates.py

test_04_extract_template
Success
5.25
test_templates.py

test_03_delete_template
Success
5.12
test_templates.py

test_02_edit_template
Success
90.13
test_templates.py

test_01_create_template
Success
51.21
test_templates.py

test_10_destroy_cpvm
Success
196.75
test_ssvm.py

test_09_destroy_ssvm
Success
229.56
test_ssvm.py

test_08_reboot_cpvm
Success
141.83
test_ssvm.py

test_07_reboot_ssvm
Success
154.40
test_ssvm.py

test_06_stop_cpvm
Success
131.81
test_ssvm.py

test_05_stop_ssvm
Success
199.21
test_ssvm.py

test_04_cpvm_internals
Success
1.15
test_ssvm.py

test_03_ssvm_internals
Success
3.26
test_ssvm.py

test_02_list_cpvm_vm
Success
0.13
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.13
test_ssvm.py

test_01_snapshot_root_disk
Success
21.20
test_snapshots.py

test_04_change_offering_small
Success
116.24
test_service_offerings.py

test_03_delete_service_offering
Success
0.05
test_service_offerings.py

test_02_edit_service_offering
Success
0.07
test_service_offerings.py

test_01_create_service_offering
Success
0.08
test_service_offerings.py

test_02_sys_template_ready
Success
0.12
test_secondary_storage.py

test_01_sys_vm_start
Success
0.18
test_secondary_storage.py

test_01_scale_vm
Success
5.24
test_scale_vm.py

test_09_reboot_router
Success
65.54
test_routers.py

test_08_start_router
Success
50.39
test_routers.py

test_07_stop_router
Success
20.22
test_routers.py

test_06_router_advanced
Success
0.06
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.53
test_routers.py

test_03_restart_network_cleanup
Success
115.82
test_routers.py

test_02_router_internal_adv
Success
0.79
test_routers.py

test_01_router_internal_basic
Success
0.46
test_routers.py

test_router_dns_guestipquery
Success
48.83
test_router_dns.py

test_router_dns_externalipquery
Success
0.08
test_router_dns.py

test_router_dhcphosts
Success
112.70
test_router_dhcphosts.py

test_router_dhcp_opts
Success
31.45
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.08
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
95.74
test_reset_vm_on_reboot.py

test_createRegion
Success
0.04
test_regions.py

test_create_pvlan_network
Success
5.36
test_pvlan.py

test_dedicatePublicIpRange
Success
0.43
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
797.35
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
571.35
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
152.97
test_privategw_acl.py

test_01_primary_storage_nfs
Success
38.58
test_primary_storage.py

test_01_primary_storage_iscsi
Success
77.93
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.20
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.43
test_portable_publicip.py

test_isolate_network_password_server
Success
36.03
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.15
test_over_provisioning.py

test_oobm_zchange_password
Success
30.84
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
11.34
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.34
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.40
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.36
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.33
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.38
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.31
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
87.79
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.17
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.13
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.18
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.10
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.08
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.10
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.39
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.37
test_non_contigiousvlan.py

test_01_nic
Success
504.87
test_nic.py

test_releaseIP
Success
298.40
test_network.py

test_reboot_router
Success
504.39
test_network.py

test_public_ip_user_account
Success
10.26
test_network.py

test_public_ip_admin_account
Success
40.40
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
86.66
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
76.41
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
103.06
test_network.py

test_delete_account
Success
247.95
test_network.py

test_02_port_fwd_on_non_src_nat
Success
70.78
test_network.py

test_01_port_fwd_on_src_nat
Success
83.88
test_network.py

test_nic_secondaryip_add_remove
Success
202.89
test_multipleips_per_nic.py

login_test_saml_user
Success
19.32
test_login.py

test_assign_and_removal_lb
Success
148.67
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.47
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
208.33
test_loadbalance.py

test_03_list_snapshots
Success
0.06
test_list_ids_parameter.py

test_02_list_templates
Success
0.04
test_list_ids_parameter.py

test_01_list_volumes
Success
0.03
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.06
test_iso.py

test_05_iso_permissions
Success
0.06
test_iso.py

test_04_extract_Iso
Success
5.13
test_iso.py

test_03_delete_iso
Success
95.19
test_iso.py

test_02_edit_iso
Success
0.06
test_iso.py

test_01_create_iso
Success
21.02
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
454.64
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
294.65
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
939.47
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
683.22
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.30
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.14
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.24
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
6.33
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
6.00
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.97
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.40
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
6.03
test_dynamicroles.py

test_role_lifecycle_update
Success
6.13
test_dynamicroles.py

test_role_lifecycle_list
Success
5.97
test_dynamicroles.py

test_role_lifecycle_delete
Success
11.00
test_dynamicroles.py

test_role_lifecycle_create
Success
6.12
test_dynamicroles.py

test_role_inuse_deletion
Success
5.99
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.15
test_dynamicroles.py

test_role_account_acls
Success
8.46
test_dynamicroles.py

test_default_role_deletion
Success
6.08
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.10
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.06
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.07
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.08
test_disk_offerings.py

test_01_create_disk_offering
Success
0.09
test_disk_offerings.py

test_deployvm_userdispersing
Success
45.84
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
91.01
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
106.04
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
75.84
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
156.51
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
6.07
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
6.03
test_deploy_vm_root_resize.py

test_00_deploy_vm_root_resize
Success
197.39
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
147.45
test_deploy_vm_iso.py

test_DeployVmAntiAffinityGroup
Success
141.47
test_affinity_groups.py

test_01_test_vm_volume_snapshot
Skipped
0.00
test_vm_snapshots.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.03
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.04
test_deploy_vgpu_enabled_vm.py

@priyankparihar Resize test still fails on vmware. It is hard to see the reason in blueorangutain output but you might want to make sure the test provisioning uses full clones via setting vmware.create.full.clone. It can be either global or set per primary storage pool. Full clone disks is the only way resize disk works on vmware

Hi @borisstoyanov and @serg38 ,
Test code is modified. Please take a look. I think now it will not fail.

Thanks @priyankparihar
@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-502

@blueorangutan test centos7 xenserver-65sp1

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + xenserver-65sp1) has been kicked to run smoke tests

test centos7 vmware-60u2

Trillian test result (tid-864)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43562 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t864-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 46 look ok, 3 have error(s)

Test
Result
Time (s)
Test File

test_05_rvpc_multi_tiers
Failure
550.32
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Failure
1345.46
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
558.28
test_vpc_redundant.py

test_04_rvpc_privategw_static_routes
Failure
698.24
test_privategw_acl.py

test_04_extract_template
Error
5.10
test_templates.py

test_03_delete_template
Error
5.09
test_templates.py

test_01_create_template
Error
40.46
test_templates.py

test_01_vpc_site2site_vpn
Success
331.32
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
166.78
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
620.10
test_vpc_vpn.py

test_02_VPC_default_routes
Success
325.26
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
710.06
test_vpc_router_nics.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
899.40
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
1066.74
test_vpc_redundant.py

test_09_delete_detached_volume
Success
15.89
test_volumes.py

test_08_resize_volume
Success
105.96
test_volumes.py

test_07_resize_fail
Success
116.03
test_volumes.py

test_06_download_detached_volume
Success
20.46
test_volumes.py

test_05_detach_volume
Success
105.31
test_volumes.py

test_04_delete_attached_volume
Success
10.19
test_volumes.py

test_03_download_attached_volume
Success
15.27
test_volumes.py

test_02_attach_volume
Success
10.69
test_volumes.py

test_01_create_volume
Success
392.29
test_volumes.py

test_change_service_offering_for_vm_with_snapshots
Success
460.08
test_vm_snapshots.py

test_03_delete_vm_snapshots
Success
280.26
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
176.27
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
130.70
test_vm_snapshots.py

test_deploy_vm_multiple
Success
267.77
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.03
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
31.86
test_vm_life_cycle.py

test_09_expunge_vm
Success
185.37
test_vm_life_cycle.py

test_08_migrate_vm
Success
61.15
test_vm_life_cycle.py

test_07_restore_vm
Success
0.12
test_vm_life_cycle.py

test_06_destroy_vm
Success
10.15
test_vm_life_cycle.py

test_03_reboot_vm
Success
15.21
test_vm_life_cycle.py

test_02_start_vm
Success
25.27
test_vm_life_cycle.py

test_01_stop_vm
Success
30.29
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
85.72
test_templates.py

test_08_list_system_templates
Success
0.04
test_templates.py

test_07_list_public_templates
Success
0.04
test_templates.py

test_05_template_permissions
Success
0.05
test_templates.py

test_02_edit_template
Success
90.15
test_templates.py

test_10_destroy_cpvm
Success
196.68
test_ssvm.py

test_09_destroy_ssvm
Success
229.06
test_ssvm.py

test_08_reboot_cpvm
Success
121.67
test_ssvm.py

test_07_reboot_ssvm
Success
143.78
test_ssvm.py

test_06_stop_cpvm
Success
166.74
test_ssvm.py

test_05_stop_ssvm
Success
168.90
test_ssvm.py

test_04_cpvm_internals
Success
1.16
test_ssvm.py

test_03_ssvm_internals
Success
3.37
test_ssvm.py

test_02_list_cpvm_vm
Success
0.12
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.13
test_ssvm.py

test_01_snapshot_root_disk
Success
16.31
test_snapshots.py

test_04_change_offering_small
Success
119.06
test_service_offerings.py

test_03_delete_service_offering
Success
0.04
test_service_offerings.py

test_02_edit_service_offering
Success
0.06
test_service_offerings.py

test_01_create_service_offering
Success
0.09
test_service_offerings.py

test_02_sys_template_ready
Success
0.13
test_secondary_storage.py

test_01_sys_vm_start
Success
0.18
test_secondary_storage.py

test_01_scale_vm
Success
5.20
test_scale_vm.py

test_09_reboot_router
Success
66.03
test_routers.py

test_08_start_router
Success
50.42
test_routers.py

test_07_stop_router
Success
15.19
test_routers.py

test_06_router_advanced
Success
0.06
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.52
test_routers.py

test_03_restart_network_cleanup
Success
120.87
test_routers.py

test_02_router_internal_adv
Success
0.79
test_routers.py

test_01_router_internal_basic
Success
0.50
test_routers.py

test_router_dns_guestipquery
Success
48.77
test_router_dns.py

test_router_dns_externalipquery
Success
0.08
test_router_dns.py

test_router_dhcphosts
Success
112.59
test_router_dhcphosts.py

test_router_dhcp_opts
Success
31.48
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.09
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
40.39
test_reset_vm_on_reboot.py

test_createRegion
Success
0.04
test_regions.py

test_create_pvlan_network
Success
5.27
test_pvlan.py

test_dedicatePublicIpRange
Success
0.45
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
857.55
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
582.41
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
137.57
test_privategw_acl.py

test_01_primary_storage_nfs
Success
39.45
test_primary_storage.py

test_01_primary_storage_iscsi
Success
77.93
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.22
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.49
test_portable_publicip.py

test_isolate_network_password_server
Success
36.01
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.14
test_over_provisioning.py

test_oobm_zchange_password
Success
30.67
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.33
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.25
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.36
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.36
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.65
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.34
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.96
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
92.90
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.17
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.10
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.23
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.16
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.11
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.10
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.45
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.31
test_non_contigiousvlan.py

test_01_nic
Success
560.39
test_nic.py

test_releaseIP
Success
283.35
test_network.py

test_reboot_router
Success
529.56
test_network.py

test_public_ip_user_account
Success
10.29
test_network.py

test_public_ip_admin_account
Success
40.31
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
87.07
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
76.53
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
103.04
test_network.py

test_delete_account
Success
318.29
test_network.py

test_02_port_fwd_on_non_src_nat
Success
70.76
test_network.py

test_01_port_fwd_on_src_nat
Success
83.82
test_network.py

test_nic_secondaryip_add_remove
Success
147.32
test_multipleips_per_nic.py

login_test_saml_user
Success
19.50
test_login.py

test_assign_and_removal_lb
Success
148.87
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.56
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
208.12
test_loadbalance.py

test_03_list_snapshots
Success
0.06
test_list_ids_parameter.py

test_02_list_templates
Success
0.04
test_list_ids_parameter.py

test_01_list_volumes
Success
0.03
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.06
test_iso.py

test_05_iso_permissions
Success
0.06
test_iso.py

test_04_extract_Iso
Success
5.14
test_iso.py

test_03_delete_iso
Success
95.25
test_iso.py

test_02_edit_iso
Success
0.06
test_iso.py

test_01_create_iso
Success
21.00
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
425.19
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
328.69
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
984.85
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
653.38
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.29
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.16
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.20
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
6.08
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.92
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.93
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.01
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.94
test_dynamicroles.py

test_role_lifecycle_update
Success
11.01
test_dynamicroles.py

test_role_lifecycle_list
Success
5.91
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.94
test_dynamicroles.py

test_role_lifecycle_create
Success
5.91
test_dynamicroles.py

test_role_inuse_deletion
Success
5.86
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.18
test_dynamicroles.py

test_role_account_acls
Success
8.22
test_dynamicroles.py

test_default_role_deletion
Success
6.15
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.08
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.04
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.05
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.07
test_disk_offerings.py

test_01_create_disk_offering
Success
0.08
test_disk_offerings.py

test_deployvm_userdispersing
Success
45.77
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
96.12
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
156.29
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
25.55
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
111.20
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
5.97
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
5.99
test_deploy_vm_root_resize.py

test_00_deploy_vm_root_resize
Success
182.46
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
167.43
test_deploy_vm_iso.py

test_DeployVmAntiAffinityGroup
Success
141.63
test_affinity_groups.py

test_01_test_vm_volume_snapshot
Skipped
0.00
test_vm_snapshots.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.04
test_deploy_vgpu_enabled_vm.py

@priyankparihar can you take a look on the test failures?

@borisstoyanov as far as i can see test failures are not happening because of this change.

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-539

test centos7 vmware-60u2

@blueorangutan  test centos7 vmware-60u2

@borisstoyanov can you post test results?

@priyankparihar Perfect. Code changes LGTM.

looks like BO didn't pickup the message @karuturi
@blueorangutan test centos7 vmware-60u2

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-60u2) has been kicked to run smoke tests

Trillian test result (tid-912)
Environment: vmware-60u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44566 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t912-vmware-60u2.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 46 look ok, 3 have error(s)

Test
Result
Time (s)
Test File

test_04_rvpc_privategw_static_routes
Failure
812.12
test_privategw_acl.py

test_02_list_snapshots_with_removed_data_store
Error
70.58
test_snapshots.py

test_02_list_snapshots_with_removed_data_store
Error
75.65
test_snapshots.py

test_00_deploy_vm_root_resize
Error
0.57
test_deploy_vm_root_resize.py

test_01_vpc_site2site_vpn
Success
325.62
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
141.04
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
511.87
test_vpc_vpn.py

test_02_VPC_default_routes
Success
332.86
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
690.33
test_vpc_router_nics.py

test_05_rvpc_multi_tiers
Success
650.56
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Success
1537.23
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
661.93
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
647.94
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Success
1310.97
test_vpc_redundant.py

test_09_delete_detached_volume
Success
20.57
test_volumes.py

test_06_download_detached_volume
Success
45.40
test_volumes.py

test_05_detach_volume
Success
100.23
test_volumes.py

test_04_delete_attached_volume
Success
10.13
test_volumes.py

test_03_download_attached_volume
Success
15.20
test_volumes.py

test_02_attach_volume
Success
48.97
test_volumes.py

test_01_create_volume
Success
505.98
test_volumes.py

test_change_service_offering_for_vm_with_snapshots
Success
518.77
test_vm_snapshots.py

test_03_delete_vm_snapshots
Success
275.21
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
221.99
test_vm_snapshots.py

test_01_test_vm_volume_snapshot
Success
155.91
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
161.61
test_vm_snapshots.py

test_deploy_vm_multiple
Success
246.87
test_vm_life_cycle.py

test_deploy_vm
Success
0.02
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.01
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.73
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.20
test_vm_life_cycle.py

test_08_migrate_vm
Success
90.83
test_vm_life_cycle.py

test_07_restore_vm
Success
0.06
test_vm_life_cycle.py

test_06_destroy_vm
Success
5.08
test_vm_life_cycle.py

test_03_reboot_vm
Success
5.09
test_vm_life_cycle.py

test_02_start_vm
Success
15.12
test_vm_life_cycle.py

test_01_stop_vm
Success
5.08
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
205.99
test_templates.py

test_08_list_system_templates
Success
0.02
test_templates.py

test_07_list_public_templates
Success
0.02
test_templates.py

test_05_template_permissions
Success
0.03
test_templates.py

test_04_extract_template
Success
10.19
test_templates.py

test_03_delete_template
Success
5.07
test_templates.py

test_02_edit_template
Success
90.13
test_templates.py

test_01_create_template
Success
110.62
test_templates.py

test_10_destroy_cpvm
Success
271.56
test_ssvm.py

test_09_destroy_ssvm
Success
268.37
test_ssvm.py

test_08_reboot_cpvm
Success
186.31
test_ssvm.py

test_07_reboot_ssvm
Success
158.08
test_ssvm.py

test_06_stop_cpvm
Success
171.44
test_ssvm.py

test_05_stop_ssvm
Success
203.33
test_ssvm.py

test_04_cpvm_internals
Success
0.99
test_ssvm.py

test_03_ssvm_internals
Success
3.24
test_ssvm.py

test_02_list_cpvm_vm
Success
0.07
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.08
test_ssvm.py

test_01_snapshot_root_disk
Success
20.95
test_snapshots.py

test_04_change_offering_small
Success
116.74
test_service_offerings.py

test_03_delete_service_offering
Success
0.03
test_service_offerings.py

test_02_edit_service_offering
Success
0.05
test_service_offerings.py

test_01_create_service_offering
Success
0.07
test_service_offerings.py

test_02_sys_template_ready
Success
0.08
test_secondary_storage.py

test_01_sys_vm_start
Success
0.14
test_secondary_storage.py

test_09_reboot_router
Success
175.84
test_routers.py

test_08_start_router
Success
115.57
test_routers.py

test_07_stop_router
Success
25.21
test_routers.py

test_06_router_advanced
Success
0.04
test_routers.py

test_05_router_basic
Success
0.03
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.52
test_routers.py

test_03_restart_network_cleanup
Success
175.84
test_routers.py

test_02_router_internal_adv
Success
0.85
test_routers.py

test_01_router_internal_basic
Success
0.44
test_routers.py

test_router_dns_guestipquery
Success
76.57
test_router_dns.py

test_router_dns_externalipquery
Success
0.06
test_router_dns.py

test_router_dhcphosts
Success
138.25
test_router_dhcphosts.py

test_router_dhcp_opts
Success
21.24
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.05
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
25.22
test_reset_vm_on_reboot.py

test_createRegion
Success
0.03
test_regions.py

test_create_pvlan_network
Success
5.14
test_pvlan.py

test_dedicatePublicIpRange
Success
0.30
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
990.42
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
619.47
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
177.14
test_privategw_acl.py

test_01_primary_storage_nfs
Success
35.93
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.13
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.30
test_portable_publicip.py

test_isolate_network_password_server
Success
93.92
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.09
test_over_provisioning.py

test_oobm_zchange_password
Success
30.45
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.22
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.16
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.25
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.25
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.25
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.22
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.23
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
87.08
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.12
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.06
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.12
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.06
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.05
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.05
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.25
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.22
test_non_contigiousvlan.py

test_01_nic
Success
443.52
test_nic.py

test_releaseIP
Success
241.94
test_network.py

test_reboot_router
Success
603.58
test_network.py

test_public_ip_user_account
Success
10.17
test_network.py

test_public_ip_admin_account
Success
40.21
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
76.47
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
61.31
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
124.97
test_network.py

test_delete_account
Success
317.03
test_network.py

test_02_port_fwd_on_non_src_nat
Success
55.46
test_network.py

test_01_port_fwd_on_src_nat
Success
111.61
test_network.py

test_nested_virtualization_vmware
Success
277.39
test_nested_virtualization.py

test_nic_secondaryip_add_remove
Success
237.67
test_multipleips_per_nic.py

login_test_saml_user
Success
17.79
test_login.py

test_assign_and_removal_lb
Success
148.24
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.05
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
208.00
test_loadbalance.py

test_03_list_snapshots
Success
0.06
test_list_ids_parameter.py

test_02_list_templates
Success
0.03
test_list_ids_parameter.py

test_01_list_volumes
Success
0.02
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.04
test_iso.py

test_05_iso_permissions
Success
0.04
test_iso.py

test_04_extract_Iso
Success
5.14
test_iso.py

test_03_delete_iso
Success
95.25
test_iso.py

test_02_edit_iso
Success
0.05
test_iso.py

test_01_create_iso
Success
20.65
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
509.58
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
328.01
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
937.11
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
744.77
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.17
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.16
test_global_settings.py

test_rolepermission_lifecycle_update
Success
5.76
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
5.63
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.55
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.59
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
5.66
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.58
test_dynamicroles.py

test_role_lifecycle_update
Success
10.65
test_dynamicroles.py

test_role_lifecycle_list
Success
5.58
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.63
test_dynamicroles.py

test_role_lifecycle_create
Success
5.57
test_dynamicroles.py

test_role_inuse_deletion
Success
5.55
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
7.00
test_dynamicroles.py

test_role_account_acls
Success
6.96
test_dynamicroles.py

test_default_role_deletion
Success
5.64
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.04
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.03
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.03
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.04
test_disk_offerings.py

test_01_create_disk_offering
Success
0.07
test_disk_offerings.py

test_deployvm_userdispersing
Success
85.65
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
40.47
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
191.03
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
50.66
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
216.26
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
5.63
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
5.64
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
181.69
test_deploy_vm_iso.py

test_3d_gpu_support
Success
398.31
test_deploy_vgpu_enabled_vm.py

test_DeployVmAntiAffinityGroup
Success
156.62
test_affinity_groups.py

test_08_resize_volume
Skipped
5.07
test_volumes.py

test_07_resize_fail
Skipped
10.19
test_volumes.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.01
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.01
test_ssvm.py

test_01_scale_vm
Skipped
66.30
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.02
test_primary_storage.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.70
test_deploy_vgpu_enabled_vm.py

@rhtyd @borisstoyanov @DaanHoogland Can we get B.O. management server log to check why exception is generated?

@serg38 Unfortunately the instances are being expunged right after tests are complete. I can create an env manually and run the root_resize test for you. Will keep you posted.

It's a NPE
2017-03-01 09:18:09,343 INFO  [c.c.h.v.r.VmwareResource] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) Scan hung worker VM to recycle
2017-03-01 09:18:09,399 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) Ping from 2(10.2.2.88)
2017-03-01 09:18:09,399 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) Process host VM state report from ping process. host: 2
2017-03-01 09:18:09,403 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) Process VM state report. host: 2, number of records in report: 2
2017-03-01 09:18:09,403 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) VM state report. host: 2, vm id: 1, power state: PowerOn
2017-03-01 09:18:09,405 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) VM power state does not change, skip DB writing. vm id: 1
2017-03-01 09:18:09,405 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) VM state report. host: 2, vm id: 2, power state: PowerOn
2017-03-01 09:18:09,407 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) VM power state does not change, skip DB writing. vm id: 2
2017-03-01 09:18:09,409 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661) (logid:9541e85e) Done with process of VM state report. host: 2
2017-03-01 09:18:10,686 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-7fe352c2) (logid:5171a11d) HostOutOfBandManagementStatsCollector is running...
2017-03-01 09:18:11,018 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-11:null) (logid:) SeqA 3-119: Processing Seq 3-119:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2017-03-01 09:18:11,023 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-11:null) (logid:) SeqA 3-119: Sending Seq 3-119:  { Ans: , MgmtId: 7222893545287, via: 3, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2017-03-01 09:18:11,571 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-10:null) (logid:) Ping from 4(s-2-VM)
2017-03-01 09:18:11,755 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) (logid:) Ping from 3(v-1-VM)
^[[1;9D2017-03-01 09:18:14,974 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-d9c806b4) (logid:1458d11b) Begin cleanup expired async-jobs
2017-03-01 09:18:14,980 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-d9c806b4) (logid:1458d11b) End cleanup expired async-jobs
2017-03-01 09:18:15,320 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-4ff63676) (logid:883b6d34) Found 0 routers to update status.
2017-03-01 09:18:15,321 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-4ff63676) (logid:883b6d34) Found 0 VPC networks to update Redundant State.
2017-03-01 09:18:15,322 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-4ff63676) (logid:883b6d34) Found 0 networks to update RvR status.
2017-03-01 09:18:15,687 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-0d6666d9) (logid:51552762) HostOutOfBandManagementStatsCollector is running...
2017-03-01 09:18:17,306 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-353f8336) (logid:0d215557) ===START===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listDomains&signature=taHWwbdB2MfrjDaU2iur%2FdKK3ew%3D&response=json
2017-03-01 09:18:17,321 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-353f8336 ctx-ac65f9a7 ctx-2f0b4e99) (logid:0d215557) ===END===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listDomains&signature=taHWwbdB2MfrjDaU2iur%2FdKK3ew%3D&response=json
2017-03-01 09:18:17,328 DEBUG [c.c.a.ApiServlet] (catalina-exec-6:ctx-3f88e3d1) (logid:b5e4e800) ===START===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=pr1813-t920-vmware-60u2&command=listZones&signature=2WSEhLiR742m7RumG99EfWta9xU%3D&response=json
2017-03-01 09:18:17,339 DEBUG [c.c.a.ApiServlet] (catalina-exec-6:ctx-3f88e3d1 ctx-e7fcbc14 ctx-77e33e86) (logid:b5e4e800) ===END===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=pr1813-t920-vmware-60u2&command=listZones&signature=2WSEhLiR742m7RumG99EfWta9xU%3D&response=json
2017-03-01 09:18:17,345 DEBUG [c.c.a.ApiServlet] (catalina-exec-8:ctx-0314b81f) (logid:3d207800) ===START===  10.5.0.15 -- GET  zoneid=a23fe774-1e1f-4f99-819b-59402e8b9e1f&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listTemplates&signature=eCa1ddhjAhy7hVfbUE7%2BxrunO%2Bc%3D&templatefilter=featured&response=json
2017-03-01 09:18:17,370 DEBUG [c.c.a.ApiServlet] (catalina-exec-8:ctx-0314b81f ctx-99598998 ctx-89e4a97a) (logid:3d207800) ===END===  10.5.0.15 -- GET  zoneid=a23fe774-1e1f-4f99-819b-59402e8b9e1f&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listTemplates&signature=eCa1ddhjAhy7hVfbUE7%2BxrunO%2Bc%3D&templatefilter=featured&response=json
2017-03-01 09:18:17,378 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-582fed22) (logid:3582e970) ===START===  10.5.0.15 -- GET  username=test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1&domainid=453ab518-fe5d-11e6-aca0-0691b6010747&firstname=Test&lastname=User&response=json&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=createAccount&accounttype=0&signature=dJtcrKgeDTSQg4IdZfLCbGNzNHQ%3D&email=test%40test.com
2017-03-01 09:18:17,387 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-12:ctx-582fed22 ctx-d56720d2 ctx-bd479fc0) (logid:3582e970) Access granted to Acct[fe2151d8-bac7-4daf-a8d8-b209f7299b3f-admin] to Domain:1/ by AffinityGroupAccessChecker
2017-03-01 09:18:17,411 DEBUG [c.c.n.s.SecurityGroupManagerImpl] (catalina-exec-12:ctx-582fed22 ctx-d56720d2 ctx-bd479fc0) (logid:3582e970) Created security group com.cloud.network.security.SecurityGroupVO$$EnhancerByCGLIB$$8bc5e083@e6ca79b for account id=7
2017-03-01 09:18:17,411 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-12:ctx-582fed22 ctx-d56720d2 ctx-bd479fc0) (logid:3582e970) Creating user: test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1, accountId: 7 timezone:null
2017-03-01 09:18:18,013 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-582fed22 ctx-d56720d2 ctx-bd479fc0) (logid:3582e970) ===END===  10.5.0.15 -- GET  username=test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1&domainid=453ab518-fe5d-11e6-aca0-0691b6010747&firstname=Test&lastname=User&response=json&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=createAccount&accounttype=0&signature=dJtcrKgeDTSQg4IdZfLCbGNzNHQ%3D&email=test%40test.com
2017-03-01 09:18:18,021 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-60c17ff0) (logid:6062a4f8) ===START===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&cpunumber=1&memory=256&cpuspeed=100&response=json&name=Small+Instance&command=createServiceOffering&signature=0va5l21RrvsdoUMRveBUA01dUBY%3D&displaytext=Small+Instance
2017-03-01 09:18:18,047 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-60c17ff0 ctx-4b3e1328 ctx-8426f85d) (logid:6062a4f8) ===END===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&cpunumber=1&memory=256&cpuspeed=100&response=json&name=Small+Instance&command=createServiceOffering&signature=0va5l21RrvsdoUMRveBUA01dUBY%3D&displaytext=Small+Instance
2017-03-01 09:18:18,055 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-c0aa3c83) (logid:67a697b4) ===START===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=vmware.create.full.clone&command=listConfigurations&signature=5GR9jeIS53aUohZyDENqKm6iEUY%3D&response=json
2017-03-01 09:18:18,065 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-c0aa3c83 ctx-50b9689a ctx-e556d65d) (logid:67a697b4) ===END===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=vmware.create.full.clone&command=listConfigurations&signature=5GR9jeIS53aUohZyDENqKm6iEUY%3D&response=json
2017-03-01 09:18:18,073 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-20b0b79f) (logid:7aab82c4) ===START===  10.5.0.15 -- GET  domainid=453ab518-fe5d-11e6-aca0-0691b6010747&zoneid=a23fe774-1e1f-4f99-819b-59402e8b9e1f&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&details%5B0%5D.rootdisksize=4&serviceofferingid=05e127b6-295f-42cb-8f24-92f4a21f9ef7&displayname=Test+VM&templateid=45408b07-fe5d-11e6-aca0-0691b6010747&response=json&account=test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1&name=testvm&command=deployVirtualMachine&signature=lKnwdyRxNKaX1V%2FSQITX4oJqT%2BY%3D
2017-03-01 09:18:18,097 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Access granted to Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1] to org.apache.cloudstack.quota.vo.ServiceOfferingVO$$EnhancerByCGLIB$$7097b69d@3371bbc8 by AffinityGroupAccessChecker
2017-03-01 09:18:18,098 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Access granted to Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1] to null by AffinityGroupAccessChecker
2017-03-01 09:18:18,105 DEBUG [c.c.v.UserVmManagerImpl] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Creating network for account Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1] from the network offering id=8 as a part of deployVM process
2017-03-01 09:18:18,125 DEBUG [c.c.n.g.BigSwitchBcfGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network, the physical isolation type is not BCF_SEGMENT
2017-03-01 09:18:18,126 DEBUG [o.a.c.n.c.m.ContrailGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
2017-03-01 09:18:18,126 DEBUG [c.c.n.g.MidoNetGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) design called
2017-03-01 09:18:18,127 DEBUG [c.c.n.g.MidoNetGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network, the physical isolation type is not MIDO
2017-03-01 09:18:18,127 DEBUG [c.c.n.g.NiciraNvpGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
2017-03-01 09:18:18,128 DEBUG [o.a.c.n.o.OpendaylightGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
2017-03-01 09:18:18,129 DEBUG [c.c.n.g.OvsGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
2017-03-01 09:18:18,154 DEBUG [o.a.c.n.g.SspGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) SSP not configured to be active
2017-03-01 09:18:18,155 DEBUG [c.c.n.g.BrocadeVcsGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
2017-03-01 09:18:18,156 DEBUG [c.c.n.g.NuageVspGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design network using network offering 8 on physical network 201
2017-03-01 09:18:18,157 DEBUG [o.a.c.e.o.NetworkOrchestrator] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Releasing lock for Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1]
2017-03-01 09:18:18,198 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Access to Tmpl[7-OVA-centos53-x64 granted to Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1] by DomainChecker
2017-03-01 09:18:18,200 DEBUG [c.c.n.NetworkModelImpl] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Service SecurityGroup is not supported in the network id=207
2017-03-01 09:18:18,211 ERROR [c.c.a.ApiServer] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) unhandled exception executing api command: [Ljava.lang.String;@6bc2855c
java.lang.NullPointerException
	at com.cloud.vm.UserVmManagerImpl.validateRootDiskResize(UserVmManagerImpl.java:3615)
	at com.cloud.vm.UserVmManagerImpl$4.doInTransaction(UserVmManagerImpl.java:3524)
	at com.cloud.vm.UserVmManagerImpl$4.doInTransaction(UserVmManagerImpl.java:3483)
	at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
	at com.cloud.vm.UserVmManagerImpl.commitUserVm(UserVmManagerImpl.java:3483)
	at com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:3421)
	at com.cloud.vm.UserVmManagerImpl.createAdvancedVirtualMachine(UserVmManagerImpl.java:3076)
	at com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:4431)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
	at com.sun.proxy.$Proxy205.createVirtualMachine(Unknown Source)
	at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.create(DeployVMCmd.java:475)
	at com.cloud.api.dispatch.CommandCreationWorker.handle(CommandCreationWorker.java:47)
	at com.cloud.api.dispatch.DispatchChain.dispatch(DispatchChain.java:37)
	at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:84)
	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:633)
	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:533)
	at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:299)
	at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:126)
	at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1708)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
2017-03-01 09:18:18,217 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) ===END===  10.5.0.15 -- GET  domainid=453ab518-fe5d-11e6-aca0-0691b6010747&zoneid=a23fe774-1e1f-4f99-819b-59402e8b9e1f&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&details%5B0%5D.rootdisksize=4&serviceofferingid=05e127b6-295f-42cb-8f24-92f4a21f9ef7&displayname=Test+VM&templateid=45408b07-fe5d-11e6-aca0-0691b6010747&response=json&account=test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1&name=testvm&command=deployVirtualMachine&signature=lKnwdyRxNKaX1V%2FSQITX4oJqT%2BY%3D
2017-03-01 09:18:18,231 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-16da7da8) (logid:8229a703) ===START===  10.5.0.15 -- GET  signature=kewlI6SVSftW0OEWz5T38gfnfXs%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=deleteServiceOffering&id=05e127b6-295f-42cb-8f24-92f4a21f9ef7&response=json
2017-03-01 09:18:18,250 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-16da7da8 ctx-e6e95c11 ctx-5f1915a0) (logid:8229a703) ===END===  10.5.0.15 -- GET  signature=kewlI6SVSftW0OEWz5T38gfnfXs%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=deleteServiceOffering&id=05e127b6-295f-42cb-8f24-92f4a21f9ef7&response=json
2017-03-01 09:18:18,356 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-ae1b9b13) (logid:0feaf955) ===START===  10.5.0.15 -- GET  signature=qrxpW2IpF0oJ1Kwn%2B0SUKou9Dlc%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=deleteAccount&id=2390b592-48b0-4ce3-98fa-d3882bc2bbc4&response=json
2017-03-01 09:18:18,404 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-26:ctx-f832aefd job-32) (logid:f83b3aa2) Add job-32 into job monitoring
2017-03-01 09:18:18,407 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-21:ctx-ae1b9b13 ctx-124b1530 ctx-f26206d5) (logid:0feaf955) submit async job-32, details: AsyncJobVO {id:32, userId: 2, accountId: 2, instanceType: Account, instanceId: 7, cmd: org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd, cmdInfo: {"apiKey":"LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q","signature":"qrxpW2IpF0oJ1Kwn+0SUKou9Dlc\u003d","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"100","id":"2390b592-48b0-4ce3-98fa-d3882bc2bbc4","ctxDetails":"{\"interface com.cloud.user.Account\":\"2390b592-48b0-4ce3-98fa-d3882bc2bbc4\"}","ctxAccountId":"2","uuid":"2390b592-48b0-4ce3-98fa-d3882bc2bbc4","cmdEventType":"ACCOUNT.DELETE"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 7222893545287, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2017-03-01 09:18:18,408 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32) (logid:1bfa9c1c) Executing AsyncJobVO {id:32, userId: 2, accountId: 2, instanceType: Account, instanceId: 7, cmd: org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd, cmdInfo: {"apiKey":"LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q","signature":"qrxpW2IpF0oJ1Kwn+0SUKou9Dlc\u003d","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"100","id":"2390b592-48b0-4ce3-98fa-d3882bc2bbc4","ctxDetails":"{\"interface com.cloud.user.Account\":\"2390b592-48b0-4ce3-98fa-d3882bc2bbc4\"}","ctxAccountId":"2","uuid":"2390b592-48b0-4ce3-98fa-d3882bc2bbc4","cmdEventType":"ACCOUNT.DELETE"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 7222893545287, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2017-03-01 09:18:18,409 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-ae1b9b13 ctx-124b1530 ctx-f26206d5) (logid:0feaf955) ===END===  10.5.0.15 -- GET  signature=qrxpW2IpF0oJ1Kwn%2B0SUKou9Dlc%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=deleteAccount&id=2390b592-48b0-4ce3-98fa-d3882bc2bbc4&response=json
2017-03-01 09:18:18,415 DEBUG [c.c.a.ApiServlet] (catalina-exec-25:ctx-1d288866) (logid:a1643b9d) ===START===  10.5.0.15 -- GET  signature=Asu71VgaUSbbaOeroRnSh7LQdo0%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=queryAsyncJobResult&response=json&jobid=1bfa9c1c-b38b-4c7b-b0db-f31437018255
2017-03-01 09:18:18,428 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Removed account 7
2017-03-01 09:18:18,438 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Successfully deleted snapshots directories for all volumes under account 7 across all zones
2017-03-01 09:18:18,443 DEBUG [c.c.a.ApiServlet] (catalina-exec-25:ctx-1d288866 ctx-dcb9d779 ctx-efe63cf8) (logid:a1643b9d) ===END===  10.5.0.15 -- GET  signature=Asu71VgaUSbbaOeroRnSh7LQdo0%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=queryAsyncJobResult&response=json&jobid=1bfa9c1c-b38b-4c7b-b0db-f31437018255
2017-03-01 09:18:18,445 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Expunging # of vms (accountId=7): 0
2017-03-01 09:18:18,463 INFO  [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) deleteAccount: Deleted 1 network groups for account 7
2017-03-01 09:18:18,464 INFO  [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) deleteAccount: Deleted 0 affinity groups for account 7
2017-03-01 09:18:18,464 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Deleting networks for account 7
2017-03-01 09:18:18,469 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Network is already shutdown: Ntwk[207|Guest|8]
2017-03-01 09:18:18,472 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Releasing 0 port forwarding rules for network id=207
2017-03-01 09:18:18,473 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Releasing 0 static nat rules for network id=207
2017-03-01 09:18:18,474 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) There are no port forwarding rules to apply for network id=207
2017-03-01 09:18:18,475 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) There are no static nat rules to apply for network id=207
2017-03-01 09:18:18,477 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Successfully released rules for network id=207 and # of rules now = 0

@priyankparihar @serg38
Still have the environment let me know if you want me to try something.

Hi @mike-tutkowski sir,
You have done enough work in storage area. Please review this PR. Your one LGTM comment is enough to lift this PR.

This code LGTM. I reviewed the code, but don't have the ability to run tests at the moment as I'm in the process of testing RC1 for 4.10. We have updates to two unit tests and two integration tests here, as well, which is great. This looks like a nice addition to the codebase.

@borisstoyanov Can you kick off B.O for Vmware again? Hopefully it will pass.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-558

@blueorangutan test centos7 vmware-55u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been kicked to run smoke tests

Trillian test result (tid-927)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44318 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t927-vmware-55u3.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Test completed. 45 look ok, 4 have error(s)

Test
Result
Time (s)
Test File

test_01_test_vm_volume_snapshot
Failure
337.78
test_vm_snapshots.py

test_04_rvpc_privategw_static_routes
Failure
843.48
test_privategw_acl.py

test_02_list_snapshots_with_removed_data_store
Error
81.00
test_snapshots.py

test_02_list_snapshots_with_removed_data_store
Error
86.09
test_snapshots.py

test_00_deploy_vm_root_resize
Error
157.40
test_deploy_vm_root_resize.py

test_01_vpc_site2site_vpn
Success
376.44
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
161.93
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
598.35
test_vpc_vpn.py

test_02_VPC_default_routes
Success
389.68
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
786.48
test_vpc_router_nics.py

test_05_rvpc_multi_tiers
Success
673.21
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Success
1549.38
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
738.76
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
660.05
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Success
1376.11
test_vpc_redundant.py

test_09_delete_detached_volume
Success
31.00
test_volumes.py

test_06_download_detached_volume
Success
50.61
test_volumes.py

test_05_detach_volume
Success
110.34
test_volumes.py

test_04_delete_attached_volume
Success
15.24
test_volumes.py

test_03_download_attached_volume
Success
20.31
test_volumes.py

test_02_attach_volume
Success
58.76
test_volumes.py

test_01_create_volume
Success
524.94
test_volumes.py

test_change_service_offering_for_vm_with_snapshots
Success
584.65
test_vm_snapshots.py

test_03_delete_vm_snapshots
Success
275.23
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
232.19
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
161.71
test_vm_snapshots.py

test_deploy_vm_multiple
Success
247.59
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.02
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.83
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.23
test_vm_life_cycle.py

test_08_migrate_vm
Success
66.07
test_vm_life_cycle.py

test_07_restore_vm
Success
0.10
test_vm_life_cycle.py

test_06_destroy_vm
Success
10.17
test_vm_life_cycle.py

test_03_reboot_vm
Success
5.15
test_vm_life_cycle.py

test_02_start_vm
Success
20.30
test_vm_life_cycle.py

test_01_stop_vm
Success
10.15
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
216.47
test_templates.py

test_08_list_system_templates
Success
0.03
test_templates.py

test_07_list_public_templates
Success
0.04
test_templates.py

test_05_template_permissions
Success
0.06
test_templates.py

test_04_extract_template
Success
10.24
test_templates.py

test_03_delete_template
Success
5.14
test_templates.py

test_02_edit_template
Success
90.12
test_templates.py

test_01_create_template
Success
110.83
test_templates.py

test_10_destroy_cpvm
Success
266.91
test_ssvm.py

test_09_destroy_ssvm
Success
243.85
test_ssvm.py

test_08_reboot_cpvm
Success
156.62
test_ssvm.py

test_07_reboot_ssvm
Success
158.51
test_ssvm.py

test_06_stop_cpvm
Success
211.98
test_ssvm.py

test_05_stop_ssvm
Success
183.83
test_ssvm.py

test_04_cpvm_internals
Success
1.26
test_ssvm.py

test_03_ssvm_internals
Success
3.46
test_ssvm.py

test_02_list_cpvm_vm
Success
0.14
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.13
test_ssvm.py

test_01_snapshot_root_disk
Success
26.17
test_snapshots.py

test_04_change_offering_small
Success
96.81
test_service_offerings.py

test_03_delete_service_offering
Success
0.04
test_service_offerings.py

test_02_edit_service_offering
Success
0.08
test_service_offerings.py

test_01_create_service_offering
Success
0.10
test_service_offerings.py

test_02_sys_template_ready
Success
0.13
test_secondary_storage.py

test_01_sys_vm_start
Success
0.19
test_secondary_storage.py

test_09_reboot_router
Success
176.10
test_routers.py

test_08_start_router
Success
156.01
test_routers.py

test_07_stop_router
Success
25.24
test_routers.py

test_06_router_advanced
Success
0.06
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.63
test_routers.py

test_03_restart_network_cleanup
Success
191.29
test_routers.py

test_02_router_internal_adv
Success
1.03
test_routers.py

test_01_router_internal_basic
Success
0.55
test_routers.py

test_router_dns_guestipquery
Success
76.71
test_router_dns.py

test_router_dns_externalipquery
Success
0.08
test_router_dns.py

test_router_dhcphosts
Success
169.05
test_router_dhcphosts.py

test_router_dhcp_opts
Success
21.68
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.08
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
55.48
test_reset_vm_on_reboot.py

test_createRegion
Success
0.04
test_regions.py

test_create_pvlan_network
Success
5.22
test_pvlan.py

test_dedicatePublicIpRange
Success
0.40
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
1068.81
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
697.20
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
187.75
test_privategw_acl.py

test_01_primary_storage_nfs
Success
38.17
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.19
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.44
test_portable_publicip.py

test_isolate_network_password_server
Success
92.18
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.13
test_over_provisioning.py

test_oobm_zchange_password
Success
30.76
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.32
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.31
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.33
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.40
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.37
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.31
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.35
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
92.81
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.15
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.09
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.17
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.10
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.07
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.11
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.39
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.33
test_non_contigiousvlan.py

test_01_nic
Success
459.88
test_nic.py

test_releaseIP
Success
248.04
test_network.py

test_reboot_router
Success
645.21
test_network.py

test_public_ip_user_account
Success
10.25
test_network.py

test_public_ip_admin_account
Success
40.27
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
76.90
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
61.64
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
124.94
test_network.py

test_delete_account
Success
313.05
test_network.py

test_02_port_fwd_on_non_src_nat
Success
55.71
test_network.py

test_01_port_fwd_on_src_nat
Success
111.76
test_network.py

test_nested_virtualization_vmware
Success
313.29
test_nested_virtualization.py

test_nic_secondaryip_add_remove
Success
222.70
test_multipleips_per_nic.py

login_test_saml_user
Success
19.40
test_login.py

test_assign_and_removal_lb
Success
148.43
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.28
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
207.70
test_loadbalance.py

test_03_list_snapshots
Success
0.09
test_list_ids_parameter.py

test_02_list_templates
Success
0.04
test_list_ids_parameter.py

test_01_list_volumes
Success
0.03
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.06
test_iso.py

test_05_iso_permissions
Success
0.06
test_iso.py

test_04_extract_Iso
Success
5.16
test_iso.py

test_03_delete_iso
Success
95.20
test_iso.py

test_02_edit_iso
Success
0.08
test_iso.py

test_01_create_iso
Success
21.02
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
512.03
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
369.59
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
1022.50
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
817.70
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.28
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.13
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.21
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
6.03
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.89
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
6.09
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.04
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.96
test_dynamicroles.py

test_role_lifecycle_update
Success
11.01
test_dynamicroles.py

test_role_lifecycle_list
Success
5.92
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.96
test_dynamicroles.py

test_role_lifecycle_create
Success
5.91
test_dynamicroles.py

test_role_inuse_deletion
Success
5.93
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.47
test_dynamicroles.py

test_role_account_acls
Success
8.33
test_dynamicroles.py

test_default_role_deletion
Success
5.99
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.07
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.04
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.05
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.07
test_disk_offerings.py

test_01_create_disk_offering
Success
0.16
test_disk_offerings.py

test_deployvm_userdispersing
Success
50.76
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
86.12
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
191.60
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
25.46
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
142.09
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
6.02
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
6.01
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
217.47
test_deploy_vm_iso.py

test_3d_gpu_support
Success
450.19
test_deploy_vgpu_enabled_vm.py

test_DeployVmAntiAffinityGroup
Success
166.60
test_affinity_groups.py

test_08_resize_volume
Skipped
5.12
test_volumes.py

test_07_resize_fail
Skipped
15.49
test_volumes.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_01_scale_vm
Skipped
66.33
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.04
test_primary_storage.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
1.11
test_deploy_vgpu_enabled_vm.py

Still fails but error is different now
Exception: Job failed: {jobprocstatus : 0, created : u'2017-03-03T09:20:53+0000', jobresult : {errorcode : 530, errortext : u'Unable to start a VM due to insufficient capacity'}, cmd : u'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', userid : u'83ba8c54-ffed-11e6-b1e4-067b8a010729', jobstatus : 2, jobid : u'2d7de855-e6d8-4b06-83c4-c880e75c6fb1', jobresultcode : 530, jobinstanceid :
@borisstoyanov It would be awesome if we can get management server log around the exception.

Hi @serg38 ,
Here's the management log:
2017-03-04 20:43:40,972 INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-249:ctx-585f426d 10.2.2.73, job-29/job-32, cmd: StartCommand) (logid:b0dca526) Found existing disk info from volume path: ROOT-3
2017-03-04 20:43:40,972 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-249:ctx-585f426d 10.2.2.73, job-29/job-32, cmd: StartCommand) (logid:b0dca526) Unsupported Disk chain length 2
2017-03-04 20:43:40,972 INFO  [c.c.h.v.u.VmwareHelper] (DirectAgent-249:ctx-585f426d 10.2.2.73, job-29/job-32, cmd: StartCommand) (logid:b0dca526) [ignored]failed toi get message for exception: Unsupported Disk chain length 2
2017-03-04 20:43:40,975 WARN  [c.c.h.v.r.VmwareResource] (DirectAgent-249:ctx-585f426d 10.2.2.73, job-29/job-32, cmd: StartCommand) (logid:b0dca526) StartCommand failed due to Exception: java.lang.Exception
Message: Unsupported Disk chain length 2

java.lang.Exception: Unsupported Disk chain length 2
	at com.cloud.hypervisor.vmware.resource.VmwareResource.resizeRootDisk(VmwareResource.java:2106)
	at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2029)
	at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:467)
	at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
2017-03-04 20:43:40,975 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-249:ctx-585f426d) (logid:b0dca526) Seq 1-6353453174312927730: Response Received:
2017-03-04 20:43:40,976 DEBUG [c.c.a.t.Request] (DirectAgent-249:ctx-585f426d) (logid:b0dca526) Seq 1-6353453174312927730: Processing:  { Ans: , MgmtId: 7267420276525, via: 1(10.2.2.73), Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":3,"name":"i-4-3-VM","bootloader":"HVM","type":"User","cpus":1,"minSpeed":50,"maxSpeed":100,"minRam":268435456,"maxRam":268435456,"hostName":"testvm","arch":"x86_64","os":"CentOS 5.3 (64-bit)","platformEmulator":"centos64Guest","bootArgs":"","enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"pztIl7EL8AvGJtkrL8TuMQ","params":{"deployvm":"true","dataDiskController":"osdefault","memoryOvercommitRatio":"1.0","Message.ReservedCapacityFreed.Flag":"false","nestedVirtualizationFlag":"false","rootdisksize":"4","cpuOvercommitRatio":"2.0","vmware.reserve.mem":"false","vmware.reserve.cpu":"false","nicAdapter":"E1000","rootDiskController":"ide"},"uuid":"125b41bb-2d1f-4ab5-8bc4-493f4873fe86","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"abf2b785-936b-40f8-91b0-0e7f62d3620f","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"bdcf18cf-79d5-3459-a681-225d15719513","id":1,"poolType":"NetworkFilesystem","host":"10.2.0.16","path":"/acs/primary/pr1813-t931-vmware-55u3/pr1813-t931-vmware-55u3-esxi-pri1","port":2049,"url":"NetworkFilesystem://10.2.0.16/acs/primary/pr1813-t931-vmware-55u3/pr1813-t931-vmware-55u3-esxi-pri1/?ROLE=Primary&STOREUUID=bdcf18cf-79d5-3459-a681-225d15719513","isManaged":false}},"name":"ROOT-3","size":4294967296,"path":"ROOT-3","volumeId":3,"vmName":"i-4-3-VM","accountId":4,"format":"OVA","provisioningType":"THIN","id":3,"deviceId":0,"bytesReadRate":0,"bytesWriteRate":0,"iopsReadRate":0,"iopsWriteRate":0,"hypervisorType":"VMware"}},"diskSeq":0,"path":"ROOT-3","type":"ROOT","_details":{"storageHost":"10.2.0.16","managed":"false","storagePort":"2049","volumeSize":"4294967296"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"id":0,"format":"ISO","accountId":0,"hvm":false}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"pxeDisable":false,"nicUuid":"1de3e11d-057c-4d5d-9a06-0bed9686efbd","uuid":"ed0b21f4-04a2-442d-ba0b-3c6276f3e96a","ip":"10.1.1.234","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:38:f0:00:01","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://889","isolationUri":"vlan://889","isSecurityGroupEnabled":false,"name":"vSwitch1,,vmwaresvs"}]},"result":false,"details":"StartCommand failed due to Exception: java.lang.Exception\nMessage: Unsupported Disk chain length 2\n","wait":0}}] }
2017-03-04 20:43:40,976 DEBUG [c.c.a.t.Request] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Seq 1-6353453174312927730: Received:  { Ans: , MgmtId: 7267420276525, via: 1(10.2.2.73), Ver: v1, Flags: 10, { StartAnswer } }
2017-03-04 20:43:40,979 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Unable to start VM on Host[-1-Routing] due to StartCommand failed due to Exception: java.lang.Exception
Message: Unsupported Disk chain length 2

2017-03-04 20:43:40,982 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Cleaning up resources for the vm VM[User|i-4-3-VM] in Starting state
2017-03-04 20:43:40,983 DEBUG [c.c.a.t.Request] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Seq 1-6353453174312927733: Sending  { Cmd , MgmtId: 7267420276525, via: 1(10.2.2.73), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"checkBeforeCleanup":false,"vmName":"i-4-3-VM","executeInSequence":false,"wait":0}}] }
2017-03-04 20:43:40,983 DEBUG [c.c.a.t.Request] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Seq 1-6353453174312927733: Executing:  { Cmd , MgmtId: 7267420276525, via: 1(10.2.2.73), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"checkBeforeCleanup":false,"vmName":"i-4-3-VM","executeInSequence":false,"wait":0}}] }
2017-03-04 20:43:40,983 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-63:ctx-6366c90c) (logid:69a12df2) Seq 1-6353453174312927733: Executing request
2017-03-04 20:43:40,983 INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-63:ctx-6366c90c 10.2.2.73, job-29/job-32, cmd: StopCommand) (logid:b0dca526) Executing resource StopCommand: {"isProxy":false,"checkBeforeCleanup":false,"vmName":"i-4-3-VM","executeInSequence":false,"wait":0}
2017-03-04 20:43:40,994 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-63:ctx-6366c90c 10.2.2.73, job-29/job-32, cmd: StopCommand) (logid:b0dca526) find VM i-4-3-VM on host
2017-03-04 20:43:40,994 INFO  [c.c.h.v.m.HostMO] (DirectAgent-63:ctx-6366c90c 10.2.2.73, job-29/job-32, cmd: StopCommand) (logid:b0dca526) VM i-4-3-VM not found in host cache
2017-03-04 20:43:40,994 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-63:ctx-6366c90c 10.2.2.73, job-29/job-32, cmd: StopCommand) (logid:b0dca526) load VM cache on host
2017-03-04 20:43:41,043 INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-63:ctx-6366c90c 10.2.2.73, job-29/job-32, cmd: StopCommand) (logid:b0dca526) VM i-4-3-VM is already in stopped state
2017-03-04 20:43:41,043 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-63:ctx-6366c90c) (logid:b0dca526) Seq 1-6353453174312927733: Response Received:
2017-03-04 20:43:41,043 DEBUG [c.c.a.t.Request] (DirectAgent-63:ctx-6366c90c) (logid:b0dca526) Seq 1-6353453174312927733: Processing:  { Ans: , MgmtId: 7267420276525, via: 1(10.2.2.73), Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM i-4-3-VM is already in stopped state","wait":0}}] }
2017-03-04 20:43:41,043 DEBUG [c.c.a.t.Request] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Seq 1-6353453174312927733: Received:  { Ans: , MgmtId: 7267420276525, via: 1(10.2.2.73), Ver: v1, Flags: 10, { StopAnswer } }
2017-03-04 20:43:41,047 DEBUG [c.c.n.NetworkModelImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Service SecurityGroup is not supported in the network id=204
2017-03-04 20:43:41,048 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Changing active number of nics for network id=204 on -1
2017-03-04 20:43:41,053 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Asking VirtualRouter to release NicProfile[7-3-63bdc82b-0377-455e-8015-940282d98400-10.1.1.234-null
2017-03-04 20:43:41,053 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Successfully released network resources for the vm VM[User|i-4-3-VM]
2017-03-04 20:43:41,053 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Successfully cleanued up resources for the vm VM[User|i-4-3-VM] in Starting state
2017-03-04 20:43:41,054 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Root volume is ready, need to place VM in volume's cluster
2017-03-04 20:43:41,054 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Vol[3|vm=3|ROOT] is READY, changing deployment plan to use this pool's dcId: 1 , podId: 1 , and clusterId: 1
2017-03-04 20:43:41,058 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Deploy avoids pods: [], clusters: [], hosts: [1]
2017-03-04 20:43:41,058 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@23d20e4e
2017-03-04 20:43:41,058 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:1, requested cpu: 100, requested ram: 268435456
2017-03-04 20:43:41,058 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Is ROOT volume READY (pool already allocated)?: Yes
2017-03-04 20:43:41,058 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Searching resources only under specified Cluster: 1
2017-03-04 20:43:41,063 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Checking resources in Cluster: 1 under Pod: 1
2017-03-04 20:43:41,063 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea FirstFitRoutingAllocator) (logid:b0dca526) Looking for hosts in dc: 1  pod:1  cluster:1
2017-03-04 20:43:41,064 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea FirstFitRoutingAllocator) (logid:b0dca526) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2017-03-04 20:43:41,066 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea FirstFitRoutingAllocator) (logid:b0dca526) Found 1 hosts for allocation after prioritization: [Host[-1-Routing]]
2017-03-04 20:43:41,066 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea FirstFitRoutingAllocator) (logid:b0dca526) Looking for speed=100Mhz, Ram=256
2017-03-04 20:43:41,066 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea FirstFitRoutingAllocator) (logid:b0dca526) Host name: 10.2.2.73, hostId: 1 is in avoid set, skipping this and trying other available hosts
2017-03-04 20:43:41,066 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea FirstFitRoutingAllocator) (logid:b0dca526) Host Allocator returning 0 suitable hosts
2017-03-04 20:43:41,066 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) No suitable hosts found
2017-03-04 20:43:41,066 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) No suitable hosts found under this Cluster: 1
2017-03-04 20:43:41,067 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2017-03-04 20:43:41,067 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Searching resources only under specified Cluster: 1
2017-03-04 20:43:41,067 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) The specified cluster is in avoid set, returning.
2017-03-04 20:43:41,070 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Deploy avoids pods: [], clusters: [1], hosts: [1]
2017-03-04 20:43:41,071 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@23d20e4e
2017-03-04 20:43:41,071 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 100, requested ram: 268435456
2017-03-04 20:43:41,071 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Is ROOT volume READY (pool already allocated)?: No
2017-03-04 20:43:41,071 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Searching resources only under specified Pod: 1
2017-03-04 20:43:41,071 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
2017-03-04 20:43:41,073 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Removing from the clusterId list these clusters from avoid set: [1]
2017-03-04 20:43:41,074 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) No clusters found after removing disabled clusters and clusters in avoid list, returning.
2017-03-04 20:43:41,083 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 1
2017-03-04 20:43:41,086 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Hosts's actual total CPU: 4797 and CPU after applying overprovisioning: 9594
2017-03-04 20:43:41,086 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Hosts's actual total RAM: 8589398016 and RAM after applying overprovisioning: 8589398016
2017-03-04 20:43:41,086 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) release cpu from host: 1, old used: 1600,reserved: 0, actual total: 4797, total with overprovisioning: 9594; new used: 1500,reserved:0; movedfromreserved: false,moveToReserveredfalse
2017-03-04 20:43:41,086 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) release mem from host: 1, old used: 2147483648,reserved: 0, total: 8589398016; new used: 1879048192,reserved:0; movedfromreserved: false,moveToReserveredfalse
2017-03-04 20:43:41,096 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Invocation exception, caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-4-3-VM]Scope=interface com.cloud.dc.DataCenter; id=1
2017-03-04 20:43:41,096 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32 ctx-cf9f4cea) (logid:b0dca526) Rethrow exception com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-4-3-VM]Scope=interface com.cloud.dc.DataCenter; id=1
2017-03-04 20:43:41,096 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Done with run of VM work job: com.cloud.vm.VmWorkStart for VM 3, job origin: 29
2017-03-04 20:43:41,096 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Unable to complete AsyncJobVO {id:32, userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkStart, cmdInfo: rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA3QAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAHBwcHBwcHBwc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_QAAAAAAADHcIAAAAEAAAAAF0AApWbVBhc3N3b3JkdAAcck8wQUJYUUFEbk5oZG1Wa1gzQmhjM04zYjNKa3hw, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 7267420276525, completeMsid: null, lastUpdated: null, lastPolled: null, created: Sat Mar 04 20:43:27 UTC 2017}, job origin:29
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-4-3-VM]Scope=interface com.cloud.dc.DataCenter; id=1
	at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:961)
	at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4661)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
	at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4822)
	at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:554)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:502)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
2017-03-04 20:43:41,098 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Complete async job-32, jobStatus: FAILED, resultCode: 0, result: rO0ABXNyADdjb20uY2xvdWQuZXhjZXB0aW9uLkluc3VmZmljaWVudFNlcnZlckNhcGFjaXR5RXhjZXB0aW9uAAAAAFZNT3ACAAFaABVhZmZpbml0eUdyb3Vwc0FwcGxpZWR4cgAxY29tLmNsb3VkLmV4Y2VwdGlvbi5JbnN1ZmZpY2llbnRDYXBhY2l0eUV4Y2VwdGlvbgAAAABWTU91AgACTAACaWR0ABBMamF2YS9sYW5nL0xvbmc7TAAFc2NvcGV0ABFMamF2YS9sYW5nL0NsYXNzO3hyACJjb20uY2xvdWQuZXhjZXB0aW9uLkNsb3VkRXhjZXB0aW9ueeiOG_HkRMcCAAJMAAtjc0Vycm9yQ29kZXQAE0xqYXZhL2xhbmcvSW50ZWdlcjtMAAZpZExpc3R0ABVMamF2YS91dGlsL0FycmF5TGlzdDt4cgATamF2YS5sYW5nLkV4Y2VwdGlvbtD9Hz4aOxzEAgAAeHIAE2phdmEubGFuZy5UaHJvd2FibGXVxjUnOXe4ywMABEwABWNhdXNldAAVTGphdmEvbGFuZy9UaHJvd2FibGU7TAANZGV0YWlsTWVzc2FnZXQAEkxqYXZhL2xhbmcvU3RyaW5nO1sACnN0YWNrVHJhY2V0AB5bTGphdmEvbGFuZy9TdGFja1RyYWNlRWxlbWVudDtMABRzdXBwcmVzc2VkRXhjZXB0aW9uc3QAEExqYXZhL3V0aWwvTGlzdDt4cHEAfgANdAAzVW5hYmxlIHRvIGNyZWF0ZSBhIGRlcGxveW1lbnQgZm9yIFZNW1VzZXJ8aS00LTMtVk1ddXIAHltMamF2YS5sYW5nLlN0YWNrVHJhY2VFbGVtZW50OwJGKjw8_SI5AgAAeHAAAAAVc3IAG2phdmEubGFuZy5TdGFja1RyYWNlRWxlbWVudGEJxZomNt2FAgAESQAKbGluZU51bWJlckwADmRlY2xhcmluZ0NsYXNzcQB-AApMAAhmaWxlTmFtZXEAfgAKTAAKbWV0aG9kTmFtZXEAfgAKeHAAAAPBdAAmY29tLmNsb3VkLnZtLlZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGx0AB5WaXJ0dWFsTWFjaGluZU1hbmFnZXJJbXBsLmphdmF0ABBvcmNoZXN0cmF0ZVN0YXJ0c3EAfgARAAASNXEAfgATcQB-ABRxAH4AFXNxAH4AEf____50ACRzdW4ucmVmbGVjdC5OYXRpdmVNZXRob2RBY2Nlc3NvckltcGx0AB1OYXRpdmVNZXRob2RBY2Nlc3NvckltcGwuamF2YXQAB2ludm9rZTBzcQB-ABEAAAA-cQB-ABhxAH4AGXQABmludm9rZXNxAH4AEQAAACt0AChzdW4ucmVmbGVjdC5EZWxlZ2F0aW5nTWV0aG9kQWNjZXNzb3JJbXBsdAAhRGVsZWdhdGluZ01ldGhvZEFjY2Vzc29ySW1wbC5qYXZhcQB-ABxzcQB-ABEAAAHydAAYamF2YS5sYW5nLnJlZmxlY3QuTWV0aG9kdAALTWV0aG9kLmphdmFxAH4AHHNxAH4AEQAAAGt0ACJjb20uY2xvdWQudm0uVm1Xb3JrSm9iSGFuZGxlclByb3h5dAAaVm1Xb3JrSm9iSGFuZGxlclByb3h5LmphdmF0AA9oYW5kbGVWbVdvcmtKb2JzcQB-ABEAABLWcQB-ABNxAH4AFHEAfgAmc3EAfgARAAAAZnQAIGNvbS5jbG91ZC52bS5WbVdvcmtKb2JEaXNwYXRjaGVydAAYVm1Xb3JrSm9iRGlzcGF0Y2hlci5qYXZhdAAGcnVuSm9ic3EAfgARAAACKnQAP29yZy5hcGFjaGUuY2xvdWRzdGFjay5mcmFtZXdvcmsuam9icy5pbXBsLkFzeW5jSm9iTWFuYWdlckltcGwkNXQAGEFzeW5jSm9iTWFuYWdlckltcGwuamF2YXQADHJ1bkluQ29udGV4dHNxAH4AEQAAADF0AD5vcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0Lk1hbmFnZWRDb250ZXh0UnVubmFibGUkMXQAG01hbmFnZWRDb250ZXh0UnVubmFibGUuamF2YXQAA3J1bnNxAH4AEQAAADh0AEJvcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0LmltcGwuRGVmYXVsdE1hbmFnZWRDb250ZXh0JDF0ABpEZWZhdWx0TWFuYWdlZENvbnRleHQuamF2YXQABGNhbGxzcQB-ABEAAABndABAb3JnLmFwYWNoZS5jbG91ZHN0YWNrLm1hbmFnZWQuY29udGV4dC5pbXBsLkRlZmF1bHRNYW5hZ2VkQ29udGV4dHEAfgA2dAAPY2FsbFdpdGhDb250ZXh0c3EAfgARAAAANXEAfgA5cQB-ADZ0AA5ydW5XaXRoQ29udGV4dHNxAH4AEQAAAC50ADxvcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0Lk1hbmFnZWRDb250ZXh0UnVubmFibGVxAH4AMnEAfgAzc3EAfgARAAAB9nEAfgAtcQB-AC5xAH4AM3NxAH4AEQAAAf90AC5qYXZhLnV0aWwuY29uY3VycmVudC5FeGVjdXRvcnMkUnVubmFibGVBZGFwdGVydAAORXhlY3V0b3JzLmphdmFxAH4AN3NxAH4AEQAAAQp0AB9qYXZhLnV0aWwuY29uY3VycmVudC5GdXR1cmVUYXNrdAAPRnV0dXJlVGFzay5qYXZhcQB-ADNzcQB-ABEAAAR2dAAnamF2YS51dGlsLmNvbmN1cnJlbnQuVGhyZWFkUG9vbEV4ZWN1dG9ydAAXVGhyZWFkUG9vbEV4ZWN1dG9yLmphdmF0AAlydW5Xb3JrZXJzcQB-ABEAAAJpdAAuamF2YS51dGlsLmNvbmN1cnJlbnQuVGhyZWFkUG9vbEV4ZWN1dG9yJFdvcmtlcnEAfgBIcQB-ADNzcQB-ABEAAALpdAAQamF2YS5sYW5nLlRocmVhZHQAC1RocmVhZC5qYXZhcQB-ADNzcgAmamF2YS51dGlsLkNvbGxlY3Rpb25zJFVubW9kaWZpYWJsZUxpc3T8DyUxteyOEAIAAUwABGxpc3RxAH4ADHhyACxqYXZhLnV0aWwuQ29sbGVjdGlvbnMkVW5tb2RpZmlhYmxlQ29sbGVjdGlvbhlCAIDLXvceAgABTAABY3QAFkxqYXZhL3V0aWwvQ29sbGVjdGlvbjt4cHNyABNqYXZhLnV0aWwuQXJyYXlMaXN0eIHSHZnHYZ0DAAFJAARzaXpleHAAAAAAdwQAAAAAeHEAfgBUeHNyABFqYXZhLmxhbmcuSW50ZWdlchLioKT3gYc4AgABSQAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAABDvc3EAfgBTAAAAAHcEAAAAAHhzcgAOamF2YS5sYW5nLkxvbmc7i-SQzI8j3wIAAUoABXZhbHVleHEAfgBWAAAAAAAAAAF2cgAXY29tLmNsb3VkLmRjLkRhdGFDZW50ZXKy8Qrrp-d4vgIAAHhwAA
2017-03-04 20:43:41,098 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Publish async job-32 complete on message bus
2017-03-04 20:43:41,098 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Wake up jobs related to job-32
2017-03-04 20:43:41,098 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Update db status for job-32
2017-03-04 20:43:41,099 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Wake up jobs joined with job-32 and disjoin all subjobs created from job- 32
2017-03-04 20:43:41,105 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Done executing com.cloud.vm.VmWorkStart for job-32
2017-03-04 20:43:41,107 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-4:ctx-56cda672 job-29/job-32) (logid:b0dca526) Remove job-32 from job monitoring
2017-03-04 20:43:41,113 DEBUG [c.c.v.UserVmManagerImpl] (API-Job-Executor-23:ctx-0c7ca79a job-29 ctx-f34539ef) (logid:b0dca526) Destroying vm VM[User|i-4-3-VM] as it failed to create on Host with Id:null
2017-03-04 20:43:41,120 DEBUG [c.c.c.CapacityManagerImpl] (API-Job-Executor-23:ctx-0c7ca79a job-29 ctx-f34539ef) (logid:b0dca526) VM state transitted from :Stopped to Error with event: OperationFailedToErrorvm's original host id: null new host id: null host id before state transition: null
2017-03-04 20:43:41,151 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-23:ctx-0c7ca79a job-29 ctx-f34539ef) (logid:b0dca526) Access granted to Acct[eb82ac50-0109-11e7-af92-069c1401072d-admin] to Domain:1/ by AffinityGroupAccessChecker
2017-03-04 20:43:41,160 WARN  [o.a.c.alerts] (API-Job-Executor-23:ctx-0c7ca79a job-29 ctx-f34539ef) (logid:b0dca526)  alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Failed to deploy Vm with Id: 3, on Host with Id: null
2017-03-04 20:43:41,180 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-23:ctx-0c7ca79a job-29) (logid:b0dca526) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin
com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due to insufficient capacity
	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:623)
	at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:242)
	at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:212)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4097)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3695)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3683)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
	at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
	at com.sun.proxy.$Proxy205.startVirtualMachine(Unknown Source)
	at org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin.execute(DeployVMCmdByAdmin.java:50)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
	at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:554)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:502)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-4-3-VM]Scope=interface com.cloud.dc.DataCenter; id=1
	at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:961)
	at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4661)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	... 18 more
2017-03-04 20:43:41,182 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-23:ctx-0c7ca79a job-29) (logid:b0dca526) Complete async job-29, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unable to start a VM due to insufficient capacity"}

@borisstoyanov Thanks. Can you check in B.O. what is value of global configuration 'vmware.create.full.clone',  if the same configuration is set for the primary storage pool and if so what is the value ?
@priyankparihar Based on the exception it looks like B.O. Is set to use link clones but test doesn't handle it intended way.  How about you temporary alter 'vmware.create.full.clone' to make it true for the PS pool used during the test and then revert it back to the original value.
You can use similar to below to alter flag just for the PS pool:
updateConfigurationCmd = updateConfiguration.updateConfigurationCmd()
updateConfigurationCmd.name = "vmware.create.full.clone"
updateConfigurationCmd.value = "true"
updateConfigurationCmd.storageid = pool.id
updateConfigurationResponse = self.apiClient.updateConfiguration(updateConfigurationCmd)

@serg38 it's: vmware.create.full.clone FALSE

Hi, @serg38 and @borisstoyanov soon test_00_deploy_vm_root_resize will be updated.

Hi,
Thanks to @sadhugit. @serg38 and @borisstoyanov tests are updated. If anything is still not proper please notify otherwise please provide your LGTM comment.

@borisstoyanov @rhtyd Can you kick off new round of tests for this PR?

@blueorangutan package

@PaulAngus a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-586

@blueorangutan test centos7 vmware-55u3

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been kicked to run smoke tests

I've executed the test_00_deploy_vm_root_resize but it failed with the following error in management:
2017-03-10 11:14:35,787 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-58:ctx-2833f73a 10.2.2.23, job-48/job-49, cmd: StartCommand) (logid:a7ff003b) Unsupported root disk device bus ide0:1

vmware.create.full.clone is true
Attaching full log
management.txt

@borisstoyanov ,
Please change your root disk controller to ISCSI. It could be specified in global configuration. For IDE it is not supported.
@sadhugit do you want to add something ?

Hi @priyankparihar,
I've set the vmware.root.disk.controller to iscsi, and got the following:
2017-03-10 12:07:47,630 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-1:ctx-fa3e95c6) (logid:1d1dda75) Seq 1-2727211049349545996: Executing request
2017-03-10 12:07:47,631 INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-1:ctx-fa3e95c6 10.2.2.23, job-66/job-67, cmd: StartCommand) (logid:3be8ee6e) Executing resource StartCommand: {"vm":{"id":15,"name":"i-2-15-VM","bootloader":"HVM","type":"User","cpus":1,"minSpeed":250,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"hostName":"VM-ec57ee69-4604-4eb8-8460-2d9152216239","arch":"x86_64","os":"CentOS 5.3 (64-bit)","platformEmulator":"centos64Guest","bootArgs":"","enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"UcWxqITdc_kGyQEoT76Nog","params":{"deployvm":"true","dataDiskController":"osdefault","memoryOvercommitRatio":"1.0","nestedVirtualizationFlag":"false","cpuOvercommitRatio":"2.0","vmware.reserve.mem":"false","vmware.reserve.cpu":"false","nicAdapter":"E1000","rootDiskController":"iscsi"},"uuid":"ec57ee69-4604-4eb8-8460-2d9152216239","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"4943afe9-a45b-4d28-8c46-b11b9bb6369a","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"45c46701-09f6-3ae1-b322-192709c67bf8","id":1,"poolType":"NetworkFilesystem","host":"10.2.0.16","path":"/acs/primary/pr1813-t948-vmware-55u3/pr1813-t948-vmware-55u3-esxi-pri1","port":2049,"url":"NetworkFilesystem://10.2.0.16/acs/primary/pr1813-t948-vmware-55u3/pr1813-t948-vmware-55u3-esxi-pri1/?ROLE=Primary&STOREUUID=45c46701-09f6-3ae1-b322-192709c67bf8","isManaged":false}},"name":"ROOT-15","size":2147483648,"path":"ROOT-15-000001","volumeId":11,"vmName":"i-2-15-VM","accountId":2,"format":"OVA","provisioningType":"THIN","id":11,"deviceId":0,"bytesReadRate":0,"bytesWriteRate":0,"iopsReadRate":0,"iopsWriteRate":0,"hypervisorType":"VMware"}},"diskSeq":0,"path":"ROOT-15-000001","type":"ROOT","_details":{"storageHost":"10.2.0.16","managed":"false","storagePort":"2049","volumeSize":"2147483648"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"id":0,"format":"ISO","accountId":0,"hvm":false}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"pxeDisable":false,"nicUuid":"8a911398-8512-4d3d-8c79-2fee06faf5a5","uuid":"9b2c0464-d6b4-4fe2-a9c4-433dcc3ada3c","ip":"10.1.1.22","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:39:d2:00:03","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://976","isolationUri":"vlan://976","isSecurityGroupEnabled":false,"name":"vSwitch1,,vmwaresvs"}]},"hostIp":"10.2.2.23","executeInSequence":true,"wait":0}
2017-03-10 12:07:47,632 WARN  [c.c.a.m.DirectAgentAttache] (DirectAgent-1:ctx-fa3e95c6) (logid:3be8ee6e) Seq 1-2727211049349545996: Throwable caught while executing command
com.cloud.utils.exception.CloudRuntimeException: Invalid root disk controller detected : none
	at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1539)
	at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:467)
	at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

This looks like code issue since we can see it passed the StartCommand with "rootDiskController":"iscsi" but then exception appears:  Invalid root disk controller detected : none

OK, I think there was a mistake. @priyankparihar you must mean to set the rootDiskController to scsi, not to iscsi. I've did so and the test has passed:
Test deploy virtual machine with root resize ... === TestName: test_00_deploy_vm_root_resize | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 269.825s

OK

So as precondition this test requires vmware.create.full.clone to be true and vmware.root.disk.controller to scsi. I think it'll be best if those are set before executing the test and revert back in cleanup.

@borisstoyanov apology for typo. It should be 'scsi'.

I think it'll be best if those are set before executing the test and revert back in cleanup.

Yes.

@blueorangutan test centos7 xenserver

@borisstoyanov unsupported parameters provided. Supported mgmt server os are: centos6, centos7, ubuntu. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-ubuntu, xenserver-65sp1, xenserver-62sp1, vmware-60u2, vmware-55u3, vmware-51u1, vmware-50u1

@blueorangutan test centos7 xenserver-65sp1

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + xenserver-65sp1) has been kicked to run smoke tests

@priyankparihar I think we need to improve smoke test test_deploy_vm_root_resize.py and introduce the logic you implemented in component test test_rootvolume_resize.py.
We would want smoke test to be independent of testing environment and also not to skip tests for as much as we could and  so for this test we can:

Make setting vmware.create.full.clone=true for the PS before resizing
Deploy VM with rootdiskcontroller=scsi
Support NFS the same way as VMFS
Other than that everything else looks good.

Trillian test result (tid-951)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39338 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t951-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 46 look ok, 3 have error(s)

Test
Result
Time (s)
Test File

test_05_rvpc_multi_tiers
Failure
483.27
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Failure
1324.57
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
535.97
test_vpc_redundant.py

test_04_rvpc_privategw_static_routes
Failure
670.57
test_privategw_acl.py

test_02_list_snapshots_with_removed_data_store
Error
89.03
test_snapshots.py

test_02_list_snapshots_with_removed_data_store
Error
94.10
test_snapshots.py

test_01_vpc_site2site_vpn
Success
284.87
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
151.16
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
536.40
test_vpc_vpn.py

test_02_VPC_default_routes
Success
303.01
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
636.11
test_vpc_router_nics.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
821.18
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
1034.49
test_vpc_redundant.py

test_09_delete_detached_volume
Success
15.54
test_volumes.py

test_08_resize_volume
Success
90.68
test_volumes.py

test_07_resize_fail
Success
95.69
test_volumes.py

test_06_download_detached_volume
Success
20.23
test_volumes.py

test_05_detach_volume
Success
100.19
test_volumes.py

test_04_delete_attached_volume
Success
10.14
test_volumes.py

test_03_download_attached_volume
Success
15.22
test_volumes.py

test_02_attach_volume
Success
10.60
test_volumes.py

test_01_create_volume
Success
397.14
test_volumes.py

test_change_service_offering_for_vm_with_snapshots
Success
383.64
test_vm_snapshots.py

test_03_delete_vm_snapshots
Success
280.17
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
191.11
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
100.77
test_vm_snapshots.py

test_deploy_vm_multiple
Success
191.91
test_vm_life_cycle.py

test_deploy_vm
Success
0.02
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.02
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.64
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.14
test_vm_life_cycle.py

test_08_migrate_vm
Success
60.74
test_vm_life_cycle.py

test_07_restore_vm
Success
0.07
test_vm_life_cycle.py

test_06_destroy_vm
Success
10.11
test_vm_life_cycle.py

test_03_reboot_vm
Success
15.14
test_vm_life_cycle.py

test_02_start_vm
Success
25.20
test_vm_life_cycle.py

test_01_stop_vm
Success
30.21
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
90.58
test_templates.py

test_08_list_system_templates
Success
0.02
test_templates.py

test_07_list_public_templates
Success
0.03
test_templates.py

test_05_template_permissions
Success
0.05
test_templates.py

test_04_extract_template
Success
5.12
test_templates.py

test_03_delete_template
Success
5.08
test_templates.py

test_02_edit_template
Success
90.11
test_templates.py

test_01_create_template
Success
40.34
test_templates.py

test_10_destroy_cpvm
Success
256.61
test_ssvm.py

test_09_destroy_ssvm
Success
198.70
test_ssvm.py

test_08_reboot_cpvm
Success
146.47
test_ssvm.py

test_07_reboot_ssvm
Success
148.63
test_ssvm.py

test_06_stop_cpvm
Success
166.51
test_ssvm.py

test_05_stop_ssvm
Success
168.69
test_ssvm.py

test_04_cpvm_internals
Success
1.08
test_ssvm.py

test_03_ssvm_internals
Success
3.28
test_ssvm.py

test_02_list_cpvm_vm
Success
0.08
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.09
test_ssvm.py

test_01_snapshot_root_disk
Success
15.94
test_snapshots.py

test_04_change_offering_small
Success
120.94
test_service_offerings.py

test_03_delete_service_offering
Success
0.03
test_service_offerings.py

test_02_edit_service_offering
Success
0.04
test_service_offerings.py

test_01_create_service_offering
Success
0.15
test_service_offerings.py

test_02_sys_template_ready
Success
0.09
test_secondary_storage.py

test_01_sys_vm_start
Success
0.12
test_secondary_storage.py

test_01_scale_vm
Success
5.13
test_scale_vm.py

test_09_reboot_router
Success
65.36
test_routers.py

test_08_start_router
Success
50.29
test_routers.py

test_07_stop_router
Success
15.14
test_routers.py

test_06_router_advanced
Success
0.04
test_routers.py

test_05_router_basic
Success
0.03
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.47
test_routers.py

test_03_restart_network_cleanup
Success
115.60
test_routers.py

test_02_router_internal_adv
Success
0.78
test_routers.py

test_01_router_internal_basic
Success
0.46
test_routers.py

test_router_dns_guestipquery
Success
48.62
test_router_dns.py

test_router_dns_externalipquery
Success
0.06
test_router_dns.py

test_router_dhcphosts
Success
107.18
test_router_dhcphosts.py

test_router_dhcp_opts
Success
31.20
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.05
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
95.53
test_reset_vm_on_reboot.py

test_createRegion
Success
0.03
test_regions.py

test_create_pvlan_network
Success
5.17
test_pvlan.py

test_dedicatePublicIpRange
Success
0.27
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
809.88
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
524.20
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
136.85
test_privategw_acl.py

test_01_primary_storage_nfs
Success
38.61
test_primary_storage.py

test_01_primary_storage_iscsi
Success
77.32
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.14
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.29
test_portable_publicip.py

test_isolate_network_password_server
Success
35.80
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.09
test_over_provisioning.py

test_oobm_zchange_password
Success
25.55
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
11.26
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
5.17
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.24
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.45
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.23
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.25
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.26
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
87.14
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.11
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.07
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.18
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.11
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.09
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.09
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
29.30
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.46
test_non_contigiousvlan.py

test_01_nic
Success
568.71
test_nic.py

test_releaseIP
Success
222.02
test_network.py

test_reboot_router
Success
543.46
test_network.py

test_public_ip_user_account
Success
10.18
test_network.py

test_public_ip_admin_account
Success
40.21
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
86.76
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
76.27
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
102.20
test_network.py

test_delete_account
Success
292.13
test_network.py

test_02_port_fwd_on_non_src_nat
Success
70.55
test_network.py

test_01_port_fwd_on_src_nat
Success
83.58
test_network.py

test_nic_secondaryip_add_remove
Success
191.77
test_multipleips_per_nic.py

login_test_saml_user
Success
17.76
test_login.py

test_assign_and_removal_lb
Success
148.67
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.29
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
207.78
test_loadbalance.py

test_03_list_snapshots
Success
0.04
test_list_ids_parameter.py

test_02_list_templates
Success
0.03
test_list_ids_parameter.py

test_01_list_volumes
Success
0.02
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.04
test_iso.py

test_05_iso_permissions
Success
0.04
test_iso.py

test_04_extract_Iso
Success
5.09
test_iso.py

test_03_delete_iso
Success
95.18
test_iso.py

test_02_edit_iso
Success
0.04
test_iso.py

test_01_create_iso
Success
20.67
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
434.41
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
257.50
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
931.28
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
655.34
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.21
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.09
test_global_settings.py

test_rolepermission_lifecycle_update
Success
5.79
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
5.69
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.62
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.61
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
5.68
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.61
test_dynamicroles.py

test_role_lifecycle_update
Success
10.96
test_dynamicroles.py

test_role_lifecycle_list
Success
5.60
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.65
test_dynamicroles.py

test_role_lifecycle_create
Success
5.60
test_dynamicroles.py

test_role_inuse_deletion
Success
5.59
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
6.93
test_dynamicroles.py

test_role_account_acls
Success
7.92
test_dynamicroles.py

test_default_role_deletion
Success
5.67
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.05
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.03
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.04
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.05
test_disk_offerings.py

test_01_create_disk_offering
Success
0.06
test_disk_offerings.py

test_deployvm_userdispersing
Success
90.76
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
45.54
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
125.85
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
60.82
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
125.92
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
5.68
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
5.67
test_deploy_vm_root_resize.py

test_00_deploy_vm_root_resize
Success
201.76
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
171.72
test_deploy_vm_iso.py

test_DeployVmAntiAffinityGroup
Success
231.42
test_affinity_groups.py

test_01_test_vm_volume_snapshot
Skipped
0.00
test_vm_snapshots.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.01
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.02
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

Yes ,ide won't support  for vmware that is the reason test case failed with
unsupported storage error.
.
if you run the test on vmware ,you need to use iscsi  protocol.
regards
sadhu
On Fri, Mar 10, 2017 at 5:19 PM, Mowgli notifications@github.com wrote:

@borisstoyanov https://github.com/borisstoyanov ,
Please change your root disk controller to ISCSI. It could be specified in
global configuration. For IDE it is not supported.
@sadhugit https://github.com/sadhugit do you want to add something ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/cloudstack/pull/1813#issuecomment-285650038,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADVjMYveWAgYr8gfUQHL4Nk89Gkc6-1wks5rkTjFgaJpZM4LC277
.

@sadhugit

if you run the test on vmware ,you need to use iscsi  protocol.

*scsi (modified)

@borisstoyanov

If the global settings are not available and user goes and add a custom value in that field, he'll get a non-meaningful message.

What about primary storage pool level setting ?

What about global root disk controller setting ?
storage level setting overwrite the global level setting  and global level setting has no impact  that is reason  the initial logic was(earlier  code only  addressed globe config parameter  and later changed to storage level after review  comments)  and now it only check for storage level setting which  make sense.
in  case of vmware -  it only supports iscsi and full clone (nfs as primary won't support) .Also if the primary storage is iscsi  and full clone is set as  false ,script will automatically update the config parameter to True  and will continue the execution instead of failing/skipping but if the setup itself has has un supported storage then not worth   to proceed further so it will skip all the test cases.
if strpool.type == "VMFS":
list_config_storage_response = list_configurations(
cls.api_client
, name=
"vmware.create.full.clone",storageid=strpool.id)
res = validateList(list_config_storage_response)
if res[2]== INVALID_INPUT:
raise Exception("Failed to  list configurations ")
if list_config_storage_response[0].value == "false":
Configurations.update(cls.api_client,
"vmware.create.full.clone",
value="true",storageid=strpool.id)
cls.updateclone = True
StoragePool.update(cls.api_client,id=strpool.id,tags="iscsi")
cls.storageID = strpool.id
cls.unsupportedStorageType = False

@sadhugit NFS supports root disk resize with full clones. I don't see any restriction in the code and it actually works on Vmware no matter what kind of underlying storage technology is used for PS mapping to the hypervisor
@priyankparihar @borisstoyanov vmware.create.full.clone is a ConfigKey with a scope of StoragePool so global setting may be overwritten on a particular storage pool. This info won't be available until the volume is tried to get created and resized. Root disk controller can be now extracted for each template ( part of details response as per PR 1767)  and combined with global setting to make 'New Root disk size' box either grayed out or not.

@serg38 and @borisstoyanov Thanks for giving your precious time.
@sadhugit is looking for test cases related suggestions.

@serg38 - thanks for your comment- I have added nfs support

@cloudsadhu Thanks for the changes. LGTM on the code review. @borisstoyanov @rhtyd @DaanHoogland Can you kick off another round of test for vmware and Xen for this PR ?

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-602

@blueorangutan test centos7 xenserver-65sp1

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + xenserver-65sp1) has been kicked to run smoke tests

@borisstoyanov Can you also kick off vmware test in parallel?

@serg38 are you reading my mind somehow? :)
@blueorangutan test centos7 vmware-55u3

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been kicked to run smoke tests

Trillian test result (tid-964)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42693 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t964-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 47 look ok, 2 have error(s)

Test
Result
Time (s)
Test File

test_05_rvpc_multi_tiers
Failure
500.62
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Failure
1346.02
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
532.74
test_vpc_redundant.py

test_04_rvpc_privategw_static_routes
Failure
719.05
test_privategw_acl.py

test_01_vpc_site2site_vpn
Success
316.10
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
136.58
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
542.83
test_vpc_vpn.py

test_02_VPC_default_routes
Success
324.82
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
668.07
test_vpc_router_nics.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
873.93
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
1072.21
test_vpc_redundant.py

test_09_delete_detached_volume
Success
15.78
test_volumes.py

test_08_resize_volume
Success
100.92
test_volumes.py

test_07_resize_fail
Success
121.04
test_volumes.py

test_06_download_detached_volume
Success
25.33
test_volumes.py

test_05_detach_volume
Success
100.28
test_volumes.py

test_04_delete_attached_volume
Success
10.19
test_volumes.py

test_03_download_attached_volume
Success
15.30
test_volumes.py

test_02_attach_volume
Success
15.73
test_volumes.py

test_01_create_volume
Success
397.46
test_volumes.py

test_change_service_offering_for_vm_with_snapshots
Success
374.28
test_vm_snapshots.py

test_03_delete_vm_snapshots
Success
280.21
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
186.28
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
133.68
test_vm_snapshots.py

test_deploy_vm_multiple
Success
177.15
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.02
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.72
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.25
test_vm_life_cycle.py

test_08_migrate_vm
Success
61.06
test_vm_life_cycle.py

test_07_restore_vm
Success
0.10
test_vm_life_cycle.py

test_06_destroy_vm
Success
10.15
test_vm_life_cycle.py

test_03_reboot_vm
Success
20.22
test_vm_life_cycle.py

test_02_start_vm
Success
25.26
test_vm_life_cycle.py

test_01_stop_vm
Success
30.27
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
80.69
test_templates.py

test_08_list_system_templates
Success
0.03
test_templates.py

test_07_list_public_templates
Success
0.04
test_templates.py

test_05_template_permissions
Success
0.06
test_templates.py

test_04_extract_template
Success
5.16
test_templates.py

test_03_delete_template
Success
5.10
test_templates.py

test_02_edit_template
Success
90.08
test_templates.py

test_01_create_template
Success
55.51
test_templates.py

test_10_destroy_cpvm
Success
226.72
test_ssvm.py

test_09_destroy_ssvm
Success
208.94
test_ssvm.py

test_08_reboot_cpvm
Success
356.88
test_ssvm.py

test_07_reboot_ssvm
Success
178.89
test_ssvm.py

test_06_stop_cpvm
Success
166.71
test_ssvm.py

test_05_stop_ssvm
Success
168.94
test_ssvm.py

test_04_cpvm_internals
Success
1.14
test_ssvm.py

test_03_ssvm_internals
Success
3.36
test_ssvm.py

test_02_list_cpvm_vm
Success
0.12
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.13
test_ssvm.py

test_02_list_snapshots_with_removed_data_store
Success
105.15
test_snapshots.py

test_01_snapshot_root_disk
Success
26.38
test_snapshots.py

test_04_change_offering_small
Success
121.04
test_service_offerings.py

test_03_delete_service_offering
Success
0.24
test_service_offerings.py

test_02_edit_service_offering
Success
0.06
test_service_offerings.py

test_01_create_service_offering
Success
0.08
test_service_offerings.py

test_02_sys_template_ready
Success
0.13
test_secondary_storage.py

test_01_sys_vm_start
Success
0.19
test_secondary_storage.py

test_01_scale_vm
Success
5.23
test_scale_vm.py

test_09_reboot_router
Success
65.47
test_routers.py

test_08_start_router
Success
50.39
test_routers.py

test_07_stop_router
Success
15.19
test_routers.py

test_06_router_advanced
Success
0.06
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.41
test_routers.py

test_03_restart_network_cleanup
Success
120.84
test_routers.py

test_02_router_internal_adv
Success
0.79
test_routers.py

test_01_router_internal_basic
Success
0.42
test_routers.py

test_router_dns_guestipquery
Success
48.71
test_router_dns.py

test_router_dns_externalipquery
Success
0.05
test_router_dns.py

test_router_dhcphosts
Success
137.58
test_router_dhcphosts.py

test_router_dhcp_opts
Success
31.42
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.07
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
45.42
test_reset_vm_on_reboot.py

test_createRegion
Success
0.04
test_regions.py

test_create_pvlan_network
Success
5.21
test_pvlan.py

test_dedicatePublicIpRange
Success
0.45
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
796.86
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
607.38
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
142.46
test_privategw_acl.py

test_03_migration_options_storage_tags
Success
38.72
test_primary_storage.py

test_02_edit_primary_storage_tags
Success
0.11
test_primary_storage.py

test_01_primary_storage_nfs
Success
38.64
test_primary_storage.py

test_01_primary_storage_iscsi
Success
78.10
test_primary_storage.py

test_01_deploy_vms_storage_tags
Success
31.33
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.22
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.42
test_portable_publicip.py

test_isolate_network_password_server
Success
36.03
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.13
test_over_provisioning.py

test_oobm_zchange_password
Success
30.73
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.37
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
5.24
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.42
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.37
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.31
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.34
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.33
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
92.64
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.17
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.09
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.24
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.10
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.07
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.07
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
29.48
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.32
test_non_contigiousvlan.py

test_01_nic
Success
580.14
test_nic.py

test_releaseIP
Success
227.77
test_network.py

test_reboot_router
Success
564.48
test_network.py

test_public_ip_user_account
Success
10.28
test_network.py

test_public_ip_admin_account
Success
40.28
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
86.73
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
76.58
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
102.53
test_network.py

test_delete_account
Success
328.07
test_network.py

test_02_port_fwd_on_non_src_nat
Success
70.75
test_network.py

test_01_port_fwd_on_src_nat
Success
83.72
test_network.py

test_nic_secondaryip_add_remove
Success
197.58
test_multipleips_per_nic.py

login_test_saml_user
Success
19.19
test_login.py

test_assign_and_removal_lb
Success
148.71
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.57
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
208.24
test_loadbalance.py

test_03_list_snapshots
Success
0.06
test_list_ids_parameter.py

test_02_list_templates
Success
0.04
test_list_ids_parameter.py

test_01_list_volumes
Success
0.03
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.07
test_iso.py

test_05_iso_permissions
Success
0.09
test_iso.py

test_04_extract_Iso
Success
5.12
test_iso.py

test_03_delete_iso
Success
95.19
test_iso.py

test_02_edit_iso
Success
0.09
test_iso.py

test_01_create_iso
Success
20.98
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
476.72
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
283.49
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
929.04
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
676.56
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.38
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.15
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.38
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
6.01
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.86
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.89
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.01
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
6.22
test_dynamicroles.py

test_role_lifecycle_update
Success
5.95
test_dynamicroles.py

test_role_lifecycle_list
Success
5.92
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.97
test_dynamicroles.py

test_role_lifecycle_create
Success
5.94
test_dynamicroles.py

test_role_inuse_deletion
Success
5.87
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.03
test_dynamicroles.py

test_role_account_acls
Success
8.33
test_dynamicroles.py

test_default_role_deletion
Success
5.98
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.07
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.04
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.06
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.09
test_disk_offerings.py

test_01_create_disk_offering
Success
0.08
test_disk_offerings.py

test_deployvm_userdispersing
Success
50.77
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
96.08
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
116.02
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
76.20
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
126.30
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
0.07
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
0.07
test_deploy_vm_root_resize.py

test_00_deploy_vm_root_resize
Success
176.48
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
142.07
test_deploy_vm_iso.py

test_DeployVmAntiAffinityGroup
Success
307.85
test_affinity_groups.py

test_01_test_vm_volume_snapshot
Skipped
0.00
test_vm_snapshots.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.04
test_deploy_vgpu_enabled_vm.py

Trillian test result (tid-965)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43960 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t965-vmware-55u3.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Test completed. 46 look ok, 3 have error(s)

Test
Result
Time (s)
Test File

test_01_test_vm_volume_snapshot
Failure
316.73
test_vm_snapshots.py

test_04_rvpc_privategw_static_routes
Failure
846.71
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Failure
121.36
test_privategw_acl.py

test_02_deploy_vm_root_resize
Failure
65.56
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Failure
40.42
test_deploy_vm_root_resize.py

test_00_deploy_vm_root_resize
Failure
211.19
test_deploy_vm_root_resize.py

test_01_vpc_site2site_vpn
Success
350.38
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
151.17
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
556.72
test_vpc_vpn.py

test_02_VPC_default_routes
Success
366.84
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
679.38
test_vpc_router_nics.py

test_05_rvpc_multi_tiers
Success
645.41
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Success
1551.81
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
677.85
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
692.05
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Success
1352.22
test_vpc_redundant.py

test_09_delete_detached_volume
Success
20.68
test_volumes.py

test_06_download_detached_volume
Success
60.41
test_volumes.py

test_05_detach_volume
Success
105.22
test_volumes.py

test_04_delete_attached_volume
Success
15.16
test_volumes.py

test_03_download_attached_volume
Success
15.19
test_volumes.py

test_02_attach_volume
Success
53.88
test_volumes.py

test_01_create_volume
Success
450.07
test_volumes.py

test_change_service_offering_for_vm_with_snapshots
Success
448.48
test_vm_snapshots.py

test_03_delete_vm_snapshots
Success
275.18
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
228.99
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
158.60
test_vm_snapshots.py

test_deploy_vm_multiple
Success
282.04
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.02
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.70
test_vm_life_cycle.py

test_09_expunge_vm
Success
185.19
test_vm_life_cycle.py

test_08_migrate_vm
Success
60.90
test_vm_life_cycle.py

test_07_restore_vm
Success
0.07
test_vm_life_cycle.py

test_06_destroy_vm
Success
10.11
test_vm_life_cycle.py

test_03_reboot_vm
Success
5.11
test_vm_life_cycle.py

test_02_start_vm
Success
20.17
test_vm_life_cycle.py

test_01_stop_vm
Success
10.11
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
206.09
test_templates.py

test_08_list_system_templates
Success
0.03
test_templates.py

test_07_list_public_templates
Success
0.03
test_templates.py

test_05_template_permissions
Success
0.06
test_templates.py

test_04_extract_template
Success
15.18
test_templates.py

test_03_delete_template
Success
5.08
test_templates.py

test_02_edit_template
Success
90.14
test_templates.py

test_01_create_template
Success
110.63
test_templates.py

test_10_destroy_cpvm
Success
266.59
test_ssvm.py

test_09_destroy_ssvm
Success
238.22
test_ssvm.py

test_08_reboot_cpvm
Success
156.26
test_ssvm.py

test_07_reboot_ssvm
Success
158.20
test_ssvm.py

test_06_stop_cpvm
Success
171.43
test_ssvm.py

test_05_stop_ssvm
Success
208.71
test_ssvm.py

test_04_cpvm_internals
Success
0.96
test_ssvm.py

test_03_ssvm_internals
Success
3.13
test_ssvm.py

test_02_list_cpvm_vm
Success
0.09
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.09
test_ssvm.py

test_02_list_snapshots_with_removed_data_store
Success
172.00
test_snapshots.py

test_01_snapshot_root_disk
Success
66.19
test_snapshots.py

test_04_change_offering_small
Success
91.76
test_service_offerings.py

test_03_delete_service_offering
Success
0.03
test_service_offerings.py

test_02_edit_service_offering
Success
0.06
test_service_offerings.py

test_01_create_service_offering
Success
0.08
test_service_offerings.py

test_02_sys_template_ready
Success
0.09
test_secondary_storage.py

test_01_sys_vm_start
Success
0.13
test_secondary_storage.py

test_09_reboot_router
Success
145.88
test_routers.py

test_08_start_router
Success
135.68
test_routers.py

test_07_stop_router
Success
20.17
test_routers.py

test_06_router_advanced
Success
0.04
test_routers.py

test_05_router_basic
Success
0.03
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.73
test_routers.py

test_03_restart_network_cleanup
Success
181.83
test_routers.py

test_02_router_internal_adv
Success
0.87
test_routers.py

test_01_router_internal_basic
Success
0.46
test_routers.py

test_router_dns_guestipquery
Success
76.62
test_router_dns.py

test_router_dns_externalipquery
Success
0.05
test_router_dns.py

test_router_dhcphosts
Success
143.11
test_router_dhcphosts.py

test_router_dhcp_opts
Success
21.31
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.06
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
30.25
test_reset_vm_on_reboot.py

test_createRegion
Success
0.03
test_regions.py

test_create_pvlan_network
Success
5.14
test_pvlan.py

test_dedicatePublicIpRange
Success
0.33
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
1011.42
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
192.14
test_privategw_acl.py

test_03_migration_options_storage_tags
Success
38.17
test_primary_storage.py

test_02_edit_primary_storage_tags
Success
0.07
test_primary_storage.py

test_01_primary_storage_nfs
Success
36.07
test_primary_storage.py

test_01_deploy_vms_storage_tags
Success
46.17
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.14
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.33
test_portable_publicip.py

test_isolate_network_password_server
Success
59.49
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.09
test_over_provisioning.py

test_oobm_zchange_password
Success
25.51
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.26
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.19
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.25
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.24
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.25
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
10.22
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.24
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
82.10
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.11
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.07
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.14
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.07
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.06
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.06
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.32
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.22
test_non_contigiousvlan.py

test_01_nic
Success
468.76
test_nic.py

test_releaseIP
Success
292.40
test_network.py

test_reboot_router
Success
578.68
test_network.py

test_public_ip_user_account
Success
10.19
test_network.py

test_public_ip_admin_account
Success
40.19
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
76.51
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
61.46
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
124.47
test_network.py

test_delete_account
Success
272.09
test_network.py

test_02_port_fwd_on_non_src_nat
Success
55.51
test_network.py

test_01_port_fwd_on_src_nat
Success
111.59
test_network.py

test_nested_virtualization_vmware
Success
272.35
test_nested_virtualization.py

test_nic_secondaryip_add_remove
Success
272.38
test_multipleips_per_nic.py

login_test_saml_user
Success
17.83
test_login.py

test_assign_and_removal_lb
Success
148.24
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.12
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
207.63
test_loadbalance.py

test_03_list_snapshots
Success
0.06
test_list_ids_parameter.py

test_02_list_templates
Success
0.03
test_list_ids_parameter.py

test_01_list_volumes
Success
0.02
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.04
test_iso.py

test_05_iso_permissions
Success
0.04
test_iso.py

test_04_extract_Iso
Success
5.14
test_iso.py

test_03_delete_iso
Success
95.13
test_iso.py

test_02_edit_iso
Success
0.05
test_iso.py

test_01_create_iso
Success
20.68
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
510.11
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
408.23
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
940.60
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
820.15
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.21
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.09
test_global_settings.py

test_rolepermission_lifecycle_update
Success
5.78
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
5.70
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.58
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.60
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
5.75
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.60
test_dynamicroles.py

test_role_lifecycle_update
Success
10.67
test_dynamicroles.py

test_role_lifecycle_list
Success
5.62
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.64
test_dynamicroles.py

test_role_lifecycle_create
Success
5.60
test_dynamicroles.py

test_role_inuse_deletion
Success
5.60
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
6.97
test_dynamicroles.py

test_role_account_acls
Success
7.14
test_dynamicroles.py

test_default_role_deletion
Success
5.66
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.05
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.03
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.03
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.05
test_disk_offerings.py

test_01_create_disk_offering
Success
0.08
test_disk_offerings.py

test_deployvm_userdispersing
Success
50.55
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
91.34
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
281.54
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
65.54
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
115.83
test_deploy_vm_with_userdata.py

test_deploy_vm_from_iso
Success
206.74
test_deploy_vm_iso.py

test_3d_gpu_support
Success
444.13
test_deploy_vgpu_enabled_vm.py

test_DeployVmAntiAffinityGroup
Success
196.34
test_affinity_groups.py

test_08_resize_volume
Skipped
5.08
test_volumes.py

test_07_resize_fail
Skipped
10.18
test_volumes.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_01_scale_vm
Skipped
66.32
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.03
test_primary_storage.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.73
test_deploy_vgpu_enabled_vm.py

Hi @borisstoyanov,

Here are some recommendations that would make user experience better. What I'm suggesting is to implement 2 standalone checks.
Check if vmware.create.full.clone is true.
Check if vmware.root.disk.controller is true.

These checks should be performed
When adding instance
This could be done, soon UI will be updated.

when resizing a running instance
I think for this we should rely on Hypervisor. Because currently, we do not have API  for extracting certain details (like root disk controller of running VM's Disk).

What is your opinion ?

I'm happy that you agree with my comments, as far as resizing root disk for runnign VM, I think checking both full.clone and root.disk.controller global settings puts us in a good position to make the option available or not. By any chance if the user has made a change and changed the RootDiskController, he would be notified with exception and that would ring a bell to him. I think Cloudstack brings an abstraction when using hypervisors and it's generally good for the product when users use more CloudStack features instead of relying on the Hypervisor to get work done.

@serg38, @pdube  and @sateesh-chodapuneedi. Should i write additional API for extracting all these details in case of running VM or is there any alternative to achieve this functionality ?  What is your opinion ?

@priyankparihar Fortunately those API are already written. As per PR1767 you can get VM details including rootdiskcontroller using listVirtualMachines API and listTemplates.
So if we are talking about resizing a root disk on existing VM we can obtain all the details upfront for

vmware.root.disk.controller global setting
vmware.root.disk.controller if it is set on VM level
3.vmware.create.full.clone global setting
vmware.create.full.clone if ti s set on the storage pool where root disk resides
After that UI can make a determination if resizing should be allowed or not
For the case of new VM deployment with variable root disk size all options above can be obtaine except #4 since storage pool will be determine only during volume allocation. I think for that case we just use items #1-3 to determine if we allow variable root disk size in UI or not (for #3 we obtain rootdiskcontroller setting if it is set on Template level)

added logic to handle global level full clone setting.
full clone parameter are handled  differently (as per code its referring in 3 places due to that even if we set the full clone parameter at storage level still deployment is failing because  during vm deployment its looking for global level config value event through  we set storage level value to true.
added logic to update global level ,restart management server and during cleaning resetting back to original values
SadhuMAC:test_deploy_vm_root_resize_F94M72 sadhuccp$ cat results.txt
Test deploy virtual machine with root resize ... === TestName: test_00_deploy_vm_root_resize | Status : SUCCESS ===
ok
Test proper failure to deploy virtual machine with rootdisksize of 0 ... === TestName: test_01_deploy_vm_root_resize | Status : SUCCESS ===
ok
Test proper failure to deploy virtual machine with rootdisksize less than template size ... === TestName: test_02_deploy_vm_root_resize | Status : SUCCESS ===
ok

Ran 3 tests in 763.269s
added the

@borisstoyanov Let's re-run vmware B.O test for this PR now

@serg38 Got it, any idea when we'll get UI for this feature, I'd love to see it.
@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-620

@blueorangutan test centos7 vmware-55u3

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been kicked to run smoke tests

Hi @borisstoyanov Bhai,
Most of the developer has dependency on this code. They need it urgently. They are blocked because of this.  But definitely i will submit UI changes in a separate PR and it will not impact main code. This code already has more than  2 LGTM.  I think we should merge this code as soon as possible. I am in middle of other work so can not spend much time on UI stuff. Please consider it.

@blueorangutan test centos7 vmware-55u3

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been kicked to run smoke tests

@priyankparihar, I've just restarted the smoke tests on this, since the last run did not executed. IMHO, I think as a complete feature this should have the UI changes as well, as a user I would expect to be able to do the changes from the Cloudstack console, not just the API

@karuturi please do not merge this untill integration test runs have completely passed for all hypervisor types. a lot depends on this working, not just new code.
untill then: -1

I'll start test runs for xen and KVM as well
@blueorangutan test

Hi @DaanHoogland Sir,

please do not merge this untill integration test runs have completely passed for all hypervisor types.

Yes, I am also on the same page.
I asked to merge it soon. Because some people have dependency on this code they want to make something good on top of this code. I was excited because i want to see these good features. My intention if  'Merge it soon' is just pay more attention on this PR. I am not saying to merge a code which does not pass all relevant test cases. Please do not take it in other way. Please do all kind of testing.

Thanks @priyankparihar , looking forward to the dependend PRs ;)
btw I don't agree with @borisstoyanov that every good feature PR should have a UI component, but it should have either a good one or none. (<-- IMNSHO)

Hi @borisstoyanov Bhai,

as a user I would expect to be able to do the changes from the Cloudstack console, not just the API

Yes, currently user can use this feature from Cloudstack console also.

please do not merge this untill integration test runs have completely passed for all hypervisor types.

I think @karuturi  is one of the most reliable person of cloudstack. She would not merge without test case pass. Even if code is submitted by CS VIP like @chiradeep or @Alex. :)

Hi @priyankparihar Bhai,
Sorry, I was referring to the user experience change I've suggested in the UI. I still think it's really good to have them.

Hi @borisstoyanov Bhai,

user experience change I've suggested in the UI

For that answered is already provided. Please consider it.

ACS CI BVT Run
Sumarry:
Build Number 585
Hypervisor xenserver
NetworkType Advanced
Passed=112
Failed=7
Skipped=6
Link to logs Folder (search by build_no): https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
Failed tests:

test_deploy_virtio_scsi_vm.py

test_01_verify_libvirt Failing since 5 runs

test_02_verify_libvirt_after_restart Failing since 5 runs

test_03_verify_libvirt_attach_disk Failing since 5 runs

test_04_verify_guest_lspci Failing since 5 runs

test_05_change_vm_ostype_restart Failing since 5 runs

test_06_verify_guest_lspci_again Failing since 5 runs

ContextSuite context=TestDeployVirtioSCSIVM>:teardown Failing since 5 runs

Skipped tests:
test_vm_nic_adapter_vmxnet3
test_static_role_account_acls
test_11_ss_nfs_version_on_ssvm
test_nested_virtualization_vmware
test_3d_gpu_support
test_deploy_vgpu_enabled_vm
Passed test suits:
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_vm_snapshots.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_loadbalance.py
test_routers.py
test_reset_vm_on_reboot.py
test_deploy_vms_with_varied_deploymentplanners.py
test_network.py
test_router_dns.py
test_non_contigiousvlan.py
test_login.py
test_deploy_vm_iso.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_metrics_api.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_volumes.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_vm_life_cycle.py
test_routers_network_ops.py
test_disk_offerings.py

Trillian test result (tid-1037)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 32543 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t1037-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 48 look ok, 1 have error(s)

Test
Result
Time (s)
Test File

test_04_rvpc_privategw_static_routes
Failure
391.12
test_privategw_acl.py

test_01_vpc_site2site_vpn
Success
165.50
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
71.17
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
271.72
test_vpc_vpn.py

test_02_VPC_default_routes
Success
275.91
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
603.81
test_vpc_router_nics.py

test_05_rvpc_multi_tiers
Success
576.52
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Success
1362.43
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
589.78
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
765.63
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Success
1373.01
test_vpc_redundant.py

test_09_delete_detached_volume
Success
156.66
test_volumes.py

test_08_resize_volume
Success
156.50
test_volumes.py

test_07_resize_fail
Success
161.59
test_volumes.py

test_06_download_detached_volume
Success
156.34
test_volumes.py

test_05_detach_volume
Success
150.78
test_volumes.py

test_04_delete_attached_volume
Success
151.22
test_volumes.py

test_03_download_attached_volume
Success
156.38
test_volumes.py

test_02_attach_volume
Success
90.02
test_volumes.py

test_01_create_volume
Success
711.77
test_volumes.py

test_03_delete_vm_snapshots
Success
275.21
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
100.71
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
163.81
test_vm_snapshots.py

test_deploy_vm_multiple
Success
297.95
test_vm_life_cycle.py

test_deploy_vm
Success
0.04
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.03
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.75
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.28
test_vm_life_cycle.py

test_08_migrate_vm
Success
31.03
test_vm_life_cycle.py

test_07_restore_vm
Success
0.16
test_vm_life_cycle.py

test_06_destroy_vm
Success
125.87
test_vm_life_cycle.py

test_03_reboot_vm
Success
126.02
test_vm_life_cycle.py

test_02_start_vm
Success
10.21
test_vm_life_cycle.py

test_01_stop_vm
Success
40.34
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
146.20
test_templates.py

test_08_list_system_templates
Success
0.03
test_templates.py

test_07_list_public_templates
Success
0.04
test_templates.py

test_05_template_permissions
Success
0.06
test_templates.py

test_04_extract_template
Success
5.22
test_templates.py

test_03_delete_template
Success
5.16
test_templates.py

test_02_edit_template
Success
90.19
test_templates.py

test_01_create_template
Success
50.50
test_templates.py

test_10_destroy_cpvm
Success
161.75
test_ssvm.py

test_09_destroy_ssvm
Success
202.71
test_ssvm.py

test_08_reboot_cpvm
Success
131.62
test_ssvm.py

test_07_reboot_ssvm
Success
133.74
test_ssvm.py

test_06_stop_cpvm
Success
131.84
test_ssvm.py

test_05_stop_ssvm
Success
163.94
test_ssvm.py

test_04_cpvm_internals
Success
1.25
test_ssvm.py

test_03_ssvm_internals
Success
3.40
test_ssvm.py

test_02_list_cpvm_vm
Success
0.13
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.14
test_ssvm.py

test_02_list_snapshots_with_removed_data_store
Success
87.22
test_snapshots.py

test_01_snapshot_root_disk
Success
16.37
test_snapshots.py

test_04_change_offering_small
Success
239.90
test_service_offerings.py

test_03_delete_service_offering
Success
0.05
test_service_offerings.py

test_02_edit_service_offering
Success
0.07
test_service_offerings.py

test_01_create_service_offering
Success
0.12
test_service_offerings.py

test_02_sys_template_ready
Success
0.16
test_secondary_storage.py

test_01_sys_vm_start
Success
0.18
test_secondary_storage.py

test_09_reboot_router
Success
45.38
test_routers.py

test_08_start_router
Success
35.34
test_routers.py

test_07_stop_router
Success
10.16
test_routers.py

test_06_router_advanced
Success
0.06
test_routers.py

test_05_router_basic
Success
0.05
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.96
test_routers.py

test_03_restart_network_cleanup
Success
65.61
test_routers.py

test_02_router_internal_adv
Success
1.21
test_routers.py

test_01_router_internal_basic
Success
0.69
test_routers.py

test_router_dns_guestipquery
Success
76.87
test_router_dns.py

test_router_dns_externalipquery
Success
0.07
test_router_dns.py

test_router_dhcphosts
Success
272.36
test_router_dhcphosts.py

test_router_dhcp_opts
Success
21.93
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.12
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
131.07
test_reset_vm_on_reboot.py

test_createRegion
Success
0.05
test_regions.py

test_create_pvlan_network
Success
5.23
test_pvlan.py

test_dedicatePublicIpRange
Success
0.52
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
500.55
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
481.68
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
107.50
test_privategw_acl.py

test_03_migration_options_storage_tags
Success
61.15
test_primary_storage.py

test_02_edit_primary_storage_tags
Success
0.11
test_primary_storage.py

test_01_primary_storage_nfs
Success
35.86
test_primary_storage.py

test_01_deploy_vms_storage_tags
Success
31.21
test_primary_storage.py

test_createPortablePublicIPRange
Success
10.19
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.45
test_portable_publicip.py

test_isolate_network_password_server
Success
91.69
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.13
test_over_provisioning.py

test_oobm_zchange_password
Success
30.78
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.38
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.28
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
10.42
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.41
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
15.37
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
15.37
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
10.45
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
87.82
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.19
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.11
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.21
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.13
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.09
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.09
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
29.56
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.38
test_non_contigiousvlan.py

test_01_nic
Success
424.82
test_nic.py

test_releaseIP
Success
243.36
test_network.py

test_reboot_router
Success
383.78
test_network.py

test_public_ip_user_account
Success
10.27
test_network.py

test_public_ip_admin_account
Success
40.29
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
67.06
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
61.85
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
121.80
test_network.py

test_delete_account
Success
293.00
test_network.py

test_02_port_fwd_on_non_src_nat
Success
55.84
test_network.py

test_01_port_fwd_on_src_nat
Success
111.80
test_network.py

test_nic_secondaryip_add_remove
Success
212.71
test_multipleips_per_nic.py

login_test_saml_user
Success
19.39
test_login.py

test_assign_and_removal_lb
Success
133.75
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
187.36
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
218.18
test_loadbalance.py

test_03_list_snapshots
Success
0.09
test_list_ids_parameter.py

test_02_list_templates
Success
0.04
test_list_ids_parameter.py

test_01_list_volumes
Success
0.05
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.07
test_iso.py

test_05_iso_permissions
Success
0.07
test_iso.py

test_04_extract_Iso
Success
5.21
test_iso.py

test_03_delete_iso
Success
95.15
test_iso.py

test_02_edit_iso
Success
0.10
test_iso.py

test_01_create_iso
Success
21.04
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
213.21
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
148.65
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
510.96
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
431.44
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.32
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.15
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.21
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
6.03
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.88
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.92
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.07
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.93
test_dynamicroles.py

test_role_lifecycle_update
Success
11.01
test_dynamicroles.py

test_role_lifecycle_list
Success
5.93
test_dynamicroles.py

test_role_lifecycle_delete
Success
11.03
test_dynamicroles.py

test_role_lifecycle_create
Success
5.96
test_dynamicroles.py

test_role_inuse_deletion
Success
5.89
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.36
test_dynamicroles.py

test_role_account_acls
Success
8.36
test_dynamicroles.py

test_default_role_deletion
Success
6.04
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.11
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.04
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.07
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.11
test_disk_offerings.py

test_01_create_disk_offering
Success
0.12
test_disk_offerings.py

test_deployvm_userdispersing
Success
40.80
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
20.60
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
60.75
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
10.51
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
61.02
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
0.07
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
0.07
test_deploy_vm_root_resize.py

test_00_deploy_vm_root_resize
Success
206.68
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
207.54
test_deploy_vm_iso.py

test_DeployVmAntiAffinityGroup
Success
71.09
test_affinity_groups.py

test_change_service_offering_for_vm_with_snapshots
Skipped
0.00
test_vm_snapshots.py

test_01_test_vm_volume_snapshot
Skipped
0.00
test_vm_snapshots.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.04
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_01_scale_vm
Skipped
0.00
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.04
test_primary_storage.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.04
test_deploy_vgpu_enabled_vm.py

Trillian test result (tid-1036)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 51805 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t1036-vmware-55u3.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_iptables_default_policy.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 45 look ok, 5 have error(s)

Test
Result
Time (s)
Test File

test_01_create_volume
Failure
194.50
test_volumes.py

test_01_test_vm_volume_snapshot
Failure
377.22
test_vm_snapshots.py

test_04_rvpc_privategw_static_routes
Failure
947.30
test_privategw_acl.py

ContextSuite context=TestDeployVmRootSize>:setup
Error
0.00
test_deploy_vm_root_resize.py

test_01_vpc_site2site_vpn
Success
370.19
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
196.37
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
636.44
test_vpc_vpn.py

test_02_VPC_default_routes
Success
334.01
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
694.39
test_vpc_router_nics.py

test_05_rvpc_multi_tiers
Success
734.69
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Success
1516.79
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
862.61
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
662.53
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Success
1463.69
test_vpc_redundant.py

test_09_delete_detached_volume
Success
30.95
test_volumes.py

test_06_download_detached_volume
Success
85.54
test_volumes.py

test_05_detach_volume
Success
100.19
test_volumes.py

test_04_delete_attached_volume
Success
15.17
test_volumes.py

test_03_download_attached_volume
Success
25.25
test_volumes.py

test_02_attach_volume
Success
64.79
test_volumes.py

test_change_service_offering_for_vm_with_snapshots
Success
519.29
test_vm_snapshots.py

test_03_delete_vm_snapshots
Success
280.18
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
233.04
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
161.71
test_vm_snapshots.py

test_deploy_vm_multiple
Success
191.75
test_vm_life_cycle.py

test_deploy_vm
Success
0.02
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.02
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.73
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.22
test_vm_life_cycle.py

test_08_migrate_vm
Success
60.81
test_vm_life_cycle.py

test_07_restore_vm
Success
0.07
test_vm_life_cycle.py

test_06_destroy_vm
Success
5.10
test_vm_life_cycle.py

test_03_reboot_vm
Success
5.13
test_vm_life_cycle.py

test_02_start_vm
Success
20.19
test_vm_life_cycle.py

test_01_stop_vm
Success
10.13
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
291.86
test_templates.py

test_08_list_system_templates
Success
0.03
test_templates.py

test_07_list_public_templates
Success
0.03
test_templates.py

test_05_template_permissions
Success
0.05
test_templates.py

test_04_extract_template
Success
15.76
test_templates.py

test_03_delete_template
Success
5.07
test_templates.py

test_02_edit_template
Success
90.13
test_templates.py

test_01_create_template
Success
110.66
test_templates.py

test_10_destroy_cpvm
Success
266.61
test_ssvm.py

test_09_destroy_ssvm
Success
238.33
test_ssvm.py

test_08_reboot_cpvm
Success
156.33
test_ssvm.py

test_07_reboot_ssvm
Success
157.98
test_ssvm.py

test_06_stop_cpvm
Success
181.46
test_ssvm.py

test_05_stop_ssvm
Success
173.20
test_ssvm.py

test_04_cpvm_internals
Success
0.96
test_ssvm.py

test_03_ssvm_internals
Success
3.15
test_ssvm.py

test_02_list_cpvm_vm
Success
0.11
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.10
test_ssvm.py

test_02_list_snapshots_with_removed_data_store
Success
207.17
test_snapshots.py

test_01_snapshot_root_disk
Success
26.03
test_snapshots.py

test_04_change_offering_small
Success
96.81
test_service_offerings.py

test_03_delete_service_offering
Success
0.03
test_service_offerings.py

test_02_edit_service_offering
Success
0.07
test_service_offerings.py

test_01_create_service_offering
Success
0.09
test_service_offerings.py

test_02_sys_template_ready
Success
0.12
test_secondary_storage.py

test_01_sys_vm_start
Success
0.15
test_secondary_storage.py

test_09_reboot_router
Success
120.65
test_routers.py

test_08_start_router
Success
105.59
test_routers.py

test_07_stop_router
Success
25.20
test_routers.py

test_06_router_advanced
Success
0.07
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.61
test_routers.py

test_03_restart_network_cleanup
Success
130.93
test_routers.py

test_02_router_internal_adv
Success
0.93
test_routers.py

test_01_router_internal_basic
Success
0.51
test_routers.py

test_router_dns_guestipquery
Success
76.71
test_router_dns.py

test_router_dns_externalipquery
Success
0.07
test_router_dns.py

test_router_dhcphosts
Success
138.59
test_router_dhcphosts.py

test_router_dhcp_opts
Success
21.41
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.07
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
30.35
test_reset_vm_on_reboot.py

test_createRegion
Success
0.04
test_regions.py

test_create_pvlan_network
Success
5.17
test_pvlan.py

test_dedicatePublicIpRange
Success
0.29
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
1071.15
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
680.44
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
177.08
test_privategw_acl.py

test_03_migration_options_storage_tags
Success
37.19
test_primary_storage.py

test_02_edit_primary_storage_tags
Success
0.07
test_primary_storage.py

test_01_primary_storage_nfs
Success
37.53
test_primary_storage.py

test_01_deploy_vms_storage_tags
Success
41.21
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.16
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.38
test_portable_publicip.py

test_isolate_network_password_server
Success
92.24
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.10
test_over_provisioning.py

test_oobm_zchange_password
Success
30.57
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
16.32
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.22
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
10.28
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.32
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
10.33
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
10.26
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.29
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
82.39
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
5.14
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.09
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
0.15
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.08
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.09
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.08
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.38
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
10.36
test_non_contigiousvlan.py

test_01_nic
Success
469.13
test_nic.py

test_releaseIP
Success
272.50
test_network.py

test_reboot_router
Success
654.25
test_network.py

test_public_ip_user_account
Success
10.24
test_network.py

test_public_ip_admin_account
Success
40.26
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
76.59
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
61.49
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
125.12
test_network.py

test_delete_account
Success
423.48
test_network.py

test_02_port_fwd_on_non_src_nat
Success
55.57
test_network.py

test_01_port_fwd_on_src_nat
Success
111.63
test_network.py

test_nested_virtualization_vmware
Success
353.07
test_nested_virtualization.py

test_nic_secondaryip_add_remove
Success
277.62
test_multipleips_per_nic.py

login_test_saml_user
Success
18.03
test_login.py

test_assign_and_removal_lb
Success
143.80
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
197.35
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
202.00
test_loadbalance.py

test_03_list_snapshots
Success
0.06
test_list_ids_parameter.py

test_02_list_templates
Success
0.03
test_list_ids_parameter.py

test_01_list_volumes
Success
0.02
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.04
test_iso.py

test_05_iso_permissions
Success
0.07
test_iso.py

test_04_extract_Iso
Success
5.18
test_iso.py

test_03_delete_iso
Success
95.15
test_iso.py

test_02_edit_iso
Success
0.07
test_iso.py

test_01_create_iso
Success
20.69
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
600.29
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
338.15
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
1006.82
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
831.91
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.20
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.12
test_global_settings.py

test_rolepermission_lifecycle_update
Success
5.78
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
5.69
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.59
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.63
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
5.70
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.61
test_dynamicroles.py

test_role_lifecycle_update
Success
10.67
test_dynamicroles.py

test_role_lifecycle_list
Success
5.61
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.62
test_dynamicroles.py

test_role_lifecycle_create
Success
5.62
test_dynamicroles.py

test_role_inuse_deletion
Success
5.59
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
7.12
test_dynamicroles.py

test_role_account_acls
Success
7.20
test_dynamicroles.py

test_default_role_deletion
Success
5.70
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.05
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.04
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.04
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.05
test_disk_offerings.py

test_01_create_disk_offering
Success
0.08
test_disk_offerings.py

test_deployvm_userdispersing
Success
115.94
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
65.66
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
166.00
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
25.36
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
140.94
test_deploy_vm_with_userdata.py

test_deploy_vm_from_iso
Success
217.03
test_deploy_vm_iso.py

test_3d_gpu_support
Success
408.56
test_deploy_vgpu_enabled_vm.py

test_DeployVmAntiAffinityGroup
Success
306.99
test_affinity_groups.py

test_08_resize_volume
Skipped
5.08
test_volumes.py

test_07_resize_fail
Skipped
10.20
test_volumes.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_01_scale_vm
Skipped
33.70
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.03
test_primary_storage.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.73
test_deploy_vgpu_enabled_vm.py

ACS CI BVT Run
Sumarry:
Build Number 585
Hypervisor xenserver
NetworkType Advanced
Passed=112
Failed=7
Skipped=6

Hi @koushik-das ,
All the tests inside 'test_deploy_virtio_scsi_vm.py'  are failing. But it seems they related to KVM.
Only in case of VMware Root disk controller setting is checked (and checks are not reachable if hypervisor is not VMware). Same could be  verified from the code. And this test is KVM related.
PS: @sadhugit ji: Do you want to add something ?

@priyankparihar these virtio errors are addressed in #2066

Hi @borisstoyanov,
I think whatever tests are failing they are failing because of some environment problem. I have tested few logs. I found error like -->

Trying SSH Connection: Host:10.1.34.224 User:root Port:22 RetryCnt:20=== SshClient: Exception under createConnection

failure type="exceptions.AssertionError" message="Check if promised disk size actually available

What is your opinion ?

@priyankparihar,
Here are the exceptions related to the tests and I think they are related to the latest changes in this PR:
test_deploy_vm_root_resize.py:
CRITICAL: EXCEPTION: None: [\'Traceback (most recent call last):\\n\', \'  File "/usr/lib/python2.7/site-packages/nose/suite.py", line 209, in run\\n    self.setUp()\\n\', \'  File "/usr/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp\\n    self.setupContext(ancestor)\\n\', \'  File "/usr/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext\\n    try_run(context, names)\\n\', \'  File "/usr/lib/python2.7/site-packages/nose/util.py", line 471, in try_run\\n    return func()\\n\', \'  File "/marvin/tests/smoke/test_deploy_vm_root_resize.py", line 110, in setUpClass\\n    domainid=cls.domain.id\\n\', \'  File "/usr/lib/python2.7/site-packages/marvin/lib/base.py", line 1238, in register\\n    "Unable to find Ostype is required for registering template")\\n\', \'Exception: Unable to find Ostype is required for registering template\\n\']
test_vm_snapshots.py:
2017-04-26 16:39:34,301 - CRITICAL - FAILED: test_01_test_vm_volume_snapshot: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_vm_snapshots.py", line 408, in test_01_test_vm_volume_snapshot\n    volume_id=volume.id)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 154, in __exit__\n    "{0} not raised".format(exc_name))\n', 'AssertionError: Exception not raised\n']
test_volumes.py:
2017-04-26 17:18:13,947 - CRITICAL - FAILED: test_01_create_volume: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_volumes.py", line 251, in test_01_create_volume\n    self.assertEqual(ret[0],SUCCESS,"Check if promised disk size actually available")\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual\n    assertion_func(first, second, msg=msg)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual\n    raise self.failureException(msg)\n', 'AssertionError: Check if promised disk size actually available\n']
Checkout the vmware test run

@blueorangutan test centos7 xenserver-65sp1

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + xenserver-65sp1) has been kicked to run smoke tests

Trillian test result (tid-1046)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44603 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1813-t1046-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_network.py
Intermitten failure detected: /marvin/tests/smoke/test_password_server.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 47 look ok, 2 have error(s)

Test
Result
Time (s)
Test File

test_05_rvpc_multi_tiers
Failure
458.78
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Failure
1321.24
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
501.79
test_vpc_redundant.py

test_04_rvpc_privategw_static_routes
Failure
723.40
test_privategw_acl.py

test_01_vpc_site2site_vpn
Success
286.09
test_vpc_vpn.py

test_01_vpc_remote_access_vpn
Success
131.47
test_vpc_vpn.py

test_01_redundant_vpc_site2site_vpn
Success
507.22
test_vpc_vpn.py

test_02_VPC_default_routes
Success
344.57
test_vpc_router_nics.py

test_01_VPC_nics_after_destroy
Success
610.84
test_vpc_router_nics.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Success
864.22
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Success
965.51
test_vpc_redundant.py

test_09_delete_detached_volume
Success
15.68
test_volumes.py

test_08_resize_volume
Success
100.94
test_volumes.py

test_07_resize_fail
Success
106.02
test_volumes.py

test_06_download_detached_volume
Success
20.32
test_volumes.py

test_05_detach_volume
Success
100.24
test_volumes.py

test_04_delete_attached_volume
Success
10.23
test_volumes.py

test_03_download_attached_volume
Success
15.28
test_volumes.py

test_02_attach_volume
Success
10.64
test_volumes.py

test_01_create_volume
Success
392.39
test_volumes.py

test_change_service_offering_for_vm_with_snapshots
Success
381.98
test_vm_snapshots.py

test_03_delete_vm_snapshots
Success
280.27
test_vm_snapshots.py

test_02_revert_vm_snapshots
Success
191.29
test_vm_snapshots.py

test_01_create_vm_snapshots
Success
100.68
test_vm_snapshots.py

test_deploy_vm_multiple
Success
262.75
test_vm_life_cycle.py

test_deploy_vm
Success
0.03
test_vm_life_cycle.py

test_advZoneVirtualRouter
Success
0.02
test_vm_life_cycle.py

test_10_attachAndDetach_iso
Success
26.65
test_vm_life_cycle.py

test_09_expunge_vm
Success
125.21
test_vm_life_cycle.py

test_08_migrate_vm
Success
61.11
test_vm_life_cycle.py

test_07_restore_vm
Success
0.11
test_vm_life_cycle.py

test_06_destroy_vm
Success
5.15
test_vm_life_cycle.py

test_03_reboot_vm
Success
10.17
test_vm_life_cycle.py

test_02_start_vm
Success
20.23
test_vm_life_cycle.py

test_01_stop_vm
Success
30.30
test_vm_life_cycle.py

test_CreateTemplateWithDuplicateName
Success
131.13
test_templates.py

test_08_list_system_templates
Success
0.06
test_templates.py

test_07_list_public_templates
Success
0.04
test_templates.py

test_05_template_permissions
Success
0.07
test_templates.py

test_04_extract_template
Success
5.13
test_templates.py

test_03_delete_template
Success
5.11
test_templates.py

test_02_edit_template
Success
90.08
test_templates.py

test_01_create_template
Success
70.59
test_templates.py

test_10_destroy_cpvm
Success
196.50
test_ssvm.py

test_09_destroy_ssvm
Success
198.44
test_ssvm.py

test_08_reboot_cpvm
Success
141.50
test_ssvm.py

test_07_reboot_ssvm
Success
143.24
test_ssvm.py

test_06_stop_cpvm
Success
136.66
test_ssvm.py

test_05_stop_ssvm
Success
168.46
test_ssvm.py

test_04_cpvm_internals
Success
1.08
test_ssvm.py

test_03_ssvm_internals
Success
2.96
test_ssvm.py

test_02_list_cpvm_vm
Success
0.12
test_ssvm.py

test_01_list_sec_storage_vm
Success
0.14
test_ssvm.py

test_02_list_snapshots_with_removed_data_store
Success
104.83
test_snapshots.py

test_01_snapshot_root_disk
Success
21.34
test_snapshots.py

test_04_change_offering_small
Success
124.08
test_service_offerings.py

test_03_delete_service_offering
Success
0.04
test_service_offerings.py

test_02_edit_service_offering
Success
0.05
test_service_offerings.py

test_01_create_service_offering
Success
0.10
test_service_offerings.py

test_02_sys_template_ready
Success
0.13
test_secondary_storage.py

test_01_sys_vm_start
Success
0.18
test_secondary_storage.py

test_01_scale_vm
Success
5.30
test_scale_vm.py

test_09_reboot_router
Success
65.53
test_routers.py

test_08_start_router
Success
55.47
test_routers.py

test_07_stop_router
Success
15.19
test_routers.py

test_06_router_advanced
Success
0.06
test_routers.py

test_05_router_basic
Success
0.04
test_routers.py

test_04_restart_network_wo_cleanup
Success
5.52
test_routers.py

test_03_restart_network_cleanup
Success
115.85
test_routers.py

test_02_router_internal_adv
Success
0.71
test_routers.py

test_01_router_internal_basic
Success
0.39
test_routers.py

test_router_dns_guestipquery
Success
48.82
test_router_dns.py

test_router_dns_externalipquery
Success
0.09
test_router_dns.py

test_router_dhcphosts
Success
107.40
test_router_dhcphosts.py

test_router_dhcp_opts
Success
26.31
test_router_dhcphosts.py

test_01_updatevolumedetail
Success
0.09
test_resource_detail.py

test_01_reset_vm_on_reboot
Success
25.29
test_reset_vm_on_reboot.py

test_createRegion
Success
0.05
test_regions.py

test_create_pvlan_network
Success
5.26
test_pvlan.py

test_dedicatePublicIpRange
Success
0.45
test_public_ip_range.py

test_03_vpc_privategw_restart_vpc_cleanup
Success
867.80
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Success
622.29
test_privategw_acl.py

test_01_vpc_privategw_acl
Success
147.53
test_privategw_acl.py

test_03_migration_options_storage_tags
Success
38.64
test_primary_storage.py

test_02_edit_primary_storage_tags
Success
0.11
test_primary_storage.py

test_01_primary_storage_nfs
Success
38.48
test_primary_storage.py

test_01_primary_storage_iscsi
Success
76.66
test_primary_storage.py

test_01_deploy_vms_storage_tags
Success
31.21
test_primary_storage.py

test_createPortablePublicIPRange
Success
15.19
test_portable_publicip.py

test_createPortablePublicIPAcquire
Success
15.43
test_portable_publicip.py

test_isolate_network_password_server
Success
36.20
test_password_server.py

test_UpdateStorageOverProvisioningFactor
Success
0.14
test_over_provisioning.py

test_oobm_zchange_password
Success
30.89
test_outofbandmanagement.py

test_oobm_multiple_mgmt_server_ownership
Success
11.39
test_outofbandmanagement.py

test_oobm_issue_power_status
Success
10.27
test_outofbandmanagement.py

test_oobm_issue_power_soft
Success
15.34
test_outofbandmanagement.py

test_oobm_issue_power_reset
Success
15.36
test_outofbandmanagement.py

test_oobm_issue_power_on
Success
10.35
test_outofbandmanagement.py

test_oobm_issue_power_off
Success
10.39
test_outofbandmanagement.py

test_oobm_issue_power_cycle
Success
15.33
test_outofbandmanagement.py

test_oobm_enabledisable_across_clusterzones
Success
87.68
test_outofbandmanagement.py

test_oobm_enable_feature_valid
Success
0.23
test_outofbandmanagement.py

test_oobm_enable_feature_invalid
Success
0.15
test_outofbandmanagement.py

test_oobm_disable_feature_valid
Success
5.20
test_outofbandmanagement.py

test_oobm_disable_feature_invalid
Success
0.15
test_outofbandmanagement.py

test_oobm_configure_invalid_driver
Success
0.08
test_outofbandmanagement.py

test_oobm_configure_default_driver
Success
0.10
test_outofbandmanagement.py

test_oobm_background_powerstate_sync
Success
23.38
test_outofbandmanagement.py

test_extendPhysicalNetworkVlan
Success
15.33
test_non_contigiousvlan.py

test_01_nic
Success
560.04
test_nic.py

test_releaseIP
Success
298.36
test_network.py

test_reboot_router
Success
464.38
test_network.py

test_public_ip_user_account
Success
10.25
test_network.py

test_public_ip_admin_account
Success
40.30
test_network.py

test_network_rules_acquired_public_ip_3_Load_Balancer_Rule
Success
76.62
test_network.py

test_network_rules_acquired_public_ip_2_nat_rule
Success
61.41
test_network.py

test_network_rules_acquired_public_ip_1_static_nat_rule
Success
91.94
test_network.py

test_delete_account
Success
318.00
test_network.py

test_02_port_fwd_on_non_src_nat
Success
55.68
test_network.py

test_01_port_fwd_on_src_nat
Success
78.75
test_network.py

test_nic_secondaryip_add_remove
Success
248.21
test_multipleips_per_nic.py

login_test_saml_user
Success
19.42
test_login.py

test_assign_and_removal_lb
Success
148.72
test_loadbalance.py

test_02_create_lb_rule_non_nat
Success
207.50
test_loadbalance.py

test_01_create_lb_rule_src_nat
Success
207.99
test_loadbalance.py

test_03_list_snapshots
Success
0.09
test_list_ids_parameter.py

test_02_list_templates
Success
0.04
test_list_ids_parameter.py

test_01_list_volumes
Success
0.03
test_list_ids_parameter.py

test_07_list_default_iso
Success
0.10
test_iso.py

test_05_iso_permissions
Success
0.07
test_iso.py

test_04_extract_Iso
Success
5.14
test_iso.py

test_03_delete_iso
Success
95.20
test_iso.py

test_02_edit_iso
Success
0.06
test_iso.py

test_01_create_iso
Success
21.12
test_iso.py

test_04_rvpc_internallb_haproxy_stats_on_all_interfaces
Success
450.00
test_internal_lb.py

test_03_vpc_internallb_haproxy_stats_on_all_interfaces
Success
304.38
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Success
1119.73
test_internal_lb.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Success
692.83
test_internal_lb.py

test_dedicateGuestVlanRange
Success
10.30
test_guest_vlan_range.py

test_UpdateConfigParamWithScope
Success
0.16
test_global_settings.py

test_rolepermission_lifecycle_update
Success
6.21
test_dynamicroles.py

test_rolepermission_lifecycle_list
Success
6.02
test_dynamicroles.py

test_rolepermission_lifecycle_delete
Success
5.85
test_dynamicroles.py

test_rolepermission_lifecycle_create
Success
5.91
test_dynamicroles.py

test_rolepermission_lifecycle_concurrent_updates
Success
6.01
test_dynamicroles.py

test_role_lifecycle_update_role_inuse
Success
5.92
test_dynamicroles.py

test_role_lifecycle_update
Success
11.08
test_dynamicroles.py

test_role_lifecycle_list
Success
5.92
test_dynamicroles.py

test_role_lifecycle_delete
Success
10.93
test_dynamicroles.py

test_role_lifecycle_create
Success
5.90
test_dynamicroles.py

test_role_inuse_deletion
Success
5.96
test_dynamicroles.py

test_role_account_acls_multiple_mgmt_servers
Success
8.12
test_dynamicroles.py

test_role_account_acls
Success
8.60
test_dynamicroles.py

test_default_role_deletion
Success
6.08
test_dynamicroles.py

test_04_create_fat_type_disk_offering
Success
0.07
test_disk_offerings.py

test_03_delete_disk_offering
Success
0.04
test_disk_offerings.py

test_02_edit_disk_offering
Success
0.06
test_disk_offerings.py

test_02_create_sparse_type_disk_offering
Success
0.10
test_disk_offerings.py

test_01_create_disk_offering
Success
0.09
test_disk_offerings.py

test_deployvm_userdispersing
Success
40.73
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userconcentrated
Success
41.01
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_firstfit
Success
196.85
test_deploy_vms_with_varied_deploymentplanners.py

test_deployvm_userdata_post
Success
20.64
test_deploy_vm_with_userdata.py

test_deployvm_userdata
Success
211.76
test_deploy_vm_with_userdata.py

test_02_deploy_vm_root_resize
Success
0.08
test_deploy_vm_root_resize.py

test_01_deploy_vm_root_resize
Success
0.08
test_deploy_vm_root_resize.py

test_00_deploy_vm_root_resize
Success
206.74
test_deploy_vm_root_resize.py

test_deploy_vm_from_iso
Success
162.38
test_deploy_vm_iso.py

test_DeployVmAntiAffinityGroup
Success
151.58
test_affinity_groups.py

test_01_test_vm_volume_snapshot
Skipped
0.00
test_vm_snapshots.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.04
test_deploy_vgpu_enabled_vm.py

test_deploy_vm_root_resize.py:
CRITICAL: EXCEPTION: None: ['Traceback (most recent call last):\n'smb://n/', ' File "/usr/lib/python2.7/site-packages/nose/suite.py", line 209, in run\n self.setUp()\n'smb://n/', ' File "/usr/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp\n self.setupContext(ancestor)\n'smb://n/', ' File "/usr/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext\n try_run(context, names)\n'smb://n/', ' File "/usr/lib/python2.7/site-packages/nose/util.py", line 471, in try_run\n return func()\n'smb://n/', ' File "/marvin/tests/smoke/test_deploy_vm_root_resize.py", line 110, in setUpClass\n domainid=cls.domain.id\n', ' File "/usr/lib/python2.7/site-packages/marvin/lib/base.py", line 1238, in register\n "Unable to find Ostype is required for registering template")\n'smb://n/', 'Exception: Unable to find Ostype is required for registering template\n']
i think Its test_data.py config change- we need to change to right url .if you add templateregister with os type and working template this test case will pass for vmware  and for other hypervisors its working fine.[No code change required]
regards
sadhu
On Apr 27, 2017, at 5:26 PM, Boris Stoyanov <notifications@github.commailto:notifications@github.com> wrote:
@priyankpariharhttps://github.com/priyankparihar,
Here are the exceptions related to the tests and I think they are related to the latest changes in this PR:
test_deploy_vm_root_resize.py:
CRITICAL: EXCEPTION: None: ['Traceback (most recent call last):\n'smb://n/', ' File "/usr/lib/python2.7/site-packages/nose/suite.py", line 209, in run\n self.setUp()\n'smb://n/', ' File "/usr/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp\n self.setupContext(ancestor)\n'smb://n/', ' File "/usr/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext\n try_run(context, names)\n'smb://n/', ' File "/usr/lib/python2.7/site-packages/nose/util.py", line 471, in try_run\n return func()\n'smb://n/', ' File "/marvin/tests/smoke/test_deploy_vm_root_resize.py", line 110, in setUpClass\n domainid=cls.domain.id\n', ' File "/usr/lib/python2.7/site-packages/marvin/lib/base.py", line 1238, in register\n "Unable to find Ostype is required for registering template")\n'smb://n/', 'Exception: Unable to find Ostype is required for registering template\n']
test_vm_snapshots.py:
2017-04-26 16:39:34,301 - CRITICAL - FAILED: test_01_test_vm_volume_snapshot: ['Traceback (most recent call last):\n', ' File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n testMethod()\n', ' File "/marvin/tests/smoke/test_vm_snapshots.py", line 408, in test_01_test_vm_volume_snapshot\n volume_id=volume.id)\n', ' File "/usr/lib64/python2.7/unittest/case.py", line 154, in exit\n "{0} not raised".format(exc_name))\n', 'AssertionError: Exception not raised\n']
test_volumes.py:
2017-04-26 17:18:13,947 - CRITICAL - FAILED: test_01_create_volume: ['Traceback (most recent call last):\n', ' File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n testMethod()\n', ' File "/marvin/tests/smoke/test_volumes.py", line 251, in test_01_create_volume\n self.assertEqual(ret[0],SUCCESS,"Check if promised disk size actually available")\n', ' File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual\n assertion_func(first, second, msg=msg)\n', ' File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual\n raise self.failureException(msg)\n', 'AssertionError: Check if promised disk size actually available\n']
Checkout the vmware test run
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/apache/cloudstack/pull/1813#issuecomment-297692744, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM1P-QtdpmlQpDKkRXU922PdfjnEcGtTks5r0IJTgaJpZM4LC277.
DISCLAIMER
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.

Whats the current status of this PR? :)
@borisstoyanov do you agree for the merge?

I have not rebase recently but we have strongly tested this PR using XenServer 6.5sp1. also briefly tested with xenserver 7.1.

Thanks @pdion891 for review. merging this now.

I faced an issue today when vmware.create.full.clone is set to false, the code should read the config and allow resizing of root disk only when vmware.create.full.clone is true.

@priyankparihar Can you please check and open a PR to address the issue reported by @rhtyd?

@sateesh-chodapuneedi @priyankparihar see my fixes in #2211 I've made the code to skip when VM starts if the root disk chain length is > 1 logging a warning. I think we should not throw any exception during VM boots. I've also fixed the related marvin test.

authors: DaanHoogland PaulAngus blueorangutan borisstoyanov cloudmonger cloudsadhu karuturi mike-tutkowski pdion891 priyankparihar rhtyd sadhugit sateesh-chodapuneedi serg38 sureshanaparti