Skip to content

CLOUDSTACK-10227: Stabilization fixes for 4.11.0.0 - #2403

Merged
yadvr merged 8 commits into
apache:masterfrom
shapeblue:411-blockers
Jan 14, 2018
Merged

CLOUDSTACK-10227: Stabilization fixes for 4.11.0.0#2403
yadvr merged 8 commits into
apache:masterfrom
shapeblue:411-blockers

Conversation

@yadvr

Copy link
Copy Markdown
Member
  • Test and regression fixes
  • Packaging/systemvmtemplate fixes
  • DB upgrade path related fixes
  • Upgrade and post-upgrade failure fixes

Signed-off-by: Rohit Yadav rohit.yadav@shapeblue.com

@DaanHooglandDaanHoogland 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.

the changes here so far are fine. Let's hope we don't need to add to much here

Requires: libvirt-python
Requires: qemu-img
Requires: qemu-kvm
Requires: epel-release

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.

note that only this is the blocker not the rest of the changes but they do make sense in coherence, so 👍

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Thanks Daan, rest of the changes are around fixing smoketests regressions and upgrade related fixes.

- Test and regression fixes
- Packaging/systemvmtemplate fixes
- DB upgrade path related fixes
- Upgrade and post-upgrade failure fixes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
…e, show option only to admins
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
…any disk that matches the requested size
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr

Copy link
Copy Markdown
MemberAuthor

@blueorangutan package

@yadvr

Copy link
Copy Markdown
MemberAuthor

@rafaelweingartner@wido@marcaurele and others - review requested. I'll kick smoketests as soon as packaging is back. Also, I'll update checksums of the new 4.11 systemvmtemplate over the weekend in the db upgrade path.

@rafaelweingartnerrafaelweingartner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Everything seems to be ok here

@blueorangutan

Copy link
Copy Markdown

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

@yadvr

Copy link
Copy Markdown
MemberAuthor

@blueorangutan test matrix

@blueorangutan

blueorangutan commented Jan 12, 2018

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2131)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34394 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2403-t2131-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_02_cancel_host_maintenace_with_migration_jobsError2.48test_host_maintenance.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2134)
Environment: kvm-ubuntu (x2), Advanced Networking with Mgmt server u
Total time taken: 34419 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2403-t2134-kvm-ubuntu.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_hostha_enable_ha_when_host_in_maintenanceError2.99test_hostha_kvm.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2133)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 6
Total time taken: 41175 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2403-t2133-xenserver-71.zip
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_scale_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Smoke tests completed. 62 look OK, 5 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_01_scale_vmError17.73test_scale_vm.py
test_01_list_sec_storage_vmFailure0.21test_ssvm.py
test_05_stop_ssvmFailure125.41test_ssvm.py
test_04_extract_templateFailure128.42test_templates.py
ContextSuite context=TestISOUsage>:setupError0.00test_usage.py
test_06_download_detached_volumeFailure147.04test_volumes.py

@yadvr

Copy link
Copy Markdown
MemberAuthor

@blueorangutan test centos7 xenserver-65sp1

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2132)
Environment: vmware-65 (x2), Advanced Networking with Mgmt server 7
Total time taken: 52483 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2403-t2132-vmware-65.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vgpu_enabled_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 67 look OK, 0 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File

@wido

wido commented Jan 13, 2018

Copy link
Copy Markdown
Contributor

I find it hard to review this PR as I never have touched VMWare nor the new HA code.

Looking at the code itself I don't see anything weird

@DaanHoogland

Copy link
Copy Markdown
Contributor

rekick

@DaanHoogland

Copy link
Copy Markdown
Contributor

jenkins do your thing

@DaanHoogland

Copy link
Copy Markdown
Contributor

@rhtyd it always seems to be test_ha_configure_enabledisable_across_clusterzones that fails on travis lately. Any idea what changed with this test? it seems not related to any of the 4.11 features. any platform used by the travis jobs maybe?

@yadvr

Copy link
Copy Markdown
MemberAuthor

@dahn this PR fixes a NPE case in hostha bg thread, that fixes that failing hostha-simulator test case on Travis. As you can find that with the npe fix, Travis job passes now.

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2145)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31420 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2403-t2145-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Smoke tests completed. 64 look OK, 3 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_04_extract_templateFailure128.27test_templates.py
ContextSuite context=TestISOUsage>:setupError0.00test_usage.py
test_06_download_detached_volumeFailure139.85test_volumes.py

@yadvr

yadvr commented Jan 14, 2018

Copy link
Copy Markdown
MemberAuthor

XenServer tests LGTM. I checked the failures were caused due to test_public_ip_range.py failing to remove a fake public IP range dedicated to systemvms, the SSVM got a public IP that was not reachable and failed iso/template/volume related download cases. Rest of the tests pass when there is no vlan-public ip range left by following tests.

==== Marvin Init Successful ====
=== TestName: test_dedicatePublicIpRange | Status : SUCCESS ===

=== TestName: test_dedicate_public_ip_range_for_system_vms | Status : SUCCESS ===

=== TestName: test_dedicate_public_ip_range_for_system_vms_cpvm | Status : SUCCESS ===

=== TestName: test_dedicate_public_ip_range_for_system_vms_ssvm | Status : SUCCESS ===

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr

Copy link
Copy Markdown
MemberAuthor

FYI - I've updated the checksums, built and uploaded 4.11 systemvmtemplates at:
https://download.cloudstack.org/systemvm/4.11/
mirrored also at: http://dl.rohityadav.cloud/testing/

…ould throw exception
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr

Copy link
Copy Markdown
MemberAuthor

Merging this based on test results and two lgtms.

@yadvr
yadvr merged commit fa7c1e2 into apache:masterJan 14, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@yadvr@blueorangutan@wido@DaanHoogland@rafaelweingartner