You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ray Chen (JIRA)" <ji...@apache.org> on 2009/10/28 10:39:59 UTC

[jira] Created: (HARMONY-6365) [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data

[classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data
---------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-6365
                 URL: https://issues.apache.org/jira/browse/HARMONY-6365
             Project: Harmony
          Issue Type: Test
          Components: Classlib
         Environment: z/OS
            Reporter: Ray Chen
            Priority: Minor


UnixSocketTest.test_getInputStream failed intermittently, because server close the socket before client read the data.

Failed at line 79 when the client try to read the data, and got a java.net.SocketException: The connection was reset error.

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


[jira] Updated: (HARMONY-6365) [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data

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

Ray Chen updated HARMONY-6365:
------------------------------

    Attachment: 6365.diff

In the patch, make the server thread sleep for a while so that make sure client has enough time to read the data.

> [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6365
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6365
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>         Environment: z/OS
>            Reporter: Ray Chen
>            Priority: Minor
>         Attachments: 6365.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> UnixSocketTest.test_getInputStream failed intermittently, because server close the socket before client read the data.
> Failed at line 79 when the client try to read the data, and got a java.net.SocketException: The connection was reset error.

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


[jira] Resolved: (HARMONY-6365) [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data

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

Regis Xu resolved HARMONY-6365.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M12

Hi Ray,

Patch was applied at r832360, please verify it worked on zos. Thanks.

> [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6365
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6365
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>         Environment: z/OS
>            Reporter: Ray Chen
>            Assignee: Regis Xu
>            Priority: Minor
>             Fix For: 5.0M12
>
>         Attachments: 6365.diff, 6365.v2.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> UnixSocketTest.test_getInputStream failed intermittently, because server close the socket before client read the data.
> Failed at line 79 when the client try to read the data, and got a java.net.SocketException: The connection was reset error.

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


[jira] Updated: (HARMONY-6365) [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data

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

Regis Xu updated HARMONY-6365:
------------------------------

    Attachment: 6365.v2.diff

Hi Ray,

How about the patch 6365.v2.diff. It only use one thread for testing, so it should not have timing issue here.

> [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6365
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6365
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>         Environment: z/OS
>            Reporter: Ray Chen
>            Priority: Minor
>         Attachments: 6365.diff, 6365.v2.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> UnixSocketTest.test_getInputStream failed intermittently, because server close the socket before client read the data.
> Failed at line 79 when the client try to read the data, and got a java.net.SocketException: The connection was reset error.

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


[jira] Commented: (HARMONY-6365) [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772994#action_12772994 ] 

Hudson commented on HARMONY-6365:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #522 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/522/])
    Apply patch for : [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data


> [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6365
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6365
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>         Environment: z/OS
>            Reporter: Ray Chen
>            Assignee: Regis Xu
>            Priority: Minor
>             Fix For: 5.0M12
>
>         Attachments: 6365.diff, 6365.v2.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> UnixSocketTest.test_getInputStream failed intermittently, because server close the socket before client read the data.
> Failed at line 79 when the client try to read the data, and got a java.net.SocketException: The connection was reset error.

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


[jira] Assigned: (HARMONY-6365) [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data

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

Regis Xu reassigned HARMONY-6365:
---------------------------------

    Assignee: Regis Xu

> [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6365
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6365
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>         Environment: z/OS
>            Reporter: Ray Chen
>            Assignee: Regis Xu
>            Priority: Minor
>         Attachments: 6365.diff, 6365.v2.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> UnixSocketTest.test_getInputStream failed intermittently, because server close the socket before client read the data.
> Failed at line 79 when the client try to read the data, and got a java.net.SocketException: The connection was reset error.

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


[jira] Commented: (HARMONY-6365) [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data

Posted by "Ray Chen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772936#action_12772936 ] 

Ray Chen commented on HARMONY-6365:
-----------------------------------

Hi Regis,

Yep, v2 is much better, please commit it to repository.

Thank you.




-- 
Regards,

Ray Chen


> [classlib][luni]UnixSocketTest.test_getInputStream may fail because server close the socket before the client read the data
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6365
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6365
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>         Environment: z/OS
>            Reporter: Ray Chen
>            Priority: Minor
>         Attachments: 6365.diff, 6365.v2.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> UnixSocketTest.test_getInputStream failed intermittently, because server close the socket before client read the data.
> Failed at line 79 when the client try to read the data, and got a java.net.SocketException: The connection was reset error.

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