
--9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 04/06 14:19, Edward Haas wrote:
On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal <mzamazal@redhat.com> wrote: =20
Edward Haas <ehaas@redhat.com> writes:
On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal <mzamazal@redhat.com> wrote:
Thank you, Edward, this is useful not only for CI. I use docker f= or building Vdsm and running its unit tests and this helped me to get the proper updated set of packages after recent changes in Vdsm.
BTW, it seems that the following packages should be additionally added for `make check-all': psmisc, which, python-ioprocess
Are you saying that make check is passing on your local machine?
When I add the packages given above, `make check-all' (as well as `make check') works for me except for 4 tests in lib/vdsm/schedule.py that produce the following errors with `make check-all':
File "/home/pdm/ovirt/vdsm/vdsm-test/lib/vdsm/schedule.py", line 13= 4, in schedule heapq.heappush(self._calls, (deadline, call)) nose.proxy.TypeError: unorderable types: ScheduledCall() < ScheduledCall()
File "/home/pdm/ovirt/vdsm/vdsm-test/tests/scheduleTests.py", line 160, in test_latency med =3D ticker.latency[len(ticker.latency) / 2] nose.proxy.TypeError: list indices must be integers, not float
Those are probably Python 3 failures that should be fixed in Vdsm. The docker environment works fine for running the unit tests on my machine.
=20 I ran it on Travis CI with your recommended addition, and I am getting th= is result: FAILED (SKIP=3D107, errors=3D14): You can view the run here: https://travis-ci.org/EdDev/vdsm/builds/121117= 253
Afaik, you won't be able to run any tests that touch networking, or kernel modules (bonding and such). That is as much a limitation of travis as of docker, that was one of the points why we started using chroots instead of docker containers on ovirt ci.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com IRC: dcaro|dcaroest@{freenode|oftc|redhat} Web: www.redhat.com RHT Global #: 82-62605 --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXBPG/AAoJEEBxx+HSYmnDOfUH/1owj5bcM9PDqs5dFLohu5Us rRzAG1syutD1RKH6SoK6FvX2CHwsk2fc8hObEq8lASF7pwPfl6jKctceGiZXeNxC d3SLiYNyk9aTJPriz4zCqLKnem6FKkcSsDKFvLlJbKVGX6AaXO3YF9rbnml8Qxiv fr6k43u0ro/QHKZ5qvqJd8x1Y3Hmep2+nD7yWdd5sMLyUYdTdQnippJY+t7jkjEX 7IKZTU8Q8PZzQQ4t3pN4tobuA7IYfeMjPlxwo/Z5OXpeK0e/AZkeZXX5ztulbv7f 941Uacx2Ibo+KU1H50Jnak2MRCcllxDBbkUgXxcb8EcOem7hdtJTXqhLHP/Yo1E= =IhW6 -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--