-
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
Java LS server initialization was failed #14283
Comments
@vparfonov looks related to redhat-developer/rh-che#1565 |
|
@vparfonov this is a great hot fix for upstream for the time being, but it will fix neither prod-preview nor |
@ibuziuk Yes, you are totally right we should to switch to the |
We need to fix Happy path tests to switch the next Theia version #14248. The work is in progress. |
@dmytro-ndp yeah, but #14248 is not enough to make LS work, smth got broken in the next version of plugins and this is not related to missing |
@ibuziuk : could you, please, be more specific about what got broken in the next version of plugins, because AFAIK @musienko-maxim didn't encounter any additional problem, but #14282 ? |
@dmytro-ndp What is the actual condition that is failing (or timing out, to be more precise)? Are checking a log message or are you observing some change in the UI? |
@tsmaeder: Happy path tests failed because it didn't receive notification "Starting Java Language Server" after opening petclinic project during the 18 seconds, and refresh of browser page didn't help: Browser logs: https://gist.github.com/dmytro-ndp/37e036eb1afa39ddad74fb780f43a81b Che Config mapCHE_API: http://che-che.10.0.151.216.nip.io/api CHE_CORS_ALLOW__CREDENTIALS: "false" CHE_CORS_ALLOWED__ORIGINS: '*' CHE_CORS_ENABLED: "true" CHE_DEBUG_SERVER: "true" CHE_HOST: che-che.10.0.151.216.nip.io CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL: http://che-che.10.0.151.216.nip.io/agent-binaries/linux_amd64/bootstrapper/bootstrapper CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON: '{"kubernetes.io/ingress.class": "nginx", "nginx.ingress.kubernetes.io/rewrite-target": "/","nginx.ingress.kubernetes.io/ssl-redirect": "false","nginx.ingress.kubernetes.io/proxy-connect-timeout": "3600","nginx.ingress.kubernetes.io/proxy-read-timeout": "3600"}' CHE_INFRA_KUBERNETES_INGRESS_DOMAIN: 10.0.151.216.nip.io CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN: "5" CHE_INFRA_KUBERNETES_MASTER__URL: "" CHE_INFRA_KUBERNETES_NAMESPACE: che CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP: "1724" CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER: "1724" CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS: "true" CHE_INFRA_KUBERNETES_PVC_QUANTITY: 1Gi CHE_INFRA_KUBERNETES_PVC_STRATEGY: common CHE_INFRA_KUBERNETES_SERVER__STRATEGY: multi-host CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME: che-workspace CHE_INFRA_KUBERNETES_TLS__ENABLED: "false" CHE_INFRA_KUBERNETES_TLS__SECRET: "" CHE_INFRA_KUBERNETES_TRUST__CERTS: "false" CHE_INFRA_KUBERNETES_WORKSPACE__START__TIMEOUT__MIN: "15" CHE_INFRASTRUCTURE_ACTIVE: kubernetes CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: "-1" CHE_LOCAL_CONF_DIR: /etc/conf CHE_LOG_LEVEL: INFO CHE_LOGGER_CONFIG: "" CHE_LOGS_APPENDERS_IMPL: plaintext CHE_LOGS_DIR: /data/logs CHE_METRICS_ENABLED: "false" CHE_MULTIUSER: "false" CHE_OAUTH_GITHUB_CLIENTID: "" CHE_OAUTH_GITHUB_CLIENTSECRET: "" CHE_PORT: "8080" CHE_PREDEFINED_STACKS_RELOAD__ON__START: "false" CHE_TRACING_ENABLED: "false" CHE_WEBSOCKET_ENDPOINT: ws://che-che.10.0.151.216.nip.io/api/websocket CHE_WEBSOCKET_ENDPOINT__MINOR: ws://che-che.10.0.151.216.nip.io/api/websocket-minor CHE_WORKSPACE_AUTO_START: "false" CHE_WORKSPACE_DEVFILE__REGISTRY__URL: http://devfile-registry-che.10.0.151.216.nip.io CHE_WORKSPACE_HTTP__PROXY: "" CHE_WORKSPACE_HTTPS__PROXY: "" CHE_WORKSPACE_JAVA__OPTIONS: -Xmx2000m CHE_WORKSPACE_MAVEN__OPTIONS: -Xmx20000m CHE_WORKSPACE_NO__PROXY: "" CHE_WORKSPACE_PLUGIN__REGISTRY__URL: http://plugin-registry-che.10.0.151.216.nip.io/v3 CHE_WSAGENT_CORS_ALLOW__CREDENTIALS: "true" CHE_WSAGENT_CORS_ALLOWED__ORIGINS: "NULL" CHE_WSAGENT_CORS_ENABLED: "true" JAEGER_ENDPOINT: http://jaeger-collector:14268/api/traces JAEGER_REPORTER_MAX_QUEUE_SIZE: "10000" JAEGER_SAMPLER_MANAGER_HOST_PORT: jaeger:5778 JAEGER_SAMPLER_PARAM: "1" JAEGER_SAMPLER_TYPE: const JAEGER_SERVICE_NAME: che-server JAVA_OPTS: '-XX:MaxRAMFraction=2 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -Xms20m ' |
It looks like this issue has been fixed. I have tested:
and in both cases the LS was started and worked fine. I believe the only missing piece to get back to @dmytro-ndp @vparfonov @rhopp do you confirm? |
Yes, looks like on che-theia:next this problem is not actual. On this job the LS init works.: |
At the same time we encountered too big Java LS server initialization time (more than 30 minutes) on Jenkins slave codenvy-slave9, where we were running fixed Che version https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/blue/organizations/jenkins/Single-Che-PR-check-E2E-Happy-path-tests-against-k8s-on-codenvy-slave9/detail/Single-Che-PR-check-E2E-Happy-path-tests-against-k8s-on-codenvy-slave9/175/pipeline/101 : Happy path test logsValidation of workspace start ✓ Open workspace (2199ms) ✓ Wait workspace running state (106212ms) ✓ Wait until project is imported (10280ms) Che server image: maxura/che-server:14285 |
Describe the bug
There are E2E Happy path tests which fail on "Language server validation > Java LS initialization" step https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/che-regular-tests/view/K8S/job/CHE-7-Happy-Path-Tests/1117/console
Browser logs: https://gist.github.com/dmytro-ndp/37e036eb1afa39ddad74fb780f43a81b
Test execution screencast: https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/che-regular-tests/view/K8S/job/CHE-7-Happy-Path-Tests/1117/artifact/e2e/report/executionScreencast/
It could be related to commit c3b0abb#diff-4b31cfc6b318b13ea51fcb1b2d1c11ce
Che version
Che Config map
Steps to reproduce
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screencast
Installation method
Environment
Additional context
The text was updated successfully, but these errors were encountered: