Page MenuHomePhabricator

[test] remove confusing p2p property
ClosedPublic

Authored by PiRK on Wed, Oct 13, 08:33.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC1a9498478986: [test] remove confusing p2p property
Summary
Test Plan

ninja check-functional-extended

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Wed, Oct 13, 08:33

Failed tests logs:

====== Bitcoin ABC functional tests: abc-invalid-chains.py ======

------- Stdout: -------
2021-10-13T08:45:58.467000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-invalid-chains_88
2021-10-13T08:45:58.833000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-invalid-chains.py", line 70, in run_test
    node.p2p.send_blocks_and_test([block(0), block(1), block(2)], node)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 hashMerkleRoot=7cc2e87735b2e4587c6e40ff519fef99e99b7bb91a1a6a13b0dc346a36501ccf nTime=1634114759 nBits=207fffff nNonce=00000001 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=5151 nSequence=4294967295)] vout=[CTxOut(nValue=50000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a1aa79f7cf5fe3149e8e4b5689dfb20c72cdb0c846121ccb4ad4d29)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:45:58.887000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:45:59.091000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-invalid-chains_88
2021-10-13T08:45:59.091000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-invalid-chains_88/test_framework.log
2021-10-13T08:45:59.091000Z TestFramework (ERROR): 
2021-10-13T08:45:59.091000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-invalid-chains_88' to consolidate all logs
2021-10-13T08:45:59.091000Z TestFramework (ERROR): 
2021-10-13T08:45:59.091000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:45:59.091000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:45:59.091000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: abc-schnorr.py ======

------- Stdout: -------
2021-10-13T08:46:00.161000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-schnorr_92
2021-10-13T08:46:00.536000Z TestFramework (INFO): Create some blocks with OP_1 coinbase for spending.
2021-10-13T08:46:00.538000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-schnorr.py", line 131, in run_test
    node.p2p.send_blocks_and_test(blocks, node, success=True)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=3968fa29cc8f4d2be64c9bfe983910ea7e48b9d2e7c682baa5c543e19ced9b68 hashMerkleRoot=592f0c3535d8b3402a904e0354ab2842a63b533a1383cdb61ecc4c56bab35c49 nTime=1634114761 nBits=207fffff nNonce=00000000 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=02c900 nSequence=4294967295)] vout=[CTxOut(nValue=25000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a197b5ef5b937f3a980413abb5c37476129fc4099aba6995d02c3)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:46:00.589000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:46:00.841000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-schnorr_92
2021-10-13T08:46:00.842000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-schnorr_92/test_framework.log
2021-10-13T08:46:00.842000Z TestFramework (ERROR): 
2021-10-13T08:46:00.842000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-schnorr_92' to consolidate all logs
2021-10-13T08:46:00.842000Z TestFramework (ERROR): 
2021-10-13T08:46:00.843000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:46:00.843000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:46:00.843000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: abc-transaction-ordering.py ======

------- Stdout: -------
2021-10-13T08:45:54.027000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-transaction-ordering_71
2021-10-13T08:45:54.395000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-transaction-ordering.py", line 160, in run_test
    node.p2p.send_blocks_and_test([self.tip], node)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 hashMerkleRoot=895106c8850dc5d57adffa0e05864be90aa31070b93a4184aae2f45d18eaf2d5 nTime=1634114755 nBits=207fffff nNonce=00000000 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=5151 nSequence=4294967295)] vout=[CTxOut(nValue=50000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a1ae64ac9d8249ab0d69402abdf8a41d6bbfaeaf6533cf32eedaaef)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:45:54.446000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:45:54.698000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-transaction-ordering_71
2021-10-13T08:45:54.698000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-transaction-ordering_71/test_framework.log
2021-10-13T08:45:54.698000Z TestFramework (ERROR): 
2021-10-13T08:45:54.698000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20211013_084429/abc-transaction-ordering_71' to consolidate all logs
2021-10-13T08:45:54.698000Z TestFramework (ERROR): 
2021-10-13T08:45:54.698000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:45:54.698000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:45:54.698000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: abc-invalid-chains.py
Bitcoin ABC functional tests: abc-schnorr.py
Bitcoin ABC functional tests: abc-transaction-ordering.py

Failed tests logs:

====== Bitcoin ABC functional tests: abc-invalid-chains.py ======

------- Stdout: -------
2021-10-13T08:48:02.303000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-invalid-chains_88
2021-10-13T08:48:02.942000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-invalid-chains.py", line 70, in run_test
    node.p2p.send_blocks_and_test([block(0), block(1), block(2)], node)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 hashMerkleRoot=652f16a842613538028f2a88057cc55d34cb33fea26feddb0a4d53fa578b5a67 nTime=1634114883 nBits=207fffff nNonce=00000000 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=5151 nSequence=4294967295)] vout=[CTxOut(nValue=50000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a1afa06bcc63bd6a1963f954c02f6fa84cd122b7a66067ab4f31891)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:48:02.993000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:48:03.245000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-invalid-chains_88
2021-10-13T08:48:03.245000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-invalid-chains_88/test_framework.log
2021-10-13T08:48:03.246000Z TestFramework (ERROR): 
2021-10-13T08:48:03.246000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-invalid-chains_88' to consolidate all logs
2021-10-13T08:48:03.246000Z TestFramework (ERROR): 
2021-10-13T08:48:03.246000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:48:03.247000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:48:03.247000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: abc-schnorr.py ======

------- Stdout: -------
2021-10-13T08:48:04.660000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-schnorr_92
2021-10-13T08:48:05.361000Z TestFramework (INFO): Create some blocks with OP_1 coinbase for spending.
2021-10-13T08:48:05.363000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-schnorr.py", line 131, in run_test
    node.p2p.send_blocks_and_test(blocks, node, success=True)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=4f7ce09dad8167e6129dc736d4353f426f1913b1bb07f2c66007c3f422082c75 hashMerkleRoot=2f42a05db504607b0631a90ea27012867aafecac74ca8bd6518780ae29227068 nTime=1634114886 nBits=207fffff nNonce=00000001 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=02c900 nSequence=4294967295)] vout=[CTxOut(nValue=25000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a197c124f9c33d419a6f20b94ddf81cd61ce721ab403056852395)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:48:05.414000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:48:05.666000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-schnorr_92
2021-10-13T08:48:05.666000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-schnorr_92/test_framework.log
2021-10-13T08:48:05.666000Z TestFramework (ERROR): 
2021-10-13T08:48:05.666000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-schnorr_92' to consolidate all logs
2021-10-13T08:48:05.666000Z TestFramework (ERROR): 
2021-10-13T08:48:05.666000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:48:05.666000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:48:05.666000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: abc-transaction-ordering.py ======

------- Stdout: -------
2021-10-13T08:47:43.414000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-transaction-ordering_71
2021-10-13T08:47:44.052000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-transaction-ordering.py", line 160, in run_test
    node.p2p.send_blocks_and_test([self.tip], node)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 hashMerkleRoot=073c538708f495104621cccb1a7d87e32e4de5aec7bebeb6f5511e327345d3c1 nTime=1634114865 nBits=207fffff nNonce=00000003 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=5151 nSequence=4294967295)] vout=[CTxOut(nValue=50000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a1aed7e90e0e13f268d9686dd3bf3debac9d74e8f7c7f07efc22ede)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:47:44.103000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:47:44.355000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-transaction-ordering_71
2021-10-13T08:47:44.355000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-transaction-ordering_71/test_framework.log
2021-10-13T08:47:44.355000Z TestFramework (ERROR): 
2021-10-13T08:47:44.355000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20211013_084324/abc-transaction-ordering_71' to consolidate all logs
2021-10-13T08:47:44.355000Z TestFramework (ERROR): 
2021-10-13T08:47:44.355000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:47:44.355000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:47:44.355000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: abc-invalid-chains.py
Bitcoin ABC functional tests: abc-schnorr.py
Bitcoin ABC functional tests: abc-transaction-ordering.py

Failed tests logs:

====== Bitcoin ABC functional tests: abc-invalid-chains.py ======

------- Stdout: -------
2021-10-13T08:48:53.827000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-invalid-chains_88
2021-10-13T08:48:54.205000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-invalid-chains.py", line 70, in run_test
    node.p2p.send_blocks_and_test([block(0), block(1), block(2)], node)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 hashMerkleRoot=17fe5cf90a66451445e9bbc5e648afce984a055a1bcfe346cd1c2d5bbc4a73cb nTime=1634114935 nBits=207fffff nNonce=00000000 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=5151 nSequence=4294967295)] vout=[CTxOut(nValue=50000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a1a2933fcd020b711164e83ca4137dc46f906ef741892550019284a)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:48:54.256000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:48:54.508000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-invalid-chains_88
2021-10-13T08:48:54.508000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-invalid-chains_88/test_framework.log
2021-10-13T08:48:54.508000Z TestFramework (ERROR): 
2021-10-13T08:48:54.508000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-invalid-chains_88' to consolidate all logs
2021-10-13T08:48:54.508000Z TestFramework (ERROR): 
2021-10-13T08:48:54.508000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:48:54.508000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:48:54.508000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: abc-schnorr.py ======

------- Stdout: -------
2021-10-13T08:48:54.589000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-schnorr_92
2021-10-13T08:48:54.996000Z TestFramework (INFO): Create some blocks with OP_1 coinbase for spending.
2021-10-13T08:48:55.006000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-schnorr.py", line 131, in run_test
    node.p2p.send_blocks_and_test(blocks, node, success=True)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=4436fdbe83301205af26f049bc0a59fbd2625017d3265a3e86b45d2f3ff450ca hashMerkleRoot=c2edf8b275054df51f957e3f55ab9bc272d4d959a81a4eea8f2a45dbb20a7e4a nTime=1634114935 nBits=207fffff nNonce=00000000 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=02c900 nSequence=4294967295)] vout=[CTxOut(nValue=25000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a19cc29f0255a3ef340500e9f7f5551b5186753148f340a6744e2)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:48:55.060000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:48:55.315000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-schnorr_92
2021-10-13T08:48:55.315000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-schnorr_92/test_framework.log
2021-10-13T08:48:55.315000Z TestFramework (ERROR): 
2021-10-13T08:48:55.316000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-schnorr_92' to consolidate all logs
2021-10-13T08:48:55.316000Z TestFramework (ERROR): 
2021-10-13T08:48:55.316000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:48:55.316000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:48:55.317000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: abc-transaction-ordering.py ======

------- Stdout: -------
2021-10-13T08:48:42.272000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-transaction-ordering_71
2021-10-13T08:48:42.654000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-transaction-ordering.py", line 160, in run_test
    node.p2p.send_blocks_and_test([self.tip], node)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 hashMerkleRoot=418456fbb43a047cfe1c7dc1635043ea369f66c67c87f37c0dee561c804dc794 nTime=1634114923 nBits=207fffff nNonce=00000004 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=5151 nSequence=4294967295)] vout=[CTxOut(nValue=50000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a1ae5bd022345ae0129aec2ac36a2d4e7ff536195078429acc1c781)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:48:42.705000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:48:42.957000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-transaction-ordering_71
2021-10-13T08:48:42.957000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-transaction-ordering_71/test_framework.log
2021-10-13T08:48:42.957000Z TestFramework (ERROR): 
2021-10-13T08:48:42.957000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084546/abc-transaction-ordering_71' to consolidate all logs
2021-10-13T08:48:42.957000Z TestFramework (ERROR): 
2021-10-13T08:48:42.957000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:48:42.957000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:48:42.957000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: abc-invalid-chains.py ======

------- Stdout: -------
2021-10-13T08:52:29.233000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-invalid-chains_88
2021-10-13T08:52:29.624000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-invalid-chains.py", line 70, in run_test
    node.p2p.send_blocks_and_test([block(0), block(1), block(2)], node)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 hashMerkleRoot=d36f631a7c86c22e1e7e4155343d7098e35c7290458f9fb709244b0ffeceb703 nTime=1634115150 nBits=207fffff nNonce=00000001 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=5151 nSequence=4294967295)] vout=[CTxOut(nValue=50000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a1a2038ad3bd20e9d21aa32c9c844b3c0dd926a27b35e6eaf87a045)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:52:29.679000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:52:29.933000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-invalid-chains_88
2021-10-13T08:52:29.933000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-invalid-chains_88/test_framework.log
2021-10-13T08:52:29.933000Z TestFramework (ERROR): 
2021-10-13T08:52:29.933000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-invalid-chains_88' to consolidate all logs
2021-10-13T08:52:29.933000Z TestFramework (ERROR): 
2021-10-13T08:52:29.933000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:52:29.933000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:52:29.933000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: abc-schnorr.py ======

------- Stdout: -------
2021-10-13T08:52:30.035000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-schnorr_92
2021-10-13T08:52:30.501000Z TestFramework (INFO): Create some blocks with OP_1 coinbase for spending.
2021-10-13T08:52:30.513000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-schnorr.py", line 131, in run_test
    node.p2p.send_blocks_and_test(blocks, node, success=True)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0e0b7e469fcfdd19dc2f07014e6cfff5ba64e5cbce7d5dc9af1277a5fdf2d647 hashMerkleRoot=d992dbbf766a20f479a72a1d05a899351d30aa987a16cb61dcc2fbdb5ea214dd nTime=1634115151 nBits=207fffff nNonce=00000001 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=02c900 nSequence=4294967295)] vout=[CTxOut(nValue=25000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a19beaedfddf6cd07b9e928c230a8010088f7b5288edadebcc0ef)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:52:30.567000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:52:30.719000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-schnorr_92
2021-10-13T08:52:30.719000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-schnorr_92/test_framework.log
2021-10-13T08:52:30.719000Z TestFramework (ERROR): 
2021-10-13T08:52:30.719000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-schnorr_92' to consolidate all logs
2021-10-13T08:52:30.719000Z TestFramework (ERROR): 
2021-10-13T08:52:30.719000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:52:30.720000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:52:30.720000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: abc-transaction-ordering.py ======

------- Stdout: -------
2021-10-13T08:52:18.030000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-transaction-ordering_71
2021-10-13T08:52:18.415000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/abc-transaction-ordering.py", line 160, in run_test
    node.p2p.send_blocks_and_test([self.tip], node)
  File "/work/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    *args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
  File "/work/test/functional/test_framework/authproxy.py", line 147, in get_request
    ensure_ascii=self.ensure_ascii),
  File "/usr/lib/python3.7/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/work/test/functional/test_framework/authproxy.py", line 68, in EncodeDecimal
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: CBlock(nVersion=1 hashPrevBlock=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 hashMerkleRoot=c0503daa9da0542ccc81fac45da8da2892d90304c792e5f5dfec9580240e2cd5 nTime=1634115139 nBits=207fffff nNonce=00000002 vtx=[CTransaction(nVersion=1 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=5151 nSequence=4294967295)] vout=[CTxOut(nValue=50000000.00 scriptPubKey=51), CTxOut(nValue=0.00 scriptPubKey=6a1a863b421c3f28e8baea96b62f2174406aabd72b62f9145a46ff9e)] nLockTime=0)]) is not JSON serializable
2021-10-13T08:52:18.466000Z TestFramework (INFO): Stopping nodes
2021-10-13T08:52:18.717000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-transaction-ordering_71
2021-10-13T08:52:18.717000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-transaction-ordering_71/test_framework.log
2021-10-13T08:52:18.717000Z TestFramework (ERROR): 
2021-10-13T08:52:18.717000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20211013_084930/abc-transaction-ordering_71' to consolidate all logs
2021-10-13T08:52:18.717000Z TestFramework (ERROR): 
2021-10-13T08:52:18.717000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-10-13T08:52:18.717000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-10-13T08:52:18.718000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: abc-invalid-chains.py
Bitcoin ABC functional tests: abc-schnorr.py
Bitcoin ABC functional tests: abc-transaction-ordering.py
Bitcoin ABC functional tests with the next upgrade activated: abc-invalid-chains.py
Bitcoin ABC functional tests with the next upgrade activated: abc-schnorr.py
Bitcoin ABC functional tests with the next upgrade activated: abc-transaction-ordering.py

something is wrong

wrong action
I didn't want to abandon it

PiRK planned changes to this revision.Wed, Oct 13, 09:54

rebase after removing remaining p2p references in D10321

This revision is now accepted and ready to land.Wed, Oct 13, 13:34
This revision was automatically updated to reflect the committed changes.