-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
270 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# How to manual test UMB messaging | ||
|
||
In `greenwave/listeners/base.py` comment out lines 299 - 304. Remember to reactivate them | ||
once you are finished. | ||
|
||
``` | ||
# if _is_decision_unchanged(old_decision, decision): | ||
# self.app.logger.debug( | ||
# "Skipped emitting fedora message, decision did not change: %s", decision | ||
# ) | ||
# self._inc(decision_unchanged_counter.labels(decision_context=decision_context)) | ||
# continue | ||
``` | ||
|
||
Run podman/docker compose. | ||
|
||
``` | ||
podman compose up -d | ||
``` | ||
|
||
Send testing request to UMB so resultdb can acquire it and send it to greenwave. | ||
|
||
``` | ||
python3 send_umb_message.py --host 127.0.0.1 --port 61612 --topic VirtualTopic.eng.resultsdb.result.new -p resultdb_json.json | ||
``` | ||
|
||
Check the logs of UMB where you should see whole message that is being sent out. | ||
|
||
``` | ||
podman compose logs umb | ||
``` | ||
|
||
Get logs of resultsdb listener | ||
|
||
``` | ||
podman compose logs resultsdb-listener | tail -n 20 | ||
``` | ||
|
||
For changig code there is no need of rebuilding the container as source code is mounted | ||
into container. If you are experiencing old code rerun the containers | ||
by `podman compose up -d`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"data": { | ||
"brew_task_id": [ | ||
"57212843" | ||
], | ||
"ci_docs": [ | ||
"https://docs.engineering.redhat.com/display/CVP/Container+Verification+Pipeline+E2E+Documentation" | ||
], | ||
"ci_email": [ | ||
"cvp@redhat.com" | ||
], | ||
"ci_name": [ | ||
"Container Verification Pipeline" | ||
], | ||
"ci_team": [ | ||
"CVP Development Team" | ||
], | ||
"ci_url": [ | ||
"https://jenkins-cvp-5c79a5a8d70cc51dd4c37835.apps.ocp-c1.prod.psi.redhat.com/" | ||
], | ||
"full_names": [ | ||
"registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-must-gather:v4.15.0-202311271051.p0.gc7f5e3f.assembly.stream" | ||
], | ||
"id": [ | ||
"sha256:a7fc01280c6b8173611c75a2cbd5a19f5d2ce42d9578d4efcc944e4bc80b09a0" | ||
], | ||
"issuer": [ | ||
"exd-ocp-buildvm-bot-prod" | ||
], | ||
"item": [ | ||
"avahi" | ||
], | ||
"log": [ | ||
"https://jenkins-cvp-5c79a5a8d70cc51dd4c37835.apps.ocp-c1.prod.psi.redhat.com/job/cvp-product-test/2555/console" | ||
], | ||
"msg_id": [ | ||
"ID:jenkins-2-8dcwr-46389-1700226798425-136563:1:1:1:1" | ||
], | ||
"scratch": [ | ||
"false" | ||
], | ||
"system_architecture": [ | ||
"x86_64" | ||
], | ||
"system_provider": [ | ||
"openshift" | ||
], | ||
"type": [ | ||
"redhat-module" | ||
] | ||
}, | ||
"groups": [], | ||
"href": "https://resultsdb-api.engineering.redhat.com/api/v2.0/results/23659469", | ||
"id": 23659469, | ||
"note": "Result status PASSED", | ||
"outcome": "PASSED", | ||
"ref_url": "http://external-ci-coldstorage.datahub.redhat.com/cvp/cvp-product-test/ose-must-gather-container-v4.15.0-202311271051.p0.gc7f5e3f.assembly.stream/1e4142dc-18cf-409d-b401-57e555156ab6/", | ||
"submit_time": "2023-11-27T11:42:24.538119", | ||
"testcase": { | ||
"href": "https://resultsdb-api.engineering.redhat.com/api/v2.0/testcases/cvp.rhproduct.default.source-container-compliance", | ||
"name": "baseos-ci.redhat-module.tier0.functional", | ||
"ref_url": null | ||
} | ||
} |
Oops, something went wrong.