Skip to content

NPE fix for System VM's start Command - #3985

Merged
DaanHoogland merged 1 commit into
apache:masterfrom
pavanaravapalli:uefisupport_NPE_fix
Mar 25, 2020
Merged

NPE fix for System VM's start Command#3985
DaanHoogland merged 1 commit into
apache:masterfrom
pavanaravapalli:uefisupport_NPE_fix

Conversation

@pavanaravapalli

@pavanaravapallipavanaravapalli commented Mar 23, 2020

Copy link
Copy Markdown
Contributor

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.

@pavanaravapallipavanaravapalli mentioned this pull request Mar 23, 2020
5 tasks
@blueorangutan

Copy link
Copy Markdown

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

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

Tested on VMware, Systemvms are coming up normally. LGTM

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

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

@DaanHooglandDaanHoogland added this to the 4.14.0.0 milestone Mar 24, 2020
@DaanHooglandDaanHoogland mentioned this pull request Mar 24, 2020
5 tasks
@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@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
Copy Markdown

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:

TestResultTime (s)Test File
test_01_add_delete_kubernetes_supported_versionError0.31test_kubernetes_supported_versions.py

@blueorangutan

Copy link
Copy Markdown

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:

TestResultTime (s)Test File
test_01_add_delete_kubernetes_supported_versionError0.34test_kubernetes_supported_versions.py
test_01_scale_vmFailure17.67test_scale_vm.py

@blueorangutan

Copy link
Copy Markdown

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:

TestResultTime (s)Test File
test_01_add_delete_kubernetes_supported_versionError0.51test_kubernetes_supported_versions.py

@DaanHoogland
DaanHoogland merged commit 08699aa into apache:masterMar 25, 2020

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

LGMT

@DaanHoogland

Copy link
Copy Markdown
Contributor

@pavanaravapalli please review #4088/#4089

Sign up for freeto 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.

6 participants

@pavanaravapalli@blueorangutan@DaanHoogland@davidjumani@sureshanaparti@borisstoyanov