Skip to content
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

cks: fix events #9070

Open
wants to merge 8 commits into
base: 4.19
Choose a base branch
from
Open

cks: fix events #9070

wants to merge 8 commits into from

Conversation

shwstppr
Copy link
Contributor

@shwstppr shwstppr commented May 10, 2024

Description

Fixes #8043

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

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

Screenshot from 2024-05-20 14-19-06
Screenshot from 2024-05-20 14-18-37

How Has This Been Tested?

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

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Copy link

codecov bot commented May 10, 2024

Codecov Report

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

Project coverage is 14.96%. Comparing base (87e7c57) to head (29c94e0).
Report is 4 commits behind head on 4.19.

Files Patch % Lines
...bernetes/cluster/KubernetesClusterManagerImpl.java 0.00% 34 Missing ⚠️
...ubernetes/cluster/KubernetesServiceHelperImpl.java 0.00% 31 Missing ⚠️
...s/version/UpdateKubernetesSupportedVersionCmd.java 0.00% 7 Missing ⚠️
...r/actionworkers/KubernetesClusterActionWorker.java 0.00% 6 Missing ⚠️
...kubernetes/cluster/DeleteKubernetesClusterCmd.java 0.00% 6 Missing ⚠️
.../apache/cloudstack/api/ApiCommandResourceType.java 44.44% 4 Missing and 1 partial ⚠️
...KubernetesClusterResourceModifierActionWorker.java 0.00% 5 Missing ⚠️
...bernetes/version/KubernetesVersionManagerImpl.java 50.00% 5 Missing ⚠️
.../kubernetes/cluster/StartKubernetesClusterCmd.java 0.00% 5 Missing ⚠️
...e/cloudstack/annotation/AnnotationManagerImpl.java 0.00% 5 Missing ⚠️
... and 14 more
Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #9070      +/-   ##
============================================
- Coverage     14.96%   14.96%   -0.01%     
+ Complexity    10995    10992       -3     
============================================
  Files          5373     5373              
  Lines        469005   469130     +125     
  Branches      58953    58719     -234     
============================================
- Hits          70198    70195       -3     
- Misses       391036   391163     +127     
- Partials       7771     7772       +1     
Flag Coverage Δ
uitests 4.31% <ø> (-0.01%) ⬇️
unittests 15.66% <9.03%> (-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.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@shwstppr 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]: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 9611

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@shwstppr 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 9621

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr shwstppr marked this pull request as ready for review May 20, 2024 08:52
@shwstppr
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@shwstppr 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9636

@shwstppr
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

[SF] Trillian Build Failed (tid-10217)

@shwstppr
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

code looks good @shwstppr , if I read this correctly it adds (fixes) a lot more events than the one reported in #8043 . Is this worth a doc PR?

@shwstppr
Copy link
Contributor Author

@DaanHoogland this PR just fixes events for different CKS actions for both k8s cluster and k8s supported versions. Mainly the resources linked to the events. I'm not sure what can be added in a doc PR. Do you have any suggestions?

@DaanHoogland
Copy link
Contributor

@DaanHoogland this PR just fixes events for different CKS actions for both k8s cluster and k8s supported versions. Mainly the resources linked to the events. I'm not sure what can be added in a doc PR. Do you have any suggestions?

It is not specific to this PR, but I think we can look at more specific event documentation. I had a quick search of the docs and do not see any event documentation for other resources either. Just a thought. Forget it for now.

@blueorangutan
Copy link

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

Test Result Time (s) Test File
test_01_events_resource Error 418.55 test_events_resource.py
test_02_trigger_shutdown Failure 341.77 test_safe_shutdown.py

@sureshanaparti sureshanaparti added this to the 4.19.1.0 milestone May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

4 participants