Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69540 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2402 invoked from network); 10 Oct 2013 13:12:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2013 13:12:23 -0000 Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.53 as permitted sender) X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.128.53 mail-qe0-f53.google.com Received: from [209.85.128.53] ([209.85.128.53:62123] helo=mail-qe0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/40-00147-5B7A6525 for ; Thu, 10 Oct 2013 09:12:21 -0400 Received: by mail-qe0-f53.google.com with SMTP id cy11so1832394qeb.26 for ; Thu, 10 Oct 2013 06:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ysw4k/KI4Jx2kBK43OTu0oWc45XN/k3f7Y86ooJd0mY=; b=uymwKHS1phLbZAtHTCLb6KJa7VIUYHzgw+TXRufu+Pouu+m96UahYT3ZRNuj6oD1Ze G/R2K89RcS5NreU3dCbQNX32JVx1AHkusAt8nf5rMjk0+U+sAZiQ47Ye0jToU501JbXy +79WWN62GgzWXyRQbY6MijEL+amiXtMsb/qiZfYWyf1OOQQ/XNj1Cbz1E3Eiz0Rg06wx ZqfCw8V+idqnEBHlehVJqTF1kLIaLoe8FeiKDr4q4M5DHnefuytTiqxlXEcCqeXFfVGW raQsc/+IaAyb1nCLPdhv+bnxzLBkpF18u8gpbL64EKm/RgEJkNq1bVZzKmK/rH3YJQlZ rwGg== MIME-Version: 1.0 X-Received: by 10.49.5.231 with SMTP id v7mr2454057qev.58.1381410738310; Thu, 10 Oct 2013 06:12:18 -0700 (PDT) Received: by 10.49.61.227 with HTTP; Thu, 10 Oct 2013 06:12:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 10 Oct 2013 21:12:18 +0800 Message-ID: To: Michael Wallner Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7bdc9c525897ea04e862c0de Subject: Re: [PHP-DEV] Failing builds on Travis From: tjerk.meesters@gmail.com (Tjerk Meesters) --047d7bdc9c525897ea04e862c0de Content-Type: text/plain; charset=ISO-8859-1 On Tue, Oct 1, 2013 at 5:22 PM, Michael Wallner wrote: > On 27 September 2013 09:38, Tjerk Meesters > wrote: > > Hi Mike, > > > > On Fri, Sep 27, 2013 at 3:27 PM, Michael Wallner wrote: > >> > >> On 27 September 2013 04:37, Tjerk Meesters > >> wrote: > >> > Hi, > >> > > >> > The success of builds on Travis seems to hinge on a particular test > >> > case: > >> > > >> > ext/standard/tests/file/disk_free_space_basic.phpt > >> > > >> > It asserts that if a file is written to, the free space after the > write > >> > must always be lower than the previously recorded value. > >> > > >> > On a busy system the free space is affected by many factors that can > >> > cause > >> > this assertion to fail and thus developers get a nasty looking (X) on > >> > their > >> > pull requests. > >> > > >> > >> I actually committed a fix some time ago and didn't see a build of > >> PHP-5.5+ failing for that reason? > > > > > > Ah, I just saw that you've changed the file size to 0xFFFF bytes now. The > > fact that my topic branch is 2806 commits behind master probably has > > something to do with that then ;-) > > > Now you said it... it fails again. :) Feel free to adjust this test to > be more robust. > Not sure if this counts: https://github.com/php/php-src/pull/484 I suppose you could argue that you could replace the whole implementation by something that returns a random floating point value, but I reckon that Travis is not the authority when it comes to release time, is it? :) The only alternative I can see is to either compare its results with the output of `df` (within error margins) or just make the file even bigger. Not sure I like either of those ;-) > > Thank you! > -- -- Tjerk --047d7bdc9c525897ea04e862c0de--