From patchwork Fri Jun 30 16:25:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 9820083 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CF4EF603F2 for ; Fri, 30 Jun 2017 16:28:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 101AA286A4 for ; Fri, 30 Jun 2017 16:28:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04E10286B4; Fri, 30 Jun 2017 16:28:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9D4B8286A4 for ; Fri, 30 Jun 2017 16:28:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQyjh-0005oN-Kx; Fri, 30 Jun 2017 16:25:37 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQyjf-0005kN-GS for xen-devel@lists.xenproject.org; Fri, 30 Jun 2017 16:25:35 +0000 Received: from [85.158.143.35] by server-6.bemta-6.messagelabs.com id C1/E1-03937-E7B76595; Fri, 30 Jun 2017 16:25:34 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeJIrShJLcpLzFFi42JxWrohUre2Oiz SYNcqK4vvWyYzOTB6HP5whSWAMYo1My8pvyKBNeNzT3bBRpmKrpOPmRsYp4t3MXJySAgESzy8 3sIEYrMJ6Eo0bfnL1sXIwSEioCJxe68BSJhZYAGjxMPvJSC2sECSxL32KawgNouAqsS6KVvAW nkFvCTunbvKDjFSTuL88Z/MIDYnUPzhtEVgcSEBT4kX5yawgIwXElCTmLs+HqJVUOLkzCcsEK skJA6+eME8gZF3FpLULCSpBYxMqxg1ilOLylKLdI2N9ZKKMtMzSnITM3N0DQ3M9HJTi4sT01N zEpOK9ZLzczcxAsOGAQh2MO5cH3iIUZKDSUmUd+W10EghvqT8lMqMxOKM+KLSnNTiQ4wyHBxK Erwrq8IihQSLUtNTK9Iyc4ABDJOW4OBREuGVDQJK8xYXJOYWZ6ZDpE4x6nK8mvD/G5MQS15+X qqUOG8CyAwBkKKM0jy4EbBousQoKyXMywh0lBBPQWpRbmYJqvwrRnEORiVhXn+QKTyZeSVwm1 4BHcEEdITwjBCQI0oSEVJSDYxGKxeWZe6caH13U1GB9KVdGVVrXtYsSEhVfLPjyTKdj3xsrMl 2Hf4ODkuuv+RsTHtyZWb0nWeXsnm+9OV1Xeq/cCnFd1/HS7s0Ky2pKcu3h83/f2qh3vV7UQvd HTom7ny6KTL35Zndr99ULfC7u5zryhKJvY7PeDxXpEamxAbrnpzku7Iz6rGCEktxRqKhFnNRc SIARXZyTKECAAA= X-Env-Sender: prvs=3471c4a24=Ian.Jackson@citrix.com X-Msg-Ref: server-2.tower-21.messagelabs.com!1498839926!57213481!5 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.25; banners=-,-,- X-VirusChecked: Checked Received: (qmail 39554 invoked from network); 30 Jun 2017 16:25:33 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-2.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 30 Jun 2017 16:25:33 -0000 X-IronPort-AV: E=Sophos;i="5.40,287,1496102400"; d="scan'208,217";a="430028790" From: Ian Jackson To: Date: Fri, 30 Jun 2017 17:25:14 +0100 Message-ID: <1498839920-17025-12-git-send-email-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1498839920-17025-1-git-send-email-ian.jackson@eu.citrix.com> References: <1498839920-17025-1-git-send-email-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Cc: Andrew Cooper , Wei Liu , Ian Jackson Subject: [Xen-devel] [OSSTEST PATCH 11/17] substep logfiles: Populate new logfile column, at all, for substeps X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP For now we populate it with the sometimes-wrong value based on $script. In detail: * Add a parameter $logfile to $mjobdb->step_start, which currently always gets passed undef. * In JobDB::Executive::step_start, try to use it as the value for the new logfile column. But, if it is not set (which is currently always the case), default it to ".