Skip to content

Add chargeback rating testing for Cloudops FVT #341

Draft
ayefimov-1 wants to merge 26 commits intomasterfrom
alexy_chargeback_rating
Draft

Add chargeback rating testing for Cloudops FVT #341
ayefimov-1 wants to merge 26 commits intomasterfrom
alexy_chargeback_rating

Conversation

@ayefimov-1
Copy link
Contributor

@ayefimov-1 ayefimov-1 commented Mar 24, 2026

Assisted-by: Cursor

Add testing of rating results from chargeback.

that the total cost is correct

Used Gemini and Cursor
Validates chargeback total cost
- uses synth data to calculate total cost via script
- run "openstack rating summary get" to get total cost from loki
- compares script_totals and Loki_Totals if same then job passes

Closes: https://issues.redhat.com/browse/OSPRH-26066
storage in cloudkitty_loki_totals_metrics_suffix
so that they can be compared easily
removed second filter for Loki data output
if I add all log_types to each test, will it fix db results?
- test scenario labels updated
- pep8 compliance changes
- changed some var to more descriptive names
@softwarefactory-project-zuul
Copy link

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/infrawatch/feature-verification-tests for 341,f90a853446f46cc665b54620c5d9a8c569199bb1

@ayefimov-1
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/79c0fb103e3a404aba8c895ed057bb30

✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 56m 48s
✔️ functional-chargeback-tests-osp18 SUCCESS in 1h 47m 26s
✔️ feature-verification-tests-noop SUCCESS in 5s
functional-tests-osp18 FAILURE in 1h 42m 58s
✔️ functional-logging-tests-osp18 SUCCESS in 1h 25m 35s

data. This data will then be validated
@ayefimov-1 ayefimov-1 force-pushed the alexy_chargeback_rating branch from f90a853 to fa7d242 Compare March 24, 2026 18:52
@ayefimov-1
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b7161344b121495595e96b39e758dbb8

✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 29m 29s
functional-chargeback-tests-osp18 FAILURE in 30m 51s
✔️ feature-verification-tests-noop SUCCESS in 5s
✔️ functional-tests-osp18 SUCCESS in 2h 10m 40s
✔️ functional-logging-tests-osp18 SUCCESS in 1h 26m 47s

@ayefimov-1
Copy link
Contributor Author

recheck

@ayefimov-1 ayefimov-1 force-pushed the alexy_chargeback_rating branch from bd2576b to 95f2de7 Compare March 25, 2026 20:32
@ayefimov-1 ayefimov-1 marked this pull request as draft March 25, 2026 21:48
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/44ad849bbe9a4c8dbe72b7a973d291d8

✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 27m 47s
functional-chargeback-tests-osp18 FAILURE in 31m 44s
✔️ feature-verification-tests-noop SUCCESS in 5s
✔️ functional-tests-osp18 SUCCESS in 2h 09m 40s
✔️ functional-logging-tests-osp18 SUCCESS in 1h 30m 48s

@ayefimov-1
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ee2f6f401e0d44f3a2bc2d934797295d

✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 26m 12s
✔️ functional-chargeback-tests-osp18 SUCCESS in 1h 46m 38s
✔️ feature-verification-tests-noop SUCCESS in 9s
✔️ functional-tests-osp18 SUCCESS in 2h 07m 18s
functional-logging-tests-osp18 FAILURE in 24m 48s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant