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/13 15:47:43 UTC

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

[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.


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

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551949 ] 

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

I've prepared a script to patch EUT tests.
It changes www.google.com in Browser1 and Browser6 tests onto some locally available URL provided in script parameters.
This script is made from scripts for EUT 3.2 in eut/extra dir.

When I tried these patched tests, I've got the suite passed more often, but sometimes it still hangs in batch run.
When I started batch run with display set to Xserver on local machine, I've observed that Browser3 test is also hanged with "google" error.
It appeared that test HTML for Browser3 to open in new window also contains www.google.com.

I think I'll update the script for patching EUT soon and lay it to JIRA.

> [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.


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

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stepan Mishura resolved HARMONY-5306.
-------------------------------------

    Resolution: Fixed

Thanks Ilya - the slightly modified patch was applied to BTI branch 2.0 at r605885. (I've updated licence header)
Please check that the patch was applied as you expected.

> [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
>            Assignee: Stepan Mishura
>         Attachments: eut.3.3.swt.patching.zip
>
>
> 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.


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

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk updated HARMONY-5306:
-------------------------------------

    Attachment: eut.3.3.swt.patching.zip

I've prepared patches and script for patching EUT 3.3 to pass swt suite.
(See "eut.3.3.swt.patching" in the attached archive.)

This script is similar to scripts for patching EUT 3.2.
To perform needed URL substitutions 'swt.local.url' property in 'properties' file should be set to locally available  URL.
Default value of 'swt.local.url' is 'http://www.googl.com'.

I've just started testing with patched EUTs, so I'm not quite sure that all is OK.
Probably Test_org_eclipse_swt_browser_Browser.java test should not be patched - I did not check this.
But all other changes are certainly reasonable.


BTW, I've checked EUT 3.3 on my home machine (w/o proxy); 'swt' suite has passed 10 times without hangs.


> [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
>         Attachments: eut.3.3.swt.patching.zip
>
>
> 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.


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

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553646 ] 

Stepan Mishura commented on HARMONY-5306:
-----------------------------------------

Additional patch was applied at r605889.

> [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
>            Assignee: Stepan Mishura
>         Attachments: eut.3.3.swt.patching.zip, H5306.patch
>
>
> 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.


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

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Beliaev updated HARMONY-5306:
--------------------------------------

    Attachment: H5306.patch

The URL to eclipse 3.3 was changed - fixed this (as well as EOF) with the attached patch.

> [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
>            Assignee: Stepan Mishura
>         Attachments: eut.3.3.swt.patching.zip, H5306.patch
>
>
> 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.


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

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552404 ] 

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

The testing was successful; 'swt' suite did not hang for me for 8 runs.
So I suggest committing these script and patched to eut/extra, and using patched EUT 3.3 for testing.

> [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
>         Attachments: eut.3.3.swt.patching.zip
>
>
> 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.


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

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk updated HARMONY-5306:
-------------------------------------

    Patch Info: [Patch Available]

> [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
>         Attachments: eut.3.3.swt.patching.zip
>
>
> 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.


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

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stepan Mishura reassigned HARMONY-5306:
---------------------------------------

    Assignee: Stepan Mishura

> [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
>            Assignee: Stepan Mishura
>         Attachments: eut.3.3.swt.patching.zip
>
>
> 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.