Skip to content

[router] make a distinction between fatal errors, warnings and unknown as healthcheck result #10710

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

Open
wants to merge 5 commits into
base: 4.20
Choose a base branch
from

Conversation

DaanHoogland
Copy link
Contributor

@DaanHoogland DaanHoogland commented Apr 14, 2025

Description

This PR...

Fixes: #9800

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)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

added some fake tests to test the UI:
Screenshot 2025-04-25 at 17 02 52

@DaanHoogland
Copy link
Contributor Author

@blueorangutan package

@DaanHoogland DaanHoogland changed the title Ghi9800 update vr on setting change [router] make a distinction between fatal errors, warnings and unknown as healthcheck result Apr 14, 2025
@blueorangutan
Copy link

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Copy link

codecov bot commented Apr 14, 2025

Codecov Report

Attention: Patch coverage is 23.73737% with 151 lines in your changes missing coverage. Please review.

Project coverage is 16.13%. Comparing base (01d87b7) to head (f870fad).
Report is 2 commits behind head on 4.20.

Files with missing lines Patch % Lines
...ork/router/VirtualNetworkApplianceManagerImpl.java 4.08% 138 Missing and 3 partials ⚠️
.../api/response/RouterHealthCheckResultResponse.java 0.00% 2 Missing ⚠️
...m/cloud/network/dao/RouterHealthCheckResultVO.java 0.00% 2 Missing ⚠️
.../apache/cloudstack/framework/config/ConfigKey.java 66.66% 2 Missing ⚠️
...oud/network/lb/ElasticLoadBalancerManagerImpl.java 0.00% 1 Missing ⚠️
.../network/lb/InternalLoadBalancerVMManagerImpl.java 0.00% 1 Missing ⚠️
.../cloud/configuration/ConfigurationManagerImpl.java 92.85% 1 Missing ⚠️
...a/com/cloud/network/router/CommandSetupHelper.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #10710      +/-   ##
============================================
- Coverage     16.13%   16.13%   -0.01%     
+ Complexity    13221    13217       -4     
============================================
  Files          5649     5650       +1     
  Lines        496689   496590      -99     
  Branches      60175    60158      -17     
============================================
- Hits          80153    80133      -20     
+ Misses       407613   407540      -73     
+ Partials       8923     8917       -6     
Flag Coverage Δ
uitests 4.01% <ø> (-0.01%) ⬇️
unittests 16.98% <23.73%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13050

@DaanHoogland
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

[SF] Trillian test result (tid-12989)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 48168 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr10710-t12989-kvm-ol8.zip
Smoke tests completed. 133 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@DaanHoogland DaanHoogland marked this pull request as ready for review April 18, 2025 10:48
@DaanHoogland DaanHoogland changed the base branch from 4.19 to 4.20 April 25, 2025 11:52
@DaanHoogland DaanHoogland added this to the 4.20.1 milestone Apr 25, 2025
@DaanHoogland DaanHoogland force-pushed the ghi9800-updateVrOnSettingChange branch 3 times, most recently from 546c094 to 73f40ee Compare April 25, 2025 13:10
@DaanHoogland
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13183

@DaanHoogland
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

[SF] Trillian Build Failed (tid-13166)

@boring-cyborg boring-cyborg bot added component:virtual-router Python Warning... Python code Ahead! labels Apr 28, 2025
@DaanHoogland DaanHoogland force-pushed the ghi9800-updateVrOnSettingChange branch from eb83516 to c5157a6 Compare May 2, 2025 08:39
@DaanHoogland
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 13239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants