Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3C74B200C11 for ; Sat, 21 Jan 2017 00:07:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3B0F7160B58; Fri, 20 Jan 2017 23:07:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 85A1A160B48 for ; Sat, 21 Jan 2017 00:07:34 +0100 (CET) Received: (qmail 58861 invoked by uid 500); 20 Jan 2017 23:07:33 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 58850 invoked by uid 99); 20 Jan 2017 23:07:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2017 23:07:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 530071A03F7 for ; Fri, 20 Jan 2017 23:07:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id k8Rst7ZjP6He for ; Fri, 20 Jan 2017 23:07:31 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 00AB45F30B for ; Fri, 20 Jan 2017 23:07:31 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 051F9E027C for ; Fri, 20 Jan 2017 23:07:28 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8A47825290 for ; Fri, 20 Jan 2017 23:07:27 +0000 (UTC) Date: Fri, 20 Jan 2017 23:07:27 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AIRFLOW-779) Task should fail with specific message if task instance is deleted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 Jan 2017 23:07:35 -0000 [ https://issues.apache.org/jira/browse/AIRFLOW-779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832577#comment-15832577 ] ASF subversion and git services commented on AIRFLOW-779: --------------------------------------------------------- Commit 9221587514e2a0155cdced2d3ae50129b0793a10 in incubator-airflow's branch refs/heads/v1-8-test from [~saguziel] [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=9221587 ] [AIRFLOW-779] Task should fail with specific message when deleted Testing Done: - Killed a task while it was running using the task instances UI, verified behavior is the same as before, and logging worked Closes #2006 from saguziel/aguziel-terminate- nonexistent > Task should fail with specific message if task instance is deleted > ------------------------------------------------------------------ > > Key: AIRFLOW-779 > URL: https://issues.apache.org/jira/browse/AIRFLOW-779 > Project: Apache Airflow > Issue Type: Bug > Reporter: Alex Guziel > Assignee: Alex Guziel > Priority: Trivial > > Right now, when a task instance is deleted in the DB (as is in the UI task instances page), it will fail with a None have the state field accessed. We should handle this explicitly and give an explicit message. -- This message was sent by Atlassian JIRA (v6.3.4#6332)