Skip to content

refactor(agw): Improved error handling in fabfiles#15020

Merged
MoritzThomasHuebner merged 1 commit intomagma:masterfrom
MoritzThomasHuebner:improve_error_handling_in_fabfiles
Feb 20, 2023
Merged

refactor(agw): Improved error handling in fabfiles#15020
MoritzThomasHuebner merged 1 commit intomagma:masterfrom
MoritzThomasHuebner:improve_error_handling_in_fabfiles

Conversation

@MoritzThomasHuebner
Copy link
Copy Markdown
Contributor

@MoritzThomasHuebner MoritzThomasHuebner commented Feb 16, 2023

Summary

  • Use sys.exit() to exit fabfile instead of raise
  • Specified possible exceptions in a broad exception clause

Test Plan

@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines. label Feb 16, 2023
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added the component: agw Access gateway-related issue label Feb 16, 2023
@MoritzThomasHuebner MoritzThomasHuebner mentioned this pull request Feb 16, 2023
6 tasks
Comment thread lte/gateway/fabfile.py Outdated
Comment thread lte/gateway/fabfile.py Outdated
Comment thread lte/gateway/fabfile.py Outdated
Comment thread lte/gateway/fabfile.py Outdated
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 16, 2023

Oops! Looks like you failed the AGW Build & Format Python.

Howto

♻️ Updated: ✅ The check is passing the AGW Build & Format Python after the last commit.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 16, 2023

FeG Lint & Test

    2 files  203 suites   39s ⏱️
374 tests 374 ✔️ 0 💤 0
388 runs  388 ✔️ 0 💤 0

Results for commit 746d04c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 16, 2023

DP Lint & Test

14 tests   14 ✔️  2m 32s ⏱️
  1 suites    0 💤
  1 files      0

Results for commit 746d04c.

♻️ This comment has been updated with latest results.

@MoritzThomasHuebner MoritzThomasHuebner force-pushed the improve_error_handling_in_fabfiles branch from 2ab2ff3 to e67f919 Compare February 16, 2023 03:22
Comment thread lte/gateway/fabfile.py Outdated
- Use `sys.exit()` to exit fabfile instead of `raise`
- Specified possible exceptions in a broad exception clause

Signed-off-by: Moritz Huebner <[email protected]>
@MoritzThomasHuebner MoritzThomasHuebner force-pushed the improve_error_handling_in_fabfiles branch from e67f919 to 746d04c Compare February 16, 2023 03:26
@MoritzThomasHuebner MoritzThomasHuebner changed the title refactor(agw): Improved error handling refactor(agw): Improved error handling in fabfiles Feb 16, 2023
@MoritzThomasHuebner MoritzThomasHuebner marked this pull request as ready for review February 16, 2023 05:06
@MoritzThomasHuebner MoritzThomasHuebner requested a review from a team as a code owner February 16, 2023 05:06
@github-actions
Copy link
Copy Markdown
Contributor

LTE containerizes integ test results - precommit

121 tests  ±0   119 ✔️ ±0   1h 25m 31s ⏱️ +53s
121 suites ±0       1 💤 ±0 
121 files   ±0       1 ±0 

For more details on these failures, see this check.

Results for commit 746d04c. ± Comparison against base commit 2f09165.

@MoritzThomasHuebner MoritzThomasHuebner self-assigned this Feb 16, 2023
Copy link
Copy Markdown
Contributor

@pshelar pshelar left a comment

Choose a reason for hiding this comment

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

LGTM

@MoritzThomasHuebner MoritzThomasHuebner merged commit 52bc1b4 into magma:master Feb 20, 2023
@MoritzThomasHuebner MoritzThomasHuebner deleted the improve_error_handling_in_fabfiles branch February 23, 2023 01:03
lucasgonze pushed a commit to lucasgonze/magma that referenced this pull request Feb 29, 2024
- Use `sys.exit()` to exit fabfile instead of `raise`
- Specified possible exceptions in a broad exception clause

Signed-off-by: Moritz Huebner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: agw Access gateway-related issue size/S Denotes a PR that changes 10-29 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants