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'
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. swift3 '4071036354' test/functional /run_test. sh 0.0.1:6000/ sda. Defaulting to region 1. 127.0.0. 1:6000R127. 0.0.1:6000/ sda_"" with 1.0 weight got id 0 0.0.1:6000/ sdb. Defaulting to region 1. 127.0.0. 1:6000R127. 0.0.1:6000/ sdb_"" with 1.0 weight got id 1 0.0.1:6000/ sdc. Defaulting to region 1. 127.0.0. 1:6000R127. 0.0.1:6000/ sdc_"" with 1.0 weight got id 2 0.0.1:6001/ sda. Defaulting to region 1. 127.0.0. 1:6001R127. 0.0.1:6001/ sda_"" with 1.0 weight got id 0 0.0.1:6001/ sdb. Defaulting to region 1. 127.0.0. 1:6001R127. 0.0.1:6001/ sdb_"" with 1.0 weight got id 1 0.0.1:6001/ sdc. Defaulting to region 1. 127.0.0. 1:6001R127. 0.0.1:6001/ sdc_"" with 1.0 weight got id 2 0.0.1:6002/ sda. Defaulting to region 1. 127.0.0. 1:6002R127. 0.0.1:6002/ sda_"" with 1.0 weight got id 0 0.0.1:6002/ sdb. Defaulting to region 1. 127.0.0. 1:6002R127. 0.0.1:6002/ sdb_"" with 1.0 weight got id 1 0.0.1:6002/ sdc. Defaulting to region 1. 127.0.0. 1:6002R127. 0.0.1:6002/ sdc_"" with 1.0 weight got id 2 swift3/ swift3/ test/functional
The message likes this
============
$ tox -e tempauth
tempauth develop-inst-noop: /home/vagrant/
tempauth runtests: PYTHONHASHSEED=
tempauth runtests: commands[0] | /bin/bash swift3/
WARNING: No region specified for z0-127.
Device d0r1z0-
WARNING: No region specified for z1-127.
Device d1r1z1-
WARNING: No region specified for z2-127.
Device d2r1z2-
WARNING: No region specified for z0-127.
Device d0r1z0-
WARNING: No region specified for z1-127.
Device d1r1z1-
WARNING: No region specified for z2-127.
Device d2r1z2-
WARNING: No region specified for z0-127.
Device d0r1z0-
WARNING: No region specified for z1-127.
Device d1r1z1-
WARNING: No region specified for z2-127.
Device d2r1z2-
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/
Start account-server.
Start container-server.
Start object-server.
Start proxy-server.
Coverage.py warning: No data was collected. vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ swift/common/ wsgi.py" , line 432, in run_wsgi conf_path, global_ conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ swift/common/ wsgi.py" , line 352, in loadapp loadwsgi. APP, conf_file, global_ conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ swift/common/ wsgi.py" , line 336, in loadcontext conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 296, in loadcontext conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 320, in _loadconfig get_context( object_ type, name, global_conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ swift/common/ wsgi.py" , line 61, in get_context conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 450, in get_context additions= global_ additions) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 562, in _pipeline_ app_context vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ swift/common/ wsgi.py" , line 61, in get_context conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 454, in get_context vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 476, in _context_from_use conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ swift/common/ wsgi.py" , line 61, in get_context conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 406, in get_context conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 296, in loadcontext conf=global_ conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 328, in _loadegg get_context( object_ type, name, global_conf) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 620, in get_context vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ paste/deploy/ loadwsgi. py", line 640, in find_egg_ entry_point resources. require( self.spec) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ pkg_resources/ __init_ _.py", line 876, in require parse_requireme nts(requirement s)) vagrant/ swift3/ .tox/tempauth/ local/lib/ python2. 7/site- packages/ pkg_resources/ __init_ _.py", line 761, in resolve Found(req) Found: lxml test/functional /run_test. sh'
Traceback (most recent call last):
File "./run_daemon.py", line 30, in <module>
File "/home/
loadapp(
File "/home/
ctx = loadcontext(
File "/home/
global_
File "/home/
global_
File "/home/
return loader.
File "/home/
object_type, name=name, global_
File "/home/
global_
File "/home/
for name in pipeline[:-1]]
File "/home/
object_type, name=name, global_
File "/home/
section)
File "/home/
object_type, name=use, global_
File "/home/
object_type, name=name, global_
File "/home/
global_
File "/home/
global_
File "/home/
return loader.
File "/home/
object_type, name=name)
File "/home/
pkg_
File "/home/
needed = self.resolve(
File "/home/
raise DistributionNot
DistributionNot
Cannot start proxy-server.
ERROR: InvocationError: '/bin/bash swift3/