test: AssertionError: not(59.99992540 == 59.999928) in interface_bitcoin_cli #23684

issue MarcoFalke openend this issue on December 6, 2021
  1. MarcoFalke commented at 12:37 pm on December 6, 2021: member

    https://cirrus-ci.com/task/4605959170424832?logs=ci#L3654

    0 test  2021-12-06T12:29:34.522000Z TestFramework (ERROR): Assertion failed 
    1                                   Traceback (most recent call last):
    2                                     File "/private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-apple-darwin19/test/functional/test_framework/test_framework.py", line 132, in main
    3                                       self.run_test()
    4                                     File "/private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-apple-darwin19/test/functional/interface_bitcoin_cli.py", line 176, in run_test
    5                                       assert_equal(Decimal(cli_get_info['Balance']), amounts[i])
    6                                     File "/private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-apple-darwin19/test/functional/test_framework/util.py", line 50, in assert_equal
    7                                       raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
    8                                   AssertionError: not(59.99992540 == 59.999928)
    
  2. MarcoFalke added the label Bug on Dec 6, 2021
  3. MarcoFalke commented at 12:40 pm on December 6, 2021: member
    This is a build without bdb, to clarify
  4. mzumsande commented at 11:23 pm on December 6, 2021: member
    I get a similar looking error (some wrong trailing decimals) in feature_coinstatsindex.py when building without bdb.
  5. MarcoFalke referenced this in commit 877f3aa85c on Dec 7, 2021
  6. MarcoFalke closed this on Dec 7, 2021

  7. DrahtBot locked this on Dec 7, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me