Run jenkins test on a rhel6 host
Dan Kenigsberg
danken at redhat.com
Sun Jan 20 14:34:52 UTC 2013
On Thu, Jan 17, 2013 at 03:58:55PM +0800, Mark Wu wrote:
> Hi guys,
>
> I am a vdsm developer. Recently I submit a vdsm patch fix a break
> on fedora 18. I just verify it on fedora, but not on RHEL6 before
> merged. Unfortunately, my patch called a function which
> has a bug on rhel6. That bug was fixed in fedora, but not backported
> to rhel6. So I am thinking is it possible to also run the jenkins
> test on a rhel6 host for each patch? Then we can find the break in
> time.
> and the developer don't need to run the test cases on two systems
> for one patch.
I'd like to join Mark's plea. I believe that the only problem is of finding
the resources for another Jenkins slave.
Missing an el6 slave is a pain point for me - I've
accepted Saggi's http://gerrit.ovirt.org/9986 and now Vdsm's master
branch fails to build on EL6 on the following grounds:
ERROR: testMethodBadParameters(reactorType='tcp') (jsonRpcTests.JsonRpcServerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mine/.rpm/BUILD/vdsm-4.10.3/tests/testrunner.py", line 65, in wrapper
return f(self, *args)
File "/home/mine/.rpm/BUILD/vdsm-4.10.3/tests/jsonRpcTests.py", line 273, in testMethodBadParameters
JsonRpcInternalError().code)
File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
self.gen.throw(type, value, traceback)
File "/home/mine/.rpm/BUILD/vdsm-4.10.3/tests/jsonRpcTests.py", line 97, in constructServer
yield server, jsonClientFactory
File "/home/mine/.rpm/BUILD/vdsm-4.10.3/tests/jsonRpcTests.py", line 269, in testMethodBadParameters
with self.assertRaises(JsonRpcError) as cm:
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: testMethodMissingMethod(reactorType='tcp') (jsonRpcTests.JsonRpcServerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mine/.rpm/BUILD/vdsm-4.10.3/tests/testrunner.py", line 65, in wrapper
return f(self, *args)
File "/home/mine/.rpm/BUILD/vdsm-4.10.3/tests/jsonRpcTests.py", line 258, in testMethodMissingMethod
JsonRpcMethodNotFoundError().code)
File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
self.gen.throw(type, value, traceback)
File "/home/mine/.rpm/BUILD/vdsm-4.10.3/tests/jsonRpcTests.py", line 97, in constructServer
yield server, jsonClientFactory
File "/home/mine/.rpm/BUILD/vdsm-4.10.3/tests/jsonRpcTests.py", line 254, in testMethodMissingMethod
with self.assertRaises(JsonRpcError) as cm:
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
More information about the Infra
mailing list