-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[WFLY-15849] OpenTelemetry QS on OpenShift #872
Conversation
Superseeds #870 |
625c1f1
to
9c8c1b0
Compare
@emmartins For some reason the opentelemetry tests are not getting picked up. See https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/wildfly_quickstart/872/pull-ci-wildfly-quickstart-main-wildfly-quickstart-e2e/1752305685376274432/artifacts/wildfly-quickstart-e2e/quickstart-build/build-log.txt Right at the end
|
AFAIK That will be fixed by another PR.
…On Tue, 30 Jan 2024 at 13:17, Kabir Khan ***@***.***> wrote:
@emmartins <https://github.com/emmartins> For some reason the
opentelemetry tests are not getting picked up. See
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/wildfly_quickstart/872/pull-ci-wildfly-quickstart-main-wildfly-quickstart-e2e/1752305685376274432/artifacts/wildfly-quickstart-e2e/quickstart-build/build-log.txt
Right at the end
Parsed test directories, and determined tests should be run for the following directories:
Running tests...
All tests run in 0m0s.
\033[0;32mAll tests passed!\033[0m
—
Reply to this email directly, view it on GitHub
<#872 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEDY6HWZCCU4FG7J4WWBOLYRDXHFAVCNFSM6AAAAABCRDS3OCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJWHAZTAMJSGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It might be because the GH Action workflow is called Either the |
I can address that issue here: #871 |
Build with openshift profile Clean up YAML Modify how WF is configured under OS build Add instructions for deploying otel collector on OS
fixed, added functions override and remove test exclusion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I'll close my PR in favor of this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked the OpenShift tests, and they are running
The OpenShift guide have unorganized steps compare to bootabale jar.
OpenShift:
|
That issue of undeploy before testing affects all QS, it is something we
need to address separately, please ignore on this PR.
…On Thu, 1 Feb 2024 at 09:58, Krystof Stekovic ***@***.***> wrote:
The OpenShift guide have unorganized steps compare to bootabale jar.
bootable-jar:
- build
- start app
- start integration tests
- stop
OpenShift:
- prerequisites (start the opentelemetry)
- deploy QS
- uninstall
- start integration tests
—
Reply to this email directly, view it on GitHub
<#872 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEDY6DBRVNGR5R5SLAUMH3YRNRKXAVCNFSM6AAAAABCRDS3OCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQHE2DEOBSGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
||
function cleanPrerequisites() { | ||
echo "Deleting all OpenTelemetry Collector resources" | ||
oc delete -f charts/opentelemetry-collector.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this step should as additional step in undeploy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The proper solution for this requires an additional extension point for shared-docs, similar to helm-install-prerequisites, and that will affect all QS so I have created https://issues.redhat.com/browse/WFLY-18986 to deliver it (and more general shared improvements). For now the uninstall is referenced as a note at https://github.com/wildfly/quickstart/pull/872/files#diff-437f0901bdbc94e992d4b6b75f355240a557c4879683f47d27dad1c51f27dc4aR19
I did think of that, but we will need to add another extension point on the
shared-docs, similar to what we have for extra pre requisites install. Due
to tight schedule for now I opted for a note on the pre requisites install
content, but definitely in the future I would like to add such undeploy
extension point and have mp reactive, micrometer and opentelemetry QS to
provide an impl for that. If you agree of course, your call, you have the
right to request that now if you want :-)
…On Thu, 1 Feb 2024 at 10:02, Krystof Stekovic ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In
.ci/openshift-ci/build-root/scripts/qs-overrides/opentelemetry-tracing/overridable-functions.sh
<#872 (comment)>:
> @@ -0,0 +1,9 @@
+function runPostHelmInstallCommands() {
+ echo "Applying all OpenTelemetry Collector resources"
+ oc apply -f charts/opentelemetry-collector.yaml
+}
+
+function cleanPrerequisites() {
+ echo "Deleting all OpenTelemetry Collector resources"
+ oc delete -f charts/opentelemetry-collector.yaml
I think this step should as additional step in undeploy
—
Reply to this email directly, view it on GitHub
<#872 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEDY6ECDHVNBEZT5XFT7OTYRNR3JAVCNFSM6AAAAABCRDS3OCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQNJWGA3DSNZSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It seem to be similar issues with steps organization. So I think this could be fixed in that scope. #872 (comment)
|
fixed |
OpenShift steps works as is expected. Ready to merge. Thanks. |
thank you @kstekovi |
Clean up YAML
Add instructions for deploying otel collector on OS
OepnShift CI setup
Issue: WFLY-15849, WFLY-18943