From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.4 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLACK shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) (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) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 8AE561F9F3 for ; Tue, 26 Oct 2021 05:05:30 +0000 (UTC) Date: Tue, 26 Oct 2021 07:05:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=t-8ch.de; s=mail; t=1635224728; bh=WFBxT+GRGgFX7tqmX/4Pnc7rC46xjlq8UYXvZI7EtDc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AWAhJLkrC1MGA8mJ9bYfCQTJBvfjKuMZkkkBc5rTne+n4BschzrsYxx6UyoY+KcTa 6EQ8cc/BixaFG3zkDB8wLhmVFuoryRWmF+aovVsnd4pzz/DERgajgSx1rpSftizgxT XtS8dpnFlPpelqte/hrQkQyg0OJ1eEuWFPvWYPY4= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Eric Wong Cc: meta@public-inbox.org Subject: Re: [PATCH] t/index-git-times: support non-master default branch Message-ID: References: <20211025222453.252181-1-thomas@t-8ch.de> <20211025225822.GA28875@dcvr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="mpIKzYnm/4PIldoY" Content-Disposition: inline In-Reply-To: <20211025225822.GA28875@dcvr> Jabber-ID: thomas@t-8ch.de X-Accept: text/plain, text/html;q=0.2, text/*;q=0.1 X-Accept-Language: en-us, en;q=0.8, de-de;q=0.7, de;q=0.6 List-Id: --mpIKzYnm/4PIldoY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi, On 2021-10-25 16:58-0600, Eric Wong wrote: > Thanks, pushed as 9f3fb207. It looks like there's several > other tests broken with non-master being the default. Can we > expect fixes for those, too? Thanks again. Which tests are failing for you? The only failures I still see are in t/lei-q-remote-import.t which is unrelated to the git branch and some more that fail only during parallel test execution. In t/lei-q-remote-import.t it seems the search results are not memoized to the local store. (See attachment) If you are able to reproduce those issues I'd be happy to have them fixed by you. If not I will try to figure them out. Thomas --mpIKzYnm/4PIldoY Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="lei-q-remote-import.txt" # lei_err=# /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.config/lei/config created # # /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # 0 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (0 matches) ok 1 - lei q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd m:qp@example.com ok 2 - output exists but is empty # lei_err=# /usr/bin/curl -Sf -s -d '' http://[::1]:38791/t2/?x=m&q=m%3Aqp%40example.com # # /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # http://[::1]:38791/t2/ 1/1 # # 1 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (1 matches) ok 3 - lei q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd m:qp@example.com -I http://[::1]:38791/t2/ ok 4 - got results after remote search # lei_err=# /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # 0 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (0 matches) ok 5 - lei q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd m:qp@example.com not ok 6 - output exists after import but is not empty # Failed test 'output exists after import but is not empty' # at t/lei-q-remote-import.t line 39. # # /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # 0 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (0 matches) not ok 7 - got results w/o remote search # Failed test 'got results w/o remote search' # at t/lei-q-remote-import.t line 41. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = PublicInbox::Eml=HASH(0x55fea9904d90) # lei_err=# /usr/bin/curl -Sf -s -d '' http://[::1]:38791/t2/?x=m&q=m%3A199707281508.AAA24167%40hoyogw.example # # /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # http://[::1]:38791/t2/ 1/1 # # 1 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (1 matches) ok 8 - lei q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd m:199707281508.AAA24167@hoyogw.example -I http://[::1]:38791/t2/ --no-import-remote ok 9 - got another after remote search # lei_err=# /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # 0 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (0 matches) ok 10 - lei q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd m:199707281508.AAA24167@hoyogw.example ok 11 - --no-import-remote did not memoize # lei_err=# /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # 0 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (0 matches) ok 12 - lei q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd m:qp@example.com --lock=none not ok 13 - --lock=none respected # Failed test '--lock=none respected' # at t/lei-q-remote-import.t line 55. # # /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # 0 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (0 matches) # lei_err=dotlock timeout /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd.lock ok 14 - dotlock fails ok 15 - timeout noted ok 16 - nothing output on lock failure # lei_err=# /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # 0 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (0 matches) ok 17 - lei q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd m:qp@example.com --lock=dotlock,timeout=0.000001 (succeeds after lock removal) ok 18 - lei add-external -q .../public-inbox.org/t/data-gen/lei-q-remote-import.local-external ok 19 - lei q -q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd --only http://[::1]:38791/t2/ m:testmessage@example.com ok 20 - no warnings or errors ok 21 - got result from remote external ok 22 - got expected result ok 23 - lei q --no-external -o mboxrd:/dev/stdout m:testmessage@example.com ok 24 - message not imported when in local external # lei_err=# /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/.local/share/lei/store 0/0 # # .../public-inbox.org/t/data-gen/lei-q-remote-import.local-external 1/1 # # 1 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd (1 matches) ok 25 - lei q -o mboxrd:/tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/o.mboxrd m:testmessage@example.com ok 26 - got expected result after clobber ok 27 - lei q -o mboxrd:/dev/stdout m:never-before-seen@example.com not ok 28 - --import-before imported totally unseen message # Failed test '--import-before imported totally unseen message' # at t/lei-q-remote-import.t line 94. # '' # doesn't match '(?^ms:seen\@example\.com>\nStatus: RO\n\nwhatever)' # lei_err=# /usr/bin/curl -Sf -s -d '' http://[::1]:38791/t2/?x=m&q=z%3A0.. # # http://[::1]:38791/t2/ 15/15 # # 15 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/md/ (15 matches) ok 29 - lei q --save z:0.. -o /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/md --only http://[::1]:38791/t2/ # lei_err=# http://[::1]:38791/t2/ limiting to 2021-10-24 7:03 +0200 and newer # # /usr/bin/curl -Sf -s -d '' http://[::1]:38791/t2/?x=m&q=(z%3A0..)+AND+dt%3A20211024050357.. # # http://[::1]:38791/t2/ 11/11 # # 0 written to /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/md/ (11 matches) ok 30 - lei up /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/md ok 31 - lei up remote dedupe works on maildir ok 32 - lei edit-search /tmp/pi-lei-q-remote-import-286963-YR1S/lei-daemon/md ok 33 - lastresult set ok 34 - lei daemon-pid (daemon-pid after t/lei-q-remote-import.t:106) ok 35 - daemon running after t/lei-q-remote-import.t:106 ok 36 - lei daemon-kill (daemon-kill after t/lei-q-remote-import.t:106) ok 37 - t/lei-q-remote-import.t:106 daemon stopped ok 38 - t/lei-q-remote-import.t:106 daemon XDG_RUNTIME_DIR/lei/errors.log empty 1..38 # Looks like you failed 4 tests of 38. --mpIKzYnm/4PIldoY--