summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version bump for 1.1. release1.1John Dickinson2016-02-111-1/+1
| | | | Change-Id: I5a818d5a2a73af45b60fee74f8d190d5111eb275
* authors/changelog update for 1.1. releaseJohn Dickinson2016-02-113-1/+18
| | | | Change-Id: I472fb72bfaf90a11b11e4d802da3981325a95408
* TrivialFix of Import JSONreedip2016-01-291-4/+1
| | | | | | | | | | | As per the comment#12 in [1], the if loop can be removed and json can be directly imported from bench.py [1]: https://review.openstack.org/#/c/264486/ TrivialFix Depends-On:I7c8a1a39f0e86cbd38466c2dcd611a8f513c8adc Change-Id: I519753b0db0d8eee70c84afa92dfab2b943afbac
* Bump eventlet min version to 0.17.4Ondřej Nový2016-01-221-1/+1
| | | | | | | Keep eventlet version same as Swift dependency. This update matches the OpenStack global requirements version. Change-Id: Ic8136901a6bc6447ea7248ed3e699ed0f9c0448a
* Pass environment variables of proxy to toxdharmendra2016-01-061-0/+1
| | | | | | | | When a development environment is under a proxy, tox is failed even if environment variables of the proxy are set. This patch fixes this problem. Change-Id: I5382f1b2100ba15fb4a6f501d3885984a68579ab
* Deprecated tox -downloadcache option removedOndřej Nový2015-12-111-3/+0
| | | | | | | | | | Caching is enabled by default from pip version 6.0 More info: https://testrun.org/tox/latest/config.html#confval-downloadcache=path https://pip.pypa.io/en/stable/reference/pip_install/#caching Change-Id: I1fe8420806ea45ebc3d455f281bdbe49e0d94e7c
* Merge "update hacking in test-requirements"Jenkins2015-11-242-3/+3
|\
| * update hacking in test-requirementsJohn Dickinson2015-11-092-3/+3
| | | | | | | | | | | | also changed a variable name to pass a new hacking check Change-Id: Ib64adcc6c986528e619ee42abc21f42f9f2dfbf4
* | Try to detect HTTP proxy and warn about it.Ondrej Novy2015-10-053-1/+37
|/ | | | | | | swift-bench test results could be altered when using HTTP proxy server. This patch add warning when HTTP proxy has been detected. Change-Id: Id818203345914efee37852e96541c259de6ae555
* add storage policy optionThiago da Silva2015-06-013-3/+18
| | | | | | | | provide ability for user to select which storage policy to run benchmark against Change-Id: I9973f964ec3989281f47f853be053498e7a6e51e Signed-off-by: Thiago da Silva <thiago@redhat.com>
* Fix bug when using --log-level optionChristian Schwede2015-04-201-2/+5
| | | | | | | | | | Fixes a bug when using the --log-level/-o option. These are currently not usable, because a condition always exits if there are not exactly two command-line arguments used (the ip and port). This patch also ensures that the used log-level settings are valid choices. Change-Id: I5d64e57b59947c059924fce3e458cfe9fa284318
* Clean up some conf parsingSamuel Merritt2014-10-131-6/+5
| | | | Change-Id: Idba39e06e3db8eca84f3cef8c597ad222cf6d532
* Fix next on SourceFileSamuel Merritt2014-10-131-1/+1
| | | | | | | | | next(iterable) is supposed to return the next thing in the sequence; here, that's a bunch of zeros. However, this was returning a generator that yielded one item: a bunch of zeros. This broke direct benchmarking. Change-Id: I2fca4795fc9b3d1637c72616a52a60482d6e853e
* Work toward Python 3.4 support and testingJeremy Stanley2014-09-031-1/+1
| | | | Change-Id: I68943058d613387ea5bb675dc720148318989afd
* Remove tox locale overridesJeremy Stanley2014-02-101-3/+0
| | | | | | | | | | | | | | | * tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were introduced originally during the testr migration in an attempt to be conservative about the possibility that locale settings in the calling environment could cause consistency problems for test runs. In actuality, this should be unnecessary and any place where it does cause issues ought to be considered an actual bug. Also, having these in the configuration actively causes older pip to have problems with non-ASCII content in some package metadata files under Python 3, so drop it now. Change-Id: Idc298cccd88eb7c929a648e31e129d4355ef7270 Closes-Bug: #1277495
* Sync with global requirementsSascha Peilicke2014-02-041-2/+2
| | | | Change-Id: Ie4c17c36e70e1ffb4f2c1384df0322521130939e
* Merge "Add MANIFEST.in"Jenkins2014-01-312-0/+4
|\
| * Add MANIFEST.inChmouel Boudjnah2014-01-242-0/+4
| | | | | | | | | | | | | | - minVersion to 1.6 for tox as well to get a much faster run. Closes-Bug: #1269054 Change-Id: I8bbb74fc515dd3f8ac05ee258a58cd19d6d09c58
* | Remove gettext.Chmouel Boudjnah2014-01-141-7/+6
|/ | | | | | This was hardly used and remove a dependence on main swift. Change-Id: I29b3a0cdeb00b4414d6fed9e1ab0a63b54c1539a
* Merge "Use nosetests for coverage in tox.ini"Jenkins2013-12-161-1/+2
|\
| * Use nosetests for coverage in tox.iniChmouel Boudjnah2013-11-261-1/+2
| | | | | | | | | | | | | | I can't seem to figure out how to have testr and coverage working properly without pbr so let's use nosetests for it. Change-Id: Id0f2fc348dc822af9189178b518d2dda711b060c
* | version bump to open 1.1 dev workJohn Dickinson2013-12-051-1/+1
| | | | | | | | Change-Id: I10c1e928e5ddb3a89ea8767964f0735f13f873e8
* | version bump for 1.0 release1.0John Dickinson2013-12-051-1/+1
| | | | | | | | Change-Id: Ia50c3f50aa306b4c8c9519ce9b58315e4b14b263
* | added authors, changelog, and .mailmapJohn Dickinson2013-12-054-3/+60
| | | | | | | | Change-Id: I03a51448221e2e9bb6eb1981d125fe59971d5dc7
* | fixed log formatter issuesJohn Dickinson2013-12-023-8/+8
|/ | | | Change-Id: Ie567b59943029f3ae569576b5c8f1d0942a36a0a
* Make swift-bench not depending on swift.Chmouel Boudjnah2013-11-247-12/+210
| | | | | | | | | Remove the dependence on swift, import the only needed functions from swift.common.utils to swiftbench.utils Add tests for utils using mock instead. Change-Id: I1b69dce750b55f3ee0e999fb5a7100cf811f7ebe
* Add plumbing.Chmouel Boudjnah2013-11-2114-15/+139
| | | | | | | | | - Update .gitignore to ignore all testrunners. - Move swift-bench to swiftbench. - Move tests to tests/ - Add some simple {test-,}requirements (more works needs to be done to get proper versioning) Change-Id: Iab4d65f02cbce8c99ecafa30d15c4cb11f0b4293
* cleaned up filenames and dir structureJohn Dickinson2013-10-172-0/+0
| | | | Change-Id: Ifbb8941e916a586db0f71cbc734cadd8b2ade791
* added .gitreviewJohn Dickinson2013-10-111-0/+4
| | | | Change-Id: Iddce2d474bf7a44d6c0b479d8d01a768877695ca
* Change OpenStack LLC to FoundationZhiQiang Fan2013-09-204-4/+4
| | | | | Change-Id: I7c3df47c31759dbeb3105f8883e2688ada848d58 Closes-bug: #1214176
* fix swift i18nClay Gerrard2013-07-301-1/+1
| | | | Change-Id: I53cea28a6d7593a1b308dbcf77dddf7f40d76cb2
* Use Python 3.x compatible except constructDirk Mueller2013-08-281-4/+4
| | | | | | | | except x,y: was deprected and is removed in Python 3.x. Use "except x as y:" instead which works in any Python version >= 2.6. Change-Id: I7008c74b807340f3457d3a0c8bd0b83f23169d14
* Pep8 unit test modules for hacking and one liners (4 of 12)Peter Portante2013-08-311-1/+1
| | | | | | | | Address all the "hacking" lines that are flagged, and all the modules that just have one item flagged. Change-Id: I372a4bdf9c7748f73e38c4fd55e5954f1afade5b Signed-off-by: Peter Portante <peter.portante@redhat.com>
* Improve swift-bench performanceZap Chang2013-08-211-0/+1
| | | | | | | Single-host bench controller should be monkey-patched to achieve maximum concurrency. Change-Id: I77c63773edc7427d06c2fbfb67ededf36d9913d3
* Add delay in swift-benchKsenia Demina2013-07-192-0/+9
| | | | | | | | | | | With enable write affinity, it's necessary to wait until replication has moved things to their proper homes before running delete request. With write affinity turned on, only nodes in local region will get the object right after PUT request. Fix bug #1198926 Change-Id: I3aa8933d45c47a010ae05561e12176479e7c9bcc
* fix(gitignore) : ignore *.egg and *.egg-infoTheSriram2013-07-301-1/+2
| | | | Change-Id: I9496dab9e8f779a7ae045bb73b2cf8e77bda0d30
* Removed unnecessary monkeypatching of __builtin__Alex Gaynor2013-07-271-0/+1
| | | | | | | Replaced it with explicitly importing the gettext function, which is significantly more readable. Change-Id: Ia0a7edcf685fb6e4052a8290367b233169529ab8
* Ignore coverage HTML directory and MANIFEST.Peter Portante2013-07-251-0/+2
| | | | | Change-Id: I5286cd1b066da11eef98dbfea9252366ca3ffd9c Signed-off-by: Peter Portante <peter.portante@redhat.com>
* Make sure users can't remove their account quotasJon Snitow2013-07-241-0/+1
| | | | | | | | Protect X-Remove-Account-Meta-Quota-Bytes same as X-Account-Meta-Quota-Bytes Fixes bug 1204110 Change-Id: Ibac5b555f50b1fe41b2999c0d5776d90f9c9f3d1
* Corrected many style violations in the tests.Alex Gaynor2013-07-231-2/+0
| | | | | | | I focussed primarily on F-category violations, they are all but all fixed with this patch. Change-Id: I343f6945c97984ed1093bc347b6def6994297041
* update .gitignoreKun Huang2013-06-201-0/+1
| | | | | | | Ignore build/ directory, which is auto-created when running `python setup.py bdist` like dist/ directory. Change-Id: Ie58936320d995e4e81f8929128475e538665bde8
* Don't delete containers when they weren't created.Darrell Bishop2013-05-081-2/+3
| | | | | | | | | When swift-bench is run in direct mode, don't try to delete the containers which weren't created. Fixes bug 1177960. Change-Id: Ice07e8729bb776e2b215894cf95fb80b64167a8d
* fix dict duplicated keyVictor Rodionov2013-04-222-2/+2
| | | | | | remove duplicated key from swift-bench bin; and also add .idea to gitignore Change-Id: I31360489716d03324b8d2bb1c51e282393069c13
* Change logger name to module itself instead of rootKun Huang2013-03-171-1/+2
| | | | | | | | | Using root logger will make public module log failed by unknow keyword. Just change the logger name to module itself could dismiss this impact. And disable logger.propagate could prevent double outputing. Change-Id: I18696d124ebac9ca970d502558972e51de759097 Fixes: bug #1105133
* Cleanup based on pyflakes.Monty Taylor2013-01-301-5/+1
| | | | | | | | | | | pyflakes itself can't be used in any automated gating way, because there are two sets of false errors it raises. However, as an exercise, cleaning up the 'valid' ones uncovered three actual bugs. The other changes (mostly unused variables) are included here for fun. Command run: pyflakes swift | grep -v "undefined name '_'" Change-Id: I18696bf047dedad1a9fdbde3463e214fba95f7c6
* Add more command-line options to swift-bench.Samuel Merritt2013-01-221-1/+11
| | | | | | | | | | | | | These settings: 1. are already exposed via config file 2. were not exposed as command-line options, and 3. are things I wanted on the command line while benchmarking recently. I didn't include short options for --(get|put|delete)-concurrency since I couldn't think of good single-letter ones, and optparse won't take "-gc", "-pc", or "-dc". Change-Id: I0bd7c7ae2892244eed37b8c10c9357dc7e1190d3
* Fix superfluous GET requests in swift-bench.Samuel Merritt2013-01-211-3/+7
| | | | | | | | | | | | | | If you specified num_gets = 0 for a benchmarking run (say, if you're benchmarking PUT rate), you'd still get each swift-bench-client process doing 1 GET request. Now you don't. This should also fix the case where you've got more objects than swift-bench-client processes, for example when you're uploading a few large objects and then doing lots of parallel GETs of those objects. Now you'll get the number requested, not max(number-requested, number-of-bench-clients). Change-Id: Ied9eb733dd9af51a3c6af8b815ad6cff0ff746b7
* Convert LICENSE to use unix style line endings.Dan Prince2012-12-191-202/+202
| | | | | | | | | Ran dos2unix on LICENSE to convert to unit style line endings. This makes building packages which contain the LICENSE file a bit nicer... and matches other LICENSE files under the openstack umbrella which have unix style line endings as well. Change-Id: Id724d1ba402a590725a2d200f5e0599bce696e5a
* Ignore pycscope filesPeter Portante2012-12-041-0/+1
| | | | | Change-Id: I5fe38f28896d086e56ba9e718b02227d87dd4a2d Signed-off-by: Peter Portante <peter.portante@redhat.com>
* Make swift-bench use less memory with large object sizes.Samuel Merritt2012-11-081-3/+37
| | | | | | | | | | | | | | | | | | Before, swift-bench would create a string of the right size and pass that to [direct_]put_object. Uploading 5 GB objects w/concurrency of 4? Hope you've got a spare 20 GB of RAM in that machine. Now it lazily generates chunks (of size 64 KiB) to send. In my limited testing, this keeps RAM usage low while not impacting speed. There's backwards-compatibility code in direct_client.direct_put_object for any callers who are still passing in strings. There aren't any such in Swift's codebase, though. All one of those callers now pass an iterable. Fixes bug 911925. Change-Id: I40669fc00c7fb6699d8fb514e1be9b69436eca42