[ovirt-devel] Lago + ovirt-system-tests run fail on collecting logs

Eyal Edri eedri at redhat.com
Sun Apr 10 15:06:09 UTC 2016


After running:

./run_suite.sh --cleanup basic_suite_3.6
./run_suite.sh basic_suite_3.6

The tests failed at [1]

Does it mean the cleanup stage failed? why would log collection fail
on a duplicate file?

I think it will be beneficial to support multiple logs and rotate it like
we do in ovirt for e.g,
Since a developer might run a few times without cleanning up the env.

Do we have an open issue for it? , cause I didn't find anything similar.


[1].

@ Collect artifacts: ERROR (in 0:00:00)
Error occured, aborting
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 248, in
do_run
    self.cli_plugins[args.ovirtverb].do_run(args)
  File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 180, in
do_run
    self._do_run(**vars(args))
  File "/usr/lib/python2.7/site-packages/lago/utils.py", line 501, in
wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/lago/utils.py", line 512, in
wrapper
    return func(*args, prefix=prefix, **kwargs)
  File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 217, in
do_ovirt_collect
    prefix.collect_artifacts(output)
  File "/usr/lib/python2.7/site-packages/lago/log_utils.py", line 598, in
wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 928, in
collect_artifacts
    os.makedirs(output_dir)
  File "/usr/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists:
'/home/eedri/lago/ovirt-system-tests/test_logs/basic_suite_3.6/post-001_initialize_engine.py'


-- 
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20160410/d95f07df/attachment-0001.html>


More information about the Devel mailing list