From unknown Sat Jun 21 12:15:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71421 <71421@debbugs.gnu.org> To: bug#71421 <71421@debbugs.gnu.org> Subject: Status: system info in test-suite.log Reply-To: bug#71421 <71421@debbugs.gnu.org> Date: Sat, 21 Jun 2025 19:15:46 +0000 retitle 71421 system info in test-suite.log reassign 71421 automake submitter 71421 Bruno Haible severity 71421 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 07 18:48:01 2024 Received: (at submit) by debbugs.gnu.org; 7 Jun 2024 22:48:01 +0000 Received: from localhost ([127.0.0.1]:41598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFiNN-000239-Dr for submit@debbugs.gnu.org; Fri, 07 Jun 2024 18:48:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:56066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFiNL-00022p-1U for submit@debbugs.gnu.org; Fri, 07 Jun 2024 18:48:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFiN5-0004hj-9B for bug-automake@gnu.org; Fri, 07 Jun 2024 18:47:43 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFbRy-00041g-9I for bug-automake@gnu.org; Fri, 07 Jun 2024 11:24:19 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1717773853; cv=none; d=strato.com; s=strato-dkim-0002; b=XFFqwy+SpITxkcIjlSPujduE1rzTkLIV9QWYMvFM6hwbzF4AUjITZ52Ozv+AOyBYsY AFMQhptvic0Z8WTDROu/+i3MMgXncAUr/I4s+js+xFEY41ws9UnPUpOVTtlCm1gXKotI 07PVUV22XAh8Js1Q+22BxZLzBx41O3jrt/ahVX69HWvThX10fukhHICUSA4IfiEatPp1 UFSMqjbQWXdyoozptqSbs+CnO+r7MFt4tmcT/bGcwvzRFmDyXa1bGr7NxHUmRzQ7QnXG oCeSXJDDUWaLJ2tbayQO6H4LkcNjUwK97r0EiQ2gHjzgNJh6oSGJGeN34cPJdjwY0jCC IBsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1717773853; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=HVdM6SBjlm412G9JDxhZCz5kKucZK6X6BfbnzaHCuXo=; b=YH6Xyrz+OROprsdsFJKx0AX1hvT+C4Dox8A89vRFnYEkQq6zCmEeGW7YQOKG3+9hmu RndWZqYwzky7QJRICe79fSWWnnfCX1D1PD/5MdSzRTcbMJimSOrAAIEPSdykEja3uTQf Jf13CJqiWP8QPl3Lvf/8IfNX+HBhxvKG4PfLK1nuV0kdxIJ3C+UNj+IRtGPaxqY7AeXd r/oEiNijaHUlsx05DJZJ7Uyt0q61jdMJJeo5IraYRLRZqGgPtQz8axXvhCJ9FkQbJTu5 oD5Gsj12adpRjgMosKEi2LXG86pSNaTBl5sPP/Q1LmVJiospvPpUGKJxzshMfc/sA8hl uWNg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1717773853; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=HVdM6SBjlm412G9JDxhZCz5kKucZK6X6BfbnzaHCuXo=; b=OoghFOISVvaq9JZ3fXEBoT/o3zBjQkP0KL5EXNEMkaexlB3xqb3TPMJijm/nz+Nt5O IgkBw6W7eCPtA8PzZ33TV5mi9jIXiFs/VU6RxrJFb2KeFbvdpKlbs+g40f7x4kzUm4kS 1YCdKerzML6fYhXTKaB4mJ2XAR1PQF1hZUJfFmMh3ArPKOg2eTZbtMJPTKKdsTTKeIzi yaBL/vr8sSpumbbQzBkAokcxogyLNNP2V3NEifvGI+LES+OrmJSFb376UyO50Zx6QdMB 5quTZapG8y9uW5Rla4DsTGJjkw3v/NAQCTZaam3ZmFvBnHKra4OGmRAi8DVv4jOs8CDS NzaQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1717773853; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=HVdM6SBjlm412G9JDxhZCz5kKucZK6X6BfbnzaHCuXo=; b=wR0a6Cnj9a4oHUsY6Iwuo8CxGqGvTNYhEjG3P1yRn6cUODLrW/o5c51bnoEQ3FS45C VTW6UmOTpkdGJBi1i3Ag== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPF2vLq62YMtAvpDl1tKFoizRw+OQ==" Received: from nimes.localnet by smtp.strato.de (RZmta 50.5.0 AUTH) with ESMTPSA id N0957e057FOD0s7 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 7 Jun 2024 17:24:13 +0200 (CEST) From: Bruno Haible To: bug-automake@gnu.org Subject: system info in test-suite.log Date: Fri, 07 Jun 2024 17:24:13 +0200 Message-ID: <30139541.43St1lv6Oq@nimes> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.20; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, The 1.16.90 NEWS file states: - test-suite.log now contains basic system information, and the console message about bug reporting on failure has a bit more detail. (bug#68746) 1) This system information is the naked output of some OS commands: (uname -a | awk '{$$2=""; print}') 2>&1; \ if test -r /etc/os-release; then \ sed 8q /etc/os-release; \ elif test -r /etc/issue; then \ cat /etc/issue; \ fi; \ In my case: Linux 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 GNU/Linux PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" The problem with this is that - It's not immediately clear to everyone what this information is. - It can get in the way, for example when I want to search for "Linux" among the test logs: grep '^Linux' test-suite.log I would therefore suggest to mark them in some way: System information: Linux 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 GNU/Linux Distribution: PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" 2) The double-space is confusing. It rings a bell immediately. Can you find a way to omit not only the machine name, but also the space before it? 3) Btw, one does not need a subshell in order to run a pipe. Replace (uname -a | awk '{$$2=""; print}') 2>&1 with { uname -a | awk '{$$2=""; print}'; } 2>&1 Bruno From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 03:48:12 2024 Received: (at 71421) by debbugs.gnu.org; 17 Jun 2024 07:48:13 +0000 Received: from localhost ([127.0.0.1]:59476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJ764-0001bc-Gi for submit@debbugs.gnu.org; Mon, 17 Jun 2024 03:48:12 -0400 Received: from mail-pl1-f180.google.com ([209.85.214.180]:42287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJ762-0001bI-Lc for 71421@debbugs.gnu.org; Mon, 17 Jun 2024 03:48:11 -0400 Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1f4a5344ec7so28660125ad.1 for <71421@debbugs.gnu.org>; Mon, 17 Jun 2024 00:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718610422; x=1719215222; darn=debbugs.gnu.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=w6m7nNFM1OtMIJILFmXOJio57fQrZkKSyxMpE8BdDL4=; b=HQXrhOCm/YMMeLpV8Kt1ugrMKS3qAsLNkotSg/Yi9redk5v4yFnil/nRQ07t6nyGSu msHaxXOEn19iYESo0bIkTFiQZP7K1r/9FhsD9yijys14c8SYFwqDAsSzmG6QW/aznnEu CXeR3OXClOlGoVhqnGI4SLiuGucUExMQS4j+Hge+5I+PfU7Oc8jGkluQx1uwOhO7n/Lt ADxpVD9FoMa4uGBjRDRJDpMOuQy47XTavpXZc9Yw9hTSuPHk47HJi43SzoPMLRud8ah/ f42MelgFkg5y39TpBm4wZVmeW+AXisXKut8hnwzSp+VsPkkCzayBR2fKJ9WaP9i6FC1u yUUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718610422; x=1719215222; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=w6m7nNFM1OtMIJILFmXOJio57fQrZkKSyxMpE8BdDL4=; b=WSxPUsFhUPhcSpyCWfKij4DRwnHcT+YczvFWfMCcz820L6fWO4wEkBhgKjzBPDQaux pPa8Fy/K1T8ZDjF3TTYPF/PGdhPrqLbuLViI0YibehGRCsz8yNuJUYn9pLs1clNXCVn8 9/xl8Rw8KSjJQVFcqfOZ1BBNL1CegFsf46QrjxYo2zfdf/XfGaifykSw/PiZehNMCPG/ vqq+03x93Hx+NFFDCD8DpI8JYPjyHix5O7eP9G8uTs68ObEU8lMrYClQljg3/C+KaglT bVL4ryoXgFNkPaFDZuR5UaJvKYCpDiNR7WxDj/X90isPTdet8yxOwbYiWeUtrKmogzMo fKHw== X-Gm-Message-State: AOJu0Yxm1fqqCXs1N4ZgBAf2FiMjjwBjqJzwdI7LMy8iU1YXlZJK7i/q IxxF0hMzraeIbnCHXzXVuAZrJq6S1gXV2U6q7unmAB5/NijTv3zzMLtIPg== X-Google-Smtp-Source: AGHT+IEYLZR2KpLDfpuDMTIHQLBR7PtThFb482hyarKhygENbzfszad+UqdoXkr+Bn2iZNWeyIArEA== X-Received: by 2002:a17:902:e5c1:b0:1f0:8c5e:ffdd with SMTP id d9443c01a7336-1f8620ae5d7mr141971335ad.4.1718610421621; Mon, 17 Jun 2024 00:47:01 -0700 (PDT) Received: from ?IPV6:2601:646:8002:f840::6e98? ([2601:646:8002:f840::6e98]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f855e56559sm74155395ad.53.2024.06.17.00.47.00 for <71421@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 00:47:00 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------ljnRTRCbbWV0CynQP9Kye4Ak" Message-ID: <01aea592-9bcc-403d-b9fb-e501dce16f89@gmail.com> Date: Mon, 17 Jun 2024 00:46:59 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: 71421@debbugs.gnu.org From: Collin Funk Subject: Re: system info in test-suite.log X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71421 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) This is a multi-part message in MIME format. --------------ljnRTRCbbWV0CynQP9Kye4Ak Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Bruno, You said: > The problem with this is that > - It's not immediately clear to everyone what this information is. > - It can get in the way, for example when I want to search for "Linux" > among the test logs: > grep '^Linux' test-suite.log > > I would therefore suggest to mark them in some way: I agree. Someone might not know the 'uname -a' output of their machine. Solaris/SunOS comes to mind. I've attached a patch that I think handles that and the extra space you mentioned. Here is what I see: System information: Linux 6.8.11-300.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 27 14:53:33 UTC 2024 x86_64 Distribution: NAME="Fedora Linux" VERSION="40 (Workstation Edition)" ID=fedora VERSION_ID=40 VERSION_CODENAME="" PLATFORM_ID="platform:f40" PRETTY_NAME="Fedora Linux 40 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" Collin --------------ljnRTRCbbWV0CynQP9Kye4Ak Content-Type: text/x-patch; charset=UTF-8; name="0001-test-Improve-output-of-system-information-in-test-su.patch" Content-Disposition: attachment; filename*0="0001-test-Improve-output-of-system-information-in-test-su.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSBkMjJmNDNiOTY1Y2I1ZGNmYTJjNTM2ODAyZTNkMzY0NGJiODBhMjViIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBDb2xsaW4gRnVuayA8Y29sbGluLmZ1bmsxQGdtYWls LmNvbT4KRGF0ZTogTW9uLCAxNyBKdW4gMjAyNCAwMDozMjowNyAtMDcwMApTdWJqZWN0OiBb UEFUQ0hdIHRlc3Q6IEltcHJvdmUgb3V0cHV0IG9mIHN5c3RlbSBpbmZvcm1hdGlvbiBpbiB0 ZXN0LXN1aXRlLmxvZy4KCkZpeGVzIGh0dHBzOi8vYnVncy5nbnUub3JnLzcxNDIxLgoKKiBs aWIvYW0vY2hlY2suYW0gKCQoVEVTVF9TVUlURV9MT0cpOiBVc2UgJChBV0spIGluc3RlYWQg b2YgJ2F3aycuICBSZW1vdmUgYW4KZXh0cmEgc3BhY2UgaW4gdW5hbWUgb3V0cHV0LiAgU3Rh cnQgdGhlIGxpbmUgd2l0aCAiU3lzdGVtIGluZm9ybWF0aW9uOiIuCi0tLQogbGliL2FtL2No ZWNrLmFtIHwgMTIgKysrKysrKysrKystCiAxIGZpbGUgY2hhbmdlZCwgMTEgaW5zZXJ0aW9u cygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2xpYi9hbS9jaGVjay5hbSBiL2xp Yi9hbS9jaGVjay5hbQppbmRleCBhNTA2ZDFjNzkuLjA0YWY5MjdhMSAxMDA2NDQKLS0tIGEv bGliL2FtL2NoZWNrLmFtCisrKyBiL2xpYi9hbS9jaGVjay5hbQpAQCAtMzY2LDEwICszNjYs MjAgQEAgJChURVNUX1NVSVRFX0xPRyk6ICQoVEVTVF9MT0dTKQogCXsgXAogIyMgT21pdCB0 aGUgaG9zdG5hbWUgZm9yIHByaXZhY3kuICBJbiBwcmFjdGljZSBpdCdzIGEgc2luZ2xlIHdv cmQ/CiAgICAgICAgICAgZWNobzsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBcCi0JICAodW5hbWUgLWEgfCBhd2sgJ3skJDI9IiI7IHByaW50fScpIDI+JjE7IFwKKwkg IHsgdW5hbWUgLWEgfCAkKEFXSykgJ3sgICAgICAgICAgICAgICAgICAgXAorICBwcmludGYg IlN5c3RlbSBpbmZvcm1hdGlvbjoiOyAgICAgICAgICAgICAgICAgICAgXAorICBmb3IgKGkg PSAxOyBpIDwgTkY7ICsraSkgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgIHsgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgaWYg KGkgIT0gMikgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICBw cmludGYgIiAlcyIsICQkaTsgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgIH0gICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICBwcmludGYg IlxuIjsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorfSc7IH0gMj4m MTsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAogCSAgaWYgdGVz dCAtciAvZXRjL29zLXJlbGVhc2U7IHRoZW4gICAgICAgICBcCisJICAgIGVjaG8gIkRpc3Ry aWJ1dGlvbjoiOyAgICAgICAgICAgICAgICAgIFwKIAkgICAgc2VkIDhxIC9ldGMvb3MtcmVs ZWFzZTsgICAgICAgICAgICAgICAgXAogCSAgZWxpZiB0ZXN0IC1yIC9ldGMvaXNzdWU7IHRo ZW4gICAgICAgICAgICBcCisJICAgIGVjaG8gIkRpc3RyaWJ1dGlvbjoiOyAgICAgICAgICAg ICAgICAgIFwKIAkgICAgY2F0IC9ldGMvaXNzdWU7ICAgICAgICAgICAgICAgICAgICAgICAg XAogCSAgZmk7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcCiAJfTsg XAotLSAKMi40NS4yCgo= --------------ljnRTRCbbWV0CynQP9Kye4Ak-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 17:46:43 2024 Received: (at 71421) by debbugs.gnu.org; 17 Jun 2024 21:46:43 +0000 Received: from localhost ([127.0.0.1]:37999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJKBX-0005jb-78 for submit@debbugs.gnu.org; Mon, 17 Jun 2024 17:46:43 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:39942 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJKBV-0005jP-VW; Mon, 17 Jun 2024 17:46:42 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 45HLkTu3768195 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 15:46:29 -0600 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 45HLkTrl768194; Mon, 17 Jun 2024 15:46:29 -0600 Date: Mon, 17 Jun 2024 15:46:29 -0600 Message-Id: <202406172146.45HLkTrl768194@freefriends.org> From: Karl Berry To: bruno@clisp.org, 71421@debbugs.gnu.org, collin.funk1@gmail.com Subject: Re: bug#71421: system info in test-suite.log In-Reply-To: <01aea592-9bcc-403d-b9fb-e501dce16f89@gmail.com> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71421 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I've attached a patch that I think handles that Thanks Collin. I installed it (with minor wording tweaks). and the extra space you mentioned. I had thought the extra space was useful rather than confusing, indicating that a word had been omitted from the output. But I'm fine with leaving it out. -k ----------------------------------------------------------------------------- test: Improve output of system information in test-suite.log. Fixes https://bugs.gnu.org/71421. * lib/am/check.am ($(TEST_SUITE_LOG): Use $(AWK) instead of 'awk'. Remove an extra space in uname output. Start the line with "System information", and other sections with "Distribution information". * NEWS: add reference to #71421. diff --git a/NEWS b/NEWS index e4699a569..b0268d268 100644 --- a/NEWS +++ b/NEWS @@ -46,7 +46,7 @@ New in 1.17: - test-suite.log now contains basic system information, and the console message about bug reporting on failure has a bit more detail. - (bug#68746) + (bug#68746, bug#71421) - When using the (default) "parallel" test driver, you can now omit the output of skipped tests from test-suite.log by defining the diff --git a/lib/am/check.am b/lib/am/check.am index 526b445d5..ab1411ac5 100644 --- a/lib/am/check.am +++ b/lib/am/check.am @@ -370,14 +370,26 @@ $(TEST_SUITE_LOG): $(TEST_LOGS) ## Function to write some basic system info in the log. output_system_information () \ { \ -## Omit the hostname for privacy. In practice it's a single word? - echo; \ - (uname -a | awk '{$$2=""; print}') 2>&1; \ - if test -r /etc/os-release; then \ - sed 8q /etc/os-release; \ - elif test -r /etc/issue; then \ - cat /etc/issue; \ - fi; \ +## Omit the hostname for privacy. Always a single word. +## Start the line with a label for clarity, and so commands like +## grep ^Linux don't get a false hit. + echo; \ + { uname -a | $(AWK) '{ \ + printf "System information (uname -a):"; \ + for (i = 1; i < NF; ++i) \ + { \ + if (i != 2) \ + printf " %s", $$i; \ + } \ + printf "\n"; \ +}'; } 2>&1; \ + if test -r /etc/os-release; then \ + echo "Distribution information (/etc/os-release):"; \ + sed 8q /etc/os-release; \ + elif test -r /etc/issue; then \ + echo "Distribution information (/etc/issue):"; \ + cat /etc/issue; \ + fi; \ }; \ ## ## Function to output the "please report bugs" message. compile finished at Mon Jun 17 14:44:28 2024 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 18:16:06 2024 Received: (at 71421) by debbugs.gnu.org; 17 Jun 2024 22:16:06 +0000 Received: from localhost ([127.0.0.1]:38213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJKdx-0006Zl-R5 for submit@debbugs.gnu.org; Mon, 17 Jun 2024 18:16:06 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:51370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJKdv-0006ZE-SZ for 71421@debbugs.gnu.org; Mon, 17 Jun 2024 18:16:04 -0400 Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-704090c11easo3988407b3a.2 for <71421@debbugs.gnu.org>; Mon, 17 Jun 2024 15:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718662495; x=1719267295; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=iRWODkfQbTp9MMwe4jSFmOI6EXlkq0sfEXj3vRCYOO8=; b=SUsScsUB6tvZ3d3/IqXNvZ2Rsccs6aSCksWWW+hEduChay6ViYpWHO9ZxmYwyXkCjg oqM9MrKY0+3kGDjMA2x0jsx1VtMcv1Ac6h7q/wx1Yyx+bQkcZ9Mq+NHGyIe5/2x/0YHA 6FshZOdQwERYJkd/sWYrCKL/q9UzFcU3Hy9DSoUtQWVGDsUlXhnA9IeHcCKGOf0OxSQ9 2CUvAsLaLu9jmD21HmSM5iHKwm/O2xWMnT0WhKgNUuJECBpFdYmbCX+DsST4XGOqCIXK YwFyrCPyB7y4mqfFtNfVxAlPUyaFbvmlD6qG1PKUMJ0WhmD7vjFPtBfuyA1eC0+MlzMw A3YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718662495; x=1719267295; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iRWODkfQbTp9MMwe4jSFmOI6EXlkq0sfEXj3vRCYOO8=; b=a8Kzq9rAJzvJ2OoT+3YEzNJ7gkJjaP9hlH/vBXkSrVKQMZ9YViZOYfRds4Imlwg3Py mOBCIRWX7Y325KZE7rs5hEMRhlWLWUQqmxtMT83Rk4xe6LohnW7wad9GSc6vq8xnBfYM j8K7gBNZiumVHHUgL3OlfFnFf/4oQTFgmuRrifYNXl0WX0SsVincJ55tvAoEPGAvRBhx ZGnLy3u6trVlkgzozaYd8Ac4Yz7G4SvJQVLQw0s7ViNlOCQczE6d8pkxSWF4X7bHXLGt up2/1nOj/Di+uZIAz9zzp7j/fDPUX0JdCGNHbyTGgTZ2D9WnwBBUg7bfP21EyKuDD4Pi fnQA== X-Forwarded-Encrypted: i=1; AJvYcCUYoSdBZtlu+BtTKUTbb1lyt8K/B3JEU5/ejdPBWM1IHVuaYtwCvHqspUbnWS22XMgRXxoZpCyhWkrxAQEhk8nZe1U/dVk= X-Gm-Message-State: AOJu0YyzGP4sEjolv3piw4TswWyqo3hqr3RJQSVN5vpaXZQZBXlXDmq0 E5JGLgEw2Ad8sgGtAwXsc1rlijMCBjFhoVgvjVDz7gokyAmgY+D7 X-Google-Smtp-Source: AGHT+IGHYlbx+HiDTHOMoktECX6lEfCM9ufOOyyzzTzCC5OXL3QmcxvUuM3Wlc/xBvPE/pVLLVI7Hg== X-Received: by 2002:a05:6a00:178a:b0:704:2f2b:a2bd with SMTP id d2e1a72fcca58-705d71b1b51mr11696984b3a.27.1718662494942; Mon, 17 Jun 2024 15:14:54 -0700 (PDT) Received: from ?IPV6:2601:646:8002:f840::7584? ([2601:646:8002:f840::7584]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6fedf59246csm5940511a12.53.2024.06.17.15.14.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 15:14:54 -0700 (PDT) Message-ID: Date: Mon, 17 Jun 2024 15:14:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#71421: system info in test-suite.log To: Karl Berry , bruno@clisp.org, 71421@debbugs.gnu.org References: <202406172146.45HLkTrl768194@freefriends.org> Content-Language: en-US From: Collin Funk In-Reply-To: <202406172146.45HLkTrl768194@freefriends.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71421 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Karl Berry wrote: > Thanks Collin. I installed it (with minor wording tweaks). Looks good, thanks. > I had thought the extra space was useful rather than confusing, > indicating that a word had been omitted from the output. But I'm fine > with leaving it out. -k I didn't mind it much but I do think it looks better without. Collin From unknown Sat Jun 21 12:15:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 16 Jul 2024 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator