Closed decryp2kanon closed 3 years ago
$ ./test/functional/test_runner.py wallet_basic.py
Temporary test directory at /tmp/test_runner_₿_🏃_20200927_132608
WARNING! The following scripts are not being run: ['rpc_signmessage.py']. Check the test lists in test_runner.py.
Running Unit Tests for Test Framework Modules
.......
----------------------------------------------------------------------
Ran 7 tests in 0.008s
OK
Remaining jobs: [wallet_basic.py]
1/1 - wallet_basic.py failed, Duration: 6 s
stdout:
2020-09-27T17:26:08.421000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20200927_132608/wallet_basic_0
2020-09-27T17:26:09.492000Z TestFramework (INFO): Mining blocks...
2020-09-27T17:26:10.624000Z TestFramework (INFO): test gettxout
2020-09-27T17:26:10.722000Z TestFramework (INFO): test gettxout (second part)
2020-09-27T17:26:14.282000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/util.py", line 133, in try_rpc
fun(*args, **kwds)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/coverage.py", line 47, in __call__
return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/authproxy.py", line 146, in __call__
raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid estimate_mode parameter (-8)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 118, in main
self.run_test()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/wallet_basic.py", line 234, in run_test
estimate_mode='bTc/kB')
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/util.py", line 124, in assert_raises_rpc_error
assert try_rpc(code, message, fun, *args, **kwds), "No exception raised"
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/util.py", line 141, in try_rpc
message, e.error['message']))
AssertionError: Expected substring not found in error message:
substring: 'Selected estimate_mode requires a fee rate'
error message: 'Invalid estimate_mode parameter'.
2020-09-27T17:26:14.334000Z TestFramework (INFO): Stopping nodes
2020-09-27T17:26:14.590000Z TestFramework (WARNING): Not cleaning up dir /tmp/test_runner_₿_🏃_20200927_132608/wallet_basic_0
2020-09-27T17:26:14.590000Z TestFramework (ERROR): Test failed. Test logging available at /tmp/test_runner_₿_🏃_20200927_132608/wallet_basic_0/test_framework.log
2020-09-27T17:26:14.591000Z TestFramework (ERROR):
2020-09-27T17:26:14.591000Z TestFramework (ERROR): Hint: Call /home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/combine_logs.py '/tmp/test_runner_₿_🏃_20200927_132608/wallet_basic_0' to consolidate all logs
2020-09-27T17:26:14.591000Z TestFramework (ERROR):
2020-09-27T17:26:14.591000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2020-09-27T17:26:14.591000Z TestFramework (ERROR): https://github.com/litecoin-project/litecoin/issues
2020-09-27T17:26:14.591000Z TestFramework (ERROR):
stderr:
TEST | STATUS | DURATION
wallet_basic.py | ✖ Failed | 6 s
ALL | ✖ Failed | 6 s (accumulated)
Runtime: 6 s
$ ./test/functional/test_runner.py wallet_labels.py
Temporary test directory at /tmp/test_runner_₿_🏃_20200927_133257
WARNING! The following scripts are not being run: ['rpc_signmessage.py']. Check the test lists in test_runner.py.
Running Unit Tests for Test Framework Modules
.......
----------------------------------------------------------------------
Ran 7 tests in 0.008s
OK
Remaining jobs: [wallet_labels.py]
1/1 - wallet_labels.py failed, Duration: 0 s
stdout:
2020-09-27T17:32:58.080000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20200927_133257/wallet_labels_0
2020-09-27T17:32:58.333000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 503, in start_nodes
node.wait_for_rpc_connection()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 221, in wait_for_rpc_connection
'litecoind exited with status {} during initialization'.format(self.process.returncode)))
test_framework.test_node.FailedToStartError: [node 0] litecoind exited with status 1 during initialization
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 117, in main
self.setup()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 249, in setup
self.setup_network()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 343, in setup_network
self.setup_nodes()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 371, in setup_nodes
self.start_nodes()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 506, in start_nodes
self.stop_nodes()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 522, in stop_nodes
node.stop_node(wait=wait)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 319, in stop_node
self.stop(wait=wait)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 179, in __getattr__
assert self.rpc_connected and self.rpc is not None, self._node_msg("Error: no RPC connection")
AssertionError: [node 0] Error: no RPC connection
2020-09-27T17:32:58.385000Z TestFramework (INFO): Stopping nodes
stderr:
Traceback (most recent call last):
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/wallet_labels.py", line 203, in <module>
WalletLabelsTest().main()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 141, in main
exit_code = self.shutdown()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 265, in shutdown
self.stop_nodes()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 522, in stop_nodes
node.stop_node(wait=wait)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 319, in stop_node
self.stop(wait=wait)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 179, in __getattr__
assert self.rpc_connected and self.rpc is not None, self._node_msg("Error: no RPC connection")
AssertionError: [node 0] Error: no RPC connection
TEST | STATUS | DURATION
wallet_labels.py | ✖ Failed | 0 s
ALL | ✖ Failed | 0 s (accumulated)
Runtime: 0 s
39/167 - wallet_txn_clone.py --segwit failed, Duration: 0 s
stdout:
2020-09-27T18:15:30.012000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20200927_141058/wallet_txn_clone_125
2020-09-27T18:15:30.333000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 503, in start_nodes
node.wait_for_rpc_connection()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 221, in wait_for_rpc_connection
'litecoind exited with status {} during initialization'.format(self.process.returncode)))
test_framework.test_node.FailedToStartError: [node 0] litecoind exited with status 1 during initialization
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 117, in main
self.setup()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 249, in setup
self.setup_network()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/wallet_txn_clone.py", line 32, in setup_network
super().setup_network()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 343, in setup_network
self.setup_nodes()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 371, in setup_nodes
self.start_nodes()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 506, in start_nodes
self.stop_nodes()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 522, in stop_nodes
node.stop_node(wait=wait)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 319, in stop_node
self.stop(wait=wait)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 179, in __getattr__
assert self.rpc_connected and self.rpc is not None, self._node_msg("Error: no RPC connection")
AssertionError: [node 0] Error: no RPC connection
2020-09-27T18:15:30.385000Z TestFramework (INFO): Stopping nodes
[node 3] Cleaning up leftover process
[node 2] Cleaning up leftover process
[node 1] Cleaning up leftover process
[node 0] Cleaning up leftover process
stderr:
Traceback (most recent call last):
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/wallet_txn_clone.py", line 145, in <module>
TxnMallTest().main()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 141, in main
exit_code = self.shutdown()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 265, in shutdown
self.stop_nodes()
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_framework.py", line 522, in stop_nodes
node.stop_node(wait=wait)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 319, in stop_node
self.stop(wait=wait)
File "/home/ak/git/SUGAR/SUGARCHAIN/bitcoin_200920/test/functional/test_framework/test_node.py", line 179, in __getattr__
assert self.rpc_connected and self.rpc is not None, self._node_msg("Error: no RPC connection")
AssertionError: [node 0] Error: no RPC connection
40/167 - feature_fee_estimation.py passed, Duration: 21 s
./src/test/test_litecoin --log_level=test_suite
:heavy_check_mark:./src/bench/bench_litecoin
:heavy_check_mark:./test/functional/test_runner.py --jobs=4
./test/functional/test_runner.py rpc_signmessage.py
:x:./src/test/test_litecoin
./test/util/litecoin-util-test.py
./test/util/rpcauth-test.py
./test/fuzz/test_runner.py