Skip to content

Cloudstack 8656: do away with more silently ignoring exceptions.#654

Merged
asfgit merged 29 commits into
apache:masterfrom
DaanHoogland:CLOUDSTACK-8656
Aug 14, 2015
Merged

Cloudstack 8656: do away with more silently ignoring exceptions.#654
asfgit merged 29 commits into
apache:masterfrom
DaanHoogland:CLOUDSTACK-8656

Conversation

@DaanHoogland
Copy link
Copy Markdown
Contributor

a lot of messages added.
some restructuring for test exception assertions and try-with-resource blocks

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.

Just curious why we went from protected to public here?

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-rats #194 FAILURE
Looks like there's a problem with this pull request

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-requests #891 ABORTED

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-rats #195 ABORTED

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-analysis #127 UNSTABLE
Looks like there's a problem with this pull request

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-analysis #128 ABORTED

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-requests #892 ABORTED

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.

License?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks will add, @koushik-das

@DaanHoogland DaanHoogland changed the title Cloudstack 8656: do away with more silently ignoring exceptions [WIP] Cloudstack 8656: do away with more silently ignoring exceptions Aug 4, 2015
@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-requests #898 FAILURE
Looks like there's a problem with this pull request

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-rats #201 ABORTED

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-analysis #134 UNSTABLE
Looks like there's a problem with this pull request

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-rats #203 ABORTED

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-requests #900 ABORTED

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-requests #902 FAILURE
Looks like there's a problem with this pull request

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 4, 2015

cloudstack-pull-analysis #136 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-rats #306 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-requests #1002 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-analysis #234 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-rats #307 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-requests #1003 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-analysis #238 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-analysis #239 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-rats #308 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-requests #1004 SUCCESS
This pull request looks good

@wido
Copy link
Copy Markdown
Contributor

wido commented Aug 14, 2015

LGTM

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Aug 14, 2015

look alright, but could it introduce any regressions in the upgrade path? Also, I would love to see a single squashed patched with the changes given ~30 patches for +400/-800 change

@DaanHoogland
Copy link
Copy Markdown
Contributor Author

All kinds of regressions may be introduced. This is (one of the reasons) why I will not squash. for a single regression we only have to revert a single commit, for the bunch we will have to revert the merge commit.

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Aug 14, 2015

Another way of fixing a regression could be to simply fix the issue, instead of reverting at all.

@asfbot
Copy link
Copy Markdown

asfbot commented Aug 14, 2015

cloudstack-pull-analysis #240 SUCCESS
This pull request looks good

@DaanHoogland
Copy link
Copy Markdown
Contributor Author

You know I am a great advocate of not squashing, right. All commits are atomic. Yes there is a lot because the work has also been scattered and a lot.

@remibergsma
Copy link
Copy Markdown
Contributor

@DaanHoogland I agree, we should only squash if there is no value to have the commits separated. I usually ask for squashing when feedback was processed in a separate commit (say remove a comment or fix a small thing). That you want squashed so it becomes an atomic commit. If commits are already atomic, I'm OK with not squashing. It's your call here ;-) LGTM from me.

@remibergsma
Copy link
Copy Markdown
Contributor

@bhaisaab Indeed, let's fix forward when needed :-) There's always a risk, but I'm happy to see this work being done 👍

@asfgit asfgit merged commit b6f1d29 into apache:master Aug 14, 2015
asfgit pushed a commit that referenced this pull request Aug 14, 2015
Cloudstack 8656: do away with more silently ignoring exceptions.a lot of messages added.
some restructuring for test exception assertions and try-with-resource blocks

* pr/654: (29 commits)
  CLOUDSTACK-8656: more logging instead of sysout
  CLOUDSTACK-8656: use catch block for validation
  CLOUDSTACK-8656: class in json specified not found
  CLOUDSTACK-8656: removed unused classes
  CLOUDSTACK-8656: restructure of tests
  CLOUDSTACK-8656: reorganise sychronized block
  CLOUDSTACK-8656: restructure tests to ensure exception throwing
  CLOUDSTACK-8656: validate the throwing of ServerApiException
  CLOUDSTACK-8656: logging ignored exceptions
  CLOUDSTACK-8656: try-w-r removes need for empty catch block
  CLOUDSTACK-8656: try-w-r instead of clunckey close-except
  CLOUDSTACK-8656: deal with empty SQLException catch block by try-w-r
  CLOUDSTACK-8656: unnecessary close construct removed
  CLOUDSTACK-8656: message about timed buffer logging
  CLOUDSTACK-8656: message about invalid number from store
  CLOUDSTACK-8656: move cli test tool to separate file
  CLOUDSTACK-8656: exception is the rule for some tests
  CLOUDSTACK-8656: network related exception logging
  CLOUDSTACK-8656: reporting ignored exceptions in server
  CLOUDSTACK-8656: log in case we are on a platform not supporting UTF8
  ...

Signed-off-by: Remi Bergsma <github@remi.nl>
yadvr pushed a commit that referenced this pull request Jan 20, 2021
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
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.

8 participants