ci: Make macOS native task sqlite only #23682

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2112-ciSqlite changing 1 files +2 −2
  1. MarcoFalke commented at 11:06 am on December 6, 2021: member

    There are many sqlite-only test failures (#23563, #23562), so make one CI task sqlite-only.

    Obviously this removes bdb coverage from macOS, but I don’t expect this to break very often.

  2. ci: Make macOS native task sqlite only fad2e0a36a
  3. fanquake added the label Tests on Dec 6, 2021
  4. theStack commented at 11:56 am on December 6, 2021: member
    Strong Concept ACK
  5. MarcoFalke commented at 12:37 pm on December 6, 2021: member
    #23684 :smiling_face_with_tear:
  6. fanquake commented at 0:58 am on December 7, 2021: member
    Concept ACK
  7. Sjors commented at 5:21 am on December 7, 2021: member
    On the one hand this seems alright, now that we’re gradually deprecating BDB. But at the same time, we haven’t finished the wallet upgrade tooling, which requires the presence of both.
  8. MarcoFalke commented at 7:46 am on December 7, 2021: member
    Given that there are plenty of devs on macOS and all the remaining CI tasks also test bdb, I don’t think this will cause any issues.
  9. MarcoFalke referenced this in commit 877f3aa85c on Dec 7, 2021
  10. MarcoFalke commented at 8:58 am on December 7, 2021: member
    Blocked on #23686 (comment)
  11. DrahtBot commented at 1:40 pm on December 7, 2021: member

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Conflicts

    No conflicts as of last run.

  12. MarcoFalke referenced this in commit f727d814bd on Dec 8, 2021
  13. MarcoFalke commented at 5:59 pm on December 8, 2021: member

    next failure:

     02021-12-08T17:56:13.138000Z TestFramework (ERROR): JSONRPC error
     1Traceback (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/feature_rbf.py", line 79, in run_test
     5    self.test_rpc()
     6  File "/private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-apple-darwin19/test/functional/feature_rbf.py", line 542, in test_rpc
     7    self.init_wallet(node=0)
     8  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 433, in init_wallet
     9    n.createwallet(wallet_name=wallet_name, descriptors=self.options.descriptors, load_on_startup=True)
    10  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_node.py", line 704, in createwallet
    11    return self.__getattr__('createwallet')(wallet_name, disable_private_keys, blank, passphrase, avoid_reuse, descriptors, load_on_startup, external_signer)
    12  File "/private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-apple-darwin19/test/functional/test_framework/coverage.py", line 49, in __call__
    13    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
    14  File "/private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-apple-darwin19/test/functional/test_framework/authproxy.py", line 144, in __call__
    15    raise JSONRPCException(response['error'], status)
    16test_framework.authproxy.JSONRPCException: Compiled without bdb support (required for legacy wallets) (-4)
    
  14. luke-jr commented at 2:28 am on December 9, 2021: member
    Why not remove it from one of the Linux tasks instead?
  15. MarcoFalke commented at 8:25 am on December 9, 2021: member

    Why not remove it from one of the Linux tasks instead?

    Why, and which one? They’d also loose coverage, since we run Linux with sanitizers enabled.

  16. MarcoFalke referenced this in commit 529ed33362 on Dec 9, 2021
  17. MarcoFalke commented at 12:56 pm on December 9, 2021: member

    next failure:

     0 test  2021-12-09T10:13:33.507000Z 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-darwin/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-darwin/test/functional/feature_coinstatsindex.py", line 51, in run_test
     5                                       self._test_coin_stats_index()
     6                                     File "/private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-apple-darwin/test/functional/feature_coinstatsindex.py", line 176, in _test_coin_stats_index
     7                                       assert_equal(res6['block_info'], {
     8                                     File "/private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-apple-darwin/test/functional/test_framework/util.py", line 50, in assert_equal
     9                                       raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
    10                                   AssertionError: not(
    11{'prevout_spent': Decimal('111.00000000'), 'coinbase': Decimal('50.01006620'), 'new_outputs_ex_coinbase': Decimal('89.99993380'), 'unspendable': Decimal('20.99000000'), 'unspendables': {'genesis_block': Decimal('0E-8'), 'bip30': Decimal('0E-8'), 'scripts': Decimal('20.99000000'), 'unclaimed_rewards': Decimal('0E-8')}} == 
    12{'unspendable': Decimal('20.99000000'), 'prevout_spent': 111, 'new_outputs_ex_coinbase': Decimal('89.99993620'), 'coinbase': Decimal('50.01006380'), 'unspendables': {'genesis_block': 0, 'bip30': 0, 'scripts': Decimal('20.99000000'), 'unclaimed_rewards': 0}})
    
  18. MarcoFalke referenced this in commit 2f26d8ec70 on Dec 9, 2021
  19. MarcoFalke commented at 5:24 pm on December 9, 2021: member
    CI is green now
  20. fanquake approved
  21. fanquake commented at 2:21 am on December 10, 2021: member
    ACK fad2e0a36a56222ec6284a03f374e80527701d15 - clearly worthwhile having a sqlite only CI given the amount of bugs this has turned up in the past week or so. Tested running the functional tests with a --without-bdb build on macOS and Linux.
  22. MarcoFalke merged this on Dec 10, 2021
  23. MarcoFalke closed this on Dec 10, 2021

  24. MarcoFalke deleted the branch on Dec 10, 2021
  25. sidhujag referenced this in commit b216e0f8fb on Dec 10, 2021
  26. RandyMcMillan referenced this in commit 51924900c5 on Dec 23, 2021
  27. RandyMcMillan referenced this in commit 39c53817ee on Dec 23, 2021
  28. RandyMcMillan referenced this in commit 453922b3d4 on Dec 23, 2021
  29. DrahtBot locked this on Dec 10, 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-11-18 00:12 UTC

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