Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wallet_import_rescan.py failed, Duration: 256 s
- stdout:
- 2018-10-01T18:17:54.416000Z TestFramework (INFO): Initializing test directory /var/folders/kp/kz9w7fw90ldbss9rb5xtdhg00000gn/T/test_runner_₿_🏃_20181001_202540/wallet_import_rescan_27
- 2018-10-01T18:20:30.009000Z TestFramework (ERROR): Unexpected exception caught during testing
- Traceback (most recent call last):
- File "/Users/rex/bitcoin/test/functional/test_framework/test_framework.py", line 168, in main
- self.setup_network()
- File "/Users/rex/bitcoin/test/functional/wallet_import_rescan.py", line 125, in setup_network
- super().import_deterministic_coinbase_privkeys()
- File "/Users/rex/bitcoin/test/functional/test_framework/test_framework.py", line 269, in import_deterministic_coinbase_privkeys
- n.getwalletinfo()
- File "/Users/rex/bitcoin/test/functional/test_framework/coverage.py", line 47, in __call__
- return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
- File "/Users/rex/bitcoin/test/functional/test_framework/authproxy.py", line 134, in __call__
- response = self._request('POST', self.__url.path, postdata.encode('utf-8'))
- File "/Users/rex/bitcoin/test/functional/test_framework/authproxy.py", line 104, in _request
- self.__conn.request(method, path, postdata, headers)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
- self._send_request(method, url, body, headers, encode_chunked)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
- self.endheaders(body, encode_chunked=encode_chunked)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
- self._send_output(message_body, encode_chunked=encode_chunked)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1065, in _send_output
- self.send(chunk)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 986, in send
- self.sock.sendall(data)
- OSError: [Errno 41] Protocol wrong type for socket
- 2018-10-01T18:20:30.901000Z TestFramework (INFO): Stopping nodes
- 2018-10-01T18:20:31.190000Z TestFramework.node5 (ERROR): Unable to stop node.
- Traceback (most recent call last):
- File "/Users/rex/bitcoin/test/functional/test_framework/test_node.py", line 212, in stop_node
- self.stop()
- File "/Users/rex/bitcoin/test/functional/test_framework/coverage.py", line 47, in __call__
- return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
- File "/Users/rex/bitcoin/test/functional/test_framework/authproxy.py", line 134, in __call__
- response = self._request('POST', self.__url.path, postdata.encode('utf-8'))
- File "/Users/rex/bitcoin/test/functional/test_framework/authproxy.py", line 104, in _request
- self.__conn.request(method, path, postdata, headers)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
- self._send_request(method, url, body, headers, encode_chunked)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1250, in _send_request
- self.putrequest(method, url, **skips)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1108, in putrequest
- raise CannotSendRequest(self.__state)
- http.client.CannotSendRequest: Request-sent
- 2018-10-01T18:22:03.618000Z TestFramework.utils (ERROR): wait_until() failed. Predicate: ([' def is_node_stopped(self):\n', ' """Checks whether the node has stopped.\n', '\n', ' Returns True if the node has stopped. False otherwise.\n', ' This method is responsible for freeing resources (self.process)."""\n', ' if not self.running:\n', ' return True\n', ' return_code = self.process.poll()\n', ' if return_code is None:\n', ' return False\n', '\n', " # process has stopped. Assert that it didn't return an error code.\n", ' assert return_code == 0, self._node_msg(\n', ' "Node returned non-zero exit code (%d) when stopping" % return_code)\n', ' self.running = False\n', ' self.process = None\n', ' self.rpc_connected = False\n', ' self.rpc = None\n', ' self.log.debug("Node stopped")\n', ' return True\n'], 227)
- [node 5] Cleaning up leftover process
- stderr:
- Traceback (most recent call last):
- File "/Users/rex/bitcoin/test/functional/wallet_import_rescan.py", line 189, in <module>
- ImportRescanTest().main()
- File "/Users/rex/bitcoin/test/functional/test_framework/test_framework.py", line 195, in main
- self.stop_nodes()
- File "/Users/rex/bitcoin/test/functional/test_framework/test_framework.py", line 342, in stop_nodes
- node.wait_until_stopped()
- File "/Users/rex/bitcoin/test/functional/test_framework/test_node.py", line 249, in wait_until_stopped
- wait_until(self.is_node_stopped, timeout=timeout)
- File "/Users/rex/bitcoin/test/functional/test_framework/util.py", line 227, in wait_until
- raise AssertionError("Predicate {} not true after {} seconds".format(predicate_source, timeout))
- AssertionError: Predicate ([' def is_node_stopped(self):\n', ' """Checks whether the node has stopped.\n', '\n', ' Returns True if the node has stopped. False otherwise.\n', ' This method is responsible for freeing resources (self.process)."""\n', ' if not self.running:\n', ' return True\n', ' return_code = self.process.poll()\n', ' if return_code is None:\n', ' return False\n', '\n', " # process has stopped. Assert that it didn't return an error code.\n", ' assert return_code == 0, self._node_msg(\n', ' "Node returned non-zero exit code (%d) when stopping" % return_code)\n', ' self.running = False\n', ' self.process = None\n', ' self.rpc_connected = False\n', ' self.rpc = None\n', ' self.log.debug("Node stopped")\n', ' return True\n'], 227) not true after 60 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement