-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make check/run_tests.sh fails in Opensuse Leap 42.2 without sudo #210
Labels
Comments
You need to remove the whole directory, because it was probably created by
root before: /home/danielhb/wok/data
…On Wed, Mar 15, 2017 at 4:53 PM, Daniel Henrique Barboza < ***@***.***> wrote:
ERROR: setUpModule (test_api)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_api.py", line 40, in setUpModule
test_server = utils.run_server(test_mode=True)
File "utils.py", line 102, in run_server
s = wok.server.Server(args)
File "/home/danielhb/wok/src/wok/server.py", line 149, in __init__
self.reqLogger = RequestLogger()
File "/home/danielhb/wok/src/wok/reqlogger.py", line 130, in __init__
h = logging.handlers.WatchedFileHandler(log, 'a')
File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/danielhb/wok/data/user-requests.data'
======================================================================
ERROR: setUpModule (test_authorization)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_authorization.py", line 33, in setUpModule
test_server = run_server(test_mode=True)
File "/home/danielhb/wok/tests/utils.py", line 102, in run_server
s = wok.server.Server(args)
File "/home/danielhb/wok/src/wok/server.py", line 149, in __init__
self.reqLogger = RequestLogger()
File "/home/danielhb/wok/src/wok/reqlogger.py", line 130, in __init__
h = logging.handlers.WatchedFileHandler(log, 'a')
File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/danielhb/wok/data/user-requests.data'
======================================================================
ERROR: test_development_env (test_exception.ExceptionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_exception.py", line 78, in test_development_env
setup_server()
File "test_exception.py", line 36, in setup_server
test_server = run_server(test_mode=True, environment=environment)
File "utils.py", line 102, in run_server
s = wok.server.Server(args)
File "/home/danielhb/wok/src/wok/server.py", line 149, in __init__
self.reqLogger = RequestLogger()
File "/home/danielhb/wok/src/wok/reqlogger.py", line 130, in __init__
h = logging.handlers.WatchedFileHandler(log, 'a')
File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/danielhb/wok/data/user-requests.data'
======================================================================
ERROR: test_development_env (test_exception.ExceptionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_exception.py", line 41, in tearDown
test_server.stop()
AttributeError: 'NoneType' object has no attribute 'stop'
======================================================================
ERROR: test_production_env (test_exception.ExceptionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_exception.py", line 47, in test_production_env
setup_server('production')
File "test_exception.py", line 36, in setup_server
test_server = run_server(test_mode=True, environment=environment)
File "utils.py", line 102, in run_server
s = wok.server.Server(args)
File "/home/danielhb/wok/src/wok/server.py", line 149, in __init__
self.reqLogger = RequestLogger()
File "/home/danielhb/wok/src/wok/reqlogger.py", line 130, in __init__
h = logging.handlers.WatchedFileHandler(log, 'a')
File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/danielhb/wok/data/user-requests.data'
======================================================================
ERROR: test_production_env (test_exception.ExceptionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_exception.py", line 41, in tearDown
test_server.stop()
AttributeError: 'NoneType' object has no attribute 'stop'
======================================================================
ERROR: setUpModule (test_plugin)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_plugin.py", line 39, in setUpModule
test_server = utils.run_server(test_mode=True)
File "utils.py", line 102, in run_server
s = wok.server.Server(args)
File "/home/danielhb/wok/src/wok/server.py", line 149, in __init__
self.reqLogger = RequestLogger()
File "/home/danielhb/wok/src/wok/reqlogger.py", line 130, in __init__
h = logging.handlers.WatchedFileHandler(log, 'a')
File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/danielhb/wok/data/user-requests.data'
======================================================================
ERROR: setUpModule (test_server)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_server.py", line 45, in setUpModule
test_server = utils.run_server(test_mode=True)
File "utils.py", line 102, in run_server
s = wok.server.Server(args)
File "/home/danielhb/wok/src/wok/server.py", line 149, in __init__
self.reqLogger = RequestLogger()
File "/home/danielhb/wok/src/wok/reqlogger.py", line 130, in __init__
h = logging.handlers.WatchedFileHandler(log, 'a')
File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/danielhb/wok/data/user-requests.data'
======================================================================
ERROR: test_development_env (test_server_root.ServerRootTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_server_root.py", line 59, in test_development_env
setup_server(server_root=server_root)
File "test_server_root.py", line 35, in setup_server
server_root=server_root)
File "utils.py", line 102, in run_server
s = wok.server.Server(args)
File "/home/danielhb/wok/src/wok/server.py", line 149, in __init__
self.reqLogger = RequestLogger()
File "/home/danielhb/wok/src/wok/reqlogger.py", line 130, in __init__
h = logging.handlers.WatchedFileHandler(log, 'a')
File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/danielhb/wok/data/user-requests.data'
======================================================================
ERROR: test_development_env (test_server_root.ServerRootTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_server_root.py", line 40, in tearDown
test_server.stop()
AttributeError: 'NoneType' object has no attribute 'stop'
======================================================================
ERROR: test_production_env (test_server_root.ServerRootTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_server_root.py", line 47, in test_production_env
setup_server('production', server_root)
File "test_server_root.py", line 35, in setup_server
server_root=server_root)
File "utils.py", line 102, in run_server
s = wok.server.Server(args)
File "/home/danielhb/wok/src/wok/server.py", line 149, in __init__
self.reqLogger = RequestLogger()
File "/home/danielhb/wok/src/wok/reqlogger.py", line 130, in __init__
h = logging.handlers.WatchedFileHandler(log, 'a')
File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/danielhb/wok/data/user-requests.data'
======================================================================
ERROR: test_production_env (test_server_root.ServerRootTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_server_root.py", line 40, in tearDown
test_server.stop()
AttributeError: 'NoneType' object has no attribute 'stop'
plus the same error reported at #209
<#209>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#210>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABbuduLBjAmbLqLJMjl5gF2bxZV96OVmks5rmEGcgaJpZM4Meceg>
.
--
------------------------
Lucio Correia
Software Engineer
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
plus the same error reported at #209
The text was updated successfully, but these errors were encountered: