On 10/12/06, <b class="gmail_sendername">Maciek Fijalkowski</b> &lt;<a href="mailto:fijal@genesilico.pl">fijal@genesilico.pl</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Grig Gheorghiu wrote:<br><br>&gt; On 10/12/06, *Grig Gheorghiu* &lt;<a href="mailto:grig@agilistas.org">grig@agilistas.org</a><br>&gt; &lt;mailto:<a href="mailto:grig@agilistas.org">grig@agilistas.org</a>&gt;&gt; wrote:<br>
&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; On 10/12/06, *holger krekel* &lt;<a href="mailto:hpk@trillke.net">hpk@trillke.net</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:hpk@trillke.net">hpk@trillke.net</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; go ahead and post here any problems :)
<br>&gt;<br>&gt;<br>&gt;<br>&gt; OK, I just did an svn co of the py lib on an Ubuntu Breezy box and I<br>&gt; get 2 failures when running py.test in the topmost directory:<br>&gt;<br>&gt; ________________________ entrypoint: test_importall[81]
<br>&gt; ________________________<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; def check_import(modpath):<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print &quot;checking import&quot;, modpath<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assert __import__(modpath)<br>&gt;<br>&gt; [/tmp/pylib/py/misc/testing/test_initpkg.py:67]
<br>&gt; _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _<br>&gt; _ _ _ _ _<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &quot;&quot;&quot;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; from py.__.test.rsession.web import exported_methods<br>&gt; E&nbsp;&nbsp; from 
pypy.translator.js.modules import _dom as dom<br>&gt; &gt;&nbsp;&nbsp; ImportError: No module named pypy.translator.js.modules<br>&gt;<br>&gt; [/tmp/pylib/py/test/rsession/webjs.py:6]<br>&gt; - - - - - - - - - - - - - -&nbsp;&nbsp;[81]: recorded stdout - - - - - - - - - -
<br>&gt; - - - - -<br>&gt; checking import py.__.test.rsession.webjs<br>&gt;<br>&gt; ________________________________________________________________________________<br>&gt;<br>&gt; ______________________ entrypoint: test_slave_main_simple
<br>&gt; ______________________<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; def test_slave_main_simple():<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; res = []<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; q = [None,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;funcpass_spec,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;funcfail_spec<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; slave_main(q.pop, res.append, str(rootdir))<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assert len(res) == 2<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; res_repr = [ReprOutcome(r) for r in res]<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assert not res_repr[0].passed<br>&gt; E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assert res_repr[1].passed
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assert &lt;ReprOutcome signal=0 passed=False skipped=None<br>&gt; setupfailure=False excinfo=&lt;Ex...close()\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self.retval =<br>&gt; marshal.loads(retval_data)]&gt; stdout= stderr=&gt;.passed
<br>&gt;<br>&gt; [/tmp/pylib/py/test/rsession/testing/test_slave.py:110]<br>&gt; ________________________________________________________________________________<br>&gt; ===== tests finished: 1168 passed, 2 failed, 53 skipped in 
137.70<br>&gt; seconds ======<br>&gt;<br>&gt;<br>&gt; Looks like the first test tries to import something from pypy, which I<br>&gt; haven't checked out. The second test -- not sure why it fails. Are<br>&gt; these failures expected?
<br>&gt;<br>&gt; Grig<br>&gt;<br>&gt;------------------------------------------------------------------------<br>&gt;<br>&gt;_______________________________________________<br>&gt;py-dev mailing list<br>&gt;<a href="mailto:py-dev@codespeak.net">
py-dev@codespeak.net</a><br>&gt;<a href="http://codespeak.net/mailman/listinfo/py-dev">http://codespeak.net/mailman/listinfo/py-dev</a><br>&gt;<br>&gt;<br>Ok, first one is fixed (blame me), while the second one is a bit<br>
misterious for me. Can you reproduce it?</blockquote><div><br><br>I just enabled the testing of py.test on one of my Pybots buildslaves. The current Pybots build farm is here:<br><br><a href="http://www.python.org/dev/buildbot/community/all/">
http://www.python.org/dev/buildbot/community/all/</a><br><br>There are 2 tests that fail (the pypy one was fixed). See the output here:<br><br><a href="http://www.python.org/dev/buildbot/community/all/x86%20Ubuntu%20Breezy%20trunk/builds/34/step-py.test/0">
http://www.python.org/dev/buildbot/community/all/x86%20Ubuntu%20Breezy%20trunk/builds/34/step-py.test/0</a><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Btw: I'm quite curious about that, can we get test reports if they fail<br>to py-dev mailing list?<br></blockquote></div><br><br>I'm working on getting email notifications to work from the buildmaster, which is hosted on 
<a href="http://python.org">python.org</a> -- and there are some issues with outgoing email from there. As soon as I solve this issue, I'll configure the buildmaster so it sends notifications on py.test failures to this mailing list.
<br><br>Grig<br>