cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-12895) dtest failure in disk_balance_test.TestDiskBalance.disk_balance_stress_test
Date Wed, 09 Nov 2016 19:01:58 GMT
Michael Shuler created CASSANDRA-12895:
------------------------------------------

             Summary: dtest failure in disk_balance_test.TestDiskBalance.disk_balance_stress_test
                 Key: CASSANDRA-12895
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12895
             Project: Cassandra
          Issue Type: Test
            Reporter: Michael Shuler
            Assignee: DS Test Eng


example failure:

http://cassci.datastax.com/job/trunk_dtest/1418/testReport/disk_balance_test/TestDiskBalance/disk_balance_stress_test

{noformat}
Error Message

'float' object has no attribute '2f'
-------------------- >> begin captured logging << --------------------
dtest: DEBUG: cluster ccm directory: /tmp/dtest-lxr8Vr
dtest: DEBUG: Done setting configuration options:
{   'initial_token': None,
    'num_tokens': '32',
    '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}
--------------------- >> end captured logging << ---------------------
Stacktrace

  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/automaton/cassandra-dtest/disk_balance_test.py", line 31, in disk_balance_stress_test
    self.assert_balanced(node)
  File "/home/automaton/cassandra-dtest/disk_balance_test.py", line 120, in assert_balanced
    assert_almost_equal(*sums, error=0.1, error_message=node.name)
  File "/home/automaton/cassandra-dtest/tools/assertions.py", line 187, in assert_almost_equal
    assert vmin > vmax * (1.0 - error) or vmin == vmax, "values not within {.2f}% of the
max: {} ({})".format(error * 100, args, error_message)
"'float' object has no attribute '2f'\n-------------------- >> begin captured logging
<< --------------------\ndtest: DEBUG: cluster ccm directory: /tmp/dtest-lxr8Vr\ndtest:
DEBUG: Done setting configuration options:\n{   'initial_token': None,\n    'num_tokens':
'32',\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}\n--------------------- >> end captured logging
<< ---------------------"
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message