Skip to content

[FIX] [BACKPORT] [4.13] Rethrow takeVMSnapshot() exception - #3761

Merged
yadvr merged 1 commit into
apache:4.13from
onitake:fix/4.13/snapshot-throw-not-null
Jan 28, 2020
Merged

[FIX] [BACKPORT] [4.13] Rethrow takeVMSnapshot() exception#3761
yadvr merged 1 commit into
apache:4.13from
onitake:fix/4.13/snapshot-throw-not-null

Conversation

@onitake

@onitake onitake commented Dec 11, 2019

Copy link
Copy Markdown
Contributor

Description

Backport of #3546 to 4.13: Rethrow takeVMSnapshot() exception instead of returning null in VMSnapshotManagerImpl.

Contributes to: #3518

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?

The change has been tested on the master branch for 4.14. See #3546.

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

Code LGTM

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

code is familiar and looks ok, but how did we test this in master?

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan package

@apache apache deleted a comment from blueorangutan Jan 21, 2020
@blueorangutan

Copy link
Copy Markdown

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

@apache apache deleted a comment from blueorangutan Jan 21, 2020
@apache apache deleted a comment from yadvr Jan 21, 2020
@blueorangutan

Copy link
Copy Markdown

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

@onitake

onitake commented Jan 21, 2020

Copy link
Copy Markdown
Contributor Author

Are the build errors errors relevant?
I see things like

CloudstackAPIException: Execute cmd: listprojectaccounts failed, due to: errorCode: 431, errorText:Unable to find the project id=9

which doesn't look related to me at all...

@DaanHoogland

Copy link
Copy Markdown
Contributor

@onitake where do you see those errors?

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@onitake

onitake commented Jan 22, 2020

Copy link
Copy Markdown
Contributor Author

@DaanHoogland They were in the Travis build logs linked here, which was still in "failed" state yesterday. Looks like they were from a different branch or older build?
Or maybe it was simply an intermittent failure.

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-809)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 29643 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3761-t809-kvm-centos7.zip
Smoke tests completed. 77 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@DaanHoogland

Copy link
Copy Markdown
Contributor

@DaanHoogland They were in the Travis build logs linked here, which was still in "failed" state yesterday. Looks like they were from a different branch or older build?
Or maybe it was simply an intermittent failure.

maybe, i did re-kick travis, so... Not nice to not be able to rely on CI fully, but this is the complex eco system for you.

@yadvr
yadvr merged commit 8792070 into apache:4.13 Jan 28, 2020

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

LGTM, this is just a backported change.

@onitake
onitake deleted the fix/4.13/snapshot-throw-not-null branch July 15, 2021 13:57
Sign up for free to 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.

7 participants