You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/02/26 13:12:18 UTC
[jira] [Created] (QPID-7108) [Java Broker] Test
DBHAVirtualHostNodeTest.testIntruderProtection is failing sporadically
Alex Rudyy created QPID-7108:
--------------------------------
Summary: [Java Broker] Test DBHAVirtualHostNodeTest.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
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org