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

ITests failing on running job 'Initialize Language Servers for pom.xml' #169

Open
vprusa opened this issue Feb 21, 2018 · 4 comments
Open

Comments

@vprusa
Copy link
Contributor

vprusa commented Feb 21, 2018

Itests hangs on
15:44:25 10:44:24.597 DEBUG [WorkbenchTestable][JobIsRunning] job 'Initialize Language Servers for pom.xml' has no excuses, wait for it
.. For all test cases which opens pom.xml

jenkins job

Locally all test passed

I need to debug this with lsp4e for more info

@vprusa
Copy link
Contributor Author

vprusa commented Mar 27, 2018

Using remote debug was able to Generate Stack Report result even when job "Initialize Language Servers for pom.xml" was still running. Additional attempts to stop running job using the UI button in Progress tab made this job stuck at the state "Cancel Requested" as seen in the screenshot.
image

@rawagner
Copy link
Collaborator

Generate Stack Report and Language Servers are two independent features.

Can you please generate and attach here a java tread dump when the Initialize LS job is stuck ? See https://access.redhat.com/solutions/18178

@vprusa
Copy link
Contributor Author

vprusa commented Apr 3, 2018

I am not sure if this is related but new error in logs

16:42:03 Error: Cannot find module '/mnt/hudson_workspace/workspace/fabric8-analytics.itests/jdk/openjdk-1.8/label/fedora26/sources/tests/com.redhat.fabric8analytics.lsp.eclipse.ui.itests/target/work/plugins/com.redhat.fabric8analytics.lsp.eclipse.ui_0.0.1.v20180208-1249/server/server.js'
16:42:03     at Function.Module._resolveFilename (module.js:470:15)
16:42:03     at Function.Module._load (module.js:418:25)
16:42:03     at Module.runMain (module.js:605:10)
16:42:03     at run (bootstrap_node.js:427:7)
16:42:03     at startup (bootstrap_node.js:148:9)
16:42:03     at bootstrap_node.js:542:3

@rawagner
Copy link
Collaborator

rawagner commented Apr 5, 2018

@vprusa So the LSP server.js is not downloaded during the build. download-maven-plugin plugin is used to download the LSP server and the plugin execution is skipped if skipRequirements is set to true (the value is inherited from skipTests), which it is in your jenkins job. I have added skipRequirements=false. Lets see if it helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants