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

NPE fix for System VM's start Command #3985

Merged
merged 1 commit into from Mar 25, 2020

Conversation

pavanaravapalli
Copy link
Contributor

@pavanaravapalli pavanaravapalli commented Mar 23, 2020

Description

System VM's are failed to deploy on VM ware setup, due to NPE.

Solution : Added Null check for the same and took care of respective code flow changes.

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)

Screenshots (if appropriate):

How Has This Been Tested?

Yet to test and update.

@pavanaravapalli pavanaravapalli mentioned this pull request Mar 23, 2020
5 tasks
@blueorangutan
Copy link

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-1080

Copy link
Contributor

@davidjumani davidjumani left a comment

Choose a reason for hiding this comment

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

Tested on VMware, Systemvms are coming up normally. LGTM

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

code lgtm, in spite of the twice used constant.
could have been
private static final VMWARE_BOOT_MODE = ApiConstants.BootType.BIOS.toString();

@DaanHoogland DaanHoogland added this to the 4.14.0.0 milestone Mar 24, 2020
@DaanHoogland
Copy link
Contributor

@blueorangutan test matrix

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-1292)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 27373 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3985-t1292-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Smoke tests completed. 82 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_add_delete_kubernetes_supported_version Error 0.31 test_kubernetes_supported_versions.py

@blueorangutan
Copy link

Trillian test result (tid-1291)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 29955 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3985-t1291-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Intermittent failure detected: /marvin/tests/smoke/test_scale_vm.py
Smoke tests completed. 81 look OK, 2 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_add_delete_kubernetes_supported_version Error 0.34 test_kubernetes_supported_versions.py
test_01_scale_vm Failure 17.67 test_scale_vm.py

@blueorangutan
Copy link

Trillian test result (tid-1293)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 32115 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3985-t1293-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Smoke tests completed. 82 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_add_delete_kubernetes_supported_version Error 0.51 test_kubernetes_supported_versions.py

@DaanHoogland DaanHoogland merged commit 08699aa into apache:master Mar 25, 2020
Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

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

LGMT

@DaanHoogland
Copy link
Contributor

@pavanaravapalli please review #4088/#4089

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

6 participants