From patchwork Tue Aug 11 19:10:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Roberts X-Patchwork-Id: 11709515 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7D39714F6 for ; Tue, 11 Aug 2020 19:10:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61BE420756 for ; Tue, 11 Aug 2020 19:10:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="vexFBpKr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725901AbgHKTKn (ORCPT ); Tue, 11 Aug 2020 15:10:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgHKTKn (ORCPT ); Tue, 11 Aug 2020 15:10:43 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B16EC06174A for ; Tue, 11 Aug 2020 12:10:43 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id mt12so2344848pjb.4 for ; Tue, 11 Aug 2020 12:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9JfNN7o2N6/Rx7VmkunATb9Ya9auxljuCP17cdW98lY=; b=vexFBpKrlJWCLehdCMISIr9eZkBPwyG4fhNtHoCDLjHksF7mHy6SUaELCWmBo6VUhR we5sLTi256vKVz0hyq8Mbn6fi8emFTMJSmu+N59upkBT1R7cmBVURlDnboTfA+Nvpurp 3NC5xYIEyhzvpjrPpRP7/Ht0Tc4OThKPdHvazqi+D9kL7j8KEImXjz1D/IDTbfAzbYcW ctYnkVAKFI740z1JMbdo5kiGNfQEQqO9M9swyTaI7H9WqJ1AkmhX5aVYpcs+10IdG8rN 7k6YRp2iVdmWez0xTJTZQN11o/CbNZbjRsm5kvl/q0lX4X8xKZZne2mvH04YQwFCZ3Q/ VnCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9JfNN7o2N6/Rx7VmkunATb9Ya9auxljuCP17cdW98lY=; b=fPICnpPzWC37V+nTBaPZnk/F1gvmgLyWJ1hF+4o72GzQXXrGfEUOMttdrlGiXoNmCd RrJZ62oicc0jkAhz1PDd98GUvTyy8HsqyrgFS1ZZbQOUzzRsr1yWW1P2/duV2od3ynYm WOfVpvmHu2ggnFaYyM/Z/ttbTDN+y9KSdpmVCi9UrTxuCs//YAGcD0rDZeYXSKPCSbr9 cBfsuFmOApayR7HeTYVPkQ820SGX2WvZN92XztxspG3dqBI/rEfjp6bMnCwNB0TxoPq6 AnbK6fvvdNKpcxPlMHxkXWZC1WvRxgqtqyGiTjPg9SMYmJ+fy/FY5+xb3EPWT/0g6WA5 t/yg== X-Gm-Message-State: AOAM530p7toOBD2p3BfqTTCiVEV3Lojru7epVLzJ4zXC2cKSd98/R5jh IDu/LiaffO+bbfSg6ao01zvSuKKoAtk= X-Google-Smtp-Source: ABdhPJyhGEdFsDfzZtvVh8FhWQjv68CWkpBj9E3Yz+UWD2zmxId82Sg3id036ncJBrsPQSRA2ZtKNA== X-Received: by 2002:a17:90a:d249:: with SMTP id o9mr2447862pjw.233.1597173042431; Tue, 11 Aug 2020 12:10:42 -0700 (PDT) Received: from wcrobert-MOBL1.netgear.com (jfdmzpr04-ext.jf.intel.com. [134.134.137.73]) by smtp.gmail.com with ESMTPSA id e23sm12172102pgb.79.2020.08.11.12.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2020 12:10:41 -0700 (PDT) From: bill.c.roberts@gmail.com X-Google-Original-From: william.c.roberts@intel.com To: selinux@vger.kernel.org Cc: omosnace@redhat.com, plautrba@redhat.com, William Roberts Subject: [PATCH] ci: fix stall on git log -1 Date: Tue, 11 Aug 2020 14:10:35 -0500 Message-Id: <20200811191035.13948-1-william.c.roberts@intel.com> X-Mailer: git-send-email 2.17.1 Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org From: William Roberts git log -1 may use a pager to output long messages, and when the pager is invoked, leads to stalls on the ci system waiting for user input. Use --oneline to print the short part of the commit message and the digest. This information is for debug/informational purposes only, so truncating the output is sufficient. Reported-by: Stephen Smalley Signed-off-by: William Roberts Acked-by: Stephen Smalley --- Thanks Ondrej for pointing out that the culprit was the pager, many thanks for triaging this. scripts/ci/fedora-test-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/fedora-test-runner.sh b/scripts/ci/fedora-test-runner.sh index 0aaba87c421b..782189630569 100755 --- a/scripts/ci/fedora-test-runner.sh +++ b/scripts/ci/fedora-test-runner.sh @@ -67,7 +67,7 @@ dnf install -y \ cd "$SELINUX_DIR" # Show HEAD commit for sanity checking -git log -1 +git log --oneline -1 # # Build and replace userspace components