Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Dan Kenigsberg
On Tue, Apr 05, 2016 at 06:22:20PM +0300, Edward Haas wrote: > Hi All, > > The following patch is proposing to run VDSM unit tests on Travis CI. > It uses Docker, GitHub and Travis CI integration. > > We can extend the usage and run coverage with historic information using > coveralls.io service

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Milan Zamazal
Edward Haas writes: > The following patch is proposing to run VDSM unit tests on Travis CI. Thank you, Edward, this is useful not only for CI. I use docker for building Vdsm and running its unit tests and this helped me to get the proper updated set of packages after recent changes in Vdsm. BT

[ovirt-devel] How to debug NullPointerException for project restapi-def inition of version 3.6.4.1?

2016-04-06 Thread Kai Kang
Hi, I am building ovirt-engine 3.6.4.1 and failed with NullPointerException. I build for cross compile with commands: tmp_repo=/buildarea3/kkang/builds/Mar31-ovrit-engine/bitbake_build/tmp/work/corei7-64-wrs-linux/ovirt-engine/3.6.4.1-r0/repo export MAVEN_OPTS="-Dmaven.repo.local=$tmp_repo"

Re: [ovirt-devel] How to debug NullPointerException for project restapi-def inition of version 3.6.4.1?

2016-04-06 Thread Juan Hernández
On 04/06/2016 11:51 AM, Kai Kang wrote: > Hi, > > I am building ovirt-engine 3.6.4.1 and failed with NullPointerException. > I build for cross compile with commands: > > > > tmp_repo=/buildarea3/kkang/builds/Mar31-ovrit-engine/bitbake_build/tmp/work/corei7-64-wrs-linux/ovirt-engine/3.6.4.1-r

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Edward Haas
On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal wrote: > Edward Haas writes: > > > The following patch is proposing to run VDSM unit tests on Travis CI. > > Thank you, Edward, this is useful not only for CI. I use docker for > building Vdsm and running its unit tests and this helped me to get th

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Milan Zamazal
Edward Haas writes: > On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal wrote: > > Thank you, Edward, this is useful not only for CI. I use docker for > building Vdsm and running its unit tests and this helped me to get the > proper updated set of packages after recent changes in Vdsm.

[ovirt-devel] [ANN] oVirt 4.0.0 First Alpha Release is now available for testing

2016-04-06 Thread Sandro Bonazzola
The oVirt Project is pleased to announce the availability of the First Alpha Release of oVirt 4.0.0 for testing, as of April 5th, 2016 This is pre-release software. Please take a look at our community page[1] to know how to ask questions and interact with developers and users. All issues or bugs s

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Nir Soffer
On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal wrote: > Edward Haas writes: > >> On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal wrote: >> >> Thank you, Edward, this is useful not only for CI. I use docker for >> building Vdsm and running its unit tests and this helped me to get the >>

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Nir Soffer
On Tue, Apr 5, 2016 at 6:22 PM, Edward Haas wrote: > Hi All, > > The following patch is proposing to run VDSM unit tests on Travis CI. > It uses Docker, GitHub and Travis CI integration. > > We can extend the usage and run coverage with historic information using > coveralls.io service (or similar

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Milan Zamazal
Nir Soffer writes: > Can you send a patch to add the missing packages to our travis config? I think it's better to continue on your `travis' topic: - `psmisc' is needed by tests/fuserTests.py (it contains /usr/sbin/fuser) - `which' is needed by CommandPathTests.testExistingNotInPaths in tests

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Edward Haas
On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal wrote: > Edward Haas writes: > > > On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal > wrote: > > > > Thank you, Edward, this is useful not only for CI. I use docker for > > building Vdsm and running its unit tests and this helped me to get > t

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Nir Soffer
On Wed, Apr 6, 2016 at 2:19 PM, Edward Haas wrote: > > > On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal wrote: >> >> Edward Haas writes: >> >> > On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal >> > wrote: >> > >> > Thank you, Edward, this is useful not only for CI. I use docker for >> > b

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread David Caro
On 04/06 14:19, Edward Haas wrote: > On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal wrote: > > > Edward Haas writes: > > > > > On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal > > wrote: > > > > > > Thank you, Edward, this is useful not only for CI. I use docker for > > > building Vdsm and

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Edward Haas
On Wed, Apr 6, 2016 at 2:23 PM, David Caro wrote: > On 04/06 14:19, Edward Haas wrote: > > On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal > wrote: > > > > > Edward Haas writes: > > > > > > > On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal > > > wrote: > > > > > > > > Thank you, Edward, this

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Milan Zamazal
Edward Haas writes: > I ran it on Travis CI with your recommended addition, and I am getting this > result: FAILED (SKIP=107, errors=14): > You can view the run here: https://travis-ci.org/EdDev/vdsm/builds/121117253 I see, the difference is I don't run the tests as root in my docker. _

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Yaniv Kaul
On Wed, Apr 6, 2016 at 2:23 PM, David Caro wrote: > On 04/06 14:19, Edward Haas wrote: > > On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal > wrote: > > > > > Edward Haas writes: > > > > > > > On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal > > > wrote: > > > > > > > > Thank you, Edward, this

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread David Caro
On 04/06 14:31, Yaniv Kaul wrote: > On Wed, Apr 6, 2016 at 2:23 PM, David Caro wrote: > > > On 04/06 14:19, Edward Haas wrote: > > > On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal > > wrote: > > > > > > > Edward Haas writes: > > > > > > > > > On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal > > >

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Edward Haas
On Wed, Apr 6, 2016 at 2:23 PM, Nir Soffer wrote: > On Wed, Apr 6, 2016 at 2:19 PM, Edward Haas wrote: > > > > > > On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal > wrote: > >> > >> Edward Haas writes: > >> > >> > On Wed, Apr 6, 2016 at 11:39 AM, Milan Zamazal > >> > wrote: > >> > > >> > Th

[ovirt-devel] python-mock

2016-04-06 Thread Shlomi Ben David
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 li

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Nir Soffer
On Wed, Apr 6, 2016 at 2:33 PM, Edward Haas wrote: > > > On Wed, Apr 6, 2016 at 2:23 PM, Nir Soffer wrote: >> >> On Wed, Apr 6, 2016 at 2:19 PM, Edward Haas wrote: >> > >> > >> > On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal >> > wrote: >> >> >> >> Edward Haas writes: >> >> >> >> > On Wed, Apr

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Edward Haas
On Wed, Apr 6, 2016 at 2:41 PM, Nir Soffer wrote: > On Wed, Apr 6, 2016 at 2:33 PM, Edward Haas wrote: > > > > > > On Wed, Apr 6, 2016 at 2:23 PM, Nir Soffer wrote: > >> > >> On Wed, Apr 6, 2016 at 2:19 PM, Edward Haas wrote: > >> > > >> > > >> > On Wed, Apr 6, 2016 at 1:41 PM, Milan Zamazal

Re: [ovirt-devel] python-mock

2016-04-06 Thread Eyal Edri
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 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 advance

Re: [ovirt-devel] python-mock

2016-04-06 Thread Rafael Martins
- Original Message - > From: "Shlomi Ben David" > 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

Re: [ovirt-devel] python-mock

2016-04-06 Thread Eyal Edri
On Wed, Apr 6, 2016 at 3:35 PM, Rafael Martins wrote: > - Original Message - > > From: "Shlomi Ben David" > > 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 t

Re: [ovirt-devel] python-mock

2016-04-06 Thread Barak Korren
> > 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 releva

Re: [ovirt-devel] python-mock

2016-04-06 Thread Rafael Martins
- Original Message - > From: "Eyal Edri" > To: "Rafael Martins" > Cc: "shlomi ben david" , "devel" > > 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 wrote: > > > - Original Message - > > >

Re: [ovirt-devel] python-mock

2016-04-06 Thread Rafael Martins
- Original Message - > From: "Barak Korren" > To: "Rafael Martins" > Cc: "shlomi ben david" , "devel" > > 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 Jenki

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Nir Soffer
On Wed, Apr 6, 2016 at 2:55 PM, Edward Haas wrote: > > > On Wed, Apr 6, 2016 at 2:41 PM, Nir Soffer wrote: >> >> On Wed, Apr 6, 2016 at 2:33 PM, Edward Haas wrote: >> > >> > >> > On Wed, Apr 6, 2016 at 2:23 PM, Nir Soffer wrote: >> >> >> >> On Wed, Apr 6, 2016 at 2:19 PM, Edward Haas wrote: >>

Re: [ovirt-devel] [vdsm] Running VDSM unit tests on Travis CI using Docker

2016-04-06 Thread Martin Sivak
> 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. You might be able to ask for the old

Re: [ovirt-devel] How to debug NullPointerException for project restapi-def inition of version 3.6.4.1?

2016-04-06 Thread Kai Kang
On Wed, Apr 6, 2016 at 6:03 PM, Juan Hernández wrote: > On 04/06/2016 11:51 AM, Kai Kang wrote: > > Hi, > > > > I am building ovirt-engine 3.6.4.1 and failed with NullPointerException. > > I build for cross compile with commands: > > > > > > > > > tmp_repo=/buildarea3/kkang/builds/Mar31-ovrit-eng

Re: [ovirt-devel] How to debug NullPointerException for project restapi-def inition of version 3.6.4.1?

2016-04-06 Thread Martin Mucha
- Original Message - > > > On Wed, Apr 6, 2016 at 6:03 PM, Juan Hernández < jhern...@redhat.com > wrote: > > > > On 04/06/2016 11:51 AM, Kai Kang wrote: > > Hi, > > > > I am building ovirt-engine 3.6.4.1 and failed with NullPointerException. > > I build for cross compile with comman