-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Watch and provide startup logs (workspace + broker pods) #16126
Conversation
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
…sted in Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
…ool... can this thing get any better? Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
…w responsible for handling just single log messages Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
# Conflicts: # infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/KubernetesInternalRuntime.java
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
…ethod Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
…ew more review fixes Signed-off-by: Michal Vala <mvala@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
I have no idea why it happens, but had to work around something like this in the kubernetes image puller. It may even be a k8s client-go issue, so we might not see it on the Che side. |
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
.../main/java/org/eclipse/che/workspace/infrastructure/kubernetes/namespace/log/LogWatcher.java
Outdated
Show resolved
Hide resolved
...org/eclipse/che/workspace/infrastructure/kubernetes/wsplugins/brokerphases/DeployBroker.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Michal Vala <mvala@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
@sparkoo: java selenium tests failed because of known test flakiness in master. |
E2E tests of Eclipse Che Multiuser on OCP has failed: Use command [ci-test] to rerun the test. |
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) ℹ️ |
This effectively replaces and enhances the original PR #15988
What does this PR do?
Watch the logs of all containers in workspace pod and plugin broker pod during workspace startup. Feature is disabled by default. It can be enabled on workspace startup REST API with new query parameter
debug-workspace-start
. If it is set to true, logs will be watched and printed during the startup.so API call looks like this:
<che-host>/api/workspace/{id}/runtime?debug-workspace-start=true
What issues does this PR fix or reference?
#15983
#16117
Docs PR
will be part of followup UI-based tasks #16050 #16063 #16119
Additional context
epic: #15047