Skip to content
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 failing #158

Open
biancafc opened this issue Mar 15, 2017 · 1 comment
Open

make check failing #158

biancafc opened this issue Mar 15, 2017 · 1 comment

Comments

@biancafc
Copy link
Member

Tested with CentOS 7

$ make check
make  check-recursive
make[1]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase'
Making check in contrib
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
make  check-recursive
make[3]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
Making check in DEBIAN
make[4]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib/DEBIAN'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib/DEBIAN'
make[4]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
make[3]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
Making check in control
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/control'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/control'
Making check in docs
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/docs'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/docs'
Making check in model
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model'
make  check-am
make[3]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model'
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model'
Making check in po
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/po'
/usr/bin/msgmerge --update  --lang=en_US en_US.po gingerbase.pot
................................ done.
/usr/bin/msgmerge --update  --lang=de_DE de_DE.po gingerbase.pot
............................. done.
/usr/bin/msgmerge --update  --lang=es_ES es_ES.po gingerbase.pot
.............................. done.
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/po'
Making check in tests
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make  check-am
make[3]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make  check-local
make[4]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
./run_tests.sh
WARNING: no 'numpy' module, HyBi protocol will be slower
Cannot upgrade objectstore schema: no such table: objects
*** Ginger Base: Running capabilities tests ***
System Report Tool ...: True
Logging YumUpdate features.
System Update Tool ...: True
Repo Management Tool .: yum
*** Ginger Base: Capabilities tests completed ***
.Cannot upgrade objectstore schema: no such table: objects
*** Ginger Base: Running capabilities tests ***
System Report Tool ...: True
Logging YumUpdate features.
System Update Tool ...: True
Repo Management Tool .: yum
*** Ginger Base: Capabilities tests completed ***
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0018E: GGBREPOS0018E
ECannot upgrade objectstore schema: no such table: objects
GGBREPOS0018E: GGBREPOS0018E
ECannot upgrade objectstore schema: no such table: objects
GGBREPOS0018E: GGBREPOS0018E
EEGGBDISK00002E: GGBDISK00002E
.GGBDISK00001E: GGBDISK00001E
..E..................EGINSMT0005E: GINSMT0005E
.Successfully disabled SMT settings.
.GINSMT0004E: GINSMT0004E
.Successfully enabled SMT settings.
..GINSMT0006E: GINSMT0006E
..Successfully applied SMT settings.
............E...
======================================================================
ERROR: test_repository_create (test_model.ModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_model.py", line 118, in test_repository_create
    repo_id = inst.repositories_create(repo)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model/host.py", line 602, in create
    return self.host_repositories.addRepository(params)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/repositories.py", line 72, in addRepository
    return self._pkg_mnger.addRepo(params)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/repositories.py", line 227, in addRepo
    {'repo_file': repofile})
OperationFailed: GGBREPOS0018E: GGBREPOS0018E

======================================================================
ERROR: test_repository_disable_enable (test_model.ModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_model.py", line 227, in test_repository_disable_enable
    repo_id = inst.repositories_create(repo)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model/host.py", line 602, in create
    return self.host_repositories.addRepository(params)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/repositories.py", line 72, in addRepository
    return self._pkg_mnger.addRepo(params)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/repositories.py", line 227, in addRepo
    {'repo_file': repofile})
OperationFailed: GGBREPOS0018E: GGBREPOS0018E

======================================================================
ERROR: test_repository_update (test_model.ModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_model.py", line 188, in test_repository_update
    repo_id = inst.repositories_create(repo)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model/host.py", line 602, in create
    return self.host_repositories.addRepository(params)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/repositories.py", line 72, in addRepository
    return self._pkg_mnger.addRepo(params)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/repositories.py", line 227, in addRepo
    {'repo_file': repofile})
OperationFailed: GGBREPOS0018E: GGBREPOS0018E

======================================================================
ERROR: setUpModule (test_authorization)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_authorization.py", line 34, in setUpModule
    test_server = run_server(test_mode=True)
  File "/home/bianca/kimchi-project-tests/wok/tests/utils.py", line 102, in run_server
    s = wok.server.Server(args)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/server.py", line 149, in __init__
    self.reqLogger = RequestLogger()
  File "/home/bianca/kimchi-project-tests/wok/src/wok/reqlogger.py", line 130, in __init__
    h = logging.handlers.WatchedFileHandler(log, 'a')
  File "/usr/lib64/python2.7/logging/handlers.py", line 392, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/bianca/kimchi-project-tests/wok/data/user-requests.data'

======================================================================
ERROR: setUpModule (test_host)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_host.py", line 47, in setUpModule
    test_server = run_server(test_mode=True)
  File "/home/bianca/kimchi-project-tests/wok/tests/utils.py", line 102, in run_server
    s = wok.server.Server(args)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/server.py", line 149, in __init__
    self.reqLogger = RequestLogger()
  File "/home/bianca/kimchi-project-tests/wok/src/wok/reqlogger.py", line 130, in __init__
    h = logging.handlers.WatchedFileHandler(log, 'a')
  File "/usr/lib64/python2.7/logging/handlers.py", line 392, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/bianca/kimchi-project-tests/wok/data/user-requests.data'

======================================================================
ERROR: setUpModule (test_rest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_rest.py", line 40, in setUpModule
    test_server = run_server(test_mode=True)
  File "/home/bianca/kimchi-project-tests/wok/tests/utils.py", line 102, in run_server
    s = wok.server.Server(args)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/server.py", line 149, in __init__
    self.reqLogger = RequestLogger()
  File "/home/bianca/kimchi-project-tests/wok/src/wok/reqlogger.py", line 130, in __init__
    h = logging.handlers.WatchedFileHandler(log, 'a')
  File "/usr/lib64/python2.7/logging/handlers.py", line 392, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/bianca/kimchi-project-tests/wok/data/user-requests.data'

======================================================================
ERROR: setUpModule (test_yumparser)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_yumparser.py", line 103, in setUpModule
    TEMP_REPO_FILE = _create_fake_repos_file()
  File "test_yumparser.py", line 71, in _create_fake_repos_file
    dir='/etc/yum.repos.d')
  File "/usr/lib64/python2.7/tempfile.py", line 304, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/lib64/python2.7/tempfile.py", line 239, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 13] Permission denied: '/etc/yum.repos.d/tmpxjqENS.repo'

----------------------------------------------------------------------
Ran 47 tests in 3.391s

FAILED (errors=7)
make[4]: *** [check-local] Error 1
make[4]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase'
make: *** [check] Error 2
$ sudo make check
[sudo] password for bianca:
make  check-recursive
make[1]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase'
Making check in contrib
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
make  check-recursive
make[3]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
Making check in DEBIAN
make[4]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib/DEBIAN'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib/DEBIAN'
make[4]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
make[3]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/contrib'
Making check in control
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/control'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/control'
Making check in docs
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/docs'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/docs'
Making check in model
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model'
make  check-am
make[3]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model'
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/model'
Making check in po
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/po'
/usr/bin/msgmerge --update  --lang=en_US en_US.po gingerbase.pot
................................ done.
/usr/bin/msgmerge --update  --lang=de_DE de_DE.po gingerbase.pot
............................. done.
/usr/bin/msgmerge --update  --lang=es_ES es_ES.po gingerbase.pot
............................... done.
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/po'
Making check in tests
make[2]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make  check-am
make[3]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make  check-local
make[4]: Entering directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
./run_tests.sh
WARNING: no 'numpy' module, HyBi protocol will be slower
*** Ginger Base: Running capabilities tests ***
System Report Tool ...: True
Logging YumUpdate features.
System Update Tool ...: True
Repo Management Tool .: yum
*** Ginger Base: Capabilities tests completed ***
.Cannot upgrade objectstore schema: no such table: objects
*** Ginger Base: Running capabilities tests ***
System Report Tool ...: True
Logging YumUpdate features.
System Update Tool ...: True
Repo Management Tool .: yum
*** Ginger Base: Capabilities tests completed ***
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0028E: GGBREPOS0028E
GGBREPOS0012E: GGBREPOS0012E
GGBREPOS0012E: GGBREPOS0012E
GGBREPOS0012E: GGBREPOS0012E
.Cannot upgrade objectstore schema: no such table: objects
.Cannot upgrade objectstore schema: no such table: objects
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0002E: GGBREPOS0002E
GGBREPOS0002E: GGBREPOS0002E
GGBUTILS0001E: GGBUTILS0001E
GGBREPOS0002E: GGBREPOS0002E
GGBUTILS0001E: GGBUTILS0001E
GGBREPOS0002E: GGBREPOS0002E
.Push server created on address /run/user/0/woknotifications
Process Process-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/home/bianca/kimchi-project-tests/wok/src/wok/websocket.py", line 96, in start_proxy
    server.start_server()
  File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 909, in start_server
    tcp_keepintvl=self.tcp_keepintvl)
  File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 698, in socket
    sock.bind(addrs[0][4])
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use
Failed to import plugin plugins.kimchi.Kimchi, error: Class plugins.kimchi.Kimchi can not be imported, error: cannot import name config
Run command: 'tuned-adm active'
out:
Current active profile: virtual-guest

Cannot upgrade objectstore schema: no such table: objects
[15/Mar/2017:15:38:02] ENGINE Bus STARTING
Frus __init
[15/Mar/2017:15:38:02] ENGINE Started monitor thread 'Autoreloader'.
[15/Mar/2017:15:38:07] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x185ee90>>
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 197, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/lib/python2.7/site-packages/cherrypy/_cpserver.py", line 151, in start
    ServerAdapter.start(self)
  File "/usr/lib/python2.7/site-packages/cherrypy/process/servers.py", line 167, in start
    wait_for_free_port(*self.bind_addr)
  File "/usr/lib/python2.7/site-packages/cherrypy/process/servers.py", line 410, in wait_for_free_port
    raise IOError("Port %r not free on %r" % (port, host))
IOError: Port 8010 not free on '127.0.0.1'

[15/Mar/2017:15:38:07] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 235, in start
    self.publish('start')
  File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 215, in publish
    raise exc
ChannelFailures: IOError("Port 8010 not free on '127.0.0.1'",)

[15/Mar/2017:15:38:07] ENGINE Bus STOPPING
[15/Mar/2017:15:38:07] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8010)) already shut down
[15/Mar/2017:15:38:07] ENGINE Stopped thread 'Autoreloader'.
[15/Mar/2017:15:38:07] ENGINE Bus STOPPED
[15/Mar/2017:15:38:07] ENGINE Bus EXITING
[15/Mar/2017:15:38:07] ENGINE Bus EXITED
make[4]: *** [check-local] Error 70
make[4]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/bianca/kimchi-project-tests/wok/src/wok/plugins/gingerbase'
make: *** [check] Error 2
@lcorreia
Copy link
Member

lcorreia commented Mar 15, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants