Skip to content

test: fix unknown parameter hostid in test_vm_life_cycle.py - #8948

Merged
weizhouapache merged 1 commit into
apache:4.19from
weizhouapache:4.19-fix-test_vm_life_cycle-hostid
Apr 24, 2024
Merged

weizhouapache merged 1 commit into
apache:4.19from
weizhouapache:4.19-fix-test_vm_life_cycle-hostid

Conversation

@weizhouapache

Copy link
Copy Markdown
Member

Description

This PR fixes the error message

Received unknown parameters for command listHosts. Unknown parameters : hostid

Types of changes

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

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@DaanHoogland DaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9325

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@weizhouapache
weizhouapache marked this pull request as ready for review April 19, 2024 17:53
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.13%. Comparing base (cadbb56) to head (12369f8).
Report is 4 commits behind head on 4.19.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #8948      +/-   ##
============================================
- Coverage     15.13%   15.13%   -0.01%     
+ Complexity    13469    13468       -1     
============================================
  Files          4863     4863              
  Lines        326031   326031              
  Branches      45838    45838              
============================================
- Hits          49349    49343       -6     
- Misses       270066   270073       +7     
+ Partials       6616     6615       -1     
Flag Coverage Δ
simulator-marvin-tests 15.13% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-9921)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 53996 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8948-t9921-kvm-centos7.zip
Smoke tests completed. 126 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 295.40 test_events_resource.py
test_01_events_resource Error 295.42 test_events_resource.py
test_04_deploy_vm_for_other_user_and_test_vm_operations Failure 88.11 test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown Error 1.49 test_network_permissions.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 767.61 test_vpc_redundant.py

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-9920)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 55634 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8948-t9920-vmware-67u3.zip
Smoke tests completed. 126 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 212.31 test_events_resource.py
test_01_events_resource Error 212.32 test_events_resource.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Error 507.50 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Error 1029.71 test_internal_lb.py
test_04_deploy_vm_for_other_user_and_test_vm_operations Failure 109.85 test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown Error 1.53 test_network_permissions.py

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-9919)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 131059 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8948-t9919-xenserver-71.zip
Smoke tests completed. 90 look OK, 16 have errors, 23 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 596.75 test_events_resource.py
test_01_events_resource Error 596.76 test_events_resource.py
test_18_retrieve_cpvm_single_file Failure 144.55 test_diagnostics.py
test_04_deploy_vm_for_other_user_and_test_vm_operations Failure 407.15 test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown Error 27.20 test_network_permissions.py
test_another_user_can_allocate_ip_after_quarantined_has_ended_network Error 5.26 test_quarantined_ips.py
test_another_user_can_allocate_ip_after_quarantined_has_ended_vpc Error 0.33 test_quarantined_ips.py
test_only_owner_can_allocate_ip_in_quarantine_network Error 0.29 test_quarantined_ips.py
test_only_owner_can_allocate_ip_in_quarantine_vpc Error 0.30 test_quarantined_ips.py
test_deploy_vm_with_registered_userdata Error 5.65 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_allow Error 4.90 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_append Error 4.81 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_params Error 5.24 test_register_userdata.py
ContextSuite context=TestResetVmOnReboot>:setup Error 0.00 test_reset_vm_on_reboot.py
ContextSuite context=TestRAMCPUResourceAccounting>:setup Error 0.00 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=TestRouterDnsService>:setup Error 0.00 test_router_dnsservice.py
ContextSuite context=TestRouterIpTablesPolicies>:setup Error 0.00 test_routers_iptables_default_policy.py
ContextSuite context=TestVPCIpTablesPolicies>:setup Error 0.00 test_routers_iptables_default_policy.py
ContextSuite context=TestIsolatedNetworks>:setup Error 0.00 test_routers_network_ops.py
ContextSuite context=TestRedundantIsolateNetworks>:setup Error 0.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
ContextSuite context=TestServiceOfferings>:setup Error 1868.34 test_service_offerings.py
ContextSuite context=TestSetSourceNatIp>:setup Error 0.00 test_set_sourcenat.py
all_test_snapshots Skipped --- test_snapshots.py
all_test_ssvm Skipped --- test_ssvm.py
all_test_staticroles Skipped --- test_staticroles.py
all_test_storage_policy Skipped --- test_storage_policy.py
all_test_templates Skipped --- test_templates.py
all_test_update_security_group Skipped --- test_update_security_group.py
all_test_usage_events Skipped --- test_usage_events.py
all_test_usage Skipped --- test_usage.py
all_test_vm_autoscaling Skipped --- test_vm_autoscaling.py
all_test_vm_deployment_planner Skipped --- test_vm_deployment_planner.py
all_test_vm_life_cycle Skipped --- test_vm_life_cycle.py
all_test_vm_lifecycle_unmanage_import Skipped --- test_vm_lifecycle_unmanage_import.py
all_test_vm_schedule Skipped --- test_vm_schedule.py
all_test_vm_snapshot_kvm Skipped --- test_vm_snapshot_kvm.py
all_test_vm_snapshots Skipped --- test_vm_snapshots.py
all_test_vnf_templates Skipped --- test_vnf_templates.py
all_test_volumes Skipped --- test_volumes.py
all_test_vpc_ipv6 Skipped --- test_vpc_ipv6.py
all_test_vpc_redundant Skipped --- test_vpc_redundant.py
all_test_vpc_router_nics Skipped --- test_vpc_router_nics.py
all_test_vpc_vpn Skipped --- test_vpc_vpn.py
all_test_host_maintenance Skipped --- test_host_maintenance.py
all_test_hostha_kvm Skipped --- test_hostha_kvm.py

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian Build Failed (tid-9940)

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-9939)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43315 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8948-t9939-xenserver-71.zip
Smoke tests completed. 127 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 207.09 test_events_resource.py
test_01_events_resource Error 207.09 test_events_resource.py
test_04_deploy_vm_for_other_user_and_test_vm_operations Failure 114.71 test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown Error 1.38 test_network_permissions.py

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-9941)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46963 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8948-t9941-kvm-centos7.zip
Smoke tests completed. 127 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 288.70 test_events_resource.py
test_01_events_resource Error 288.71 test_events_resource.py
test_04_deploy_vm_for_other_user_and_test_vm_operations Failure 86.39 test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown Error 1.35 test_network_permissions.py

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test alma9 xenserver71

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland [SL] unsupported parameters provided. Supported mgmt server os are: centos7, centos6, suse15, alma8, ubuntu18, ubuntu22, ubuntu20, rocky8, alma9. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-rocky8, kvm-alma8, kvm-alma9, kvm-ubuntu18, kvm-ubuntu20, kvm-ubuntu22, kvm-suse15, vmware-55u3, vmware-60u2, vmware-65u2, vmware-67u3, vmware-70u1, vmware-70u2, vmware-70u3, vmware-80, vmware-80u1, xenserver-65sp1, xenserver-71, xenserver-74, xcpng74, xcpng76, xcpng80, xcpng81, xcpng82

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test alma9 xenserver-74

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + xenserver-74) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian Build Failed (tid-9947)

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test rocky8 xenserver-71

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Trillian-Jenkins test job (rocky8 mgmt + xenserver-71) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-9952)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server r8
Total time taken: 44838 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8948-t9952-xenserver-71.zip
Smoke tests completed. 127 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 223.89 test_events_resource.py
test_01_events_resource Error 223.89 test_events_resource.py
test_04_deploy_vm_for_other_user_and_test_vm_operations Failure 106.21 test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown Error 1.50 test_network_permissions.py

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-9950)
Environment: xcpng82 (x2), Advanced Networking with Mgmt server a9
Total time taken: 68675 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8948-t9950-xcpng82.zip
Smoke tests completed. 123 look OK, 6 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 281.98 test_events_resource.py
test_01_events_resource Error 281.99 test_events_resource.py
test_01_condensed_drs_algorithm Failure 167.79 test_cluster_drs.py
test_02_balanced_drs_algorithm Failure 185.87 test_cluster_drs.py
test_04_deploy_vm_for_other_user_and_test_vm_operations Failure 197.89 test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown Error 1.51 test_network_permissions.py
test_01_non_strict_host_anti_affinity Error 215.74 test_nonstrict_affinity_group.py
test_02_non_strict_host_affinity Error 126.08 test_nonstrict_affinity_group.py
test_deploy_vm_with_registered_userdata Error 819.45 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_allow Error 828.89 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_append Error 830.95 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_params Error 829.45 test_register_userdata.py
test_01_deploy_vm_on_specific_host Error 0.12 test_vm_deployment_planner.py
test_02_deploy_vm_on_specific_cluster Error 0.11 test_vm_deployment_planner.py
test_03_deploy_vm_on_specific_pod Error 0.14 test_vm_deployment_planner.py
test_04_deploy_vm_on_host_override_pod_and_cluster Error 0.17 test_vm_deployment_planner.py
test_05_deploy_vm_on_cluster_override_pod Error 0.13 test_vm_deployment_planner.py

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9374

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@yadvr yadvr added this to the 4.19.1.0 milestone Apr 23, 2024
@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-9965)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 49828 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8948-t9965-kvm-centos7.zip
Smoke tests completed. 128 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 421.25 test_events_resource.py

@weizhouapache

Copy link
Copy Markdown
Member Author

only 1 failure now

Test Result Time (s) Test File
test_01_events_resource Error 421.25 test_events_resource.py

@weizhouapache
weizhouapache merged commit 6def370 into apache:4.19 Apr 24, 2024
@DaanHoogland
DaanHoogland deleted the 4.19-fix-test_vm_life_cycle-hostid branch April 24, 2024 07:04
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:integration-test Python Warning... Python code Ahead!

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

5 participants