Advertisement
Guest User

Untitled

a guest
Oct 1st, 2018
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 KB | None | 0 0
  1. wallet_import_rescan.py failed, Duration: 256 s
  2.  
  3. stdout:
  4. 2018-10-01T18:17:54.416000Z TestFramework (INFO): Initializing test directory /var/folders/kp/kz9w7fw90ldbss9rb5xtdhg00000gn/T/test_runner_₿_🏃_20181001_202540/wallet_import_rescan_27
  5. 2018-10-01T18:20:30.009000Z TestFramework (ERROR): Unexpected exception caught during testing
  6. Traceback (most recent call last):
  7. File "/Users/rex/bitcoin/test/functional/test_framework/test_framework.py", line 168, in main
  8. self.setup_network()
  9. File "/Users/rex/bitcoin/test/functional/wallet_import_rescan.py", line 125, in setup_network
  10. super().import_deterministic_coinbase_privkeys()
  11. File "/Users/rex/bitcoin/test/functional/test_framework/test_framework.py", line 269, in import_deterministic_coinbase_privkeys
  12. n.getwalletinfo()
  13. File "/Users/rex/bitcoin/test/functional/test_framework/coverage.py", line 47, in __call__
  14. return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  15. File "/Users/rex/bitcoin/test/functional/test_framework/authproxy.py", line 134, in __call__
  16. response = self._request('POST', self.__url.path, postdata.encode('utf-8'))
  17. File "/Users/rex/bitcoin/test/functional/test_framework/authproxy.py", line 104, in _request
  18. self.__conn.request(method, path, postdata, headers)
  19. File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
  20. self._send_request(method, url, body, headers, encode_chunked)
  21. File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
  22. self.endheaders(body, encode_chunked=encode_chunked)
  23. File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
  24. self._send_output(message_body, encode_chunked=encode_chunked)
  25. File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1065, in _send_output
  26. self.send(chunk)
  27. File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 986, in send
  28. self.sock.sendall(data)
  29. OSError: [Errno 41] Protocol wrong type for socket
  30. 2018-10-01T18:20:30.901000Z TestFramework (INFO): Stopping nodes
  31. 2018-10-01T18:20:31.190000Z TestFramework.node5 (ERROR): Unable to stop node.
  32. Traceback (most recent call last):
  33. File "/Users/rex/bitcoin/test/functional/test_framework/test_node.py", line 212, in stop_node
  34. self.stop()
  35. File "/Users/rex/bitcoin/test/functional/test_framework/coverage.py", line 47, in __call__
  36. return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  37. File "/Users/rex/bitcoin/test/functional/test_framework/authproxy.py", line 134, in __call__
  38. response = self._request('POST', self.__url.path, postdata.encode('utf-8'))
  39. File "/Users/rex/bitcoin/test/functional/test_framework/authproxy.py", line 104, in _request
  40. self.__conn.request(method, path, postdata, headers)
  41. File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
  42. self._send_request(method, url, body, headers, encode_chunked)
  43. File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1250, in _send_request
  44. self.putrequest(method, url, **skips)
  45. File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1108, in putrequest
  46. raise CannotSendRequest(self.__state)
  47. http.client.CannotSendRequest: Request-sent
  48. 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)
  49. [node 5] Cleaning up leftover process
  50.  
  51.  
  52. stderr:
  53. Traceback (most recent call last):
  54. File "/Users/rex/bitcoin/test/functional/wallet_import_rescan.py", line 189, in <module>
  55. ImportRescanTest().main()
  56. File "/Users/rex/bitcoin/test/functional/test_framework/test_framework.py", line 195, in main
  57. self.stop_nodes()
  58. File "/Users/rex/bitcoin/test/functional/test_framework/test_framework.py", line 342, in stop_nodes
  59. node.wait_until_stopped()
  60. File "/Users/rex/bitcoin/test/functional/test_framework/test_node.py", line 249, in wait_until_stopped
  61. wait_until(self.is_node_stopped, timeout=timeout)
  62. File "/Users/rex/bitcoin/test/functional/test_framework/util.py", line 227, in wait_until
  63. raise AssertionError("Predicate {} not true after {} seconds".format(predicate_source, timeout))
  64. 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