This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
happened three times during last three days/testruns (functional tests on 1.6)..only on windows, test4u is not able to kill them, test4u server must be restarted to unblock queue. Is this problem of test4u or just of those tests?
I have looked at blocked machine. The test4u is waiting for executed ant process. Process.destory doesn't work on the blocked process than.
for now i've excluded xtest unit tests from masterconfig
Jirko, can you look at it ??
I tried to run it on qa-amdv20-s2. I watched logs and the test passes. But I haven't received results and it seems test4u restarts itself. I really don't know what is happenning there. Could you tell me how and where to reproduce it?
It is really strange. I can reproduce it only with JDK1.6 (ant -f xtest/test/build.xml). It freezes when getting localhost name at at java.net.Inet4AddressImpl.getLocalHostName(Native Method) at java.net.InetAddress.getLocalHost(InetAddress.java:1297) at org.netbeans.xtest.pe.xmlbeans.SystemInfo.getCurrentHost(SystemInfo.java:65) But when you hit Enter key two times it releases!!! I guess it can be something with streams hold or redirected by Ant. If I use input="XXX" it works <java classname="org.apache.tools.ant.Main" classpath="${java.class.path}" fork="true" input="XXX"> Do you have a notion what it could be?
No, this 'ask for input' must come from JDK. As I remember similar issue we were solving before a time - I had to patch xtest to skip this InetAddress.getLocalHost that time. There is set machine's name by property xtest.machine since the time in test4u.
It is fixed now and xtest module is againg in master-config. I added dummy input to a Java task definition. It prevents JVM from beeing blocked by reading standard input. It was already reported as JDK issue (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6306875). /cvs/xtest/test/build-unit.xml,v <-- build-unit.xml new revision: 1.5; previous revision: 1.4
*** Issue 90421 has been marked as a duplicate of this issue. ***
thanks, today tests passed -> verified.