[ 
https://issues.apache.org/jira/browse/QPID-7108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Wall updated QPID-7108:
-----------------------------
    Summary: [Java Broker] Test BDBHAVirtualHostNodeTest.testIntruderProtection 
is failing sporadically  (was: [Java Broker] Test 
DBHAVirtualHostNodeTest.testIntruderProtection is failing sporadically)

> [Java Broker] Test BDBHAVirtualHostNodeTest.testIntruderProtection is failing 
> sporadically
> ------------------------------------------------------------------------------------------
>
>                 Key: QPID-7108
>                 URL: https://issues.apache.org/jira/browse/QPID-7108
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.1
>            Reporter: Alex Rudyy
>         Attachments: 
> TEST-org.apache.qpid.server.store.berkeleydb.BDBHAVirtualHostNodeTest.testIntruderProtection.txt
>
>
> The test DBHAVirtualHostNodeTest.testIntruderProtection tries to remove the 
> permitted node from a list of permitted nodes in order to make it an intruder 
> node.
> That it is not allowed as currently on changing of permitted nodes an 
> existing implementation verifies that specified permitted nodes includes all 
> nodes in a group. See changes made in QPID-6090 ( [Java Broker] Prevent 
> removal of existing group nodes from the permitted nodes attribute on VHN).
> The test should simply connect an intruder and verify that it cannot start up 
> with intruder present.
> Here are the exception details for the test as it is reported in jenkins
> {noformat}
> The current group node 'localhost:10001' cannot be removed from 
> 'permittedNodes' as its already a group member
> Stacktrace
> java.lang.IllegalArgumentException: The current group node 'localhost:10001' 
> cannot be removed from 'permittedNodes' as its already a group member
>       at 
> org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeImpl.validatePermittedNodes(BDBHAVirtualHostNodeImpl.java:1007)
>       at 
> org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeImpl.validateChange(BDBHAVirtualHostNodeImpl.java:185)
>       at 
> org.apache.qpid.server.model.AbstractConfiguredObject$23.execute(AbstractConfiguredObject.java:2382)
>       at 
> org.apache.qpid.server.model.AbstractConfiguredObject$23.execute(AbstractConfiguredObject.java:2377)
>       at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl$TaskLoggingWrapper.execute(TaskExecutorImpl.java:270)
>       at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper$1.run(TaskExecutorImpl.java:342)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:356)
>       at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:335)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to