You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Berezhniuk (JIRA)" <ji...@apache.org> on 2007/12/14 17:37:43 UTC

[jira] Commented: (HARMONY-5306) [buildtest][EUT] swt suite intermittently crashes by timeout

    [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551852 ] 

Ilya Berezhniuk commented on HARMONY-5306:
------------------------------------------

I've checked several consequent runs - the suite hangs in ~75% of runs with same environment.

This bug is reproducible on Sun and BEA VMs not only in GUI, but also for runs with ANT script used in CC. Therefore it's not Harmony bug.

Looks like threads started in Browser6.test1 test case have race condition.
When waiting for google.com connection fails before the timeout (600s), the test fails.
When waiting for socket connection is failed after display/shell are disposed by timeout, the message box appears and causes the suite to hang.

I've reproduced this problem on standalone Browser6.java with reduced timeouts.

So looks like the bug is in test - the test does not finish correctly when server is not available.

To fix the hangup I tried to specify http.proxyHost and http.proxyPort properties directly in test code - no result.
Looks like org.eclipse.swt.browser.Browser class still ignores proxy settings [1].
Even Eclipse itself can't find google.com in its internal browser, even when started with
"-vmargs -Dhttp.proxyHost=proxy.xxx.com -Dhttp.proxyPort=yyy -Djava.net.useSystemProxies=true"

I've tried to pass single Browse6 test with internal URL accessible without proxy - the suite does not hang for many runs.
So if we can't patch and rebuild EUT tests, probably the only way to get rid of hangup is using host without proxy for EUT testing.

[1] http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg16279.html


> [buildtest][EUT] swt suite intermittently crashes by timeout
> ------------------------------------------------------------
>
>                 Key: HARMONY-5306
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5306
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>    Affects Versions: 5.0M4
>         Environment: Linux/x86
>            Reporter: Ilya Berezhniuk
>
> Cruise control results show crash in 'swt' suite from time to time. The latest result:
> http://people.apache.org/~smishura/r603433/Linux_x86/eut33/
> I've detected that this crash is actually killing swt suite by timeout.
> Checking 'swt' from Eclipse GUI shows that the problem is in message window waiting for button pressing.
> This message box shows the following message:
> "The operation timed out when attempting to contact www.google.com."
> I can reproduce this problem on Sun and BEA VMs too.
> So I think the problem is in problems with network on particular host.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.