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

issue MarcoFalke opened 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

     test  2021-12-06T12:29:34.522000Z TestFramework (ERROR): Assertion failed 
                                       Traceback (most recent call last):
                                         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
                                           self.run_test()
                                         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
                                           assert_equal(Decimal(cli_get_info['Balance']), amounts[i])
                                         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
                                           raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
                                       AssertionError: not(59.99992540 == 59.999928)
    
  2. MarcoFalke added the label Bug on Dec 6, 2021
  3. MarcoFalke cross-referenced this on Dec 6, 2021 from issue ci: Make macOS native task sqlite only by MarcoFalke
  4. MarcoFalke commented at 12:40 PM on December 6, 2021: member

    This is a build without bdb, to clarify

  5. theStack cross-referenced this on Dec 6, 2021 from issue test: fix `interface_bitcoin_cli.py --descriptors` and add to test runner by theStack
  6. mzumsande cross-referenced this on Dec 6, 2021 from issue init: Coalesce Chainstate loading sequence between {,non-}unittest codepaths by dongcarl
  7. mzumsande commented at 11:23 PM on December 6, 2021: contributor

    I get a similar looking error (some wrong trailing decimals) in feature_coinstatsindex.py when building without bdb.

  8. MarcoFalke referenced this in commit 877f3aa85c on Dec 7, 2021
  9. MarcoFalke closed this on Dec 7, 2021

  10. bitcoin 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: 2026-05-20 06:53 UTC