You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2018/02/01 21:22:00 UTC

[jira] [Commented] (GEODE-4270) [CI Failure] org.apache.geode.cache.query.cq.dunit.CqSecurityAuthorizedUserDUnitTest > cqExecuteWithInitialResultsWithMethodInvocationWithUnpopulatedRegionAndFollowedByAPutShouldTriggerCqError[0] FAILED

    [ https://issues.apache.org/jira/browse/GEODE-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349289#comment-16349289 ] 

Dan Smith commented on GEODE-4270:
----------------------------------

It looks like what is going missing here is CacheClientProxy.subject. This looks like it is the person that registered interest and created the queue, and we are trying to call bindSubject before invoking the security post processing. From the full stack

 
{noformat}
Caused by: org.apache.geode.security.GemFireSecurityException: Error: Anonymous User
	at org.apache.geode.internal.security.IntegratedSecurityService.bindSubject(IntegratedSecurityService.java:189)
	at org.apache.geode.internal.cache.tier.sockets.CacheClientProxy.deliverMessage(CacheClientProxy.java:1545)
	at org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.singletonRouteClientMessage(CacheClientNotifier.java:973)
	at org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.singletonNotifyClients(CacheClientNotifier.java:892)
	at org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.notifyClients(CacheClientNotifier.java:762)
	at org.apache.geode.internal.cache.LocalRegion.notifyBridgeClients(LocalRegion.java:6088)
	at org.apache.geode.internal.cache.LocalRegion.invokePutCallbacks(LocalRegion.java:5920)
	at org.apache.geode.internal.cache.EntryEventImpl.invokeCallbacks(EntryEventImpl.java:2342)
	at org.apache.geode.internal.cache.entries.AbstractRegionEntry.dispatchListenerEvents(AbstractRegionEntry.java:171)
	at org.apache.geode.internal.cache.LocalRegion.basicPutPart2(LocalRegion.java:5784)
	at org.apache.geode.internal.cache.AbstractRegionMap.basicPut(AbstractRegionMap.java:2864)
	at org.apache.geode.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5622)
	at org.apache.geode.internal.cache.DistributedRegion.virtualPut(DistributedRegion.java:369)
	at org.apache.geode.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:152)
	at org.apache.geode.internal.cache.LocalRegion.basicUpdate(LocalRegion.java:5603)
	at org.apache.geode.internal.cache.LocalRegion.basicBridgePut(LocalRegion.java:5240)
	at org.apache.geode.internal.cache.tier.sockets.command.Put65.cmdExecute(Put65.java:390)
	at org.apache.geode.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:163)
	at org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMsg(ServerConnection.java:797)
	at org.apache.geode.internal.cache.tier.sockets.LegacyServerConnection.doOneMessage(LegacyServerConnection.java:85)
	at org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1179)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl$4$1.run(AcceptorImpl.java:641)
	... 1 more{noformat}

> [CI Failure] org.apache.geode.cache.query.cq.dunit.CqSecurityAuthorizedUserDUnitTest > cqExecuteWithInitialResultsWithMethodInvocationWithUnpopulatedRegionAndFollowedByAPutShouldTriggerCqError[0] FAILED
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-4270
>                 URL: https://issues.apache.org/jira/browse/GEODE-4270
>             Project: Geode
>          Issue Type: Bug
>          Components: security
>            Reporter: nabarun
>            Priority: Major
>
> {noformat}
> org.apache.geode.cache.query.cq.dunit.CqSecurityAuthorizedUserDUnitTest > cqExecuteWithInitialResultsWithMethodInvocationWithUnpopulatedRegionAndFollowedByAPutShouldTriggerCqError[0] FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.security.query.QuerySecurityBase$$Lambda$50/1990038369.run in VM 1 running on Host 6b888a694193 with 4 VMs
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:393)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:363)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:308)
>         at org.apache.geode.security.query.QuerySecurityBase.putIntoRegion(QuerySecurityBase.java:202)
>         at org.apache.geode.cache.query.cq.dunit.CqSecurityAuthorizedUserDUnitTest.cqExecuteWithInitialResultsWithMethodInvocationWithUnpopulatedRegionAndFollowedByAPutShouldTriggerCqError(CqSecurityAuthorizedUserDUnitTest.java:138)
>         Caused by:
>         org.apache.geode.cache.client.ServerOperationException: remote server on 6b888a694193(153:loner):32936:ced4ccdc: org.apache.geode.security.GemFireSecurityException: Error: Anonymous User
>             Caused by:
>             org.apache.geode.security.GemFireSecurityException: Error: Anonymous User
> {noformat}
> *+Test logs+*
> https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/DistributedTest/builds/70#L5a4ed7fc:654



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)