From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 26 21:10:39 2024 Received: (at submit) by debbugs.gnu.org; 27 Jan 2024 02:10:39 +0000 Received: from localhost ([127.0.0.1]:53142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTY9W-0002Ty-Ir for submit@debbugs.gnu.org; Fri, 26 Jan 2024 21:10:39 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTY9U-0002Tk-MD for submit@debbugs.gnu.org; Fri, 26 Jan 2024 21:10:37 -0500 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 1rTY9I-0002yp-4j for automake-patches@gnu.org; Fri, 26 Jan 2024 21:10:24 -0500 Received: from frenzy.freefriends.org ([198.99.81.75] helo=freefriends.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTY9G-0002KB-JE for automake-patches@gnu.org; Fri, 26 Jan 2024 21:10:23 -0500 X-Envelope-From: karl@freefriends.org X-Envelope-To: Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 40R2AIj9031524 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 26 Jan 2024 19:10:19 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 40R2AIMq031523; Fri, 26 Jan 2024 19:10:18 -0700 Date: Fri, 26 Jan 2024 19:10:18 -0700 Message-Id: <202401270210.40R2AIMq031523@freefriends.org> From: Karl Berry To: automake-patches@gnu.org Subject: system information in test-suite.log? Received-SPF: pass client-ip=198.99.81.75; envelope-from=karl@freefriends.org; helo=freefriends.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) 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: -1.0 (-) I had the idea that it would be helpful to put basic system information into test-suite.log, as shown below. Although most people reporting bugs are good about including their system info, not everyone does. And details are good. I figured the output of uname -a and /etc/os-release || /etc/issue would be enough to go on. That certainly won't cover all systems, but if nothing shows up, we'll be no worse off. I eliminated the local host name from uname -a for privacy, just in case. I don't think anything else in there is at all problematic. I don't think anything anything parses test-suite.log with such rigidity that adding some lines near the beginning will cause problems, and automake's own make check didn't care, but I guess I don't know for sure. If anyone sees a problem with this, let me know. --thanks, karl. ============================================ GNU Automake 1.16.90: ./test-suite.log ============================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 Linux 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 24 23:11:18 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux NAME="Rocky Linux" VERSION="9.3 (Blue Onyx)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="9.3" PLATFORM_ID="platform:el9" PRETTY_NAME="Rocky Linux 9.3 (Blue Onyx)" ANSI_COLOR="0;32" . contents:: :depth: 2 --- a/lib/am/check.am +++ b/lib/am/check.am @@ -356,11 +359,25 @@ $(TEST_SUITE_LOG): $(TEST_LOGS) result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ +## +## 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; \ + }; \ ## Write "global" testsuite log. { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ + output_system_information; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 28 10:50:50 2024 Received: (at 68746) by debbugs.gnu.org; 28 Jan 2024 15:50:50 +0000 Received: from localhost ([127.0.0.1]:58213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU7Qo-0000Vz-4S for submit@debbugs.gnu.org; Sun, 28 Jan 2024 10:50:50 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:55530 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU7Qm-0000Vh-I6; Sun, 28 Jan 2024 10:50:48 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 40SFodYs012585 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 Jan 2024 08:50:39 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 40SFodpm012584; Sun, 28 Jan 2024 08:50:39 -0700 Date: Sun, 28 Jan 2024 08:50:39 -0700 Message-Id: <202401281550.40SFodpm012584@freefriends.org> From: Karl Berry To: 68746@debbugs.gnu.org To: 68746-done@debbugs.gnu.org Subject: Re: [bug#68746] system information in test-suite.log? In-Reply-To: <202401270210.40R2AIMq031523@freefriends.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68746 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 installed this change to emit system info in test-suite.log. I tried to write it so any failure would be ignored, since it's not critical information. We'll see. -k From unknown Fri Jun 20 19:50:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 26 Feb 2024 12:24:09 +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