You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/12/27 20:59:23 UTC
[GitHub] [airflow] tooptoop4 removed a comment on issue #6911:
[AIRFLOW-6353] security - ui - add click jacking defence
tooptoop4 removed a comment on issue #6911: [AIRFLOW-6353] security - ui - add click jacking defence
URL: https://github.com/apache/airflow/pull/6911#issuecomment-569333562
not sure if this CI test fail is relevant:
=================================== FAILURES ===================================
____ TestKubernetesExecutor.test_integration_run_dag_with_scheduler_failure ____
self = <tests.integration.kubernetes.test_kubernetes_executor.TestKubernetesExecutor testMethod=test_integration_run_dag_with_scheduler_failure>
def test_integration_run_dag_with_scheduler_failure(self):
host = KUBERNETES_HOST
dag_id = 'example_kubernetes_executor_config'
result_json = self.start_dag(dag_id=dag_id, host=host)
self.assertGreater(len(result_json['items']), 0)
execution_date = result_json['items'][0]['execution_date']
print("Found the job with execution date {}".format(execution_date))
self._delete_airflow_pod()
time.sleep(10) # give time for pod to restart
# Wait 100 seconds for the operator to complete
self.monitor_task(host=host,
execution_date=execution_date,
dag_id=dag_id,
task_id='start_task',
> expected_final_state='success', timeout=120)
tests/integration/kubernetes/test_kubernetes_executor.py:225:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/integration/kubernetes/test_kubernetes_executor.py:105: in monitor_task
self.assertEqual(state, expected_final_state)
E AssertionError: 'failed' != 'success'
E - failed
E + success
----------------------------- Captured stdout call -----------------------------
Found the job with execution date 2019-12-27T19:34:49+00:00
pod "airflow-5757bbd59f-msr6q" deleted
[2019-12-27 19:35:16,105] {connectionpool.py:745} WARNING - Retrying ('\x1b[1mRetry(total=2, connect=None, read=None, redirect=None, status=None)\x1b[0m') after connection broken by ''\x1b[1m<urllib3.connection.HTTPConnection object at 0x7f34e0b100b8>: Failed to establish a new connection: [Errno 111] Connection refused\x1b[0m'': /api/experimental/dags/example_kubernetes_executor_config/dag_runs/2019-12-27T19:34:49+00:00/tasks/start_task
[2019-12-27 19:35:18,110] {connectionpool.py:745} WARNING - Retrying ('\x1b[1mRetry(total=1, connect=None, read=None, redirect=None, status=None)\x1b[0m') after connection broken by ''\x1b[1m<urllib3.connection.HTTPConnection object at 0x7f34e0b2e1d0>: Failed to establish a new connection: [Errno 111] Connection refused\x1b[0m'': /api/experimental/dags/example_kubernetes_executor_config/dag_runs/2019-12-27T19:34:49+00:00/tasks/start_task
Attempt 0: Current state of operator is failed
Attempt 1: Current state of operator is failed
Attempt 2: Current state of operator is failed
Attempt 3: Current state of operator is failed
Attempt 4: Current state of operator is failed
Attempt 5: Current state of operator is failed
Attempt 6: Current state of operator is failed
Attempt 7: Current state of operator is failed
Attempt 8: Current state of operator is failed
Attempt 9: Current state of operator is failed
Attempt 10: Current state of operator is failed
Attempt 11: Current state of operator is failed
Attempt 12: Current state of operator is failed
Attempt 13: Current state of operator is failed
Attempt 14: Current state of operator is failed
Attempt 15: Current state of operator is failed
Attempt 16: Current state of operator is failed
Attempt 17: Current state of operator is failed
Attempt 18: Current state of operator is failed
Attempt 19: Current state of operator is failed
Attempt 20: Current state of operator is failed
Attempt 21: Current state of operator is failed
Attempt 22: Current state of operator is failed
Attempt 23: Current state of operator is failed
------------------------------ Captured log call -------------------------------
WARNING urllib3.connectionpool:connectionpool.py:745 Retrying ('\x1b[1mRetry(total=2, connect=None, read=None, redirect=None, status=None)\x1b[0m') after connection broken by ''\x1b[1m<urllib3.connection.HTTPConnection object at 0x7f34e0b100b8>: Failed to establish a new connection: [Errno 111] Connection refused\x1b[0m'': /api/experimental/dags/example_kubernetes_executor_config/dag_runs/2019-12-27T19:34:49+00:00/tasks/start_task
WARNING urllib3.connectionpool:connectionpool.py:745 Retrying ('\x1b[1mRetry(total=1, connect=None, read=None, redirect=None, status=None)\x1b[0m') after connection broken by ''\x1b[1m<urllib3.connection.HTTPConnection object at 0x7f34e0b2e1d0>: Failed to establish a new connection: [Errno 111] Connection refused\x1b[0m'': /api/experimental/dags/example_kubernetes_executor_config/dag_runs/2019-12-27T19:34:49+00:00/tasks/start_task
=============================== warnings summary ===============================
/usr/local/lib/python3.6/site-packages/_pytest/junitxml.py:436
/usr/local/lib/python3.6/site-packages/_pytest/junitxml.py:436: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.
Add 'junit_family=legacy' to your pytest.ini file to silence this warning and make your suite compatible.
_issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
------------- generated xml file: /root/airflow/logs/all_tests.xml -------------
---------- coverage: platform linux, python 3.6.10-final-0 -----------
Coverage HTML written to dir airflow/www/static/coverage/
========================== slowest 100 test durations ==========================
158.67s call tests/integration/kubernetes/test_kubernetes_executor.py::TestKubernetesExecutor::test_integration_run_dag_with_scheduler_failure
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services