Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14600

[dtest] test_system_auth_ks_is_alterable - auth_test.TestAuth

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Test/dtest
    • Labels:
    • Severity:
      Low

      Description

      Test 'fails' on 3.0 and 3.11 with this error from pytest:

       

      test teardown failure
      
      Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [Native-Transport-Requests-1] 2018-07-23 18:14:34,585 Message.java:629 - Unexpected exception during request; channel = [id: 0x0ffc99f5, L:/127.0.0.3:9042 - R:/127.0.0.1:54516]
      java.lang.RuntimeException: org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM
      	at org.apache.cassandra.auth.CassandraRoleManager.getRole(CassandraRoleManager.java:518) ~[main/:na]
      	at org.apache.cassandra.auth.CassandraRoleManager.canLogin(CassandraRoleManager.java:312) ~[main/:na]
      	at org.apache.cassandra.service.ClientState.login(ClientState.java:281) ~[main/:na]
      	at org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:80) ~[main/:na]
      	at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:517) [main/:na]
      	at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:410) [main/:na]
      	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.0.44.Final.jar:4.0.44.Final]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) [netty-all-4.0.44.Final.jar:4.0.44.Final]
      	at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:35) [netty-all-4.0.44.Final.jar:4.0.44.Final]
      	at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:348) [netty-all-4.0.44.Final.jar:4.0.44.Final]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_154-cassandra]
      	at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:162) [main/:na]
      	at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:109) [main/:na]
      	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_154-cassandra]
      Caused by: org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM
      	at org.apache.cassandra.db.ConsistencyLevel.assureSufficientLiveNodes(ConsistencyLevel.java:334) ~[main/:na]
      	at org.apache.cassandra.service.AbstractReadExecutor.getReadExecutor(AbstractReadExecutor.java:162) ~[main/:na]
      	at org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.<init>(StorageProxy.java:1779) ~[main/:na]
      	at org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:1741) ~[main/:na]
      	at org.apache.cassandra.service.StorageProxy.readRegular(StorageProxy.java:1684) ~[main/:na]
      	at org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1599) ~[main/:na]
      	at org.apache.cassandra.db.SinglePartitionReadCommand$Group.execute(SinglePartitionReadCommand.java:1176) ~[main/:na]
      	at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:315) ~[main/:na]
      	at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:285) ~[main/:na]
      	at org.apache.cassandra.auth.CassandraRoleManager.getRoleFromTable(CassandraRoleManager.java:526) ~[main/:na]
      	at org.apache.cassandra.auth.CassandraRoleManager.getRole(CassandraRoleManager.java:508) ~[main/:na]
      	... 13 common frames omitted, ERROR [Native-Transport-Requests-3] 2018-07-23 18:14:35,759 Message.java:629 - Unexpected exception during request; channel = [id: 0x3bf15467, L:/127.0.0.3:9042 - R:/127.0.0.1:54528]
      

      Not sure if we need just another log error exclude, or if this is legit.

        Attachments

          Activity

            People

            • Assignee:
              jay.zhuang Jay Zhuang
              Reporter:
              jasobrown Jason Brown
              Authors:
              Jay Zhuang
              Reviewers:
              Jason Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: