[py-dev] Running py lib unit tests in Pybots
Grig Gheorghiu
grig at agilistas.org
Fri Oct 13 01:57:03 CEST 2006
On 10/12/06, Maciek Fijalkowski <fijal at genesilico.pl> wrote:
>
> Grig Gheorghiu wrote:
>
> > On 10/12/06, *Grig Gheorghiu* <grig at agilistas.org
> > <mailto:grig at agilistas.org>> wrote:
> >
> > On 10/12/06, *holger krekel* <hpk at trillke.net
> > <mailto:hpk at trillke.net>> wrote:
> >
> > go ahead and post here any problems :)
> >
> >
> >
> > OK, I just did an svn co of the py lib on an Ubuntu Breezy box and I
> > get 2 failures when running py.test in the topmost directory:
> >
> > ________________________ entrypoint: test_importall[81]
> > ________________________
> >
> > def check_import(modpath):
> > print "checking import", modpath
> > > assert __import__(modpath)
> >
> > [/tmp/pylib/py/misc/testing/test_initpkg.py:67]
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> > _ _ _ _ _
> >
> > """
> >
> > from py.__.test.rsession.web import exported_methods
> > E from pypy.translator.js.modules import _dom as dom
> > > ImportError: No module named pypy.translator.js.modules
> >
> > [/tmp/pylib/py/test/rsession/webjs.py:6]
> > - - - - - - - - - - - - - - [81]: recorded stdout - - - - - - - - - -
> > - - - - -
> > checking import py.__.test.rsession.webjs
> >
> >
> ________________________________________________________________________________
> >
> > ______________________ entrypoint: test_slave_main_simple
> > ______________________
> >
> > def test_slave_main_simple():
> > res = []
> > q = [None,
> > funcpass_spec,
> > funcfail_spec
> > ]
> > slave_main(q.pop, res.append, str(rootdir))
> > assert len(res) == 2
> > res_repr = [ReprOutcome(r) for r in res]
> > assert not res_repr[0].passed
> > E assert res_repr[1].passed
> > > assert <ReprOutcome signal=0 passed=False skipped=None
> > setupfailure=False excinfo=<Ex...close()\n self.retval =
> > marshal.loads(retval_data)]> stdout= stderr=>.passed
> >
> > [/tmp/pylib/py/test/rsession/testing/test_slave.py:110]
> >
> ________________________________________________________________________________
> > ===== tests finished: 1168 passed, 2 failed, 53 skipped in 137.70
> > seconds ======
> >
> >
> > Looks like the first test tries to import something from pypy, which I
> > haven't checked out. The second test -- not sure why it fails. Are
> > these failures expected?
> >
> > Grig
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >py-dev mailing list
> >py-dev at codespeak.net
> >http://codespeak.net/mailman/listinfo/py-dev
> >
> >
> Ok, first one is fixed (blame me), while the second one is a bit
> misterious for me. Can you reproduce it?
I just enabled the testing of py.test on one of my Pybots buildslaves. The
current Pybots build farm is here:
http://www.python.org/dev/buildbot/community/all/
There are 2 tests that fail (the pypy one was fixed). See the output here:
http://www.python.org/dev/buildbot/community/all/x86%20Ubuntu%20Breezy%20trunk/builds/34/step-py.test/0
Btw: I'm quite curious about that, can we get test reports if they fail
> to py-dev mailing list?
>
I'm working on getting email notifications to work from the buildmaster,
which is hosted on python.org -- 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.
Grig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20061012/f92a5ace/attachment.html>
More information about the Pytest-dev
mailing list