<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>[PHP-DEV] Change all XFAIL tests to FAIL</title>
        <description>Hi, internals!

I've got a suggestion about refactoring our tests suite. I'd like to
remove XFAIL institution and mark all failing tests just as FAIL.
XFAIL has a problem that it hides attention from failing tests
depending on not yet fixed bugs (most important), not yet implemented
features (less important).
Failed tests should make pain. They should bug you every day until you
go and fix them.
XFAILs serve now as a pain-killers, we've got about 50 of them in the
repo, so devs (I assume) think this way: &quot;It's failing, but it's
EXPECTED to fail, so let's leave it as is&quot;.
That's wrong thinking. Either tests are correct and if they fail you
should fix the code and leave them failed until the code is fixed, or,
if the tests are incorrect - fix the tests or remove them completely.

Reasons introducing XFAILs were described in this article:
http://zoomsplatter.blogspot.com/2008/06/why-xfail.html
I'll quote some thoughts from there:
&gt; The intention of XFAIL is to help people working on developing PHP. Consider first the situation where you (as a PHP implementer) are working through a set of failing tests. You do some analysis on one test but you can't fix the implementation until something else is fixed – however – you don't want to lose the analysis and it might be some time before you can get back to the failing test. In this case I think it's reasonable to add an XFAIL section with a brief description of the analysis. This takes the test out of the list of reported failures making it easier for you to see what is really on your priority list but still leaving the test as a failing test.

If you need something else to be fixed, leave your failing test, it
would annoy everybody, so something else will be fixed faster. If you
&quot;don't want to lose analysis&quot; you can make a list of tests you need
with (run-tests.php has -l option which can read/write test filenames
from a file) and use that. Failing tests should not be hidden.

&gt; The second place that I can see that XFAIL might be useful is when a group of people are working on the same development project. Essentially one person on the project finds a missing feature or capability but it isn't something they can add immediately, or maybe another person has agreed to implement it. A really good way to document the omission is to write a test case which is expected to fail but which will pass if the feature is implemented. This assumes that there is general agreement that implementation is a good idea and needs to be done at some stage.

These &quot;feature tests&quot; can be put in a separate branch to not pollute
main release branches until the feature is ready. These usually called
&quot;acceptance tests&quot; so they mark if a feature fully implements its
functions or not. We could also introduce &quot;Incomplete&quot; state like it's
done in PHPUnit for these tests.

What do you think?

-- 
Regards,
Shein Alexey

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php</description>
        <link>http://www.serverphorums.com/read.php?7,470579,470579#msg-470579</link>
        <lastBuildDate>Thu, 23 May 2013 10:42:14 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472307#msg-472307</guid>
            <title>[PHP-DEV] Re: Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472307#msg-472307</link>
            <description><![CDATA[ &gt;<br />
&gt;<br />
&gt; The one problem I see here is that we keep only 100 last builds, so if bug<br />
&gt; is old enough you can't know build/revision where it's introduced.<br />
&gt; Maybe we should not keep in jenkins build php binary but only lightweight<br />
&gt; stuff like junit logs, coverage reports (if we have them) and etc. This way<br />
&gt; build size become smaller, so we can keep more of them.<br />
&gt;<br />
&gt;<br />
yeah, that limit was set because in the first setup, where we had a<br />
separate job for building php and running the testsuite.<br />
with that setup, we had to mark the built php binary as artifact to be able<br />
to copy and keep reference of the binary in the test job.<br />
now that we do both the build and the test execution in one build, we no<br />
longer need the php binary outside of the build, so the build artifact<br />
would be only the junit.xml which is much smaller so we can raise that<br />
limit.<br />
another thing that I want to set up is using the Build Keeper Plugin, which<br />
allows us to mark some builds as keep forever automatically.<br />
I will look into this.<br />
-- <br />
Ferenc Kovács<br />
@Tyr43l - <a href="http://tyrael.hu" target="_blank"  rel="nofollow">http://tyrael.hu</a>]]></description>
            <dc:creator>Ferenc Kovacs</dc:creator>
            <category>php-internals</category>
            <pubDate>Sun, 01 Apr 2012 17:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472305#msg-472305</guid>
            <title>[PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472305#msg-472305</link>
            <description><![CDATA[ 1 апреля 2012 г. 14:27 пользователь Ferenc Kovacs<br />
&lt;tyra3l@gmail.com&lt;javascript:;&gt;&gt;<br />
написал:<br />
&gt; On Sun, Apr 1, 2012 at 9:39 AM, Christopher Jones &lt;<br />
&gt; <a href="mailto:&#99;&#104;&#114;&#105;&#115;&#116;&#111;&#112;&#104;&#101;&#114;&#46;&#106;&#111;&#110;&#101;&#115;&#64;&#111;&#114;&#97;&#99;&#108;&#101;&#46;&#99;&#111;&#109;">&#99;&#104;&#114;&#105;&#115;&#116;&#111;&#112;&#104;&#101;&#114;&#46;&#106;&#111;&#110;&#101;&#115;&#64;&#111;&#114;&#97;&#99;&#108;&#101;&#46;&#99;&#111;&#109;</a> &lt;javascript:;&gt;&gt; wrote:<br />
&gt;<br />
&gt;&gt;<br />
&gt;&gt;<br />
&gt;&gt; On 3/31/12 2:38 PM, Alexey Shein wrote:<br />
&gt;&gt;<br />
&gt;&gt;&gt; 1 апреля 2012 г. 0:27 пользователь Johannes Schlüter<br />
&gt;&gt;&gt; &lt;johannes@schlueters.de &lt;javascript:;&gt;&gt;  написал:<br />
&gt;&gt;&gt;<br />
&gt;&gt;&gt;&gt; On Sat, 2012-03-31 at 13:21 +0500, Alexey Shein wrote:<br />
&gt;&gt;&gt;&gt;<br />
&gt;&gt;&gt;&gt;&gt; By constantly publishing<br />
&gt;&gt;&gt;&gt;&gt; newsletter with failed / xfail bugs you're telling them &quot;That's our<br />
&gt;&gt;&gt;&gt;&gt; current problems. Maybe you could help us with them&quot;. This way we<br />
&gt;&gt;&gt;&gt;&gt; could convert that discussing energy into some good patches.<br />
&gt;&gt;&gt;&gt;&gt;<br />
&gt;&gt;&gt;&gt;<br />
&gt;&gt;&gt;&gt; While many people will simply filter them out. At least that's my<br />
&gt;&gt;&gt;&gt; experience with such automated mails in different projects ;-)<br />
&gt;&gt;&gt;&gt;<br />
&gt;&gt;&gt;&gt; johannes<br />
&gt;&gt;&gt;&gt;<br />
&gt;&gt;&gt;<br />
&gt;&gt;&gt; Okay, let's find it out. I've created a poll here:<br />
&gt;&gt;&gt; <a href="https://wiki.php.net/xfail_**poll" target="_blank"  rel="nofollow">https://wiki.php.net/xfail_**poll</a> <a href="https://wiki.php.net/xfail_poll" target="_blank"  rel="nofollow">https://wiki.php.net/xfail_poll</a>.<br />
&gt;&gt;&gt; Please, leave your voice. I'll close the poll in a week. Thank you.<br />
&gt;&gt;&gt;<br />
&gt;&gt;&gt;<br />
&gt;&gt; Is there anything in the Jenkins work that makes this discussion<br />
irrelevant<br />
&gt;&gt; (or more relevant)? What other ways should we be running &amp; reviewing test<br />
&gt;&gt; failures?<br />
&gt;&gt;<br />
&gt;&gt;<br />
&gt; currently XFAILs are handled as passing tests.<br />
&gt; I'm working on a solution for having email notifications about new test<br />
&gt; failures.<br />
<br />
Wow, that was great post :)<br />
<br />
&gt;  snip<br />
<br />
&gt; you can also see a single test result history via selecting a test and<br />
&gt; clicking on the History link (<br />
&gt;<br />
<a href="http://ci.qa.php.net/job/php-src-5.4-matrix-build/651/architecture=x86,os=linux-debian-6.0/testReport/php-src.ext.libxml/tests/004_phpt___libxml_set_streams_context__/history/" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.4-matrix-build/651/architecture=x86,os=linux-debian-6.0/testReport/php-src.ext.libxml/tests/004_phpt___libxml_set_streams_context__/history/</a><br />
?<br />
&gt; for<br />
&gt; example) here you can also see the status for that test in each build, so<br />
&gt; you can see when was that introduced or fixed.<br />
&gt; for example you can see that the libxml_set_streams_context() started<br />
&gt; failing after build number 641, where you can see the Changes mentions a<br />
&gt; libxml bugfix:<br />
&gt;<br />
<a href="http://ci.qa.php.net/job/php-src-5.4-matrix-build/architecture=x86,os=linux-debian-6.0/641/changes" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.4-matrix-build/architecture=x86,os=linux-debian-6.0/641/changes</a><br />
<br />
The one problem I see here is that we keep only 100 last builds, so if bug<br />
is old enough you can't know build/revision where it's introduced.<br />
Maybe we should not keep in jenkins build php binary but only lightweight<br />
stuff like junit logs, coverage reports (if we have them) and etc. This way<br />
build size become smaller, so we can keep more of them.<br />
<br />
--<br />
Regards,<br />
Shein Alexey<br />
<br />
<br />
<br />
-- <br />
Regards,<br />
Shein Alexey]]></description>
            <dc:creator>Alexey Shein</dc:creator>
            <category>php-internals</category>
            <pubDate>Sun, 01 Apr 2012 17:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472299#msg-472299</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472299#msg-472299</link>
            <description><![CDATA[ 1 апреля 2012 г. 2:38 пользователь Alexey Shein &lt;confik@gmail.com&gt; написал:<br />
&gt; 1 апреля 2012 г. 0:27 пользователь Johannes Schlüter<br />
&gt; &lt;johannes@schlueters.de&gt; написал:<br />
&gt;&gt; On Sat, 2012-03-31 at 13:21 +0500, Alexey Shein wrote:<br />
&gt;&gt;&gt; By constantly publishing<br />
&gt;&gt;&gt; newsletter with failed / xfail bugs you're telling them &quot;That's our<br />
&gt;&gt;&gt; current problems. Maybe you could help us with them&quot;. This way we<br />
&gt;&gt;&gt; could convert that discussing energy into some good patches.<br />
&gt;&gt;<br />
&gt;&gt; While many people will simply filter them out. At least that's my<br />
&gt;&gt; experience with such automated mails in different projects ;-)<br />
&gt;&gt;<br />
&gt;&gt; johannes<br />
&gt;<br />
&gt; Okay, let's find it out. I've created a poll here:<br />
&gt; <a href="https://wiki.php.net/xfail_poll" target="_blank"  rel="nofollow">https://wiki.php.net/xfail_poll</a>.<br />
&gt; Please, leave your voice. I'll close the poll in a week. Thank you.<br />
<br />
It seems nobody likes the idea. Sorry for taking your time and any<br />
inconvenience I've created.<br />
<br />
-- <br />
Regards,<br />
Shein Alexey<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Alexey Shein</dc:creator>
            <category>php-internals</category>
            <pubDate>Sun, 01 Apr 2012 16:20:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472244#msg-472244</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472244#msg-472244</link>
            <description><![CDATA[ On Sun, Apr 1, 2012 at 9:39 AM, Christopher Jones &lt;<br />
christopher.jones@oracle.com&gt; wrote:<br />
<br />
&gt;<br />
&gt;<br />
&gt; On 3/31/12 2:38 PM, Alexey Shein wrote:<br />
&gt;<br />
&gt;&gt; 1 апреля 2012 г. 0:27 пользователь Johannes Schlüter<br />
&gt;&gt; &lt;johannes@schlueters.de&gt;  написал:<br />
&gt;&gt;<br />
&gt;&gt;&gt; On Sat, 2012-03-31 at 13:21 +0500, Alexey Shein wrote:<br />
&gt;&gt;&gt;<br />
&gt;&gt;&gt;&gt; By constantly publishing<br />
&gt;&gt;&gt;&gt; newsletter with failed / xfail bugs you're telling them &quot;That's our<br />
&gt;&gt;&gt;&gt; current problems. Maybe you could help us with them&quot;. This way we<br />
&gt;&gt;&gt;&gt; could convert that discussing energy into some good patches.<br />
&gt;&gt;&gt;&gt;<br />
&gt;&gt;&gt;<br />
&gt;&gt;&gt; While many people will simply filter them out. At least that's my<br />
&gt;&gt;&gt; experience with such automated mails in different projects ;-)<br />
&gt;&gt;&gt;<br />
&gt;&gt;&gt; johannes<br />
&gt;&gt;&gt;<br />
&gt;&gt;<br />
&gt;&gt; Okay, let's find it out. I've created a poll here:<br />
&gt;&gt; <a href="https://wiki.php.net/xfail_**poll" target="_blank"  rel="nofollow">https://wiki.php.net/xfail_**poll</a> <a href="https://wiki.php.net/xfail_poll" target="_blank"  rel="nofollow">https://wiki.php.net/xfail_poll</a>.<br />
&gt;&gt; Please, leave your voice. I'll close the poll in a week. Thank you.<br />
&gt;&gt;<br />
&gt;&gt;<br />
&gt; Is there anything in the Jenkins work that makes this discussion irrelevant<br />
&gt; (or more relevant)? What other ways should we be running &amp; reviewing test<br />
&gt; failures?<br />
&gt;<br />
&gt;<br />
currently XFAILs are handled as passing tests.<br />
I'm working on a solution for having email notifications about new test<br />
failures.<br />
There are 3 option, which I'm evaluating:<br />
1, one can set thresholds if using the xunit plugin (<br />
<a href="https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin" target="_blank"  rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin</a>) instead of the<br />
built-in junit plugin, which allows to fail the build if a new test failure<br />
is introduced.<br />
2, the email-ext plugin allows you to set trigger for sending an email if a<br />
&quot;regression&quot;(new test failure), and also allows sending email for<br />
&quot;improvement&quot; (which is triggered when a previously failing test starts<br />
passing.<br />
3, creating a custom post-build action, where we compare the current<br />
build's test result with the previous reports, and send out emails/mark the<br />
build failed if a new test failure is introduced.<br />
<br />
The problem with 1 is that it doesn't likes our junit.xml. First I debuged<br />
out that it doesn't support nested test suites, but that should be fixed<br />
with <a href="https://issues.jenkins-ci.org/browse/JENKINS-8460" target="_blank"  rel="nofollow">https://issues.jenkins-ci.org/browse/JENKINS-8460</a> I upgraded the<br />
plugin, but still no joy, I have to debug further.<br />
The problem with 2 is that the trigger only happens based on comparing the<br />
previous and current build's test result numbers. So if you introduce a new<br />
test failure and also fix a previously failing test, it won't fire the<br />
&quot;regression&quot; trigger.<br />
3. seems to be the best solution, but requires the most work on our part.<br />
<br />
When we implement this (using one method, or another) we could change so<br />
that the XFAILs are handled from the jenkins POV as test failures, as they<br />
will be listed as such, but you still can see what are the ones failing<br />
since ages and what are the new ones.<br />
Jenkins provides the following informations regarding test failures:<br />
<br />
 you can see the test failures introduced with a particular build through<br />
the build Status page (<br />
<a href="http://ci.qa.php.net/job/php-src-5.3-matrix-build/architecture=x86,os=linux-debian-6.0/452/" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.3-matrix-build/architecture=x86,os=linux-debian-6.0/452/</a><br />
for<br />
example)<br />
here you have a link to the Test Result page, plus the number of the<br />
failing tests, plus the sum of the test changes with that build (+-)<br />
under that line, Jenkins list the test failures introduced with that build<br />
under that you have &quot;Show all failed tests &gt;&gt;&gt;&quot; which will expand the test<br />
list to include all failing tests, not just the new ones.<br />
<br />
jenkins also provides us with a Test Result Trend on the project page (<br />
<a href="http://ci.qa.php.net/job/php-src-5.3-matrix-build/" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.3-matrix-build/</a> for example), where you<br />
can toggle between showing all tests or just the failing ones.<br />
you can also see the history for a build for a config through the History<br />
link (<br />
<a href="http://ci.qa.php.net/job/php-src-5.4-matrix-build/architecture=x86,os=linux-debian-6.0/651/testReport/history/" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.4-matrix-build/architecture=x86,os=linux-debian-6.0/651/testReport/history/</a>?<br />
for<br />
example)<br />
you can also see the total test results for a specific build per config (<br />
<a href="http://ci.qa.php.net/job/php-src-5.4-matrix-build/architecture=x86,os=linux-debian-6.0/651/testReport/junit/" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.4-matrix-build/architecture=x86,os=linux-debian-6.0/651/testReport/junit/</a>?)<br />
or aggregated (<br />
<a href="http://ci.qa.php.net/job/php-src-5.4-matrix-build/651/testReport/" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.4-matrix-build/651/testReport/</a>?)<br />
you can also see a single test result history via selecting a test and<br />
clicking on the History link (<br />
<a href="http://ci.qa.php.net/job/php-src-5.4-matrix-build/651/architecture=x86,os=linux-debian-6.0/testReport/php-src.ext.libxml/tests/004_phpt___libxml_set_streams_context__/history/" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.4-matrix-build/651/architecture=x86,os=linux-debian-6.0/testReport/php-src.ext.libxml/tests/004_phpt___libxml_set_streams_context__/history/</a>?<br />
for<br />
example) here you can also see the status for that test in each build, so<br />
you can see when was that introduced or fixed.<br />
for example you can see that the libxml_set_streams_context() started<br />
failing after build number 641, where you can see the Changes mentions a<br />
libxml bugfix:<br />
<a href="http://ci.qa.php.net/job/php-src-5.4-matrix-build/architecture=x86,os=linux-debian-6.0/641/changes" target="_blank"  rel="nofollow">http://ci.qa.php.net/job/php-src-5.4-matrix-build/architecture=x86,os=linux-debian-6.0/641/changes</a><br />
<br />
<br />
having the email notification in place could make those kind of changes<br />
more visible.<br />
<br />
-- <br />
Ferenc Kovács<br />
@Tyr43l - <a href="http://tyrael.hu" target="_blank"  rel="nofollow">http://tyrael.hu</a>]]></description>
            <dc:creator>Ferenc Kovacs</dc:creator>
            <category>php-internals</category>
            <pubDate>Sun, 01 Apr 2012 11:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472224#msg-472224</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472224#msg-472224</link>
            <description><![CDATA[ On 3/31/12 2:38 PM, Alexey Shein wrote:<br />
&gt; 1 апреля 2012 г. 0:27 пользователь Johannes Schlüter<br />
&gt; &lt;johannes@schlueters.de&gt;  написал:<br />
&gt;&gt; On Sat, 2012-03-31 at 13:21 +0500, Alexey Shein wrote:<br />
&gt;&gt;&gt; By constantly publishing<br />
&gt;&gt;&gt; newsletter with failed / xfail bugs you're telling them &quot;That's our<br />
&gt;&gt;&gt; current problems. Maybe you could help us with them&quot;. This way we<br />
&gt;&gt;&gt; could convert that discussing energy into some good patches.<br />
&gt;&gt;<br />
&gt;&gt; While many people will simply filter them out. At least that's my<br />
&gt;&gt; experience with such automated mails in different projects ;-)<br />
&gt;&gt;<br />
&gt;&gt; johannes<br />
&gt;<br />
&gt; Okay, let's find it out. I've created a poll here:<br />
&gt; <a href="https://wiki.php.net/xfail_poll" target="_blank"  rel="nofollow">https://wiki.php.net/xfail_poll</a>.<br />
&gt; Please, leave your voice. I'll close the poll in a week. Thank you.<br />
&gt;<br />
<br />
Is there anything in the Jenkins work that makes this discussion irrelevant<br />
(or more relevant)? What other ways should we be running &amp; reviewing test<br />
failures?<br />
<br />
-- <br />
Email: <a href="mailto:&#99;&#104;&#114;&#105;&#115;&#116;&#111;&#112;&#104;&#101;&#114;&#46;&#106;&#111;&#110;&#101;&#115;&#64;&#111;&#114;&#97;&#99;&#108;&#101;&#46;&#99;&#111;&#109;">&#99;&#104;&#114;&#105;&#115;&#116;&#111;&#112;&#104;&#101;&#114;&#46;&#106;&#111;&#110;&#101;&#115;&#64;&#111;&#114;&#97;&#99;&#108;&#101;&#46;&#99;&#111;&#109;</a><br />
Tel:  +1 650 506 8630<br />
Blog:  <a href="http://blogs.oracle.com/opal/" target="_blank"  rel="nofollow">http://blogs.oracle.com/opal/</a><br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Christopher Jones</dc:creator>
            <category>php-internals</category>
            <pubDate>Sun, 01 Apr 2012 09:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472122#msg-472122</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472122#msg-472122</link>
            <description><![CDATA[ 1 апреля 2012 г. 0:27 пользователь Johannes Schlüter<br />
&lt;johannes@schlueters.de&gt; написал:<br />
&gt; On Sat, 2012-03-31 at 13:21 +0500, Alexey Shein wrote:<br />
&gt;&gt; By constantly publishing<br />
&gt;&gt; newsletter with failed / xfail bugs you're telling them &quot;That's our<br />
&gt;&gt; current problems. Maybe you could help us with them&quot;. This way we<br />
&gt;&gt; could convert that discussing energy into some good patches.<br />
&gt;<br />
&gt; While many people will simply filter them out. At least that's my<br />
&gt; experience with such automated mails in different projects ;-)<br />
&gt;<br />
&gt; johannes<br />
<br />
Okay, let's find it out. I've created a poll here:<br />
<a href="https://wiki.php.net/xfail_poll" target="_blank"  rel="nofollow">https://wiki.php.net/xfail_poll</a>.<br />
Please, leave your voice. I'll close the poll in a week. Thank you.<br />
<br />
-- <br />
Regards,<br />
Shein Alexey<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Alexey Shein</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 23:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472073#msg-472073</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472073#msg-472073</link>
            <description><![CDATA[ On Sat, 2012-03-31 at 13:21 +0500, Alexey Shein wrote:<br />
&gt; By constantly publishing<br />
&gt; newsletter with failed / xfail bugs you're telling them &quot;That's our<br />
&gt; current problems. Maybe you could help us with them&quot;. This way we<br />
&gt; could convert that discussing energy into some good patches.<br />
<br />
While many people will simply filter them out. At least that's my<br />
experience with such automated mails in different projects ;-)<br />
<br />
johannes<br />
<br />
<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Johannes Schlüter</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 21:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472072#msg-472072</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472072#msg-472072</link>
            <description><![CDATA[ On Sat, 2012-03-31 at 13:27 +0500, Alexey Shein wrote:<br />
&gt; Ok, we have a weekly reminder to bug maintainers (that maybe not<br />
&gt; working).<br />
<br />
Those are working. At least for me :-)<br />
There was some trouble with mails for individual changes, but recently I<br />
got an &quot;you have been assigned&quot; mail, too.<br />
<br />
&gt;  That's a bit different, I'm talking about public email about<br />
&gt; failed tests - if bug is closed, maintainer won't get a notfication<br />
&gt; and, if bug is reopened, only maintainer will get a notification, not<br />
&gt; everybody on list.<br />
<br />
Which can also be a lot, many test, unfortunately, are depending on the<br />
environment, like OS or external systems (library version, database<br />
configuration, etc.) and it is hard to cover all those combinations<br />
while still testing edge case conditions.<br />
<br />
johannes<br />
<br />
<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Johannes Schlüter</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 21:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,472071#msg-472071</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,472071#msg-472071</link>
            <description><![CDATA[ On Fri, 2012-03-30 at 10:16 -0700, Christopher Jones wrote:<br />
&gt; The XFAIL mechanism reflects the reality of open source that not all<br />
&gt; bugs are fixed.<br />
<br />
I wonder what that has to do with open source ... besides maybe TeX<br />
there's no non-trivial bug free software.<br />
<br />
johannes<br />
<br />
<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Johannes Schlüter</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 21:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471978#msg-471978</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471978#msg-471978</link>
            <description><![CDATA[ hi,<br />
<br />
On Sat, Mar 31, 2012 at 11:56 AM, Yasuo Ohgaki &lt;yohgaki@ohgaki.net&gt; wrote:<br />
<br />
&gt; +1 for monthly.<br />
&gt;<br />
<br />
It is the case already and I get them regularly.<br />
<br />
Cheers,<br />
-- <br />
Pierre<br />
<br />
@pierrejoye | <a href="http://blog.thepimp.net" target="_blank"  rel="nofollow">http://blog.thepimp.net</a> | <a href="http://www.libgd.org" target="_blank"  rel="nofollow">http://www.libgd.org</a><br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Pierre Joye</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 14:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471934#msg-471934</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471934#msg-471934</link>
            <description><![CDATA[ 2012/3/31 Stas Malyshev &lt;smalyshev@sugarcrm.com&gt;:<br />
&gt; Hi!<br />
&gt;<br />
&gt;&gt; That's not true. There is a weekly reminder email if you have<br />
&gt;&gt; outstanding open bugs assigned to you. Although I haven't seen one for a<br />
&gt;&gt; little while, so we may finally have given up on that since it was<br />
&gt;&gt; completely ineffective.<br />
&gt;<br />
&gt; Actually, this one I'd like to keep - though I'd prefer monthly one.<br />
<br />
+1 for monthly.<br />
<br />
Today, I assigned many bugs to myself.<br />
None is not good, weekly is too much.<br />
<br />
--<br />
Yasuo Ohgaki<br />
<a href="mailto:&#121;&#111;&#104;&#103;&#97;&#107;&#105;&#64;&#111;&#104;&#103;&#97;&#107;&#105;&#46;&#110;&#101;&#116;">&#121;&#111;&#104;&#103;&#97;&#107;&#105;&#64;&#111;&#104;&#103;&#97;&#107;&#105;&#46;&#110;&#101;&#116;</a><br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Yasuo Ohgaki</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 12:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471904#msg-471904</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471904#msg-471904</link>
            <description><![CDATA[ On 03/31/2012 01:21 AM, Alexey Shein wrote:<br />
&gt; 31 марта 2012 г. 12:50 пользователь Stas Malyshev<br />
&gt; &lt;smalyshev@sugarcrm.com&gt; написал:<br />
&gt;&gt; Hi!<br />
&gt;&gt;<br />
&gt;&gt;&gt; 2) Keep devs' attention on known failures - XFAIL doesn't solve that.<br />
&gt;&gt;&gt; You remember about them when you run tests and if you want make<br />
&gt;&gt;&gt; attention at them.<br />
&gt;&gt;<br />
&gt;&gt; Which devs you are referring to? Why you assume their attention needs help?<br />
&gt; <br />
&gt; Every developer on this list including core and non-core. There are a<br />
&gt; lot of people reading this list, that's clearly seen by lengthy<br />
&gt; feature discussions. If you're well-aware of current PHP problems (I<br />
&gt; assume you're the best person to ask about, since you're RM), others<br />
&gt; may even don't have a glue about that. By constantly publishing<br />
&gt; newsletter with failed / xfail bugs you're telling them &quot;That's our<br />
&gt; current problems. Maybe you could help us with them&quot;. This way we<br />
&gt; could convert that discussing energy into some good patches.<br />
<br />
Every developer on this list builds PHP at least daily and also runs<br />
&quot;make test&quot; at least every few days so they are well aware of the status<br />
of the tests. I think you will find that there aren't as many developers<br />
here as you think and only the developers are actually going to fix stuff.<br />
<br />
An alert on a brand new test failure along with the commit that caused<br />
it, that would be useful and that is what the Jenkins work will<br />
eventually bring us. A list of the same xfails that all of us are<br />
painfully aware of isn't useful.<br />
<br />
-Rasmus<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Rasmus Lerdorf</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 10:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471899#msg-471899</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471899#msg-471899</link>
            <description><![CDATA[ 31 марта 2012 г. 12:34 пользователь Rasmus Lerdorf &lt;rasmus@lerdorf.com&gt; написал:<br />
&gt; On 03/30/2012 11:25 PM, Alexey Shein wrote:<br />
&gt;&gt; Hmm, that's different. You get a notification if there's some change<br />
&gt;&gt; on that bug (new comment/state changed/patch etc.). If bug didn't<br />
&gt;&gt; change for years, you won't get any notifications -&gt; it's more likely<br />
&gt;&gt; you forget about it.<br />
&gt;<br />
&gt; That's not true. There is a weekly reminder email if you have<br />
&gt; outstanding open bugs assigned to you. Although I haven't seen one for a<br />
&gt; little while, so we may finally have given up on that since it was<br />
&gt; completely ineffective.<br />
<br />
Ok, we have a weekly reminder to bug maintainers (that maybe not<br />
working). That's a bit different, I'm talking about public email about<br />
failed tests - if bug is closed, maintainer won't get a notfication<br />
and, if bug is reopened, only maintainer will get a notification, not<br />
everybody on list.<br />
<br />
-- <br />
Regards,<br />
Shein Alexey<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Alexey Shein</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 10:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471898#msg-471898</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471898#msg-471898</link>
            <description><![CDATA[ 31 марта 2012 г. 12:50 пользователь Stas Malyshev<br />
&lt;smalyshev@sugarcrm.com&gt; написал:<br />
&gt; Hi!<br />
&gt;<br />
&gt;&gt; 2) Keep devs' attention on known failures - XFAIL doesn't solve that.<br />
&gt;&gt; You remember about them when you run tests and if you want make<br />
&gt;&gt; attention at them.<br />
&gt;<br />
&gt; Which devs you are referring to? Why you assume their attention needs help?<br />
<br />
Every developer on this list including core and non-core. There are a<br />
lot of people reading this list, that's clearly seen by lengthy<br />
feature discussions. If you're well-aware of current PHP problems (I<br />
assume you're the best person to ask about, since you're RM), others<br />
may even don't have a glue about that. By constantly publishing<br />
newsletter with failed / xfail bugs you're telling them &quot;That's our<br />
current problems. Maybe you could help us with them&quot;. This way we<br />
could convert that discussing energy into some good patches.<br />
<br />
&gt;&gt; What I propose is a single *daily* newsletter saying &quot;Hey, guys! We<br />
&gt;&gt; still have XFAIL bugs on 5.3 &lt;list bugs&gt;, 5.4 &lt;list bugs&gt; and master<br />
&gt;&gt; &lt;list bugs&gt;. Bye!&quot; That will make some pressure, especially if those<br />
&gt;&gt; bugs have maintainers.<br />
&gt;<br />
&gt; I would not subscribe to this and would not read this. Would you? Why?<br />
<br />
I don't mean a separate mailing list, but a letter to this list,<br />
internals. If i'm already here, I'd read it. If you think that daily<br />
is too much - let's make it weekly, but it should come every week, not<br />
just once or twice. If it annoys you too much or you think it's<br />
useless for you - you always can tune your spam filter. I'd read it,<br />
since I like writing/fixing tests in my spare time, maybe that letter<br />
would contain some tests I can easily fix (since I'm not good<br />
C-developer I work primarily on tests), or my investigation on problem<br />
will help somebody to make a patch.<br />
<br />
&gt; We know we have technical debt. It's not a secret. What we need is not<br />
&gt; more harassment but more people fixing that debt. Spamming whole list<br />
&gt; with messages that nobody would read is not the solution.<br />
<br />
You can't interest more people if they are not aware of your problems.<br />
That's why personal reminders won't work good here - if only bug<br />
maintainer will be notified, nobody else will recall that bug.<br />
<br />
-- <br />
Regards,<br />
Shein Alexey<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Alexey Shein</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 10:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471886#msg-471886</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471886#msg-471886</link>
            <description><![CDATA[ Hi!<br />
<br />
&gt; That's not true. There is a weekly reminder email if you have<br />
&gt; outstanding open bugs assigned to you. Although I haven't seen one for a<br />
&gt; little while, so we may finally have given up on that since it was<br />
&gt; completely ineffective.<br />
<br />
Actually, this one I'd like to keep - though I'd prefer monthly one.<br />
-- <br />
Stanislav Malyshev, Software Architect<br />
SugarCRM: <a href="http://www.sugarcrm.com/" target="_blank"  rel="nofollow">http://www.sugarcrm.com/</a><br />
(408)454-6900 ext. 227<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Stas Malyshev</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 10:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471885#msg-471885</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471885#msg-471885</link>
            <description><![CDATA[ Hi!<br />
<br />
&gt; 2) Keep devs' attention on known failures - XFAIL doesn't solve that.<br />
&gt; You remember about them when you run tests and if you want make<br />
&gt; attention at them.<br />
<br />
Which devs you are referring to? Why you assume their attention needs help?<br />
<br />
&gt; What I propose is a single *daily* newsletter saying &quot;Hey, guys! We<br />
&gt; still have XFAIL bugs on 5.3 &lt;list bugs&gt;, 5.4 &lt;list bugs&gt; and master<br />
&gt; &lt;list bugs&gt;. Bye!&quot; That will make some pressure, especially if those<br />
&gt; bugs have maintainers.<br />
<br />
I would not subscribe to this and would not read this. Would you? Why?<br />
<br />
We know we have technical debt. It's not a secret. What we need is not<br />
more harassment but more people fixing that debt. Spamming whole list<br />
with messages that nobody would read is not the solution.<br />
-- <br />
Stanislav Malyshev, Software Architect<br />
SugarCRM: <a href="http://www.sugarcrm.com/" target="_blank"  rel="nofollow">http://www.sugarcrm.com/</a><br />
(408)454-6900 ext. 227<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Stas Malyshev</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 10:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471873#msg-471873</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471873#msg-471873</link>
            <description><![CDATA[ On 03/30/2012 11:25 PM, Alexey Shein wrote:<br />
&gt; Hmm, that's different. You get a notification if there's some change<br />
&gt; on that bug (new comment/state changed/patch etc.). If bug didn't<br />
&gt; change for years, you won't get any notifications -&gt; it's more likely<br />
&gt; you forget about it.<br />
<br />
That's not true. There is a weekly reminder email if you have<br />
outstanding open bugs assigned to you. Although I haven't seen one for a<br />
little while, so we may finally have given up on that since it was<br />
completely ineffective.<br />
<br />
-Rasmus<br />
<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Rasmus Lerdorf</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 09:40:05 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471855#msg-471855</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471855#msg-471855</link>
            <description><![CDATA[ 30 марта 2012 г. 22:16 пользователь Christopher Jones<br />
&lt;christopher.jones@oracle.com&gt; написал:<br />
&gt;<br />
&gt;<br />
&gt; On 3/29/12 3:00 PM, Alexey Shein wrote:<br />
&gt;&gt;<br />
&gt;&gt; Hi, internals!<br />
&gt;&gt;<br />
&gt;&gt; I've got a suggestion about refactoring our tests suite. I'd like to<br />
&gt;&gt; remove XFAIL institution and mark all failing tests just as FAIL.<br />
&gt;&gt; XFAIL has a problem that it hides attention from failing tests<br />
&gt;&gt; depending on not yet fixed bugs (most important), not yet implemented<br />
&gt;&gt; features (less important).<br />
&gt;&gt; Failed tests should make pain. They should bug you every day until you<br />
&gt;&gt; go and fix them.<br />
&gt;&gt; XFAILs serve now as a pain-killers, we've got about 50 of them in the<br />
&gt;&gt; repo, so devs (I assume) think this way: &quot;It's failing, but it's<br />
&gt;&gt; EXPECTED to fail, so let's leave it as is&quot;.<br />
&gt;&gt; That's wrong thinking. Either tests are correct and if they fail you<br />
&gt;&gt; should fix the code and leave them failed until the code is fixed, or,<br />
&gt;&gt; if the tests are incorrect - fix the tests or remove them completely.<br />
&gt;<br />
&gt;<br />
&gt; The XFAIL mechanism reflects the reality of open source that not all<br />
&gt; bugs are fixed.  We need a simple, low maintenance way to have a<br />
&gt; 'clean' testsuite shipped which exhibits minimal noise so that users<br />
&gt; don't waste time investigating known failures.<br />
<br />
I'm trying to solve 2 different problems here:<br />
1) Separate clean testsuite (new failed bugs) from known failed bugs<br />
(as you said) - XFAIL solves that<br />
2) Keep devs' attention on known failures - XFAIL doesn't solve that.<br />
You remember about them when you run tests and if you want make<br />
attention at them.<br />
What I propose is a single *daily* newsletter saying &quot;Hey, guys! We<br />
still have XFAIL bugs on 5.3 &lt;list bugs&gt;, 5.4 &lt;list bugs&gt; and master<br />
&lt;list bugs&gt;. Bye!&quot; That will make some pressure, especially if those<br />
bugs have maintainers.<br />
<br />
&gt; We do get constant notification of bugs assigned to us.  I don't<br />
believe it has any impact on the fix rate.<br />
<br />
Hmm, that's different. You get a notification if there's some change<br />
on that bug (new comment/state changed/patch etc.). If bug didn't<br />
change for years, you won't get any notifications -&gt; it's more likely<br />
you forget about it.<br />
<br />
&gt; XFAIL also allows end users to see when something has broken that used<br />
&gt; to work.<br />
<br />
Maybe, but not the best way, since it involves manual editing phpt<br />
source FAIL-&gt;XFAIL. Jenkins build failure notification solves it<br />
better.<br />
<br />
&gt; If the system is being overused, feel free to call people out on it.<br />
&gt; I don't think it should be used for unimplemented features long term.<br />
&gt; XFAIL is a simple mechanism.  Anything different like moving tests to<br />
&gt; a special 'failed' directory adds burden.  I don't belive we have<br />
&gt; extra cycles for this, but would be happy to be proved wrong.<br />
<br />
Agree, that's a lot of work, need to try something else. The problem<br />
is here &quot;what bugs need to be solved for release to be made?&quot;. We need<br />
to separate these somehow. XFAIL doesn't really helps here since it's<br />
just &quot;bugs that are hard to solve&quot; and it doesn't enforce any priority<br />
here.<br />
For 5.4 release Stas used wiki for keeping track of bugs stopping the release.<br />
<br />
-- <br />
Regards,<br />
Shein Alexey<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Alexey Shein</dc:creator>
            <category>php-internals</category>
            <pubDate>Sat, 31 Mar 2012 08:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471151#msg-471151</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471151#msg-471151</link>
            <description><![CDATA[ On 3/30/12 4:20 AM, Alexey Shein wrote:<br />
<br />
&gt; That's not a noise. See p.1 above. If we don't setup *constant*<br />
&gt; notifications, people won't feel pressure.<br />
<br />
We do get constant notification of bugs assigned to us.  I don't<br />
believe it has any impact on the fix rate.<br />
<br />
We need a balance between carrot &amp; stick here.  The carrot being<br />
extra hands &amp; a general positive attitude (n.b. by caring about<br />
this issue you are exhibiting both, so my comment is a general<br />
one)<br />
<br />
Chris<br />
<br />
-- <br />
Email: <a href="mailto:&#99;&#104;&#114;&#105;&#115;&#116;&#111;&#112;&#104;&#101;&#114;&#46;&#106;&#111;&#110;&#101;&#115;&#64;&#111;&#114;&#97;&#99;&#108;&#101;&#46;&#99;&#111;&#109;">&#99;&#104;&#114;&#105;&#115;&#116;&#111;&#112;&#104;&#101;&#114;&#46;&#106;&#111;&#110;&#101;&#115;&#64;&#111;&#114;&#97;&#99;&#108;&#101;&#46;&#99;&#111;&#109;</a><br />
Tel:  +1 650 506 8630<br />
Blog:  <a href="http://blogs.oracle.com/opal/" target="_blank"  rel="nofollow">http://blogs.oracle.com/opal/</a><br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Christopher Jones</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 19:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,471150#msg-471150</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,471150#msg-471150</link>
            <description><![CDATA[ On 3/29/12 3:00 PM, Alexey Shein wrote:<br />
&gt; Hi, internals!<br />
&gt;<br />
&gt; I've got a suggestion about refactoring our tests suite. I'd like to<br />
&gt; remove XFAIL institution and mark all failing tests just as FAIL.<br />
&gt; XFAIL has a problem that it hides attention from failing tests<br />
&gt; depending on not yet fixed bugs (most important), not yet implemented<br />
&gt; features (less important).<br />
&gt; Failed tests should make pain. They should bug you every day until you<br />
&gt; go and fix them.<br />
&gt; XFAILs serve now as a pain-killers, we've got about 50 of them in the<br />
&gt; repo, so devs (I assume) think this way: &quot;It's failing, but it's<br />
&gt; EXPECTED to fail, so let's leave it as is&quot;.<br />
&gt; That's wrong thinking. Either tests are correct and if they fail you<br />
&gt; should fix the code and leave them failed until the code is fixed, or,<br />
&gt; if the tests are incorrect - fix the tests or remove them completely.<br />
<br />
The XFAIL mechanism reflects the reality of open source that not all<br />
bugs are fixed.  We need a simple, low maintenance way to have a<br />
'clean' testsuite shipped which exhibits minimal noise so that users<br />
don't waste time investigating known failures.<br />
<br />
XFAIL also allows end users to see when something has broken that used<br />
to work.<br />
<br />
If the system is being overused, feel free to call people out on it.<br />
I don't think it should be used for unimplemented features long term.<br />
<br />
XFAIL is a simple mechanism.  Anything different like moving tests to<br />
a special 'failed' directory adds burden.  I don't belive we have<br />
extra cycles for this, but would be happy to be proved wrong.<br />
<br />
Chris<br />
<br />
-- <br />
Email: <a href="mailto:&#99;&#104;&#114;&#105;&#115;&#116;&#111;&#112;&#104;&#101;&#114;&#46;&#106;&#111;&#110;&#101;&#115;&#64;&#111;&#114;&#97;&#99;&#108;&#101;&#46;&#99;&#111;&#109;">&#99;&#104;&#114;&#105;&#115;&#116;&#111;&#112;&#104;&#101;&#114;&#46;&#106;&#111;&#110;&#101;&#115;&#64;&#111;&#114;&#97;&#99;&#108;&#101;&#46;&#99;&#111;&#109;</a><br />
Tel:  +1 650 506 8630<br />
Blog:  <a href="http://blogs.oracle.com/opal/" target="_blank"  rel="nofollow">http://blogs.oracle.com/opal/</a><br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Christopher Jones</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 19:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470890#msg-470890</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470890#msg-470890</link>
            <description><![CDATA[ 30 марта 2012 г. 5:55 пользователь Stas Malyshev<br />
&lt;smalyshev@sugarcrm.com&gt; написал:<br />
&gt; Hi!<br />
&gt;<br />
&gt;&gt; The difference started from 5.3.9 release when we start to pay *much<br />
&gt;&gt; more* attention to tests.<br />
&gt;&gt; You now can cleanly see failing tests, it's not that huge list, so<br />
&gt;&gt; it's big difference.<br />
&gt;<br />
&gt; Yes, and removing XFAILs would kill that advantage.<br />
&gt;<br />
&gt;&gt; The main idea I'm trying to say is that it's comfortable to live with<br />
&gt;&gt; XFAILs. That's why they live by years. They don't get make any<br />
&gt;&gt; pressure, we don't have a release rule &quot;No failing tests&quot;, so they go<br />
&gt;<br />
&gt; You talk about &quot;making pressure&quot;, but when date fails were sitting in<br />
&gt; the tests as FAILs, they didn't make any &quot;pressure&quot; and nobody was<br />
&gt; fixing them. And if we had rule of &quot;no failing tests&quot;, we'd have no<br />
&gt; releases for years now, because nobody is fixing those tests and bugs<br />
&gt; behind them. You want to fix them? Go ahead, no problem. But if there's<br />
&gt; nobody to fix them - what's the use to put them in FAILs and prevent us<br />
&gt; from seeing issues that *are* going to be fixed?<br />
<br />
They didn't make any pressure because they were not frequently exposed<br />
on the list and irc.<br />
What I think should be done:<br />
1) Make a *daily* notifications about failing tests in this mailing<br />
list and irc. This will create pressure and make sure that nobody will<br />
forget that we still have problems and they need to be solved.<br />
BTW, that's really strange that we still do not have *any*<br />
notifications about failed builds, but do have them on phpdoc project.<br />
I don't think those guys are smarter than us :)<br />
2) Create explicit distinction release-stopper tests (let's call them<br />
acceptance) and usual functional/unit tests. For example, we create a<br />
folder &quot;acceptance&quot; under each &quot;tests/&quot; folder and put there all tests<br />
that never should be broken. If those tests are broken, release can't<br />
be made.<br />
<br />
<br />
&gt;&gt; We have 3 failing tests and 35 xfails, I don't see any tons of fails<br />
&gt;&gt; here. Sorry, if I sound like a broken record, but if we need to fix<br />
&gt;&gt; those, we need to make more noise about that.<br />
&gt;<br />
&gt; OK, you made noise. Let's see how many of those 35 xfails get fixed,<br />
&gt; let's say, in a month. How many you would predict it would be?<br />
<br />
That's not a noise. See p.1 above. If we don't setup *constant*<br />
notifications, people won't feel pressure.<br />
Of course, it's easy to tune spam filter in your mail client or ban a<br />
bot on IRC, that's why I'm asking for agreement here, to make it a<br />
part of the development process.<br />
Guys, I respect you very much, all of you. I can feed my family<br />
because of your work. I'm really trying to help. Please, don't get it<br />
personally and let's try to find a decision together. I assume we at<br />
least agree that we have a problem here.<br />
<br />
&gt;&gt; XFAIL - expected to fail test. If it's fails - then it's ok. That's<br />
&gt;&gt; how I understand it. Failing test should not be ok, it's an error. If<br />
&gt;&gt; you get used to not paying attention on failing tests, you're in<br />
&gt;&gt; dangerous situation. It's like a fairy tale about boy that cried<br />
&gt;<br />
&gt; Nobody already *is* paying attention, so it's not an &quot;if&quot;, it's a fact.<br />
&gt; It's a sad fact, but still a fact. And it's not result of the XFAILs,<br />
&gt; because this situation predates XFAILs and was there before we moved<br />
&gt; such tests to XFAILs.<br />
<br />
See above.<br />
&gt;<br />
&gt;&gt; About incomplete, well, it seems it doesn't suite here much, it's<br />
&gt;&gt; about that test is not fully written or finished.<br />
&gt;<br />
&gt; If your test is not finished, do it in a fork. By the time the feature<br />
&gt; gets merged into main branches, it should be complete enough to run the<br />
&gt; tests.<br />
<br />
Yes, it's a sane way too.<br />
<br />
-- <br />
Regards,<br />
Shein Alexey<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Alexey Shein</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 13:30:04 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470749#msg-470749</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470749#msg-470749</link>
            <description><![CDATA[ hi,<br />
<br />
On Fri, Mar 30, 2012 at 8:02 AM, Dirk Haun &lt;dirk@haun-online.de&gt; wrote:<br />
<br />
&gt; What's the point of a test that fails (or XFAILs)? Either something is broken - then it should be fixed. Or the test makes no sense - then it should be removed.<br />
<br />
See the archive about the reasons, it has been discussed to death many times.<br />
<br />
To me, the main reason is:<br />
<br />
A test fails but a fix is not easy or not possible right now. To keep<br />
it in our radar, it is still added to our tests suite and listed as<br />
&quot;expected failure&quot;. This is very common practice.<br />
<br />
That being said, as Stas wrote, feel free to fix them all (the bugs) :-)<br />
<br />
Cheers,<br />
-- <br />
Pierre<br />
<br />
@pierrejoye | <a href="http://blog.thepimp.net" target="_blank"  rel="nofollow">http://blog.thepimp.net</a> | <a href="http://www.libgd.org" target="_blank"  rel="nofollow">http://www.libgd.org</a><br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Pierre Joye</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 10:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470712#msg-470712</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470712#msg-470712</link>
            <description><![CDATA[ Hi!<br />
<br />
&gt; I was about to suggest that maybe PHP should have a rule: &quot;no release<br />
&gt; with failing tests&quot;.<br />
<br />
In current situation, this rule would be a bit shorter: &quot;no release&quot;.<br />
<br />
&gt; What's the point of a test that fails (or XFAILs)? Either something<br />
&gt; is broken - then it should be fixed. Or the test makes no sense -<br />
&gt; then it should be removed.<br />
<br />
You are completely right. Please fix it.<br />
<br />
-- <br />
Stanislav Malyshev, Software Architect<br />
SugarCRM: <a href="http://www.sugarcrm.com/" target="_blank"  rel="nofollow">http://www.sugarcrm.com/</a><br />
(408)454-6900 ext. 227<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Stas Malyshev</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 08:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470709#msg-470709</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470709#msg-470709</link>
            <description><![CDATA[ Stas Malyshev wrote:<br />
<br />
&gt; And if we had rule of &quot;no failing tests&quot;, we'd have no<br />
&gt; releases for years now, because nobody is fixing those tests and bugs<br />
&gt; behind them.<br />
<br />
<br />
I was about to suggest that maybe PHP should have a rule: &quot;no release with failing tests&quot;.<br />
<br />
What's the point of a test that fails (or XFAILs)? Either something is broken - then it should be fixed. Or the test makes no sense - then it should be removed.<br />
<br />
Yes, I realize this is a simplistic view and things are more complicated in practice. But since, as stated, PHP is paying more attention to tests now (which is a good thing!), maybe it's time to take this one step further.<br />
<br />
bye, Dirk<br />
<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Dirk Haun</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 08:10:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470650#msg-470650</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470650#msg-470650</link>
            <description><![CDATA[ Hi,<br />
<br />
As a distribution maintainer, I would like to distinct &quot;failed test that is<br />
ok&quot; and &quot;failed test that is not ok&quot;.<br />
<br />
I think release versions should not have test that fails.<br />
<br />
How about add &quot;Dev&quot; and &quot;Release&quot; mode for tests with &quot;Dev&quot; mode<br />
as default?<br />
<br />
--<br />
Yasuo Ohgaki<br />
<a href="mailto:&#121;&#111;&#104;&#103;&#97;&#107;&#105;&#64;&#111;&#104;&#103;&#97;&#107;&#105;&#46;&#110;&#101;&#116;">&#121;&#111;&#104;&#103;&#97;&#107;&#105;&#64;&#111;&#104;&#103;&#97;&#107;&#105;&#46;&#110;&#101;&#116;</a><br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Yasuo Ohgaki</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 03:20:05 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470643#msg-470643</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470643#msg-470643</link>
            <description><![CDATA[ Hi!<br />
<br />
&gt; The difference started from 5.3.9 release when we start to pay *much<br />
&gt; more* attention to tests.<br />
&gt; You now can cleanly see failing tests, it's not that huge list, so<br />
&gt; it's big difference.<br />
<br />
Yes, and removing XFAILs would kill that advantage.<br />
<br />
&gt; The main idea I'm trying to say is that it's comfortable to live with<br />
&gt; XFAILs. That's why they live by years. They don't get make any<br />
&gt; pressure, we don't have a release rule &quot;No failing tests&quot;, so they go<br />
<br />
You talk about &quot;making pressure&quot;, but when date fails were sitting in<br />
the tests as FAILs, they didn't make any &quot;pressure&quot; and nobody was<br />
fixing them. And if we had rule of &quot;no failing tests&quot;, we'd have no<br />
releases for years now, because nobody is fixing those tests and bugs<br />
behind them. You want to fix them? Go ahead, no problem. But if there's<br />
nobody to fix them - what's the use to put them in FAILs and prevent us<br />
from seeing issues that *are* going to be fixed?<br />
<br />
&gt; We have 3 failing tests and 35 xfails, I don't see any tons of fails<br />
&gt; here. Sorry, if I sound like a broken record, but if we need to fix<br />
&gt; those, we need to make more noise about that.<br />
<br />
OK, you made noise. Let's see how many of those 35 xfails get fixed,<br />
let's say, in a month. How many you would predict it would be?<br />
<br />
&gt; XFAIL - expected to fail test. If it's fails - then it's ok. That's<br />
&gt; how I understand it. Failing test should not be ok, it's an error. If<br />
&gt; you get used to not paying attention on failing tests, you're in<br />
&gt; dangerous situation. It's like a fairy tale about boy that cried<br />
<br />
Nobody already *is* paying attention, so it's not an &quot;if&quot;, it's a fact.<br />
It's a sad fact, but still a fact. And it's not result of the XFAILs,<br />
because this situation predates XFAILs and was there before we moved<br />
such tests to XFAILs.<br />
<br />
&gt; About incomplete, well, it seems it doesn't suite here much, it's<br />
&gt; about that test is not fully written or finished.<br />
<br />
If your test is not finished, do it in a fork. By the time the feature<br />
gets merged into main branches, it should be complete enough to run the<br />
tests.<br />
-- <br />
Stanislav Malyshev, Software Architect<br />
SugarCRM: <a href="http://www.sugarcrm.com/" target="_blank"  rel="nofollow">http://www.sugarcrm.com/</a><br />
(408)454-6900 ext. 227<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Stas Malyshev</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 03:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470638#msg-470638</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470638#msg-470638</link>
            <description><![CDATA[ Hi!<br />
<br />
&gt; could you elaborate on this part? where were we a year ago?<br />
<br />
We had many failing tests that now XFAILs classified as regular FAILs.<br />
<br />
&gt; yeah, but as we did see, the current approach makes it very easy to<br />
&gt; &quot;hide&quot; even the not so small issues (for example the bunch of date<br />
&gt; related XFAILS which you personally asked multiple times to be fixed<br />
&gt; before the 5.4 release).<br />
<br />
And did that happen while they were FAILs? No, it did not. These fails<br />
were still ignored.<br />
<br />
&gt; I think that in it's current form XFAIL hurts more than it helps.<br />
<br />
Hurts what? What is worse than before? Every problem you describe we had<br />
before, and on top of that we have ones that we don't have now.<br />
<br />
&gt; I think that eliminating the failing tests and making the fails noisy<br />
&gt; would be a better approach.<br />
<br />
Better in which regard? We know for a fact that having test fails does<br />
not lead to people promptly fixing it. We just have 50 test failures for<br />
a year, and people stop regarding 50 test failures as something<br />
exceptional - we always had tons of test fails, who cares if there's one<br />
or two or ten more?<br />
<br />
So if you propose going back to what we already had a year ago, you<br />
still have to explain how situation would be better than it was a year<br />
ago - what exactly changed?<br />
-- <br />
Stanislav Malyshev, Software Architect<br />
SugarCRM: <a href="http://www.sugarcrm.com/" target="_blank"  rel="nofollow">http://www.sugarcrm.com/</a><br />
(408)454-6900 ext. 227<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Stas Malyshev</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 02:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470618#msg-470618</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470618#msg-470618</link>
            <description><![CDATA[ 30 марта 2012 г. 3:19 пользователь Stas Malyshev<br />
&lt;smalyshev@sugarcrm.com&gt; написал:<br />
&gt; Hi!<br />
&gt;<br />
&gt;&gt; I've got a suggestion about refactoring our tests suite. I'd like to<br />
&gt;&gt; remove XFAIL institution and mark all failing tests just as FAIL.<br />
&gt;&gt; XFAIL has a problem that it hides attention from failing tests<br />
&gt;&gt; depending on not yet fixed bugs (most important), not yet implemented<br />
&gt;&gt; features (less important).<br />
&gt;&gt; Failed tests should make pain. They should bug you every day until you<br />
&gt;&gt; go and fix them.<br />
&gt;<br />
&gt; Please note that we were in that position and we moved from there. So to<br />
&gt; move back, we need some argument about what's different this time from<br />
&gt; the place we were a year ago.<br />
&gt;&gt; XFAILs serve now as a pain-killers, we've got about 50 of them in the<br />
&gt;&gt; repo, so devs (I assume) think this way: &quot;It's failing, but it's<br />
&gt;&gt; EXPECTED to fail, so let's leave it as is&quot;.<br />
&gt;<br />
&gt; Leaving it as is was happening anyway. It's not like we had crowds of<br />
&gt; devs descending on test fails but ignoring xfails. Most of xfails were<br />
&gt; fails and were sitting there ignored for years. So the difference was<br />
&gt; &quot;running constantly with 50 fails&quot; or &quot;having some xfails but detecting<br />
&gt; new fails easily since we have no or very little fails normally&quot;.<br />
&gt; The problem is exactly that there are no devs thinking like you imagine<br />
&gt; them to think.<br />
&gt;<br />
<br />
The difference started from 5.3.9 release when we start to pay *much<br />
more* attention to tests.<br />
You now can cleanly see failing tests, it's not that huge list, so<br />
it's big difference.<br />
If the problem is only with finding new fails, we can use jenkins for<br />
that - it already detects new fails in builds and can mail it here, so<br />
they won't get unnoticed. It could also bug a commiter who failed the<br />
build - nice feature to have.<br />
<br />
The main idea I'm trying to say is that it's comfortable to live with<br />
XFAILs. That's why they live by years. They don't get make any<br />
pressure, we don't have a release rule &quot;No failing tests&quot;, so they go<br />
from release to release until some hero will come up and fix them. By<br />
turning them into FAILs they become common problem, because they start<br />
to annoy everyone, so it's easier to collaborate on their fixing.<br />
<br />
&gt;&gt; from a file) and use that. Failing tests should not be hidden.<br />
&gt;<br />
&gt; They are not hidden. But they were not being fixed when they were just<br />
&gt; fails - only thing that happened is that we constantly run with tons of<br />
&gt; fails, so it was impossible to distinguish situation of &quot;everything is<br />
&gt; fine&quot; from &quot;the build is FUBAR&quot;.<br />
<br />
They are not hidden, but they don't *really* bother everyone.<br />
My (quite limited setup though) on master branch reports this:<br />
Number of tests : 12100              8194<br />
Tests skipped   : 3906 ( 32.3%) --------<br />
Tests warned    :    0 (  0.0%) (  0.0%)<br />
Tests failed    :    3 (  0.0%) (  0.0%)<br />
Expected fail   :   35 (  0.3%) (  0.4%)<br />
Tests passed    : 8156 ( 67.4%) ( 99.5%)<br />
<br />
We have 3 failing tests and 35 xfails, I don't see any tons of fails<br />
here. Sorry, if I sound like a broken record, but if we need to fix<br />
those, we need to make more noise about that.<br />
<br />
&gt;&gt; functions or not. We could also introduce &quot;Incomplete&quot; state like it's<br />
&gt;&gt; done in PHPUnit for these tests.<br />
&gt;<br />
&gt; So what's the difference between xfail and incomplete?<br />
<br />
XFAIL - expected to fail test. If it's fails - then it's ok. That's<br />
how I understand it. Failing test should not be ok, it's an error. If<br />
you get used to not paying attention on failing tests, you're in<br />
dangerous situation. It's like a fairy tale about boy that cried<br />
&quot;Wolf!&quot;. In the end of the story nobody trusts him. That's why I think<br />
we should return trust back to failing tests.<br />
<br />
About incomplete, well, it seems it doesn't suite here much, it's<br />
about that test is not fully written or finished.<br />
For example, if we have a plan for some release branch (say, 5.4)<br />
about implementing some features, we can have failing/incomplete<br />
acceptance tests for those (in a separate suite for example), so<br />
release is just a matter of making all tests pass.<br />
If feature is quite big and can take several releases (traits come to<br />
my mind) it could always be put into separate branch until it's ready.<br />
<br />
-- <br />
Regards,<br />
Shein Alexey<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Alexey Shein</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 01:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470611#msg-470611</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470611#msg-470611</link>
            <description><![CDATA[ &gt;<br />
&gt;<br />
&gt; Please note that we were in that position and we moved from there. So to<br />
&gt; move back, we need some argument about what's different this time from<br />
&gt; the place we were a year ago.<br />
&gt;<br />
&gt;<br />
could you elaborate on this part? where were we a year ago?<br />
<br />
<br />
&gt; &gt; XFAILs serve now as a pain-killers, we've got about 50 of them in the<br />
&gt; &gt; repo, so devs (I assume) think this way: &quot;It's failing, but it's<br />
&gt; &gt; EXPECTED to fail, so let's leave it as is&quot;.<br />
&gt;<br />
&gt; Leaving it as is was happening anyway. It's not like we had crowds of<br />
&gt; devs descending on test fails but ignoring xfails. Most of xfails were<br />
&gt; fails and were sitting there ignored for years. So the difference was<br />
&gt; &quot;running constantly with 50 fails&quot; or &quot;having some xfails but detecting<br />
&gt; new fails easily since we have no or very little fails normally&quot;.<br />
&gt; The problem is exactly that there are no devs thinking like you imagine<br />
&gt; them to think.<br />
&gt;<br />
&gt;<br />
yeah, but as we did see, the current approach makes it very easy to &quot;hide&quot;<br />
even the not so small issues (for example the bunch of date related XFAILS<br />
which you personally asked multiple times to be fixed before the 5.4<br />
release).<br />
I think that in it's current form XFAIL hurts more than it helps.<br />
<br />
<br />
<br />
&gt; &gt; from a file) and use that. Failing tests should not be hidden.<br />
&gt;<br />
&gt; They are not hidden. But they were not being fixed when they were just<br />
&gt; fails - only thing that happened is that we constantly run with tons of<br />
&gt; fails, so it was impossible to distinguish situation of &quot;everything is<br />
&gt; fine&quot; from &quot;the build is FUBAR&quot;.<br />
&gt;<br />
<br />
yeah, and the exact same thing happened with the 5.3.7/CVE-2011-3189, even<br />
though that we have XFAILs.<br />
I think that eliminating the failing tests and making the fails noisy would<br />
be a better approach.<br />
I think that those spontaneous  &quot;TestFests&quot; initiated by Rasmus really<br />
helped, and now that we are on git/github, there would be even<br />
greater audience.<br />
<br />
<br />
&gt;<br />
&gt; &gt; functions or not. We could also introduce &quot;Incomplete&quot; state like it's<br />
&gt; &gt; done in PHPUnit for these tests.<br />
&gt;<br />
&gt; So what's the difference between xfail and incomplete?<br />
&gt;<br />
<br />
<a href="http://www.phpunit.de/manual/3.2/en/incomplete-and-skipped-tests.html" target="_blank"  rel="nofollow">http://www.phpunit.de/manual/3.2/en/incomplete-and-skipped-tests.html</a><br />
currently the XFAIL can mean that either the test is incomplete, or the<br />
functionality is missing/the code is broken, but we are expecting that for<br />
some reason.<br />
killing the XFAIL and adding the Incomplete test feature would allow the<br />
first, but the second should be a failing test.<br />
<br />
-- <br />
Ferenc Kovács<br />
@Tyr43l - <a href="http://tyrael.hu" target="_blank"  rel="nofollow">http://tyrael.hu</a>]]></description>
            <dc:creator>Ferenc Kovacs</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 01:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,470579,470585#msg-470585</guid>
            <title>Re: [PHP-DEV] Change all XFAIL tests to FAIL</title>
            <link>http://www.serverphorums.com/read.php?7,470579,470585#msg-470585</link>
            <description><![CDATA[ Hi!<br />
<br />
&gt; I've got a suggestion about refactoring our tests suite. I'd like to<br />
&gt; remove XFAIL institution and mark all failing tests just as FAIL.<br />
&gt; XFAIL has a problem that it hides attention from failing tests<br />
&gt; depending on not yet fixed bugs (most important), not yet implemented<br />
&gt; features (less important).<br />
&gt; Failed tests should make pain. They should bug you every day until you<br />
&gt; go and fix them.<br />
<br />
Please note that we were in that position and we moved from there. So to<br />
move back, we need some argument about what's different this time from<br />
the place we were a year ago.<br />
<br />
&gt; XFAILs serve now as a pain-killers, we've got about 50 of them in the<br />
&gt; repo, so devs (I assume) think this way: &quot;It's failing, but it's<br />
&gt; EXPECTED to fail, so let's leave it as is&quot;.<br />
<br />
Leaving it as is was happening anyway. It's not like we had crowds of<br />
devs descending on test fails but ignoring xfails. Most of xfails were<br />
fails and were sitting there ignored for years. So the difference was<br />
&quot;running constantly with 50 fails&quot; or &quot;having some xfails but detecting<br />
new fails easily since we have no or very little fails normally&quot;.<br />
The problem is exactly that there are no devs thinking like you imagine<br />
them to think.<br />
<br />
&gt; from a file) and use that. Failing tests should not be hidden.<br />
<br />
They are not hidden. But they were not being fixed when they were just<br />
fails - only thing that happened is that we constantly run with tons of<br />
fails, so it was impossible to distinguish situation of &quot;everything is<br />
fine&quot; from &quot;the build is FUBAR&quot;.<br />
<br />
&gt; functions or not. We could also introduce &quot;Incomplete&quot; state like it's<br />
&gt; done in PHPUnit for these tests.<br />
<br />
So what's the difference between xfail and incomplete?<br />
-- <br />
Stanislav Malyshev, Software Architect<br />
SugarCRM: <a href="http://www.sugarcrm.com/" target="_blank"  rel="nofollow">http://www.sugarcrm.com/</a><br />
(408)454-6900 ext. 227<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Stas Malyshev</dc:creator>
            <category>php-internals</category>
            <pubDate>Fri, 30 Mar 2012 00:30:02 +0200</pubDate>
        </item>
    </channel>
</rss>
