Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437268 - app-admin/salt[test]: tries to remove system files...
Summary: app-admin/salt[test]: tries to remove system files...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal blocker (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-05 08:43 UTC by Michał Górny
Modified: 2013-05-04 23:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-10-05 08:43:20 UTC
running test
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Setting up Salt daemons to execute tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No handlers could be found for logger "salt.utils"
Traceback (most recent call last):
  File "/tmp/portage/app-admin/salt-0.10.0/work/impl_python2_6/salt-0.10.0/tests/runtests.py", line 172, in <module>
    status = run_integration_tests(opts)
  File "/tmp/portage/app-admin/salt-0.10.0/work/impl_python2_6/salt-0.10.0/tests/runtests.py", line 63, in run_integration_tests
    with TestDaemon():
  File "/tmp/portage/app-admin/salt-0.10.0/work/impl_python2_6/salt-0.10.0/tests/integration/__init__.py", line 71, in __enter__
    self._clean()
  File "/tmp/portage/app-admin/salt-0.10.0/work/impl_python2_6/salt-0.10.0/tests/integration/__init__.py", line 131, in _clean
    shutil.rmtree(self.sub_minion_opts['root_dir'])
  File "/usr/lib64/python2.7/shutil.py", line 245, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib64/python2.7/shutil.py", line 245, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib64/python2.7/shutil.py", line 250, in rmtree
    onerror(os.remove, fullname, sys.exc_info())
  File "/usr/lib64/python2.7/shutil.py", line 248, in rmtree
    os.remove(fullname)
OSError: [Errno 13] Permission denied: '/usr/lib64/libsvn_diff-1.so'

It looks like test failure cleanup tries to clean up the whole system...
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-11-29 11:39:28 UTC
Due to lack of response, I have added RESTRICT=test.
Comment 2 Patrick McLean gentoo-dev 2013-05-04 23:02:37 UTC
Fixed in >=0.14