Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a try catch for Xen licensing issue #3061

Merged

Conversation

borisstoyanov
Copy link
Contributor

Description

Adds a skip if the exception is related to licensing of the particular host

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bug fix (non-breaking change which fixes an issue)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

Locally on a XenServer env

@borisstoyanov
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@borisstoyanov
Copy link
Contributor Author

@blueorangutan test centos7 xenserver65

@blueorangutan
Copy link

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

@borisstoyanov
Copy link
Contributor Author

@blueorangutan test centos7 xenserver-65sp1

@blueorangutan
Copy link

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

@rohityadavcloud rohityadavcloud added this to the 4.12.0.0 milestone Nov 27, 2018
@blueorangutan
Copy link

Trillian test result (tid-3219)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 19790 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3061-t3219-xenserver-65sp1.zip
Intermittent failure detected: /marvin/tests/smoke/test_multipleips_per_nic.py
Intermittent failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermittent failure detected: /marvin/tests/smoke/test_reset_vm_on_reboot.py
Intermittent failure detected: /marvin/tests/smoke/test_resource_accounting.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dns.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dnsservice.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_iptables_default_policy.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_routers.py
Intermittent failure detected: /marvin/tests/smoke/test_scale_vm.py
Intermittent failure detected: /marvin/tests/smoke/test_secondary_storage.py
Intermittent failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermittent failure detected: /marvin/tests/smoke/test_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_usage.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 48 look OK, 22 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_nic_secondaryip_add_remove Error 108.81 test_multipleips_per_nic.py
ContextSuite context=TestResetVmOnReboot>:setup Error 0.00 test_reset_vm_on_reboot.py
test_01_so_removal_resource_update Error 1.34 test_resource_accounting.py
ContextSuite context=TestRouterDHCPHosts>:setup Error 0.00 test_router_dhcphosts.py
ContextSuite context=TestRouterDHCPOpts>:setup Error 0.00 test_router_dhcphosts.py
ContextSuite context=TestRouterDns>:setup Error 0.00 test_router_dns.py
ContextSuite context=TestISOUsage>:setup Error 0.00 test_usage.py
ContextSuite context=TestLBRuleUsage>:setup Error 0.00 test_usage.py
ContextSuite context=TestNatRuleUsage>:setup Error 0.00 test_usage.py
ContextSuite context=TestPublicIPUsage>:setup Error 0.00 test_usage.py
ContextSuite context=TestSnapshotUsage>:setup Error 0.00 test_usage.py
ContextSuite context=TestVmUsage>:setup Error 0.00 test_usage.py
ContextSuite context=TestVolumeUsage>:setup Error 0.00 test_usage.py
ContextSuite context=TestVpnUsage>:setup Error 0.00 test_usage.py
ContextSuite context=TestRouterDnsService>:setup Error 0.00 test_router_dnsservice.py
test_02_routervm_iptables_policies Error 1.31 test_routers_iptables_default_policy.py
test_01_single_VPC_iptables_policies Error 5.37 test_routers_iptables_default_policy.py
test_01_isolate_network_FW_PF_default_routes_egress_true Error 1.35 test_routers_network_ops.py
test_02_isolate_network_FW_PF_default_routes_egress_false Error 1.36 test_routers_network_ops.py
test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Error 4.66 test_routers_network_ops.py
test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Error 5.97 test_routers_network_ops.py
test_03_RVR_Network_check_router_state Error 6.00 test_routers_network_ops.py
ContextSuite context=TestRouterServices>:setup Error 0.00 test_routers.py
ContextSuite context=TestScaleVm>:setup Error 0.00 test_scale_vm.py
test_01_sys_vm_start Failure 0.14 test_secondary_storage.py
ContextSuite context=TestServiceOfferings>:setup Error 2.21 test_service_offerings.py
ContextSuite context=TestCreateVolume>:setup Error 0.00 test_volumes.py
ContextSuite context=TestVolumes>:setup Error 0.00 test_volumes.py
ContextSuite context=TestSnapshotRootDisk>:setup Error 0.00 test_snapshots.py
test_01_list_sec_storage_vm Failure 0.03 test_ssvm.py
test_02_list_cpvm_vm Failure 0.03 test_ssvm.py
test_03_ssvm_internals Failure 0.03 test_ssvm.py
test_04_cpvm_internals Failure 0.03 test_ssvm.py
test_05_stop_ssvm Failure 0.03 test_ssvm.py
test_06_stop_cpvm Failure 0.03 test_ssvm.py
test_07_reboot_ssvm Failure 0.03 test_ssvm.py
test_08_reboot_cpvm Failure 0.04 test_ssvm.py
test_09_destroy_ssvm Failure 0.03 test_ssvm.py
test_10_destroy_cpvm Failure 0.03 test_ssvm.py
test_02_create_template_with_checksum_sha1 Error 65.44 test_templates.py
test_03_create_template_with_checksum_sha256 Error 65.42 test_templates.py
test_04_create_template_with_checksum_md5 Error 65.43 test_templates.py
test_05_create_template_with_no_checksum Error 65.46 test_templates.py
ContextSuite context=TestTemplates>:setup Error 2.70 test_templates.py
ContextSuite context=Test01DeployVM>:setup Error 0.00 test_vm_life_cycle.py
ContextSuite context=Test02VMLifeCycle>:setup Error 0.00 test_vm_life_cycle.py
test_change_service_offering_for_vm_with_snapshots Error 1.35 test_vm_snapshots.py
ContextSuite context=TestVmSnapshot>:setup Error 9.66 test_vm_snapshots.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Error 8.05 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Error 8.05 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Error 8.03 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Error 8.05 test_vpc_redundant.py
test_05_rvpc_multi_tiers Error 6.01 test_vpc_redundant.py
test_01_VPC_nics_after_destroy Error 6.36 test_vpc_router_nics.py
test_02_VPC_default_routes Error 3.98 test_vpc_router_nics.py
test_01_redundant_vpc_site2site_vpn Failure 7.46 test_vpc_vpn.py
test_01_vpc_site2site_vpn_multiple_options Failure 5.38 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Failure 5.26 test_vpc_vpn.py
test_01_vpc_site2site_vpn Failure 3.33 test_vpc_vpn.py

@rohityadavcloud
Copy link
Member

@blueorangutan test centos7 xenserver-65sp1

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-3223)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 28835 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3061-t3223-xenserver-65sp1.zip
Intermittent failure detected: /marvin/tests/smoke/test_multipleips_per_nic.py
Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 68 look OK, 2 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_nic_secondaryip_add_remove Error 60.51 test_multipleips_per_nic.py
test_04_rvpc_network_garbage_collector_nics Failure 521.39 test_vpc_redundant.py

@rohityadavcloud rohityadavcloud merged commit d0c9a0a into apache:master Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants