cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Knighton (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-13567) test failure in topology_test.TestTopology.size_estimates_multidc_test
Date Thu, 22 Jun 2017 15:39:00 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-13567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joel Knighton resolved CASSANDRA-13567.
---------------------------------------
    Resolution: Fixed

This test was added after [CASSANDRA-9639], which only went into 3.0.11+. It was version-gated
in dtest commit [3cf276e966f253a49df91293a1a0b46620192c59|https://github.com/riptano/cassandra-dtest/commit/3cf276e966f253a49df91293a1a0b46620192c59].

> 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
>            Assignee: Joel Knighton
>              Labels: dtest, test-failure
>         Attachments: node1_debug.log, node1_gc.log, node1.log, node1.log, node2_debug.log,
node2_gc.log, node2.log, node3_debug.log, node3_gc.log, node3.log
>
>
> 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.4.14#64029)

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


Mime
View raw message