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

Stefan Miklosovic commented on CASSANDRA-19417:
-----------------------------------------------

unit tests on repeat (500x each added / modified test) 

j17 
https://app.circleci.com/pipelines/github/instaclustr/cassandra/3996/workflows/5c7f22e0-bb0c-4860-80d8-f616e766e391/jobs/203593
j11 
https://app.circleci.com/pipelines/github/instaclustr/cassandra/3996/workflows/5c7f22e0-bb0c-4860-80d8-f616e766e391/jobs/203592/tests

I see that for j11 we have unfortunately two tests failing but I do not think 
they have anything to do with this change, they are both in AuditLoggerAuthTest

testCqlLoginAuditing
testUNAUTHORIZED_ATTEMPTAuditing

When one looks into AuditLoggerAuthTest.executeWithCredentials, it fails on 

assertEquals(expectedType, logEntry.getType());

should be success but is failure, not sure why this is happening at all. The 
fact that this was run 1000 times (both runs for j17 and j11) and failed just 
once tells me this is some kind of a flakiness as such, we might further 
investigate it why it is so but I would not block this ticket from merging as 
these errors seems to be totally unrelated.

> LIST SUPERUSERS cql command
> ---------------------------
>
>                 Key: CASSANDRA-19417
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19417
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/cqlsh
>            Reporter: Shailaja Koppu
>            Assignee: Shailaja Koppu
>            Priority: Normal
>              Labels: CQL
>             Fix For: 5.x
>
>         Attachments: checkstyle_output.txt, ci_summary.html, 
> result_details.tar.gz
>
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> Developing a new CQL command LIST SUPERUSERS to return list of roles with 
> superuser privilege. This includes roles who acquired superuser privilege in 
> the hierarchy. 
> Context: LIST ROLES cql command lists roles, their membership details and 
> displays super=true for immediate superusers. But there can be roles who 
> acquired superuser privilege due to a grant. LIST ROLES command won't display 
> super=true for such roles and the only way to recognize such roles is to look 
> for atleast one row with super=true in the output of LIST ROLES OF <role 
> name> command. While this works to check is a given role has superuser 
> privilege, there may be services (for example, Sidecar) working with C* and 
> may need to maintain list of roles with superuser privilege. There is no 
> existing command/tool to retrieve such roles details. Hence developing this 
> command which returns all roles having superuser privilege.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to