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 8D0DE200CE6 for ; Wed, 16 Aug 2017 20:50:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 89FB216960F; Wed, 16 Aug 2017 18:50:07 +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 DE427169611 for ; Wed, 16 Aug 2017 20:50:06 +0200 (CEST) Received: (qmail 88148 invoked by uid 500); 16 Aug 2017 18:50:05 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 88139 invoked by uid 99); 16 Aug 2017 18:50:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2017 18:50:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CB9D9C60AE for ; Wed, 16 Aug 2017 18:50:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id BxGHMnZEM8xO for ; Wed, 16 Aug 2017 18:50:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B8FBB60FA3 for ; Wed, 16 Aug 2017 18:50:02 +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 780FCE0E4A for ; Wed, 16 Aug 2017 18:50:01 +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 0B32725386 for ; Wed, 16 Aug 2017 18:50:00 +0000 (UTC) Date: Wed, 16 Aug 2017 18:50:00 +0000 (UTC) From: "Benjamin Mahler (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-7744) Mesos Agent Sends TASK_KILL status update to Master, and still launches task MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 16 Aug 2017 18:50:07 -0000 [ https://issues.apache.org/jira/browse/MESOS-7744?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1612= 9261#comment-16129261 ]=20 Benjamin Mahler commented on MESOS-7744: ---------------------------------------- Ok, synced with [~alexr], looks like this will miss the 1.1.3 train and the= re is no 1.1.4 planned. > Mesos Agent Sends TASK_KILL status update to Master, and still launches t= ask > -------------------------------------------------------------------------= --- > > Key: MESOS-7744 > URL: https://issues.apache.org/jira/browse/MESOS-7744 > Project: Mesos > Issue Type: Bug > Affects Versions: 1.0.1 > Reporter: Sargun Dhillon > Assignee: Benjamin Mahler > Priority: Critical > Labels: reliability > > We sometimes launch jobs, and cancel them in ~7 seconds, if we don't get = a TASK_STARTING back from the agent. Under certain conditions it can result= in Mesos losing track of the task. The chunk of the logs which is interest= ing is here: > {code} > Jun 29 23:22:26 titusagent-mainvpc-r3.8xlarge.2-i-04907efc9f1f8535c mesos= -slave[4290]: I0629 23:22:26.951799 5171 slave.cpp:1495] Got assigned task= Titus-7590548-worker-0-4476 for framework TitusFramework > Jun 29 23:22:26 titusagent-mainvpc-r3.8xlarge.2-i-04907efc9f1f8535c mesos= -slave[4290]: I0629 23:22:26.952251 5171 slave.cpp:1614] Launching task Ti= tus-7590548-worker-0-4476 for framework TitusFramework > Jun 29 23:22:37 titusagent-mainvpc-r3.8xlarge.2-i-04907efc9f1f8535c mesos= -slave[4290]: I0629 23:22:37.484611 5171 slave.cpp:1853] Queuing task =E2= =80=98Titus-7590548-worker-0-4476=E2=80=99 for executor =E2=80=98docker-exe= cutor=E2=80=99 of framework TitusFramework at executor(1)@100.66.11.10:1770= 7 > Jun 29 23:22:37 titusagent-mainvpc-r3.8xlarge.2-i-04907efc9f1f8535c mesos= -slave[4290]: I0629 23:22:37.487876 5171 slave.cpp:2035] Asked to kill tas= k Titus-7590548-worker-0-4476 of framework TitusFramework > Jun 29 23:22:37 titusagent-mainvpc-r3.8xlarge.2-i-04907efc9f1f8535c mesos= -slave[4290]: I0629 23:22:37.488994 5171 slave.cpp:3211] Handling status u= pdate TASK_KILLED (UUID: 898215d6-a244-4dbe-bc9c-878a22d36ea4) for task Tit= us-7590548-worker-0-4476 of framework TitusFramework from @0.0.0.0:0 > Jun 29 23:22:37 titusagent-mainvpc-r3.8xlarge.2-i-04907efc9f1f8535c mesos= -slave[4290]: I0629 23:22:37.490603 5171 slave.cpp:2005] Sending queued ta= sk =E2=80=98Titus-7590548-worker-0-4476=E2=80=99 to executor =E2=80=98docke= r-executor=E2=80=99 of framework TitusFramework at executor(1)@100.66.11.10= :17707{ > {code} > In our executor, we see that the launch message arrives after the master = has already gotten the kill update. We then send non-terminal state updates= to the agent, and yet it doesn't forward these to our framework. We're usi= ng a custom executor which is based on the older mesos-go bindings.=20 -- This message was sent by Atlassian JIRA (v6.4.14#64029)