From nobody Tue May 02 02:54:29 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q9Pn21sCdz48LRJ; Tue, 2 May 2023 02:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q9Pn21FVFz49gL; Tue, 2 May 2023 02:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682996070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WT5qj25it8E8AuYD0HGvnJhBzERXIHnvRo48JX02D7A=; b=J6fpXOSiQPtoxLHyIniarblnFw8DWIumOUQG1A/Tn6vOBsm3fPxpiqEJGNurpGmTvN2hx2 OcOGPeVYrQDHWpBViwEIJVnhpyHMY0/5GexdBLPUGxvicmD4iJS3PpHqvgxXMcPE/UU+cv /A+lvqKJiJQTHdEDq8Ky/Hj4vvnA1YXtz7sr1CilI28BOyFzlGMUPUtxd4QBNFWu0mq0oa qrjkMJKfA45H8Bfco4xtSJAL6Pkcjc6oRbY38m1a6fE6b828M8BIHJqkVI09BX7FM5BHn2 hUBQJ44nrl4Vgojt8wPeSyj9INv2Yd65wvCxiDzvBdAqySZhXjHeWbQsEfOAnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682996070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WT5qj25it8E8AuYD0HGvnJhBzERXIHnvRo48JX02D7A=; b=lCksgPXwr0ygncA18YPyu35v6YBgAptDl/8wrS5UnOgwJ9umCte2GmpLikNTb8uAtq6U+k 2SyOHplgUMUd5QNixwm2CqbTZNVZk9EaVibG2fGq7JW53GBzeNv7XUjZVw0UjoMeQYcN+3 iYbzbHBSbyCBOMp1TRgxELH7Kdz4xtS6s2YLqSNljN5Z9BBzN2TWjC4V8NDJ3YicpA5tCM SwO/75/lWAWGgR3Ofj+tOvNZOL3K2xMdHc4HEwpU5flpArEs0qIRKaS1SK3puJazSK80xP 8elI8WvvSGPplewpRFAu9jzRdYrq8nkxmPS3eckE+IyC1ZCvSu9EukSWmTTskg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682996070; a=rsa-sha256; cv=none; b=BE0JfAlhlhl5j1ov/Y//twTbDZ+0dV+5Azn1kfgiywQ5e0316Gk/u4qJ0Hh2HBrHT4puhm UrKUGMoht7n/LvPj/hdemW8F/TUoS8PV7fXIHMDRGXgFUDm2Bo3nWhMi2DfimEuciuTbyI ezH7Tle+mJQObSKdcpSr9DP/mfr05Hsuf7GYNCE0DZmkLxkRbIHmg9VEtVC4UVrGHRKPvU nBjoYBfUhm7ZxuvQli5HAyqoHmJWTMk3/nUqOfH2rVU4mqgdec4BkYofJ58kx74v/+agrf gelwnfmJ4U0FvJFoS9HQCsYVFExB3vDkF8Sejv8VVuPJ2SNaWUJTxW7mmRBdPA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q9Pn20LnLzW8N; Tue, 2 May 2023 02:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3422sTQj028992; Tue, 2 May 2023 02:54:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3422sTg5028991; Tue, 2 May 2023 02:54:29 GMT (envelope-from git) Date: Tue, 2 May 2023 02:54:29 GMT Message-Id: <202305020254.3422sTg5028991@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikhail Teterin Subject: git: e1c907ebd4a4 - main - www/websh: attempt to debug test-failures on Poudriere List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e1c907ebd4a4d75bb973335fc5e1033556eccef2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mi: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1c907ebd4a4d75bb973335fc5e1033556eccef2 commit e1c907ebd4a4d75bb973335fc5e1033556eccef2 Author: Mikhail Teterin AuthorDate: 2023-05-02 02:52:17 +0000 Commit: Mikhail Teterin CommitDate: 2023-05-02 02:54:26 +0000 www/websh: attempt to debug test-failures on Poudriere When the tests succeed, they'll continue to succeed quietly. However, when they fail -- as they've been doing during package-building for FreeBSD-14 for a few months now -- the output will now contain more information, which will, hopefully, allow me to fix them for good. --- www/websh/files/patch-debug-test | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/www/websh/files/patch-debug-test b/www/websh/files/patch-debug-test new file mode 100644 index 000000000000..5816ed5ce588 --- /dev/null +++ b/www/websh/files/patch-debug-test @@ -0,0 +1,30 @@ +The two cookiecontext-tests fail repeatedly on Poudriere, but I'm +unable to reproduce the failures on my own FreeBSD-14 box. These +changes will make the test-failures more verbose, which might give +me the clue necessary to fix them properly. +--- ../tests/cookiecontext.test 2009-09-11 04:02:42.000000000 -0400 ++++ ../tests/cookiecontext.test 2023-05-01 22:47:41.210491000 -0400 +@@ -52,6 +52,10 @@ + set time [clock scan $timestring] + set result [expr {($now - $time) < 2}] ++ if {$result != 1} { ++ set result "$timestring: $now vs. $time" ++ } ++ set result + } else { +- set result 0 ++ set result "Text: <<$text>>, Now: <<$now>>" + } + +@@ -86,6 +90,10 @@ + set time [clock scan $timestring] + set result [expr {($now + 86400 - $time) < 2}] ++ if {$result != 1} { ++ set result "$timestring: $now vs. $time" ++ } ++ set result + } else { +- set result 0 ++ set result "Text: <<$text1a>>, Now: <<$now>>" + } +