Skip Menu |
 

This queue is for tickets about the Daemon-Generic CPAN distribution.

Report information
The Basics
Id: 117927
Status: resolved
Priority: 0/
Queue: Daemon-Generic

People
Owner: MUIR [...] cpan.org
Requestors: gregoa [...] cpan.org
RUZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.84
Fixed in: (no value)

Attachments


MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
From: gregoa [...] cpan.org
Subject: [PATCH] Fix a race condition in the test suite waiting for daemon log
X-RT-Interface: REST
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 858
Download (untitled) / with headers
text/plain 858b
In Debian we are currently applying the following patch to Daemon-Generic. We thought you might be interested in it too. From 96209b5ba3df009a495da31bee8e2540c3365ec5 Mon Sep 17 00:00:00 2001 From: Niko Tyni <ntyni@debian.org> Date: Sat, 17 Sep 2016 21:16:16 +0300 Subject: [PATCH] Fix a race condition in the test suite waiting for daemon log output There's a window where the daemon has created a log file but not yet written anything into it. Wait for the file to become nonempty before reading it to make sure we're past that window. Bug-Debian: https://bugs.debian.org/834960 The patch is tracked in our Git repository at https://anonscm.debian.org/cgit/pkg-perl/packages/libdaemon-generic-perl.git/plain/debian/patches/0001-Fix-a-race-condition-in-the-test-suite-waiting-for-d.patch Thanks for considering, gregor herrmann, Debian Perl Group
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Type: multipart/mixed; boundary="----------=_1474148669-9857-3"
Content-Transfer-Encoding: binary
RT-Message-ID: <rt-4.0.18-9857-1474148669-852.117927-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 17
Here's the patch.
Content-Type: text/plain; charset="utf-8"; name="0001-Fix-a-race-condition-in-the-test-suite-waiting-for-d.patch"
Content-Disposition: attachment; filename="0001-Fix-a-race-condition-in-the-test-suite-waiting-for-d.patch"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: ascii
Content-Length: 923

Message body is not shown because sender requested not to inline it.

MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-30310-1498133990-937.117927-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 117
Download (untitled) / with headers
text/plain 117b
Can this be applied and released to the CPAN as it result in random installation failures? -- Best regards, Ruslan.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-29789-1500165493-1718.117927-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 38
Patch applied. Version 0.85 released.
MIME-Version: 1.0
X-Spam-Status: No, score=-6.025 tagged_above=-99.9 required=10 tests=[AWL=-0.125, BAYES_00=-1.9, FROM_OUR_RT=-4] autolearn=ham
In-Reply-To: <rt-4.0.18-29789-1500165494-551.117927-6-0 [...] rt.cpan.org>
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-117927 [...] rt.cpan.org> <rt-4.0.18-29789-1500165494-551.117927-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20170716133750.yhptmei3rijeypja [...] jadzia.comodo.priv.at>
Content-Type: multipart/signed; boundary="----------=_1500212326-1102-0"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Face: -kg'V!M2hYTiiEt:oj$rToa+c^7N.t}]V^j}|%+]%3J&tOm^9mc^1-#9o=\8VJpV7b~nxIM!qu>r_:w\EtWQA01;$jp>,cgp9EWV:i9B]LCgiNn\jA=un9d-ZcRzyq~9vYUf*tx9B}de^fH5Q(d(_N"0WXs%Jh!~.*g.iC=bSTqL:/EE0Y~\g_QCvwS6=cv]$tB7z<Xh[Wxa.2d"m?]^f
X-Spam-Score: -6.025
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id A081D240228 for <cpan-bug+daemon-generic [...] hipster.bestpractical.com>; Sun, 16 Jul 2017 09:57:34 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ozRXFifHqR70 for <cpan-bug+daemon-generic [...] hipster.bestpractical.com>; Sun, 16 Jul 2017 09:57:33 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 348D72401A2 for <bug-daemon-generic [...] rt.cpan.org>; Sun, 16 Jul 2017 09:57:33 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id EAA0B11F411 for <bug-daemon-generic [...] rt.cpan.org>; Sun, 16 Jul 2017 06:57:30 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id DB6B211F503 for <bug-daemon-generic [...] rt.cpan.org>; Sun, 16 Jul 2017 06:57:25 -0700 (PDT)
Received: from colleen.colgarra.priv.at (colleen.colgarra.priv.at [82.150.197.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 8F4F711F411 for <bug-daemon-generic [...] rt.cpan.org>; Sun, 16 Jul 2017 06:57:20 -0700 (PDT)
Received: from [2001:470:6f:ad8:f2de:f1ff:fe77:7ecb] (helo=jadzia.comodo.priv.at) by colleen.colgarra.priv.at with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <gregoa [...] debian.org>) id 1dWjl3-0006fH-Um for bug-daemon-generic [...] rt.cpan.org; Sun, 16 Jul 2017 15:38:50 +0200
Received: from gregoa by jadzia.comodo.priv.at with local (Exim 4.89) (envelope-from <gregoa [...] debian.org>) id 1dWjl3-0000Tm-Fr for bug-daemon-generic [...] rt.cpan.org; Sun, 16 Jul 2017 15:38:49 +0200
Delivered-To: cpan-bug+daemon-generic [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #117927] [PATCH] Fix a race condition in the test suite waiting for daemon log
User-Agent: NeoMutt/20170609 (1.8.3)
Return-Path: <gregoa [...] debian.org>
X-Original-To: cpan-bug+daemon-generic [...] hipster.bestpractical.com
X-RT-Mail-Extension: daemon-generic
Date: Sun, 16 Jul 2017 15:37:50 +0200
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' AT_TLD 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1800_1899 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, SPF_NONE 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __ATTACHMENT_SIZE_0_10K 0, __BAT_BOUNDARY 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __HAS_ATTACHMENT 0, __HAS_ATTACHMENT1 0, __HAS_ATTACHMENT2 0, __HAS_FROM 0, __HAS_MSGID 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_MAILTO 0, __URI_NS , __URI_WITHOUT_PATH 0, __URI_WITH_PATH 0, __USER_AGENT 0, __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-Greylist: delayed 1096 seconds by postgrey-1.34 at xx1.develooper.com; Sun, 16 Jul 2017 06:57:22 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.7.16.134215
To: David_Muir_Sharnoff via RT <bug-Daemon-Generic [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
X-Temperature-Innsbruck: 21 C (2017-07-16 14:47:01 CEST)
RT-Message-ID: <rt-4.0.18-28480-1500213455-1715.117927-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Disposition: inline
X-RT-Original-Encoding: utf-8
Content-Length: 526
Download (untitled) / with headers
text/plain 526b
On Sat, 15 Jul 2017 20:38:14 -0400, David_Muir_Sharnoff via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=117927 > > > Patch applied. Version 0.85 released.
Thank you. 0.85 uploaded to Debian/unstable. Cheers, gregor -- .''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Donovan: Ballad of a crystal man
Content-Description: Digital Signature
Content-Type: application/pgp-signature; name="signature.asc"
Content-Disposition: inline; filename="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Length: 963
Download signature.asc
application/pgp-signature 963b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.