
Hi, I wanted to ask you if you know about a Jenkins job that is using 'python-mock' pkg? if you do please let me know. Thanks in advanced, -- Shlomi Ben-David | Software Engineer | Red Hat ISRAEL OPEN SOURCE - 1 4 011 && 011 4 1

My only guess would be old VDSM functional tests or unit test using mock. Yaniv/Danken? e. On Wed, Apr 6, 2016 at 2:40 PM, Shlomi Ben David <sbendavi@redhat.com> wrote:
Hi,
I wanted to ask you if you know about a Jenkins job that is using 'python-mock' pkg? if you do please let me know.
Thanks in advanced,
-- Shlomi Ben-David | Software Engineer | Red Hat ISRAEL
OPEN SOURCE - 1 4 011 && 011 4 1
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Eyal Edri Associate Manager RHEV DevOps EMEA ENG Virtualization R&D Red Hat Israel phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)

On Wed, Apr 6, 2016 at 3:22 PM, Eyal Edri <eedri@redhat.com> wrote:
My only guess would be old VDSM functional tests or unit test using mock. Yaniv/Danken?
e.
On Wed, Apr 6, 2016 at 2:40 PM, Shlomi Ben David <sbendavi@redhat.com> wrote:
Hi,
I wanted to ask you if you know about a Jenkins job that is using 'python-mock' pkg? if you do please let me know.
Thanks in advanced,
-- Shlomi Ben-David | Software Engineer | Red Hat ISRAEL
OPEN SOURCE - 1 4 011 && 011 4 1
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Eyal Edri Associate Manager RHEV DevOps EMEA ENG Virtualization R&D Red Hat Israel
phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
VDSM is currently not using it, but a proposal to use it has been raised: https://gerrit.ovirt.org/#/c/55342/ It is a powerful mocking library that has been added to python3. It will be nice to hear how others use it and why. Thanks, Edy.

adding infra, as seems the package isn't needed to be supported natively, and it was failing puppet run on el7 slaves(the package name was changed from python-mock to python2-mock in epel), I've sent a patch to drop it, will wait 2 more days to see if anyone else objects. On Thu, Apr 7, 2016 at 11:01 AM, Edward Haas <ehaas@redhat.com> wrote:
On Wed, Apr 6, 2016 at 3:22 PM, Eyal Edri <eedri@redhat.com> wrote:
My only guess would be old VDSM functional tests or unit test using mock. Yaniv/Danken?
e.
On Wed, Apr 6, 2016 at 2:40 PM, Shlomi Ben David <sbendavi@redhat.com> wrote:
Hi,
I wanted to ask you if you know about a Jenkins job that is using 'python-mock' pkg? if you do please let me know.
Thanks in advanced,
-- Shlomi Ben-David | Software Engineer | Red Hat ISRAEL
OPEN SOURCE - 1 4 011 && 011 4 1
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Eyal Edri Associate Manager RHEV DevOps EMEA ENG Virtualization R&D Red Hat Israel
phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
VDSM is currently not using it, but a proposal to use it has been raised: https://gerrit.ovirt.org/#/c/55342/ It is a powerful mocking library that has been added to python3.
It will be nice to hear how others use it and why.
Thanks, Edy.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

----- Original Message -----
From: "Shlomi Ben David" <sbendavi@redhat.com> To: devel@ovirt.org Sent: Wednesday, April 6, 2016 1:40:54 PM Subject: [ovirt-devel] python-mock
Hi,
I wanted to ask you if you know about a Jenkins job that is using 'python-mock' pkg? if you do please let me know.
We use mock for ovirt-setup-lib unit tests, and while they are not running in Jenkins yet, we will activate a job for it soon. Thanks, Rafael
Thanks in advanced,
-- Shlomi Ben-David | Software Engineer | Red Hat ISRAEL
OPEN SOURCE - 1 4 011 && 011 4 1
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Wed, Apr 6, 2016 at 3:35 PM, Rafael Martins <rmartins@redhat.com> wrote:
----- Original Message -----
From: "Shlomi Ben David" <sbendavi@redhat.com> To: devel@ovirt.org Sent: Wednesday, April 6, 2016 1:40:54 PM Subject: [ovirt-devel] python-mock
Hi,
I wanted to ask you if you know about a Jenkins job that is using 'python-mock' pkg? if you do please let me know.
We use mock for ovirt-setup-lib unit tests, and while they are not running in Jenkins yet, we will activate a job for it soon.
AFAIK ovirt-setup-lib jobs uses standard CI, and you will get the pkg from mock (not python-mock :), so its not needed to the slave itself.
Thanks,
Rafael
Thanks in advanced,
-- Shlomi Ben-David | Software Engineer | Red Hat ISRAEL
OPEN SOURCE - 1 4 011 && 011 4 1
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Eyal Edri Associate Manager RHEV DevOps EMEA ENG Virtualization R&D Red Hat Israel phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)

----- Original Message -----
From: "Eyal Edri" <eedri@redhat.com> To: "Rafael Martins" <rmartins@redhat.com> Cc: "shlomi ben david" <shlomi.ben.david@redhat.com>, "devel" <devel@ovirt.org> Sent: Wednesday, April 6, 2016 2:41:05 PM Subject: Re: [ovirt-devel] python-mock
On Wed, Apr 6, 2016 at 3:35 PM, Rafael Martins <rmartins@redhat.com> wrote:
----- Original Message -----
From: "Shlomi Ben David" <sbendavi@redhat.com> To: devel@ovirt.org Sent: Wednesday, April 6, 2016 1:40:54 PM Subject: [ovirt-devel] python-mock
Hi,
I wanted to ask you if you know about a Jenkins job that is using 'python-mock' pkg? if you do please let me know.
We use mock for ovirt-setup-lib unit tests, and while they are not running in Jenkins yet, we will activate a job for it soon.
AFAIK ovirt-setup-lib jobs uses standard CI, and you will get the pkg from mock (not python-mock :), so its not needed to the slave itself.
Sorry, I meant that we use python-mock. I always forget that we have a name clash here with the mock building tool. :) The current ovirt-setup-lib jobs are not running the unit test suite. I started writing it some time ago, but hadn't time to finish testing everything and integrate it properly with jenkins yet, so it does not uses python-mock now, but will use soon. Also, we have plans to add unit tests to more and more ovirt-setup packages, and they will use python-mock for sure. Thanks. Rafael
Thanks,
Rafael
Thanks in advanced,
-- Shlomi Ben-David | Software Engineer | Red Hat ISRAEL
OPEN SOURCE - 1 4 011 && 011 4 1
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Eyal Edri Associate Manager RHEV DevOps EMEA ENG Virtualization R&D Red Hat Israel
phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)

We use mock for ovirt-setup-lib unit tests, and while they are not running in Jenkins yet, we will activate a job for it soon.
If the job is non-existent, you will most probably creates a standard-CI jobs that can get its own dependencies when it needs them, so this question is not relevant for you. -- Barak Korren bkorren@redhat.com RHEV-CI Team

----- Original Message -----
From: "Barak Korren" <bkorren@redhat.com> To: "Rafael Martins" <rmartins@redhat.com> Cc: "shlomi ben david" <shlomi.ben.david@redhat.com>, "devel" <devel@ovirt.org> Sent: Wednesday, April 6, 2016 2:42:50 PM Subject: Re: [ovirt-devel] python-mock
We use mock for ovirt-setup-lib unit tests, and while they are not running in Jenkins yet, we will activate a job for it soon.
If the job is non-existent, you will most probably creates a standard-CI jobs that can get its own dependencies when it needs them, so this question is not relevant for you.
Sure, that's ok then. Thanks. Rafael
-- Barak Korren bkorren@redhat.com RHEV-CI Team
participants (6)
-
Barak Korren
-
Edward Haas
-
Eyal Edri
-
Nadav Goldin
-
Rafael Martins
-
Shlomi Ben David