You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/07/17 18:31:31 UTC

[jira] Created: (QPID-1182) SimpleACLTest authentication failures

SimpleACLTest authentication failures
-------------------------------------

                 Key: QPID-1182
                 URL: https://issues.apache.org/jira/browse/QPID-1182
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Martin Ritchie
         Attachments: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt

Summary:

The only test failure I am now seeing occurs in the SImpleACLTest I have seen a number of failures in both of these test cases:

testClientPublishUsingTransactionSuccess
testServerPublishUsingTransactionSuccess

In both situtations the problem has been 'authentication failed' error code 530. 

The additional logging shows that the exception was that CRAM-MD5 authentication failed:
pool-6-thread-2 2008-07-17 16:49:54,652 INFO [qpid.server.handler.ConnectionSecureOkMethodHandler] Authentication failed:CRAM-MD5 authentication failed

Attached is one full log output showing the failure.

The error occurs before any ACL code is touched so I'm not sure why it is only in this test that we are seeing the failures.



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


[jira] Updated: (QPID-1182) SimpleACLTest authentication failures

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-1182:
---------------------------------

    Attachment: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt

ACL File

> SimpleACLTest authentication failures
> -------------------------------------
>
>                 Key: QPID-1182
>                 URL: https://issues.apache.org/jira/browse/QPID-1182
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>         Attachments: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt
>
>
> Summary:
> The only test failure I am now seeing occurs in the SImpleACLTest I have seen a number of failures in both of these test cases:
> testClientPublishUsingTransactionSuccess
> testServerPublishUsingTransactionSuccess
> In both situtations the problem has been 'authentication failed' error code 530. 
> The additional logging shows that the exception was that CRAM-MD5 authentication failed:
> pool-6-thread-2 2008-07-17 16:49:54,652 INFO [qpid.server.handler.ConnectionSecureOkMethodHandler] Authentication failed:CRAM-MD5 authentication failed
> Attached is one full log output showing the failure.
> The error occurs before any ACL code is touched so I'm not sure why it is only in this test that we are seeing the failures.

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


[jira] Updated: (QPID-1182) SimpleACLTest authentication failures

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-1182:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> SimpleACLTest authentication failures
> -------------------------------------
>
>                 Key: QPID-1182
>                 URL: https://issues.apache.org/jira/browse/QPID-1182
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M4
>
>         Attachments: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt
>
>
> Summary:
> The only test failure I am now seeing occurs in the SImpleACLTest I have seen a number of failures in both of these test cases:
> testClientPublishUsingTransactionSuccess
> testServerPublishUsingTransactionSuccess
> In both situtations the problem has been 'authentication failed' error code 530. 
> The additional logging shows that the exception was that CRAM-MD5 authentication failed:
> pool-6-thread-2 2008-07-17 16:49:54,652 INFO [qpid.server.handler.ConnectionSecureOkMethodHandler] Authentication failed:CRAM-MD5 authentication failed
> Attached is one full log output showing the failure.
> The error occurs before any ACL code is touched so I'm not sure why it is only in this test that we are seeing the failures.

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


[jira] Assigned: (QPID-1182) SimpleACLTest authentication failures

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie reassigned QPID-1182:
------------------------------------

    Assignee: Rob Godfrey  (was: Martin Ritchie)

Hi Rob can you review these changes to the SimpleACLTest please.
The commits were split between two sub JIRAs and there is an additional JIRA(QPID-1255) for the SimpleACLTest that should be resolved.

> SimpleACLTest authentication failures
> -------------------------------------
>
>                 Key: QPID-1182
>                 URL: https://issues.apache.org/jira/browse/QPID-1182
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>            Assignee: Rob Godfrey
>             Fix For: M4
>
>         Attachments: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt
>
>
> Summary:
> The only test failure I am now seeing occurs in the SImpleACLTest I have seen a number of failures in both of these test cases:
> testClientPublishUsingTransactionSuccess
> testServerPublishUsingTransactionSuccess
> In both situtations the problem has been 'authentication failed' error code 530. 
> The additional logging shows that the exception was that CRAM-MD5 authentication failed:
> pool-6-thread-2 2008-07-17 16:49:54,652 INFO [qpid.server.handler.ConnectionSecureOkMethodHandler] Authentication failed:CRAM-MD5 authentication failed
> Attached is one full log output showing the failure.
> The error occurs before any ACL code is touched so I'm not sure why it is only in this test that we are seeing the failures.

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


[jira] Commented: (QPID-1182) SimpleACLTest authentication failures

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642489#action_12642489 ] 

Martin Ritchie commented on QPID-1182:
--------------------------------------

The reason for the strange test failures could be due to two issues.

1) QPID-1394, the client and broker compete to register their respective SASL plugins however the broker should always win but if the broker fails to register then non of the Qpid SASL plugins will be available and authentication cannot take place. This is probably the most likely cause of the sasl errors Qpid-1394 ensures that the client and broker do not compete to register using the same name for their sasl providers.

2) QPID-1390 could mean that the wrong SASL plugin is being used for authentication as the broker does not remove the custom SASL providers on shutdown. This update ensures that on shutdown they are removed so should prevent any further problems.

> SimpleACLTest authentication failures
> -------------------------------------
>
>                 Key: QPID-1182
>                 URL: https://issues.apache.org/jira/browse/QPID-1182
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M4
>
>         Attachments: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt
>
>
> Summary:
> The only test failure I am now seeing occurs in the SImpleACLTest I have seen a number of failures in both of these test cases:
> testClientPublishUsingTransactionSuccess
> testServerPublishUsingTransactionSuccess
> In both situtations the problem has been 'authentication failed' error code 530. 
> The additional logging shows that the exception was that CRAM-MD5 authentication failed:
> pool-6-thread-2 2008-07-17 16:49:54,652 INFO [qpid.server.handler.ConnectionSecureOkMethodHandler] Authentication failed:CRAM-MD5 authentication failed
> Attached is one full log output showing the failure.
> The error occurs before any ACL code is touched so I'm not sure why it is only in this test that we are seeing the failures.

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


[jira] Resolved: (QPID-1182) SimpleACLTest authentication failures

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey resolved QPID-1182.
-------------------------------

    Resolution: Fixed

All looks fine to me

> SimpleACLTest authentication failures
> -------------------------------------
>
>                 Key: QPID-1182
>                 URL: https://issues.apache.org/jira/browse/QPID-1182
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>            Assignee: Rob Godfrey
>             Fix For: M4
>
>         Attachments: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt
>
>
> Summary:
> The only test failure I am now seeing occurs in the SImpleACLTest I have seen a number of failures in both of these test cases:
> testClientPublishUsingTransactionSuccess
> testServerPublishUsingTransactionSuccess
> In both situtations the problem has been 'authentication failed' error code 530. 
> The additional logging shows that the exception was that CRAM-MD5 authentication failed:
> pool-6-thread-2 2008-07-17 16:49:54,652 INFO [qpid.server.handler.ConnectionSecureOkMethodHandler] Authentication failed:CRAM-MD5 authentication failed
> Attached is one full log output showing the failure.
> The error occurs before any ACL code is touched so I'm not sure why it is only in this test that we are seeing the failures.

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


[jira] Updated: (QPID-1182) SimpleACLTest authentication failures

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner updated QPID-1182:
--------------------------------

    Fix Version/s: M3

> SimpleACLTest authentication failures
> -------------------------------------
>
>                 Key: QPID-1182
>                 URL: https://issues.apache.org/jira/browse/QPID-1182
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>             Fix For: M3
>
>         Attachments: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt
>
>
> Summary:
> The only test failure I am now seeing occurs in the SImpleACLTest I have seen a number of failures in both of these test cases:
> testClientPublishUsingTransactionSuccess
> testServerPublishUsingTransactionSuccess
> In both situtations the problem has been 'authentication failed' error code 530. 
> The additional logging shows that the exception was that CRAM-MD5 authentication failed:
> pool-6-thread-2 2008-07-17 16:49:54,652 INFO [qpid.server.handler.ConnectionSecureOkMethodHandler] Authentication failed:CRAM-MD5 authentication failed
> Attached is one full log output showing the failure.
> The error occurs before any ACL code is touched so I'm not sure why it is only in this test that we are seeing the failures.

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


[jira] Commented: (QPID-1182) SimpleACLTest authentication failures

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642487#action_12642487 ] 

Martin Ritchie commented on QPID-1182:
--------------------------------------

See QPID-1255 for commit details

> SimpleACLTest authentication failures
> -------------------------------------
>
>                 Key: QPID-1182
>                 URL: https://issues.apache.org/jira/browse/QPID-1182
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M4
>
>         Attachments: TEST-org.apache.qpid.server.security.acl.SimpleACLTest.txt
>
>
> Summary:
> The only test failure I am now seeing occurs in the SImpleACLTest I have seen a number of failures in both of these test cases:
> testClientPublishUsingTransactionSuccess
> testServerPublishUsingTransactionSuccess
> In both situtations the problem has been 'authentication failed' error code 530. 
> The additional logging shows that the exception was that CRAM-MD5 authentication failed:
> pool-6-thread-2 2008-07-17 16:49:54,652 INFO [qpid.server.handler.ConnectionSecureOkMethodHandler] Authentication failed:CRAM-MD5 authentication failed
> Attached is one full log output showing the failure.
> The error occurs before any ACL code is touched so I'm not sure why it is only in this test that we are seeing the failures.

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