From nobody Tue Apr 23 13:52:51 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) client-ip=206.53.239.180; envelope-from=patchew-devel-bounce@freelists.org; helo=turing.freelists.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) smtp.mailfrom=patchew-devel-bounce@freelists.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from turing.freelists.org (turing.freelists.org [206.53.239.180]) by mx.zohomail.com with SMTPS id 1519458456862504.598668832458; Fri, 23 Feb 2018 23:47:36 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 50D3E2ACE0; Sat, 24 Feb 2018 02:47:36 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58_JjmzIttW0; Sat, 24 Feb 2018 02:47:36 -0500 (EST) Received: from turing.freelists.org (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 1046A25236; Sat, 24 Feb 2018 02:47:36 -0500 (EST) Received: with ECARTIS (v1.0.0; list patchew-devel); Sat, 24 Feb 2018 02:47:35 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id DA3782ACE0 for ; Sat, 24 Feb 2018 02:47:35 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bl_yw3F8vm1n for ; Sat, 24 Feb 2018 02:47:35 -0500 (EST) Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id BF0EC25236 for ; Sat, 24 Feb 2018 02:47:35 -0500 (EST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 60CCB7D85D for ; Sat, 24 Feb 2018 07:47:35 +0000 (UTC) Received: from lemon.usersys.redhat.com (ovpn-12-97.pek2.redhat.com [10.72.12.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id A79E72024CA9; Sat, 24 Feb 2018 07:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519458456; bh=yJeLd2lniQZvDnEjDW/OEH69ppSF2UIcGqPiZGpe+5U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:List-help: List-unsubscribe:List-Id:List-subscribe:List-owner:List-post: List-archive; b=ODzCh1IzGKzeBPsdcLatZhr2nEdAnhQczVbVfYeGitEIHGYRkYdBOO5O7yYmguaDt U65mWA06WjxHJlg2C4UMbPCCfVKeEY/H1HOGqXxurdnVp35oD6pHFZ/mrJKl3PkhHb I4d5dXytcGi0xprq2dFEcRnDAklM1whi9mL5OUoA= X-Virus-Scanned: Debian amavisd-new at turing.freelists.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519458456; bh=yJeLd2lniQZvDnEjDW/OEH69ppSF2UIcGqPiZGpe+5U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:List-help: List-unsubscribe:List-Id:List-subscribe:List-owner:List-post: List-archive; b=ODzCh1IzGKzeBPsdcLatZhr2nEdAnhQczVbVfYeGitEIHGYRkYdBOO5O7yYmguaDt U65mWA06WjxHJlg2C4UMbPCCfVKeEY/H1HOGqXxurdnVp35oD6pHFZ/mrJKl3PkhHb I4d5dXytcGi0xprq2dFEcRnDAklM1whi9mL5OUoA= X-Original-To: patchew-devel@freelists.org X-Virus-Scanned: Debian amavisd-new at turing.freelists.org From: Fam Zheng To: patchew-devel@freelists.org Cc: pbonzini@redhat.com Subject: [patchew-devel] [PATCH 1/4] Fix python 3 package name in docker deployment Date: Sat, 24 Feb 2018 15:47:22 +0800 Message-Id: <20180224074725.1838-2-famz@redhat.com> In-Reply-To: <20180224074725.1838-1-famz@redhat.com> References: <20180224074725.1838-1-famz@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Sat, 24 Feb 2018 07:47:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Sat, 24 Feb 2018 07:47:35 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'famz@redhat.com' RCPT:'' X-archive-position: 36 X-ecartis-version: Ecartis v1.0.0 Sender: patchew-devel-bounce@freelists.org Errors-to: patchew-devel-bounce@freelists.org X-original-sender: famz@redhat.com Precedence: normal Reply-To: patchew-devel@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: patchew-devel X-List-ID: patchew-devel List-subscribe: List-owner: List-post: List-archive: X-list: patchew-devel X-ZohoMail-DKIM: pass (identity @freelists.org) X-ZohoMail: RDKM_0 RSF_4 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Python34 is a more reliable package name. Signed-off-by: Fam Zheng Reviewed-by: Paolo Bonzini --- scripts/playbooks/tasks/docker-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/playbooks/tasks/docker-deploy.yml b/scripts/playbooks/= tasks/docker-deploy.yml index 99a0e04..21c8a8d 100644 --- a/scripts/playbooks/tasks/docker-deploy.yml +++ b/scripts/playbooks/tasks/docker-deploy.yml @@ -4,7 +4,7 @@ name: python2-pip - name: Install Python 3 package: - name: python3 + name: python34 - name: Install docker package: name: docker --=20 2.14.3 From nobody Tue Apr 23 13:52:51 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) client-ip=206.53.239.180; envelope-from=patchew-devel-bounce@freelists.org; helo=turing.freelists.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) smtp.mailfrom=patchew-devel-bounce@freelists.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from turing.freelists.org (turing.freelists.org [206.53.239.180]) by mx.zohomail.com with SMTPS id 1519458459110656.527081788159; Fri, 23 Feb 2018 23:47:39 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 779A92ACE7; Sat, 24 Feb 2018 02:47:38 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K60M8bQy8SCe; Sat, 24 Feb 2018 02:47:38 -0500 (EST) Received: from turing.freelists.org (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3754A25236; Sat, 24 Feb 2018 02:47:38 -0500 (EST) Received: with ECARTIS (v1.0.0; list patchew-devel); Sat, 24 Feb 2018 02:47:38 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 00F092ACE7 for ; Sat, 24 Feb 2018 02:47:38 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jSMkVVxEe6GF for ; Sat, 24 Feb 2018 02:47:37 -0500 (EST) Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id DCE8325236 for ; Sat, 24 Feb 2018 02:47:37 -0500 (EST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 957694022909 for ; Sat, 24 Feb 2018 07:47:37 +0000 (UTC) Received: from lemon.usersys.redhat.com (ovpn-12-97.pek2.redhat.com [10.72.12.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 141B32024CA9; Sat, 24 Feb 2018 07:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519458458; bh=7yXVe4JgomphUA/U5bNPH+QAgNyUfwrHV1WAlTU69wY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:List-help: List-unsubscribe:List-Id:List-subscribe:List-owner:List-post: List-archive; b=lgJnMXfwQGotEkaBl7Lw2Zt7pGABsyllLJjnBPc5MJ2Be6YgzFq/pW0wHZqXIp19f V54cV6WO0Ki9vXX4CAWkWGt57DyI1VK3K0x5q8FZOoAWB7VRHRO+BEmFKJ0rE302eL IENoUzmd6LP3uOMcCoBsZt0PfIfEdJALjBpldyn4= X-Virus-Scanned: Debian amavisd-new at turing.freelists.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519458458; bh=7yXVe4JgomphUA/U5bNPH+QAgNyUfwrHV1WAlTU69wY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:List-help: List-unsubscribe:List-Id:List-subscribe:List-owner:List-post: List-archive; b=lgJnMXfwQGotEkaBl7Lw2Zt7pGABsyllLJjnBPc5MJ2Be6YgzFq/pW0wHZqXIp19f V54cV6WO0Ki9vXX4CAWkWGt57DyI1VK3K0x5q8FZOoAWB7VRHRO+BEmFKJ0rE302eL IENoUzmd6LP3uOMcCoBsZt0PfIfEdJALjBpldyn4= X-Original-To: patchew-devel@freelists.org X-Virus-Scanned: Debian amavisd-new at turing.freelists.org From: Fam Zheng To: patchew-devel@freelists.org Cc: pbonzini@redhat.com Subject: [patchew-devel] [PATCH 2/4] docker: Copy source into importer image Date: Sat, 24 Feb 2018 15:47:23 +0800 Message-Id: <20180224074725.1838-3-famz@redhat.com> In-Reply-To: <20180224074725.1838-1-famz@redhat.com> References: <20180224074725.1838-1-famz@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Sat, 24 Feb 2018 07:47:37 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Sat, 24 Feb 2018 07:47:37 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'famz@redhat.com' RCPT:'' X-archive-position: 37 X-ecartis-version: Ecartis v1.0.0 Sender: patchew-devel-bounce@freelists.org Errors-to: patchew-devel-bounce@freelists.org X-original-sender: famz@redhat.com Precedence: normal Reply-To: patchew-devel@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: patchew-devel X-List-ID: patchew-devel List-subscribe: List-owner: List-post: List-archive: X-list: patchew-devel X-ZohoMail-DKIM: pass (identity @freelists.org) X-ZohoMail: RDKM_0 RSF_4 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Fam Zheng Reviewed-by: Paolo Bonzini --- scripts/dockerfiles/importer.docker | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dockerfiles/importer.docker b/scripts/dockerfiles/impo= rter.docker index 881cdda..bca985b 100644 --- a/scripts/dockerfiles/importer.docker +++ b/scripts/dockerfiles/importer.docker @@ -6,4 +6,5 @@ RUN ssh-keygen -t rsa -q -C patchew-importer -f ~/.ssh/id_r= sa RUN echo StrictHostKeyChecking no >> ~/.ssh/config RUN echo UserKnownHostsFile=3D/dev/null >> ~/.ssh/config ENV LC_ALL en_US.UTF-8 +COPY . /opt/patchew/ CMD /opt/patchew/scripts/patchew-importer --=20 2.14.3 From nobody Tue Apr 23 13:52:51 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) client-ip=206.53.239.180; envelope-from=patchew-devel-bounce@freelists.org; helo=turing.freelists.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) smtp.mailfrom=patchew-devel-bounce@freelists.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from turing.freelists.org (turing.freelists.org [206.53.239.180]) by mx.zohomail.com with SMTPS id 1519458461588957.632531170658; Fri, 23 Feb 2018 23:47:41 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E509F2ACD6; Sat, 24 Feb 2018 02:47:40 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TGobdkEPSTOC; Sat, 24 Feb 2018 02:47:40 -0500 (EST) Received: from turing.freelists.org (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A4B1A25236; Sat, 24 Feb 2018 02:47:40 -0500 (EST) Received: with ECARTIS (v1.0.0; list patchew-devel); Sat, 24 Feb 2018 02:47:40 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7B3432ACD6 for ; Sat, 24 Feb 2018 02:47:40 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6kXeTlEiNb1h for ; Sat, 24 Feb 2018 02:47:40 -0500 (EST) Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 6137D25236 for ; Sat, 24 Feb 2018 02:47:40 -0500 (EST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0E949EB6E1 for ; Sat, 24 Feb 2018 07:47:40 +0000 (UTC) Received: from lemon.usersys.redhat.com (ovpn-12-97.pek2.redhat.com [10.72.12.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6069B2024CA9; Sat, 24 Feb 2018 07:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519458460; bh=qtE7+fSPBApMiRiRicnuXZ+RWua3ihelCyv7Ej9Mwq4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:List-help: List-unsubscribe:List-Id:List-subscribe:List-owner:List-post: List-archive; b=P90eXH2hl56ftJ0B+SrF2v7KCh0Dxj8cYaOI/H1MuCHLx8aikN0teXynJR5Nor1iE 9kZJn/LbeLJoMgSnLm4Wc+w+s77DiUpSH9ie5l6vHDNnyJYZYDAOAfQaWZwJS+sdmi CZjmMNMtjc0zOOtgKh4RGO5b28riLWToHR/BUZfY= X-Virus-Scanned: Debian amavisd-new at turing.freelists.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519458460; bh=qtE7+fSPBApMiRiRicnuXZ+RWua3ihelCyv7Ej9Mwq4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:List-help: List-unsubscribe:List-Id:List-subscribe:List-owner:List-post: List-archive; b=P90eXH2hl56ftJ0B+SrF2v7KCh0Dxj8cYaOI/H1MuCHLx8aikN0teXynJR5Nor1iE 9kZJn/LbeLJoMgSnLm4Wc+w+s77DiUpSH9ie5l6vHDNnyJYZYDAOAfQaWZwJS+sdmi CZjmMNMtjc0zOOtgKh4RGO5b28riLWToHR/BUZfY= X-Original-To: patchew-devel@freelists.org X-Virus-Scanned: Debian amavisd-new at turing.freelists.org From: Fam Zheng To: patchew-devel@freelists.org Cc: pbonzini@redhat.com Subject: [patchew-devel] [PATCH 3/4] importer: Fix bash syntax error in entry script Date: Sat, 24 Feb 2018 15:47:24 +0800 Message-Id: <20180224074725.1838-4-famz@redhat.com> In-Reply-To: <20180224074725.1838-1-famz@redhat.com> References: <20180224074725.1838-1-famz@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Sat, 24 Feb 2018 07:47:40 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Sat, 24 Feb 2018 07:47:40 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'famz@redhat.com' RCPT:'' X-archive-position: 38 X-ecartis-version: Ecartis v1.0.0 Sender: patchew-devel-bounce@freelists.org Errors-to: patchew-devel-bounce@freelists.org X-original-sender: famz@redhat.com Precedence: normal Reply-To: patchew-devel@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: patchew-devel X-List-ID: patchew-devel List-subscribe: List-owner: List-post: List-archive: X-list: patchew-devel X-ZohoMail-DKIM: pass (identity @freelists.org) X-ZohoMail: RDKM_0 RSF_4 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Fam Zheng Reviewed-by: Paolo Bonzini --- scripts/patchew-importer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/patchew-importer b/scripts/patchew-importer index 3b4850a..4a72a28 100755 --- a/scripts/patchew-importer +++ b/scripts/patchew-importer @@ -88,11 +88,11 @@ offlineimap_import() { if ! timeout -k 2000 1800 offlineimap -c $offlineimap_rc; then sleep 300 - continue + return fi find "$maildir" -type f | while read f; do if imported "$f"; then - continue + return fi import "$f" || true done --=20 2.14.3 From nobody Tue Apr 23 13:52:51 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) client-ip=206.53.239.180; envelope-from=patchew-devel-bounce@freelists.org; helo=turing.freelists.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) smtp.mailfrom=patchew-devel-bounce@freelists.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from turing.freelists.org (turing.freelists.org [206.53.239.180]) by mx.zohomail.com with SMTPS id 1519458463742740.8264719671854; Fri, 23 Feb 2018 23:47:43 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 276952ACE9; Sat, 24 Feb 2018 02:47:43 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rx5P2eTveq23; Sat, 24 Feb 2018 02:47:43 -0500 (EST) Received: from turing.freelists.org (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id DB67F25236; Sat, 24 Feb 2018 02:47:42 -0500 (EST) Received: with ECARTIS (v1.0.0; list patchew-devel); Sat, 24 Feb 2018 02:47:42 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B20E92ACE9 for ; Sat, 24 Feb 2018 02:47:42 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0GpoxOMhfj7I for ; Sat, 24 Feb 2018 02:47:42 -0500 (EST) Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 99DE225236 for ; Sat, 24 Feb 2018 02:47:42 -0500 (EST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4C466407519A for ; Sat, 24 Feb 2018 07:47:42 +0000 (UTC) Received: from lemon.usersys.redhat.com (ovpn-12-97.pek2.redhat.com [10.72.12.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id A27A72024CA9; Sat, 24 Feb 2018 07:47:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519458463; bh=5Vo6LKjWOf4XywWU+RpqN79SYH6ekc3bc1HUIvVrkAM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:List-help: List-unsubscribe:List-Id:List-subscribe:List-owner:List-post: List-archive; b=wAxIoaAUv/Fz5bO5QlIECK6DcAilqpqnqylPDjZH+6uqNoRcQ9sDiEM9bjmj9IcvD 2i+fI1x8dMoYJiAdPOuTPa9H6tzJIYPB5ctFDIoodlP4A6RzHF4zyadoxlS1teyT3p j9WAqIMxnV7HNf9fatkR36p5UdeSAqe+ueHjqCw0= X-Virus-Scanned: Debian amavisd-new at turing.freelists.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519458463; bh=5Vo6LKjWOf4XywWU+RpqN79SYH6ekc3bc1HUIvVrkAM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:List-help: List-unsubscribe:List-Id:List-subscribe:List-owner:List-post: List-archive; b=wAxIoaAUv/Fz5bO5QlIECK6DcAilqpqnqylPDjZH+6uqNoRcQ9sDiEM9bjmj9IcvD 2i+fI1x8dMoYJiAdPOuTPa9H6tzJIYPB5ctFDIoodlP4A6RzHF4zyadoxlS1teyT3p j9WAqIMxnV7HNf9fatkR36p5UdeSAqe+ueHjqCw0= X-Original-To: patchew-devel@freelists.org X-Virus-Scanned: Debian amavisd-new at turing.freelists.org From: Fam Zheng To: patchew-devel@freelists.org Cc: pbonzini@redhat.com Subject: [patchew-devel] [PATCH 4/4] importer: Kill `patchew-cli import` command if timeout Date: Sat, 24 Feb 2018 15:47:25 +0800 Message-Id: <20180224074725.1838-5-famz@redhat.com> In-Reply-To: <20180224074725.1838-1-famz@redhat.com> References: <20180224074725.1838-1-famz@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Sat, 24 Feb 2018 07:47:42 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Sat, 24 Feb 2018 07:47:42 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'famz@redhat.com' RCPT:'' X-archive-position: 39 X-ecartis-version: Ecartis v1.0.0 Sender: patchew-devel-bounce@freelists.org Errors-to: patchew-devel-bounce@freelists.org X-original-sender: famz@redhat.com Precedence: normal Reply-To: patchew-devel@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: patchew-devel X-List-ID: patchew-devel List-subscribe: List-owner: List-post: List-archive: X-list: patchew-devel X-ZohoMail-DKIM: pass (identity @freelists.org) X-ZohoMail: RDKM_0 RSF_4 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" It resolves some rare hanging in the patchew import command. Signed-off-by: Fam Zheng Reviewed-by: Paolo Bonzini --- scripts/patchew-importer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/patchew-importer b/scripts/patchew-importer index 4a72a28..5e80fb5 100755 --- a/scripts/patchew-importer +++ b/scripts/patchew-importer @@ -73,7 +73,7 @@ imported() import() { echo import $@ - if ! $PATCHEW_CLI import $@; then + if ! timeout -k 600 600 $PATCHEW_CLI import $@; then cp $@ $BAD_MESSAGES_DIR echo "(bad message saved in $BAD_MESSAGES_DIR)" fi --=20 2.14.3