You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2010/04/29 08:07:53 UTC

[jira] Created: (SYNAPSE-631) NHTTP Test Failures

NHTTP Test Failures
-------------------

                 Key: SYNAPSE-631
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-631
             Project: Synapse
          Issue Type: Bug
          Components: Transports
    Affects Versions: 1.2
         Environment: Ubuntu 9.10, Sun JDK 1.6
            Reporter: Hiranya Jayathilaka
             Fix For: 2.0


A set of NHTTP tests have been failing for months. In my test environment I can see that following test scenarios are failing consistently:

0009:test=AsyncXML,data=Latin1,messageType=POX,client=java.net,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
0020:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=false,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
0042:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=true,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)

Note that all the failing tests are of Latin1+POX scenario. Adding the following exclusion filter seems to solve the problem:

(&(data=Latin1)(messageType=POX))

What is the proper solution to this issue? Is it a problem with the tests or a real bug in the transport that must be fixed?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-631) NHTTP Test Failures

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862105#action_12862105 ] 

Heshan Suriyaarachchi commented on SYNAPSE-631:
-----------------------------------------------

After adding the exclusion filter suggested by Hiranya, tests for transport module is passing. 

> NHTTP Test Failures
> -------------------
>
>                 Key: SYNAPSE-631
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-631
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Ubuntu 9.10, Sun JDK 1.6
>            Reporter: Hiranya Jayathilaka
>             Fix For: 2.0
>
>
> A set of NHTTP tests have been failing for months. In my test environment I can see that following test scenarios are failing consistently:
> 0009:test=AsyncXML,data=Latin1,messageType=POX,client=java.net,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0020:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=false,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0042:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=true,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> Note that all the failing tests are of Latin1+POX scenario. Adding the following exclusion filter seems to solve the problem:
> (&(data=Latin1)(messageType=POX))
> What is the proper solution to this issue? Is it a problem with the tests or a real bug in the transport that must be fixed?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-631) NHTTP Test Failures

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

Hiranya Jayathilaka resolved SYNAPSE-631.
-----------------------------------------

    Resolution: Fixed

There was a problem in RESTUtil class where it removed the original charset encoding value from the content type string before invoking the Axis2 RESTUtil class. I have removed this logic and now all the tests are passing. 

Please reopen this issue if any regressions are encountered.

> NHTTP Test Failures
> -------------------
>
>                 Key: SYNAPSE-631
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-631
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Ubuntu 9.10, Sun JDK 1.6
>            Reporter: Hiranya Jayathilaka
>            Assignee: Hiranya Jayathilaka
>             Fix For: 2.0
>
>
> A set of NHTTP tests have been failing for months. In my test environment I can see that following test scenarios are failing consistently:
> 0009:test=AsyncXML,data=Latin1,messageType=POX,client=java.net,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0020:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=false,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0042:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=true,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> Note that all the failing tests are of Latin1+POX scenario. Adding the following exclusion filter seems to solve the problem:
> (&(data=Latin1)(messageType=POX))
> What is the proper solution to this issue? Is it a problem with the tests or a real bug in the transport that must be fixed?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-631) NHTTP Test Failures

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862103#action_12862103 ] 

Andreas Veithen commented on SYNAPSE-631:
-----------------------------------------

This is a real bug because the tests originally worked. There seems to be a problem related to charset encoding in the NHTTP transport.

> NHTTP Test Failures
> -------------------
>
>                 Key: SYNAPSE-631
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-631
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Ubuntu 9.10, Sun JDK 1.6
>            Reporter: Hiranya Jayathilaka
>             Fix For: 2.0
>
>
> A set of NHTTP tests have been failing for months. In my test environment I can see that following test scenarios are failing consistently:
> 0009:test=AsyncXML,data=Latin1,messageType=POX,client=java.net,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0020:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=false,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0042:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=true,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> Note that all the failing tests are of Latin1+POX scenario. Adding the following exclusion filter seems to solve the problem:
> (&(data=Latin1)(messageType=POX))
> What is the proper solution to this issue? Is it a problem with the tests or a real bug in the transport that must be fixed?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-631) NHTTP Test Failures

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

Hiranya Jayathilaka reassigned SYNAPSE-631:
-------------------------------------------

    Assignee: Hiranya Jayathilaka

> NHTTP Test Failures
> -------------------
>
>                 Key: SYNAPSE-631
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-631
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Ubuntu 9.10, Sun JDK 1.6
>            Reporter: Hiranya Jayathilaka
>            Assignee: Hiranya Jayathilaka
>             Fix For: 2.0
>
>
> A set of NHTTP tests have been failing for months. In my test environment I can see that following test scenarios are failing consistently:
> 0009:test=AsyncXML,data=Latin1,messageType=POX,client=java.net,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0020:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=false,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0042:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=true,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> Note that all the failing tests are of Latin1+POX scenario. Adding the following exclusion filter seems to solve the problem:
> (&(data=Latin1)(messageType=POX))
> What is the proper solution to this issue? Is it a problem with the tests or a real bug in the transport that must be fixed?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-631) NHTTP Test Failures

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862104#action_12862104 ] 

Hiranya Jayathilaka commented on SYNAPSE-631:
---------------------------------------------

I also ran into a couple occasions where the test suite got hung. Had to stop Maven by hitting ctrl+c.

> NHTTP Test Failures
> -------------------
>
>                 Key: SYNAPSE-631
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-631
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Ubuntu 9.10, Sun JDK 1.6
>            Reporter: Hiranya Jayathilaka
>             Fix For: 2.0
>
>
> A set of NHTTP tests have been failing for months. In my test environment I can see that following test scenarios are failing consistently:
> 0009:test=AsyncXML,data=Latin1,messageType=POX,client=java.net,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0020:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=false,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> 0042:test=AsyncXML,data=Latin1,messageType=POX,forceHTTP10=true,client=axis,endpoint=axis (org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase)
> Note that all the failing tests are of Latin1+POX scenario. Adding the following exclusion filter seems to solve the problem:
> (&(data=Latin1)(messageType=POX))
> What is the proper solution to this issue? Is it a problem with the tests or a real bug in the transport that must be fixed?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org