Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.85 KB | None | 0 0
  1. Airflow
  2. DAGs
  3. Data Profiling
  4. Browse
  5. Admin
  6. Docs
  7. About
  8. 2020-03-31 20:27:16 UTC
  9. DAG: airflow_rateshopper Airflow Rateshopperschedule: 0 13 * * *
  10. Graph View
  11. Tree View
  12. Task Duration
  13. Task Tries
  14. Landing Times
  15. Gantt
  16. Details
  17. Code
  18. Trigger DAG
  19. Refresh
  20. Delete
  21. Task Instance: upload_data
  22. 2020-03-30 13:00:00
  23. Task Instance Details
  24. Rendered Template
  25. Log
  26. XCom
  27. Log by attempts
  28. 1
  29. 2
  30. 3
  31. 4
  32. Jump to end
  33. Toggle wrap
  34. *** Reading local file: /home/rmzg/Edmond/airflow/logs/airflow_rateshopper/upload_data/2020-03-30T13:00:00+00:00/4.log
  35. [2020-03-31 20:15:27,586] {taskinstance.py:655} INFO - Dependencies all met for <TaskInstance: airflow_rateshopper.upload_data 2020-03-30T13:00:00+00:00 [queued]>
  36. [2020-03-31 20:15:27,623] {taskinstance.py:655} INFO - Dependencies all met for <TaskInstance: airflow_rateshopper.upload_data 2020-03-30T13:00:00+00:00 [queued]>
  37. [2020-03-31 20:15:27,623] {taskinstance.py:866} INFO -
  38. --------------------------------------------------------------------------------
  39. [2020-03-31 20:15:27,623] {taskinstance.py:867} INFO - Starting attempt 4 of 16
  40. [2020-03-31 20:15:27,623] {taskinstance.py:868} INFO -
  41. --------------------------------------------------------------------------------
  42. [2020-03-31 20:15:27,632] {taskinstance.py:887} INFO - Executing <Task(PythonOperator): upload_data> on 2020-03-30T13:00:00+00:00
  43. [2020-03-31 20:15:27,639] {standard_task_runner.py:52} INFO - Started process 46809 to run task
  44. [2020-03-31 20:15:27,699] {logging_mixin.py:112} INFO - [2020-03-31 20:15:27,698] {dagbag.py:403} INFO - Filling up the DagBag from /home/rmzg/Edmond/airflow/dags/rateshopper-airflow.py
  45. [2020-03-31 20:15:27,742] {logging_mixin.py:112} INFO - Running %s on host %s <TaskInstance: airflow_rateshopper.upload_data 2020-03-30T13:00:00+00:00 [running]> edmond-bbzg
  46. [2020-03-31 20:15:27,776] {python_operator.py:105} INFO - Exporting the following env vars:
  47. AIRFLOW_CTX_DAG_EMAIL=ivan.rezic@maistra.hr
  48. AIRFLOW_CTX_DAG_OWNER=airflow
  49. AIRFLOW_CTX_DAG_ID=airflow_rateshopper
  50. AIRFLOW_CTX_TASK_ID=upload_data
  51. AIRFLOW_CTX_EXECUTION_DATE=2020-03-30T13:00:00+00:00
  52. AIRFLOW_CTX_DAG_RUN_ID=scheduled__2020-03-30T13:00:00+00:00
  53. [2020-03-31 20:15:27,777] {logging_mixin.py:112} INFO - [2020-03-31 20:15:27,776] {upload_data.py:28} INFO - Creating TransferData
  54. [2020-03-31 20:15:27,780] {logging_mixin.py:112} WARNING -
  55. 0%| | 0/6 [00:00<?, ?it/s]
  56. [2020-03-31 20:15:27,780] {logging_mixin.py:112} INFO - [2020-03-31 20:15:27,780] {upload_data.py:36} INFO - Entering TransferData.upload_file
  57. [2020-03-31 20:15:27,780] {logging_mixin.py:112} INFO - [2020-03-31 20:15:27,780] {upload_data.py:19} INFO - Creating dbx with access_token
  58. [2020-03-31 20:15:27,799] {logging_mixin.py:112} INFO - [2020-03-31 20:15:27,799] {dropbox.py:358} INFO - Request to files/upload
  59. [2020-03-31 20:15:27,933] {logging_mixin.py:112} WARNING -
  60. 0%| | 0/6 [00:00<?, ?it/s]
  61. [2020-03-31 20:15:27,933] {logging_mixin.py:112} WARNING -
  62. [2020-03-31 20:15:27,933] {taskinstance.py:1088} ERROR - HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/files/upload (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
  63. Traceback (most recent call last):
  64. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket
  65. cnx.do_handshake()
  66. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1934, in do_handshake
  67. self._raise_ssl_error(self._ssl, result)
  68. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1671, in _raise_ssl_error
  69. _raise_current_error()
  70. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
  71. raise exception_type(errors)
  72. OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
  73.  
  74. During handling of the above exception, another exception occurred:
  75.  
  76. Traceback (most recent call last):
  77. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
  78. chunked=chunked,
  79. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
  80. self._validate_conn(conn)
  81. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
  82. conn.connect()
  83. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/connection.py", line 360, in connect
  84. ssl_context=context,
  85. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
  86. return context.wrap_socket(sock, server_hostname=server_hostname)
  87. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 491, in wrap_socket
  88. raise ssl.SSLError("bad handshake: %r" % e)
  89. ssl.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])",)
  90.  
  91. During handling of the above exception, another exception occurred:
  92.  
  93. Traceback (most recent call last):
  94. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
  95. timeout=timeout
  96. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
  97. method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  98. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
  99. raise MaxRetryError(_pool, url, error or ResponseError(cause))
  100. urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/files/upload (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
  101.  
  102. During handling of the above exception, another exception occurred:
  103.  
  104. Traceback (most recent call last):
  105. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/airflow/models/taskinstance.py", line 955, in _run_raw_task
  106. result = task_copy.execute(context=context)
  107. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/airflow/operators/python_operator.py", line 113, in execute
  108. return_value = self.execute_callable()
  109. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/airflow/operators/python_operator.py", line 118, in execute_callable
  110. return self.python_callable(*self.op_args, **self.op_kwargs)
  111. File "/home/rmzg/Edmond/src/rateshopper/upload_data.py", line 48, in main
  112. upload_last_state_data_to_dropbox(list_of_files)
  113. File "/home/rmzg/Edmond/src/rateshopper/upload_data.py", line 37, in upload_last_state_data_to_dropbox
  114. transferData.upload_file(file_from, file_to, )
  115. File "/home/rmzg/Edmond/src/rateshopper/upload_data.py", line 23, in upload_file
  116. dbx.files_upload(f.read(), file_to, mode=WriteMode('overwrite'))
  117. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/dropbox/base.py", line 2458, in files_upload
  118. f,
  119. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/dropbox/dropbox.py", line 274, in request
  120. timeout=timeout)
  121. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/dropbox/dropbox.py", line 365, in request_json_string_with_retry
  122. timeout=timeout)
  123. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/dropbox/dropbox.py", line 449, in request_json_string
  124. timeout=timeout,
  125. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/requests/sessions.py", line 578, in post
  126. return self.request('POST', url, data=data, json=json, **kwargs)
  127. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
  128. resp = self.send(prep, **send_kwargs)
  129. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
  130. r = adapter.send(request, **kwargs)
  131. File "/home/rmzg/anaconda3/envs/edmond-env/lib/python3.7/site-packages/requests/adapters.py", line 514, in send
  132. raise SSLError(e, request=request)
  133. requests.exceptions.SSLError: HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/files/upload (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
  134. [2020-03-31 20:15:27,940] {taskinstance.py:1111} INFO - Marking task as UP_FOR_RETRY
  135. [2020-03-31 20:15:37,552] {logging_mixin.py:112} INFO - [2020-03-31 20:15:37,551] {local_task_job.py:103} INFO - Task exited with return code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement