[ovirt-devel] DAO tests are failing on master
Idan Shaby
ishaby at redhat.com
Thu Oct 23 07:03:21 UTC 2014
Hi,
I tried:
make clean maven BUILD_GWT=0 BUILD_UT=1 EXTRA_BUILD_FLAGS="-P enable-dao-tests -D engine.db.username=engine -D engine.db.password=engine -D engine.db.url=jdbc:postgresql://localhost/engine_dao_tests"
and got the same results.
Only when I dropped the engine_dao_tests DB, reinstalled it and ran "make clean maven.." again it succeeded.
Thanks everyone,
Idan
----- Original Message -----
> From: "Martin Perina" <mperina at redhat.com>
> To: "Idan Shaby" <ishaby at redhat.com>
> Cc: devel at ovirt.org, "Yair Zaslavsky" <yzaslavs at redhat.com>
> Sent: Wednesday, October 22, 2014 12:21:12 PM
> Subject: Re: [ovirt-devel] DAO tests are failing on master
>
> I just tried a few minutes ago, DAO tests are working fine for me
> on master (1b9b2e0c42ab1c753f3a4e69b2f7279d3a931f91)
>
> Try to clear and recreate your testing db.
>
> Martin
>
> ----- Original Message -----
> > From: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > To: "Idan Shaby" <ishaby at redhat.com>
> > Cc: devel at ovirt.org
> > Sent: Wednesday, October 22, 2014 11:09:02 AM
> > Subject: Re: [ovirt-devel] DAO tests are failing on master
> >
> > Looks like a hashcode/equals problem.
> > I tried git log on VmNumaNode.java - doesnt look like it changed for a
> > while.
> > Same for VdsNumaNode, and same for the DAOs and the SPs.
> > This is strange.
> > Are you sure you don't have some dirt on your environment?
> >
> > Yair
> >
> >
> >
> >
> > ----- Original Message -----
> > > From: "Idan Shaby" <ishaby at redhat.com>
> > > To: devel at ovirt.org
> > > Sent: Wednesday, October 22, 2014 11:07:40 AM
> > > Subject: [ovirt-devel] DAO tests are failing on master
> > >
> > > Hi,
> > >
> > > Two tests are failing on class VmNumaNodeDAOTest:
> > >
> > > - testGetAllPinnedVmNumaNodeByVdsNumaNodeId
> > > - testGetAllVmNumaNodeByVdsNumaNodeId
> > >
> > >
> > > The relevant part of the output:
> > >
> > > Failed tests:
> > > testGetAllPinnedVmNumaNodeByVdsNumaNodeId(org.ovirt.engine.core.dao.VmNumaNodeDAOTest):
> > > expected:<3c2b81e6-5080-4ad1-86a1-cf513b15b515> but
> > > was:<3c2b81e6-5080-4ad1-86a1-cf513b15b516>
> > > testGetAllVmNumaNodeByVdsNumaNodeId(org.ovirt.engine.core.dao.VmNumaNodeDAOTest):
> > > expected:<3c2b81e6-5080-4ad1-86a1-cf513b15b515> but
> > > was:<3c2b81e6-5080-4ad1-86a1-cf513b15b516>
> > >
> > > Tests run: 1386, Failures: 2, Errors: 0, Skipped: 0
> > >
> > >
> > > My "mvn -version" output:
> > >
> > > Apache Maven 3.1.1 (NON-CANONICAL_2013-11-08_14-32_mockbuild; 2013-11-08
> > > 16:32:41+0200)
> > > Maven home: /usr/share/maven
> > > Java version: 1.7.0_45, vendor: Oracle Corporation
> > > Java home:
> > > /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre
> > > Default locale: en_US, platform encoding: UTF-8
> > > OS name: "linux", version: "3.15.10-200.fc20.x86_64", arch: "amd64",
> > > family:
> > > "unix"
> > >
> > > Anyone knows something about this?
> > >
> > > Thanks,
> > > Idan
> > > _______________________________________________
> > > Devel mailing list
> > > Devel at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/devel
> > >
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> >
>
More information about the Devel
mailing list