https://travis-ci.org/autotest/autotest/builds/12695319

Travis will clone autotest, install it with setup.py, then execute the
unittests. A well written unittest won't need external resources to run,
but some of ours are not quite like that:

======================================================================
ERROR: test_decompose_nominor_30
(autotest.client.kernelexpand_unittest.kernelexpandTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/autotest/client/kernelexpand_unittest.py",
line 31, in setUp
    settings.override_value('CLIENT', 'kernel_mirror', km)
  File
"/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/autotest/client/shared/settings.py",
line 133, in override_value
    self.config.set(section, key, new_value)
  File "/usr/lib/python2.7/ConfigParser.py", line 396, in set
    raise NoSectionError(section)
NoSectionError: No section: 'CLIENT'

So we need some unittest fixes, rinse and repeat until travis reports a
clean unittest run.


On Fri, Nov 1, 2013 at 11:57 AM, Chris Evich <[email protected]> wrote:

> On 11/01/2013 07:53 AM, Lucas Meneghel Rodrigues wrote:
> > This isn't Li's fault, it is consequence of the way travis runs the
> > unittests. I still haven't been able to figure out how to fix this.
> >
> > But in any case, Li, don't worry, I'll have to work on this.
>
> Oh! That's good to know.  Still, could you share what you think is the
> underlying problem?  Many eyes make all bugs shallow :)
>
> --
> Chris Evich, RHCA, RHCE, RHCDS, RHCSS
> Quality Assurance Engineer
> e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214
>



-- 
Lucas
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to