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

Merge Zuul Logging job #113

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft

Merge Zuul Logging job #113

wants to merge 20 commits into from

Conversation

ayefimov-1
Copy link
Contributor

@ayefimov-1 ayefimov-1 commented Jul 3, 2024

Merge Logging job changes into Master

Depended-On: #123
Depends-On: #124
#Depends-On: #118

Copy link
Collaborator

@elfiesmelfie elfiesmelfie left a comment

Choose a reason for hiding this comment

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

There are some pieces that should be taken out, I think.

I suggest you start by creating a new PR that just adds the common tasks in their own role.
After that, create a PR for the test_logging role (with Depends-On the common_task PR) and then the zuul job (you can reuse this PR) (with a Depends-On on the test_logging PR).
The job won't run on the first two PRs, but the test result from this PR (i.e. "the zuul PR") will be valid for both the "common_tasks PR" and the "test_logging role" PR

Copy link
Contributor Author

@ayefimov-1 ayefimov-1 left a comment

Choose a reason for hiding this comment

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

Made updates suggested and associated changes needed.

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://review.rdoproject.org/zuul/buildset/1b0c0c692c4b4ce5bd342521b556b123

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 27m 12s
functional-tests-on-osp18 FAILURE in 1h 11m 01s
functional-logging-tests-osp18 FAILURE in 1h 10m 08s

changed_when: false


- name: "RHOSO-12754"
Copy link
Collaborator

Choose a reason for hiding this comment

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

As far as I know, the custom_logger does not look at play names to find the test ids and therefore determine what to log.
It definitely looks at tasks.
The logger MIGHT look at blocks and report pass/fail if the block name has an ID in it.

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://review.rdoproject.org/zuul/buildset/c31500c78aa243329da4f5edb570f4c1

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 24m 57s
functional-tests-on-osp18 FAILURE in 1h 08m 54s
functional-logging-tests-osp18 FAILURE in 1h 09m 56s

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://review.rdoproject.org/zuul/buildset/21a4344a3a7b40e2931b4eb1bce91314

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 41m 00s
functional-tests-on-osp18 FAILURE in 1h 26m 03s
functional-logging-tests-osp18 FAILURE in 1h 11m 33s

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://review.rdoproject.org/zuul/buildset/177f9dd6e06547faabd000c2302ea3b2

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 43m 18s
functional-tests-on-osp18 FAILURE in 1h 08m 37s
functional-logging-tests-osp18 FAILURE in 1h 08m 16s

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://review.rdoproject.org/zuul/buildset/32877f52508944ecb877af82800c0a98

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 44m 58s
functional-tests-on-osp18 FAILURE in 1h 11m 42s
functional-logging-tests-osp18 FAILURE in 1h 07m 34s

@ayefimov-1 ayefimov-1 closed this Jul 10, 2024
@ayefimov-1
Copy link
Contributor Author

made lots of changes and will submit new PR.

@elfiesmelfie elfiesmelfie reopened this Jul 15, 2024
@elfiesmelfie
Copy link
Collaborator

Reopening for testing

Copy link

This change depends on a change that failed to merge.

Changes #123, #124 are needed.

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 124,b385de899a6550c566fad7f8a2b6f06f8dbd0bf8

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 113,474a140cb7841a0e7cb2f7f334cc25948cc7ba91

@elfiesmelfie elfiesmelfie changed the base branch from master to alexy_logging2 August 7, 2024 17:49
@elfiesmelfie elfiesmelfie changed the base branch from alexy_logging2 to master August 7, 2024 17:50
@elfiesmelfie
Copy link
Collaborator

elfiesmelfie commented Aug 7, 2024

I rebased this branch against master.
Zuul should take care of checking out the changes from alexy_logging2 branch/PR#123 due to the Depends-on

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/f9cc04896a584e57b8dad887f4f161bf

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 22m 46s
functional-tests-on-osp18 FAILURE in 1h 07m 06s
functional-logging-tests-osp18 FAILURE in 24m 05s

Copy link

This change depends on a change that failed to merge.

Change #118 is needed.

@elfiesmelfie
Copy link
Collaborator

recheck

@elfiesmelfie
Copy link
Collaborator

I rebased this against the branch for PR#118 to avoid Zuul complaining

Copy link

This change depends on a change that failed to merge.

Change #118 is needed.

The logging plugins we use need all the tests to run in order to report properly.
Adding ignore_errors to the plays that run the tests allows all the tests to run even when one fails.

Also added verbosity to the ansible config to get more info about the failing tests
* rename loggin_tests_local playbook to logging_tests_controller
* Rename vars in ci/logging_tests_compute and loggin_tests_controller
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/576088e1f68244dc830e28b2fde766b2

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 04m 55s
functional-tests-on-osp18 FAILURE in 1h 51m 21s
functional-logging-tests-osp18 FAILURE in 1h 03m 28s
functional-graphing-tests-osp18 FAILURE in 1h 03m 27s
✔️ functional-metric-verification-tests-osp18 SUCCESS in 1h 05m 58s

common_container_list:
- ceilometer_agent_compute
- ceilometer_agent_ipmi
- node_exporter
Copy link
Contributor Author

@ayefimov-1 ayefimov-1 Jan 22, 2025

Choose a reason for hiding this comment

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

I think this list is correct

- [glance,image,public]
- [glance,image,internal]
- [neutron,network,public]
- [neutron,network,internal]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As far as I remember list correct/needed

Copy link
Collaborator

Choose a reason for hiding this comment

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

I want to re-work the endpoint tests, but this will be included in: #203, so I'm happy to merge them in the current for as long as the tests pass.

common_node_list:
- edpm-compute-0
- edpm-compute-1
- crc
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needed, I think

Copy link
Collaborator

Choose a reason for hiding this comment

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

I was pretty sure we decided to skip the node tests, which is why they're not included on master in the common role

common_manifest_test_id: "RHOSO-12677"
common_manifest_list:
- "loki-operator 2"
- "loki-helm-operator 1"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

needed, I think

- nova-internal
- nova-metadata-internal
- nova-novncproxy-cell1-public
- nova-public
Copy link
Contributor Author

Choose a reason for hiding this comment

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

needed, should be running

- ceilometer_agent_ipmi
- node_exporter

common_file_test_id: "RHOSO-12754"
Copy link
Collaborator

Choose a reason for hiding this comment

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

The file tests for compute are included in: #206

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/e7d56c3e1ca84dd6bce6a75b1253b86c

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 07m 11s
functional-tests-on-osp18 FAILURE in 1h 52m 59s
functional-logging-tests-osp18 FAILURE in 1h 16m 21s
functional-graphing-tests-osp18 FAILURE in 1h 46m 56s
✔️ functional-metric-verification-tests-osp18 SUCCESS in 1h 10m 28s

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 123,d0af80b9592bd228f10a89d76a1233c14306827a

@elfiesmelfie
Copy link
Collaborator

recheck

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/4bb75a7c7915472a919d2620c3ca35a7

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 13m 46s
✔️ functional-tests-on-osp18 SUCCESS in 1h 28m 22s
functional-logging-tests-osp18 FAILURE in 1h 12m 36s
✔️ functional-graphing-tests-osp18 SUCCESS in 1h 12m 04s
functional-metric-verification-tests-osp18 FAILURE in 1h 50m 14s

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.

2 participants