From commits-return-73069-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Tue Oct 29 14:34:49 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5AA09180674 for ; Tue, 29 Oct 2019 15:34:49 +0100 (CET) Received: (qmail 80189 invoked by uid 500); 29 Oct 2019 14:34:48 -0000 Mailing-List: contact commits-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list commits@airflow.apache.org Received: (qmail 80092 invoked by uid 99); 29 Oct 2019 14:34:48 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2019 14:34:48 +0000 From: GitBox To: commits@airflow.apache.org Subject: [GitHub] [airflow] OmerJog commented on issue #6335: [AIRFLOW-5621] - Failure callback is not triggered when marked Failed on UI Message-ID: <157235968850.25643.1887052116128088417.gitbox@gitbox.apache.org> Date: Tue, 29 Oct 2019 14:34:48 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit OmerJog commented on issue #6335: [AIRFLOW-5621] - Failure callback is not triggered when marked Failed on UI URL: https://github.com/apache/airflow/pull/6335#issuecomment-547450996 @bharathpalaksha can you resolve the error with the test you added? ``` ====================================================================== 52) ERROR: test_mark_failure_on_failure_callback (tests.jobs.test_local_task_job.TestLocalTaskJob) ---------------------------------------------------------------------- Traceback (most recent call last): tests/jobs/test_local_task_job.py line 257 in test_mark_failure_on_failure_callback task = dag.get_task('task1') AttributeError: 'NoneType' object has no attribute 'get_task' -------------------- >> begin captured logging << -------------------- airflow.models.dagbag.DagBag: INFO: Filling up the DagBag from /opt/airflow/tests/dags root: INFO: class_instance type: airflow.models.dagbag.DagBag: ERROR: Failed to import: /opt/airflow/tests/dags/test_mark_failure.py Traceback (most recent call last): File "/opt/airflow/airflow/models/dagbag.py", line 200, in process_file m = imp.load_source(mod_name, filepath) File "/usr/local/lib/python3.6/imp.py", line 172, in load_source module = _load(spec) File "", line 684, in _load File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/airflow/tests/dags/test_mark_failure.py", line 21, in from jobs.test_local_task_job import data ModuleNotFoundError: No module named 'jobs' airflow.models.dagbag.DagBag: INFO: File /opt/airflow/tests/dags/test_zip.zip assumed to contain no DAGs. Skipping. ``` ---------------------------------------------------------------- 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