You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Shuler (JIRA)" <ji...@apache.org> on 2017/05/31 21:21:04 UTC

[jira] [Created] (CASSANDRA-13567) test failure in topology_test.TestTopology.size_estimates_multidc_test

Michael Shuler created CASSANDRA-13567:
------------------------------------------

             Summary: test failure in topology_test.TestTopology.size_estimates_multidc_test
                 Key: CASSANDRA-13567
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13567
             Project: Cassandra
          Issue Type: Bug
            Reporter: Michael Shuler


example failure:

http://cassci.datastax.com/job/cassandra-2.2_novnode_dtest/367/testReport/topology_test/TestTopology/size_estimates_multidc_test

{noformat}
Error Message

Expected [['-3736333188524231709', '-2688160409776496397'], ['-6639341390736545756', '-3736333188524231709'], ['-9223372036854775808', '-6639341390736545756'], ['8473270337963525440', '8673615181726552074'], ['8673615181726552074', '-9223372036854775808']] from SELECT range_start, range_end FROM system.size_estimates WHERE keyspace_name = 'ks2', but got [[u'-3736333188524231709', u'-2688160409776496397'], [u'-9223372036854775808', u'-6639341390736545756'], [u'8673615181726552074', u'-9223372036854775808']]
-------------------- >> begin captured logging << --------------------
dtest: DEBUG: cluster ccm directory: /tmp/dtest-yNH4mu
dtest: DEBUG: Done setting configuration options:
{   'num_tokens': None,
    'phi_convict_threshold': 5,
    'range_request_timeout_in_ms': 10000,
    'read_request_timeout_in_ms': 10000,
    'request_timeout_in_ms': 10000,
    'truncate_request_timeout_in_ms': 10000,
    'write_request_timeout_in_ms': 10000}
dtest: DEBUG: Creating cluster
dtest: DEBUG: Setting tokens
dtest: DEBUG: Starting cluster
dtest: DEBUG: Nodetool ring output 
Datacenter: dc1
==========
Address    Rack        Status State   Load            Owns                Token                                       
                                                                          8473270337963525440                         
127.0.0.1  r1          Up     Normal  92.11 KB        39.49%              -6639341390736545756                        
127.0.0.1  r1          Up     Normal  92.11 KB        39.49%              -2688160409776496397                        
127.0.0.2  r1          Up     Normal  92.1 KB         66.19%              -2506475074448728501                        
127.0.0.2  r1          Up     Normal  92.1 KB         66.19%              8473270337963525440                         

Datacenter: dc2
==========
Address    Rack        Status State   Load            Owns                Token                                       
                                                                          8673615181726552074                         
127.0.0.3  r1          Up     Normal  92.1 KB         94.32%              -3736333188524231709                        
127.0.0.3  r1          Up     Normal  92.1 KB         94.32%              8673615181726552074                         

  Warning: "nodetool ring" is used to output all the tokens of a node.
  To view status related info of a node use "nodetool status" instead.


  
dtest: DEBUG: Creating keyspaces
cassandra.policies: INFO: Using datacenter 'dc1' for DCAwareRoundRobinPolicy (via host '127.0.0.1'); if incorrect, please specify a local_dc to the constructor, or limit contact points to local cluster nodes
cassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.3 dc2> discovered
cassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.2 dc1> discovered
dtest: DEBUG: Refreshing size estimates
dtest: DEBUG: Checking node1_1 size_estimates primary ranges
cassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.3 dc2> discovered
cassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.2 dc1> discovered
--------------------- >> end captured logging << ---------------------
Stacktrace

  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/automaton/cassandra-dtest/topology_test.py", line 107, in size_estimates_multidc_test
    ['8673615181726552074', '-9223372036854775808']])
  File "/home/automaton/cassandra-dtest/tools/assertions.py", line 170, in assert_all
    assert list_res == expected, "Expected {} from {}, but got {}".format(expected, query, list_res)
'Expected [[\'-3736333188524231709\', \'-2688160409776496397\'], [\'-6639341390736545756\', \'-3736333188524231709\'], [\'-9223372036854775808\', \'-6639341390736545756\'], [\'8473270337963525440\', \'8673615181726552074\'], [\'8673615181726552074\', \'-9223372036854775808\']] from SELECT range_start, range_end FROM system.size_estimates WHERE keyspace_name = \'ks2\', but got [[u\'-3736333188524231709\', u\'-2688160409776496397\'], [u\'-9223372036854775808\', u\'-6639341390736545756\'], [u\'8673615181726552074\', u\'-9223372036854775808\']]\n-------------------- >> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: /tmp/dtest-yNH4mu\ndtest: DEBUG: Done setting configuration options:\n{   \'num_tokens\': None,\n    \'phi_convict_threshold\': 5,\n    \'range_request_timeout_in_ms\': 10000,\n    \'read_request_timeout_in_ms\': 10000,\n    \'request_timeout_in_ms\': 10000,\n    \'truncate_request_timeout_in_ms\': 10000,\n    \'write_request_timeout_in_ms\': 10000}\ndtest: DEBUG: Creating cluster\ndtest: DEBUG: Setting tokens\ndtest: DEBUG: Starting cluster\ndtest: DEBUG: Nodetool ring output \nDatacenter: dc1\n==========\nAddress    Rack        Status State   Load            Owns                Token                                       \n                                                                          8473270337963525440                         \n127.0.0.1  r1          Up     Normal  92.11 KB        39.49%              -6639341390736545756                        \n127.0.0.1  r1          Up     Normal  92.11 KB        39.49%              -2688160409776496397                        \n127.0.0.2  r1          Up     Normal  92.1 KB         66.19%              -2506475074448728501                        \n127.0.0.2  r1          Up     Normal  92.1 KB         66.19%              8473270337963525440                         \n\nDatacenter: dc2\n==========\nAddress    Rack        Status State   Load            Owns                Token                                       \n                                                                          8673615181726552074                         \n127.0.0.3  r1          Up     Normal  92.1 KB         94.32%              -3736333188524231709                        \n127.0.0.3  r1          Up     Normal  92.1 KB         94.32%              8673615181726552074                         \n\n  Warning: "nodetool ring" is used to output all the tokens of a node.\n  To view status related info of a node use "nodetool status" instead.\n\n\n  \ndtest: DEBUG: Creating keyspaces\ncassandra.policies: INFO: Using datacenter \'dc1\' for DCAwareRoundRobinPolicy (via host \'127.0.0.1\'); if incorrect, please specify a local_dc to the constructor, or limit contact points to local cluster nodes\ncassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.3 dc2> discovered\ncassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.2 dc1> discovered\ndtest: DEBUG: Refreshing size estimates\ndtest: DEBUG: Checking node1_1 size_estimates primary ranges\ncassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.3 dc2> discovered\ncassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.2 dc1> discovered\n--------------------- >> end captured logging << ---------------------'
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org