Facing below error , when trying to run the splunk testsuite on ceph rados setup .
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
nose.selector: INFO: /root/splunk/s3-tests/bootstrap is executable; skipped
ERROR
test_realistic.TestFileValidator.test_new_file_is_valid ... ok
test_realistic.TestFileValidator.test_new_file_is_valid_on_several_calls ... ok
test_realistic.TestFileValidator.test_new_file_is_valid_when_size_is_1 ... ok
test_realistic.TestFiles.test_random_file_valid ... ok
======================================================================
ERROR: test suite for <module 's3tests.functional' from '/root/splunk/s3-tests/s3tests/functional/__init__.pyc'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/nose/suite.py", line 209, in run
self.setUp()
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp
self.setupContext(ancestor)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext
try_run(context, names)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/nose/util.py", line 471, in try_run
return func()
File "/root/splunk/s3-tests/s3tests/functional/__init__.py", line 365, in setup
nuke_prefixed_buckets(prefix=prefix)
File "/root/splunk/s3-tests/s3tests/functional/__init__.py", line 119, in nuke_prefixed_buckets
nuke_prefixed_buckets_on_conn(prefix, name, conn)
File "/root/splunk/s3-tests/s3tests/functional/__init__.py", line 69, in nuke_prefixed_buckets_on_conn
for bucket in conn.get_all_buckets():
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/s3/connection.py", line 443, in get_all_buckets
response = self.make_request('GET', headers=headers)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/s3/connection.py", line 671, in make_request
retry_handler=retry_handler
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/connection.py", line 1071, in make_request
retry_handler=retry_handler)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/connection.py", line 927, in _mexe
request.authorize(connection=self)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/connection.py", line 377, in authorize
connection._auth_handler.add_auth(self, **kwargs)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/auth.py", line 755, in add_auth
**kwargs)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/auth.py", line 574, in add_auth
string_to_sign = self.string_to_sign(req, canonical_request)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/auth.py", line 514, in string_to_sign
sts.append(self.credential_scope(http_request))
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/auth.py", line 496, in credential_scope
region_name = self.determine_region_name(http_request.host)
File "/root/splunk/s3-tests/virtualenv/lib/python2.7/site-packages/boto/auth.py", line 690, in determine_region_name
return region_name
UnboundLocalError: local variable 'region_name' referenced before assignment
Facing below error , when trying to run the splunk testsuite on ceph rados setup .
Steps followed :
#git clone https://github.com/splunk/s3-tests.git
#./bootstrap
#source virtualenv/bin/activate
#export PYTHONHTTPSVERIFY=0
#export S3_USE_SIGV4=1
#S3TEST_CONF=./splunk.conf virtualenv/bin/nosetests -v 2>&1 | tee -a splunktest.log
splunktest.log