Comment 3 for bug 1411099

Revision history for this message
Charles Hsu (charles0126) wrote : Re: Funcational test failure - tempauth

I think it needs improve (functional test). Do you known who is working on it? Or I could rewrite all of that?

I saw the problem of account/container/object servers didn't run before.
The message likes this
============
$ tox -e tempauth
tempauth develop-inst-noop: /home/vagrant/swift3
tempauth runtests: PYTHONHASHSEED='4071036354'
tempauth runtests: commands[0] | /bin/bash swift3/test/functional/run_test.sh
WARNING: No region specified for z0-127.0.0.1:6000/sda. Defaulting to region 1.
Device d0r1z0-127.0.0.1:6000R127.0.0.1:6000/sda_"" with 1.0 weight got id 0
WARNING: No region specified for z1-127.0.0.1:6000/sdb. Defaulting to region 1.
Device d1r1z1-127.0.0.1:6000R127.0.0.1:6000/sdb_"" with 1.0 weight got id 1
WARNING: No region specified for z2-127.0.0.1:6000/sdc. Defaulting to region 1.
Device d2r1z2-127.0.0.1:6000R127.0.0.1:6000/sdc_"" with 1.0 weight got id 2
WARNING: No region specified for z0-127.0.0.1:6001/sda. Defaulting to region 1.
Device d0r1z0-127.0.0.1:6001R127.0.0.1:6001/sda_"" with 1.0 weight got id 0
WARNING: No region specified for z1-127.0.0.1:6001/sdb. Defaulting to region 1.
Device d1r1z1-127.0.0.1:6001R127.0.0.1:6001/sdb_"" with 1.0 weight got id 1
WARNING: No region specified for z2-127.0.0.1:6001/sdc. Defaulting to region 1.
Device d2r1z2-127.0.0.1:6001R127.0.0.1:6001/sdc_"" with 1.0 weight got id 2
WARNING: No region specified for z0-127.0.0.1:6002/sda. Defaulting to region 1.
Device d0r1z0-127.0.0.1:6002R127.0.0.1:6002/sda_"" with 1.0 weight got id 0
WARNING: No region specified for z1-127.0.0.1:6002/sdb. Defaulting to region 1.
Device d1r1z1-127.0.0.1:6002R127.0.0.1:6002/sdb_"" with 1.0 weight got id 1
WARNING: No region specified for z2-127.0.0.1:6002/sdc. Defaulting to region 1.
Device d2r1z2-127.0.0.1:6002R127.0.0.1:6002/sdc_"" with 1.0 weight got id 2
Reassigned 1 (100.00%) partitions. Balance is now 0.00.
Reassigned 1 (100.00%) partitions. Balance is now 0.00.
Reassigned 1 (100.00%) partitions. Balance is now 0.00.
/home/vagrant/swift3/swift3/test/functional
Start account-server.
Start container-server.
Start object-server.
Start proxy-server.

Coverage.py warning: No data was collected.
Traceback (most recent call last):
  File "./run_daemon.py", line 30, in <module>
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/swift/common/wsgi.py", line 432, in run_wsgi
    loadapp(conf_path, global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/swift/common/wsgi.py", line 352, in loadapp
    ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/swift/common/wsgi.py", line 336, in loadcontext
    global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
    global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/swift/common/wsgi.py", line 61, in get_context
    object_type, name=name, global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context
    global_additions=global_additions)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
    for name in pipeline[:-1]]
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/swift/common/wsgi.py", line 61, in get_context
    object_type, name=name, global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 454, in get_context
    section)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/swift/common/wsgi.py", line 61, in get_context
    object_type, name=name, global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 406, in get_context
    global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
    global_conf=global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 328, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 620, in get_context
    object_type, name=name)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 640, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 876, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/vagrant/swift3/.tox/tempauth/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 761, in resolve
    raise DistributionNotFound(req)
DistributionNotFound: lxml
Cannot start proxy-server.
ERROR: InvocationError: '/bin/bash swift3/test/functional/run_test.sh'