Bug 515638 - [Test] testAlreadyTerminatedProcess - Exception occurred executing command line.
Summary: [Test] testAlreadyTerminatedProcess - Exception occurred executing command line.
Status: REOPENED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sarika Sinha CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on: 515485
Blocks:
  Show dependency tree
 
Reported: 2017-04-23 23:58 EDT by Sarika Sinha CLA
Modified: 2022-10-13 14:19 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sarika Sinha CLA 2017-04-23 23:58:24 EDT
http://download.eclipse.org/eclipse/downloads/drops4/I20170422-2000/testresults/html/org.eclipse.jdt.debug.tests_ep47I-unit-cen64-gtk3_linux.gtk.x86_64_8.0.html
http://download.eclipse.org/eclipse/downloads/drops4/I20170421-2000/testresults/html/org.eclipse.jdt.debug.tests_ep47I-unit-cen64-gtk3_linux.gtk.x86_64_8.0.html
http://download.eclipse.org/eclipse/downloads/drops4/I20170420-2000/testresults/html/org.eclipse.jdt.debug.tests_ep47I-unit-cen64-gtk3_linux.gtk.x86_64_8.0.html


org.eclipse.core.runtime.CoreException: Exception occurred executing command line.
at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:889)
at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:858)
at org.eclipse.jdt.debug.tests.core.ProcessTests.testAlreadyTerminatedProcess(ProcessTests.java:64)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2497)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:57)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Cannot run program "java": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:528)
at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:883)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
Comment 1 Andrey Loskutov CLA 2017-04-24 02:43:05 EDT
@Sravan: I've heard we've moved or re-installed one from our build machines: can it be that the new one has no "java" in the path?
Comment 2 Sravan Kumar Lakkimsetti CLA 2017-04-24 04:30:01 EDT
(In reply to Andrey Loskutov from comment #1)
> @Sravan: I've heard we've moved or re-installed one from our build machines:
> can it be that the new one has no "java" in the path?

These tests ran on centslave2 which is a new test machine. This is a fresh machine. It may not have all the required libraries. I did confirm it does not have java installed. but you can still used java from /shared. 

I you need any tools to be installed please update bug 515485.

Please note we have two test machine centslave2 and hippcentos. these test will run on either of them based on load at that time.
Comment 3 Sarika Sinha CLA 2017-04-24 04:31:26 EDT
Updated Bug 515485
Comment 4 Sarika Sinha CLA 2018-01-30 03:46:19 EST
Don't see it as a problem any more.
Comment 6 Sravan Kumar Lakkimsetti CLA 2020-08-20 11:01:45 EDT
(In reply to Sarika Sinha from comment #5)
> @Sravan,
> seeing this after a long time. Any change in environment ?
> 
> https://download.eclipse.org/eclipse/downloads/drops4/I20200820-0230/
> testresults/html/org.eclipse.jdt.debug.tests_ep417I-unit-cen64-gtk3-
> java11_linux.gtk.x86_64_11.html

tests are running on centos 8 now. till last week they were running on centos 7
Comment 7 Sarika Sinha CLA 2020-08-26 04:41:51 EDT
(In reply to Sravan Kumar Lakkimsetti from comment #6)
> (In reply to Sarika Sinha from comment #5)
> > @Sravan,
> > seeing this after a long time. Any change in environment ?
> > 
> > https://download.eclipse.org/eclipse/downloads/drops4/I20200820-0230/
> > testresults/html/org.eclipse.jdt.debug.tests_ep417I-unit-cen64-gtk3-
> > java11_linux.gtk.x86_64_11.html
> 
> tests are running on centos 8 now. till last week they were running on
> centos 7

I don't see anything in the log to proceed and this is consistent now. Anything that can be done to make this work again?
Comment 9 Sravan Kumar Lakkimsetti CLA 2020-08-27 05:28:33 EDT
(In reply to Sarika Sinha from comment #7)
> (In reply to Sravan Kumar Lakkimsetti from comment #6)
> > (In reply to Sarika Sinha from comment #5)
> > > @Sravan,
> > > seeing this after a long time. Any change in environment ?
> > > 
> > > https://download.eclipse.org/eclipse/downloads/drops4/I20200820-0230/
> > > testresults/html/org.eclipse.jdt.debug.tests_ep417I-unit-cen64-gtk3-
> > > java11_linux.gtk.x86_64_11.html
> > 
> > tests are running on centos 8 now. till last week they were running on
> > centos 7
> 
> I don't see anything in the log to proceed and this is consistent now.
> Anything that can be done to make this work again?

right now I don't have any other ideas. Please disable this test for now
Comment 10 Eclipse Genie CLA 2020-08-27 12:44:03 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/168325
Comment 12 Sarika Sinha CLA 2020-08-27 13:05:44 EDT
Disabled the test on Linux for now.
Comment 13 Eclipse Genie CLA 2022-10-13 14:19:16 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.