Bug 2222856

Summary: public-inbox-1.9.0-3.fc39 FTBFS: t/imapd.t hangs
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: public-inboxAssignee: Michel Alexandre Salim <michel>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: davide, epel-packagers-sig, michel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/public-inbox
Whiteboard:
Fixed In Version: public-inbox-2.0.0~20230714git590023f-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-25 20:42:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2168842    

Description Petr Pisar 2023-07-14 07:32:00 UTC
public-inbox-1.9.0-3.fc39 fails to build in Fedora 39 because t/imapd.t test hangs:

t/imap_tracker.t ............. ok
# inherited 127.0.0.1:37621 fd=3
# inherited 127.0.0.1:35729 fd=4
t/imapd-tls.t ................ ok
# inherited 127.0.0.1:43985 fd=3
# waiting for initial fetch...
# inbox unlocked on initial fetch, waiting for IDLE

After killing the t/imapd.t process, the TAP output is evaluated as passed:

t/imapd.t ....................
All 179 subtests passed

There is probably some race condition when cleaning up after finishing the test.

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/15823897>. Perl was rebased from 5.36.1 to 5.38.0.

Comment 1 Petr Pisar 2023-07-14 07:34:48 UTC
After finishing all tests, there is another failure in t/lei-sigpipe.t:

t/lei-reindex.t .............. ok
#   Failed test 'quiet after sigpipe -f mboxcl2'
#   at t/lei-sigpipe.t line 59.
#          got: 'non-fatal error from PublicInbox::LeiXSearch $?=139
# '
#     expected: ''
#   Failed test 'quiet after sigpipe -f text'
#   at t/lei-sigpipe.t line 59.
#          got: 'non-fatal error from PublicInbox::LeiXSearch $?=139
# '
#     expected: ''
# Looks like you failed 2 tests of 18.
t/lei-sigpipe.t .............. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/18 subtests

Comment 2 Michel Alexandre Salim 2023-07-25 18:39:43 UTC
This seems relevant, I'll see if it addresses the issue since upstream has not cut a new release

https://public-inbox.org/public-inbox.git/7234e6718e62840d94de3d04b87eee28bf5c4682/s/

Comment 3 Fedora Update System 2023-07-25 20:40:56 UTC
FEDORA-2023-906064102a has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-906064102a

Comment 4 Fedora Update System 2023-07-25 20:42:03 UTC
FEDORA-2023-906064102a has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.