Skip to content

"Binary LSP agent start failed" sometimes #116

@iloveeclipse

Description

@iloveeclipse

Feedback source

None

GitHub Copilot plugin version

0.14.0.202512112209

Eclipse IDE and version

4.38

Platform

RHEL 9.6, Java 25

uname -a
Linux socbn410 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 10:41:31 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux
java -version
openjdk version "25" 2025-09-16 LTS
OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS)
OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode, sharing)

Steps to reproduce

Unfortunately only seen in automated tests (~50 executions at night, maybe 1 would fail).

Logs (optional)

!ENTRY com.microsoft.copilot.eclipse 4 0 2026-01-27 02:26:27.908
!MESSAGE [Error] Binary LSP agent start failed. Retrying with JS agent.
!STACK 0
java.io.IOException: Cannot run program "/workspaces/socvn352/jenkinsbs/ws-integration-default_el9/opt/hp93000/soc/segments/eclipse/eclipseForTest/configuration/org.eclipse.osgi/289/0/.cp/copilot-agent/copilot-language-server": Exec failed, error: 26 (Text file busy) 
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1112)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1046)
	at org.eclipse.lsp4e.server.ProcessStreamConnectionProvider.start(ProcessStreamConnectionProvider.java:58)
	at com.microsoft.copilot.eclipse.core.lsp.LsStreamConnectionProvider.startBinaryLspAgent(LsStreamConnectionProvider.java:77)
	at com.microsoft.copilot.eclipse.core.lsp.LsStreamConnectionProvider.start(LsStreamConnectionProvider.java:60)
	at org.eclipse.lsp4e.LanguageServerWrapper.lambda$0(LanguageServerWrapper.java:429)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1789)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1781)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1450)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2019)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: java.io.IOException: Exec failed, error: 26 (Text file busy) 
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:300)
	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:231)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1078)
	... 11 more

Expected behavior

No errors

Actual behavior

LS can't start

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions