|
Description
Sarika Sinha
Machine needs a restart or some other issue? (In reply to Sarika Sinha from comment #1) > Machine needs a restart or some other issue? This is still the problem from transition to the new JIRO infra, see bug 561138 comment 3. I've given up on that. Errors like this "Caused by: java.io.IOException: Cannot run program "java": error=2, No such file or directory" is a sign of wrong PATH etc. JDT suffers from missing "lsof" in path: https://download.eclipse.org/eclipse/downloads/drops4/I20200409-0200/testresults/html/org.eclipse.jdt.core.tests.builder_ep416I-unit-cen64-gtk3-java8_linux.gtk.x86_64_8.0.html "Failed to read opened file descriptors" UTF-8 encoding is not set: https://download.eclipse.org/eclipse/downloads/drops4/I20200409-0200/testresults/html/org.eclipse.jdt.core.tests.model_ep416I-unit-cen64-gtk3-java8_linux.gtk.x86_64_8.0.html unexpected default charset Unexpected encoding during test, encoding parameters are: -Dfile.encoding=ANSI_X3.4-1968 Charset.defaultCharset()=US-ASCII LANG=null expected:<UTF-8> but was:<US-ASCII> etc. (In reply to Andrey Loskutov from comment #2) > (In reply to Sarika Sinha from comment #1) > > Machine needs a restart or some other issue? > > This is still the problem from transition to the new JIRO infra, see bug > 561138 comment 3. > > I've given up on that. > > Errors like this "Caused by: java.io.IOException: Cannot run program "java": > error=2, No such file or directory" is a sign of wrong PATH etc. > > JDT suffers from missing "lsof" in path: > > https://download.eclipse.org/eclipse/downloads/drops4/I20200409-0200/ > testresults/html/org.eclipse.jdt.core.tests.builder_ep416I-unit-cen64-gtk3- > java8_linux.gtk.x86_64_8.0.html > > "Failed to read opened file descriptors" > > UTF-8 encoding is not set: > > https://download.eclipse.org/eclipse/downloads/drops4/I20200409-0200/ > testresults/html/org.eclipse.jdt.core.tests.model_ep416I-unit-cen64-gtk3- > java8_linux.gtk.x86_64_8.0.html > > unexpected default charset Unexpected encoding during test, encoding > parameters are: -Dfile.encoding=ANSI_X3.4-1968 > Charset.defaultCharset()=US-ASCII LANG=null expected:<UTF-8> but > was:<US-ASCII> > > etc. @andrey We are using docker image for our tests here is the docker file https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/tree/cje-production/dockerfiles/centos-gtk3-metacity/7-gtk3/Dockerfile Can you please let us know the commands to set the encoding? I will add them here. (In reply to Sravan Kumar Lakkimsetti from comment #3) > We are using docker image for our tests here is the docker file > https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/ > tree/cje-production/dockerfiles/centos-gtk3-metacity/7-gtk3/Dockerfile > > Can you please let us know the commands to set the encoding? I will add them > here. export LANG=en_US.UTF-8 should do the trick. (In reply to Andrey Loskutov from comment #4) > export LANG=en_US.UTF-8 > > should do the trick. On a *usual* shell, before starting Eclipse process. How this works with docker, have no idea (don't know if it inherits shell environment - probably not, so must be done inside the docker container environment but before starting Eclipse process). (In reply to Andrey Loskutov from comment #4) > (In reply to Sravan Kumar Lakkimsetti from comment #3) > > We are using docker image for our tests here is the docker file > > https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/ > > tree/cje-production/dockerfiles/centos-gtk3-metacity/7-gtk3/Dockerfile > > > > Can you please let us know the commands to set the encoding? I will add them > > here. > > export LANG=en_US.UTF-8 > > should do the trick. Ok I will add this command inside the shell before starting eclipse process. Thanks Sravan (In reply to Sravan Kumar Lakkimsetti from comment #6) > (In reply to Andrey Loskutov from comment #4) > > (In reply to Sravan Kumar Lakkimsetti from comment #3) > > > We are using docker image for our tests here is the docker file > > > https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/ > > > tree/cje-production/dockerfiles/centos-gtk3-metacity/7-gtk3/Dockerfile > > > > > > Can you please let us know the commands to set the encoding? I will add them > > > here. > > > > export LANG=en_US.UTF-8 > > > > should do the trick. > > Ok I will add this command inside the shell before starting eclipse process. > > Thanks > Sravan Sravan, please fix for RC1. New Gerrit change created: https://git.eclipse.org/r/163666 Gerrit change https://git.eclipse.org/r/163666 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=9746b04bceedb83f12158e4e219054cb966815b5 (In reply to Eclipse Genie from comment #8) > New Gerrit change created: https://git.eclipse.org/r/163666 Modified the test case as it looks like user.home System property is not available in the docker image. (In reply to Sarika Sinha from comment #10) > (In reply to Eclipse Genie from comment #8) > > New Gerrit change created: https://git.eclipse.org/r/163666 > > Modified the test case as it looks like user.home System property is not > available in the docker image. So this fixes the one test case failure. I can put a similar fix for failure of testClasspathOnlyJarUsedForLongClasspathOnJava8 but the other failure of "Program did not suspend, launch terminated" needs to be taken up separately. New Gerrit change created: https://git.eclipse.org/r/163729 Gerrit change https://git.eclipse.org/r/163729 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=5e2ee41758355d9ed945a8ec9ba5be31396dac75 (In reply to Eclipse Genie from comment #13) > Gerrit change https://git.eclipse.org/r/163729 was merged to [master]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/ > ?id=5e2ee41758355d9ed945a8ec9ba5be31396dac75 3 test failures have been fixed by this, but one test is failing on 1 OS, so for time being org.eclipse.jdt.debug.tests.launching.LongModulePathTests.testVeryLongModulepathWithArgumentFile() has been disabled for all OS apart from Windows. @Sravan, We still have 1 failing tests. I see these kind exceptions in the log -> What is missing int he setup? !ENTRY org.eclipse.jdt.core 4 0 2020-06-16 17:23:29.217 !MESSAGE Unexpected internal error !STACK 1 Java Model Exception: Java Model Status [<module:jdk.httpserver> is not on its project's build path] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:583) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:256) at !ENTRY org.eclipse.jdt.core 4 0 2020-06-16 17:23:29.316 !MESSAGE Unexpected internal error !STACK 1 Java Model Exception: Java Model Status [<module:jdk.jartool> is not on its project's build path] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:583) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:256) at UBENTRY 1 org.eclipse.jdt.core 4 1006 2020-06-16 17:23:29.426 !MESSAGE <module:jdk.javadoc> is not on its project's build path !ENTRY org.eclipse.jdt.core 4 0 2020-06-16 17:23:29.429 !MESSAGE Unexpected internal error !STACK 1 Java Model Exception: Java Model Status [<module:jdk.jconsole> is not on its project's build path] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:583) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:256) at !SUBENTRY 1 org.eclipse.jdt.core 4 1006 2020-06-16 17:23:29.431 !MESSAGE <module:jdk.jconsole> is not on its project's build path !ENTRY org.eclipse.jdt.core 4 0 2020-06-16 17:23:29.432 !MESSAGE Unexpected internal error !STACK 1 Java Model Exception: Java Model Status [<module:jdk.jdi> is not on its project's build path] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:583) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:256) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:596) at !SUBENTRY 1 org.eclipse.jdt.core 4 1006 2020-06-16 17:23:29.434 !MESSAGE <module:jdk.management> is not on its project's build path !ENTRY org.eclipse.jdt.core 4 0 2020-06-16 17:23:29.435 !MESSAGE Unexpected internal error !STACK 1 Java Model Exception: Java Model Status [<module:jdk.sctp> is not on its project's build path] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:583) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:256) at !SUBENTRY 1 org.eclipse.jdt.core 4 1006 2020-06-16 17:23:29.582 !MESSAGE <module:jdk.internal.ed> is not on its project's build path !ENTRY org.eclipse.jdt.core 4 0 2020-06-16 17:23:29.584 !MESSAGE Unexpected internal error !STACK 1 Java Model Exception: Java Model Status [<module:jdk.internal.le> is not on its project's build path] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:583) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:256) New Gerrit change created: https://git.eclipse.org/r/165133 Gerrit change https://git.eclipse.org/r/165133 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=9427c5d59338815d3d380b9d1be1e58f17c8085e New Gerrit change created: https://git.eclipse.org/r/165312 Gerrit change https://git.eclipse.org/r/165312 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=28c7b4f050b9b4a090ddcb319add22f56def858b New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/166988 Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/166988 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=78383e99825a9a02e2b832326b78501e985d9de8 Don't see it failing any more. Thanks sravan. |