Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8750 commits
Select commit Hold shift + click to select a range
cffa7de
Merge "CI: Consistently use TOX_CONSTRAINTS_FILE"
Dec 9, 2024
f9a3f14
Merge "Make OldestAsyncPendingTracker timestamp float"
Dec 9, 2024
cde99ff
Add unit test for object-updater recon dump
alistairncoles Dec 6, 2024
3a5bbcd
Clarify ContainerBroker tests re expirer queue items
alistairncoles Dec 10, 2024
b371c38
Merge "Clarify ContainerBroker tests re expirer queue items"
Dec 10, 2024
199aa78
xprofile: Stop using eval()
tipabu Dec 5, 2024
a55a48f
docs: Call out that xprofile is not intended for production
tipabu Dec 6, 2024
e576c5c
CI: Configure bandit better
tipabu Dec 6, 2024
404edeb
Refactor FormPost to use WSGIContext
nathang15 Nov 25, 2024
d3eb116
Merge "Refactor FormPost to use WSGIContext"
Dec 11, 2024
fe7928e
Merge "Add unit test for object-updater recon dump"
Dec 11, 2024
13197af
CI: Clean up deps for various doc builds
tipabu Dec 4, 2024
4faa352
Merge "CI: Configure bandit better"
Dec 17, 2024
0b534d5
Merge "Up-rev hacking"
Dec 18, 2024
155b759
Merge "Bring py3-constraints.txt more in line with global u-c"
Dec 18, 2024
af57922
Aggregate per-disk recon stats
ChinemeremChigbo Dec 6, 2024
3944630
Merge "CI: Clean up deps for various doc builds"
Dec 19, 2024
4b36960
trivial: Enable a couple off-by-default hacking checks
tipabu Dec 19, 2024
ea06ed4
Merge "Aggregate per-disk recon stats"
Dec 19, 2024
5281af5
Add object_updater_last stat
ChinemeremChigbo Dec 12, 2024
fbfdc89
Require that updater_workers be a postive integer
ChinemeremChigbo Dec 13, 2024
78fd4e6
Merge "Require that updater_workers be a postive integer"
Dec 20, 2024
b7c228c
Merge "trivial: Enable a couple off-by-default hacking checks"
Dec 20, 2024
17f77b2
docs: Changed OS version to RHEL 9 and CentOS Stream 9.
ngcjny Dec 20, 2024
5d1dbbc
Merge "docs: Changed OS version to RHEL 9 and CentOS Stream 9."
Dec 20, 2024
7367907
Drop py2 support
tipabu Aug 18, 2022
3c98381
[CI] Remove old experimental rolling upgrade job
Dec 22, 2024
1f35e0c
CI: Add Dalmatian upgrade job
tipabu Dec 29, 2024
1f0777d
tests: Enforce sorted listdir results in test_updater
tipabu Dec 31, 2024
06e09b9
Merge "Drop py2 support"
Jan 1, 2025
95b9e6e
Merge "CI: Add Dalmatian upgrade job"
Jan 3, 2025
e39a0d1
Leave updater per-device stats in recon for debugging
clayg Jan 6, 2025
7d3a32d
tests: relocate some logging related unit tests
alistairncoles Dec 5, 2024
6a633d0
tests: use a method to test a method
clayg Jan 7, 2025
c10ca63
Merge "tests: relocate some logging related unit tests"
Jan 7, 2025
1bc0507
Improve get_logger tests re. statsd prefix
alistairncoles Nov 27, 2024
7828c23
Merge "tests: use a method to test a method"
Jan 8, 2025
4d4e659
Merge "Improve get_logger tests re. statsd prefix"
Jan 8, 2025
3d8fb04
obj: Add option to tune down etag validation in object-server
tipabu Aug 30, 2024
94d3a5d
Merge "obj: Add option to tune down etag validation in object-server"
Jan 8, 2025
128124c
Remove py2-only code paths
tipabu Aug 18, 2022
f95315b
CI: Remove B320 and B410 bandit skips
tipabu Jan 13, 2025
aa0429c
CI: document bandit tests by reference
alistairncoles Jan 14, 2025
9b4d008
Merge "Leave updater per-device stats in recon for debugging"
Jan 15, 2025
a630e76
versioning: 411 PUTs with neither content-length nor transfer-encoding
tipabu Oct 3, 2024
768571d
Merge "CI: document bandit tests by reference"
Jan 15, 2025
734ed9c
Merge "Remove py2-only code paths"
Jan 15, 2025
ae6300a
wsgi: Reap stale workers (after a timeout) following a reload
tipabu Apr 30, 2021
0dfa38d
docs: Fix version call-out for stale_worker_timeout
tipabu Jan 16, 2025
3ccf749
tests: Fix flaky reconciler test
tipabu Feb 5, 2025
965cc2f
Add per-container storage policy to account listing
Jan 31, 2025
b69a2be
Deprecate expirer options
clayg Oct 16, 2024
73201cc
Merge "Deprecate expirer options"
Feb 8, 2025
364a47b
Merge "tests: Fix flaky reconciler test"
Feb 10, 2025
a740591
Tighten up encrypter tests re. request footers
alistairncoles Feb 3, 2025
2560eb7
Migrate encrypter tests to assert FakeSwiftCall attributes
alistairncoles Feb 11, 2025
de0df20
Merge "Tighten up encrypter tests re. request footers"
Feb 11, 2025
0850bee
Merge "Migrate encrypter tests to assert FakeSwiftCall attributes"
Feb 11, 2025
b94d796
Remove some dead code for older pythons
tipabu Feb 10, 2025
bc5de5f
Remove last vestiges of translations
tipabu Feb 10, 2025
ed842ce
Merge "Remove some dead code for older pythons"
Feb 11, 2025
4c922fb
Merge "Remove last vestiges of translations"
Feb 11, 2025
747b2a4
Merge "Add per-container storage policy to account listing"
Feb 12, 2025
1155755
Merge "versioning: 411 PUTs with neither content-length nor transfer-…
Feb 12, 2025
ceff47d
FakeSwift: more encapsulation of request properties
alistairncoles Feb 12, 2025
313fab5
Add NotificationServer to fix swift-reload
tipabu Apr 13, 2022
fc88b0e
Merge "Add NotificationServer to fix swift-reload"
Feb 13, 2025
62fa6d2
tests: Add unknown-policy container to account test
tipabu Feb 11, 2025
ff45519
tests: Use subTest
tipabu Jan 10, 2025
a5db202
s3api: Stop requiring Content-MD5 for multi-deletes
tipabu Jan 24, 2025
427615a
Merge "s3api: Stop requiring Content-MD5 for multi-deletes"
Feb 14, 2025
c3237ab
refactor test for x-delete-at w/t part_num and x-open-expired
indianwhocodes Oct 22, 2024
0c04c9e
Merge "tests: Add unknown-policy container to account test"
Feb 18, 2025
8b6abfb
Merge "refactor test for x-delete-at w/t part_num and x-open-expired"
Feb 18, 2025
f9354c9
tests: Allow more configuration for S3 cross-compat tests
tipabu Feb 20, 2025
ed0b68e
tests: Simplify test bucket name
tipabu Feb 20, 2025
b49941c
s3api: Simplify HashingInput signature
tipabu Feb 20, 2025
57f2732
Merge "s3api: Simplify HashingInput signature"
Feb 20, 2025
605c701
tests: Remove a couple more py2 code paths
tipabu Feb 20, 2025
adc7760
tests: More simplification of s3api test bucket naming
alistairncoles Feb 20, 2025
97cc335
Merge "tests: Remove a couple more py2 code paths"
Feb 20, 2025
e0d66f3
slo_test: make x-delete-after consistent in func test
indianwhocodes Feb 20, 2025
9723f99
Merge "tests: More simplification of s3api test bucket naming"
Feb 20, 2025
1fa687e
Merge "slo_test: make x-delete-after consistent in func test"
Feb 20, 2025
7140633
Merge "tests: Allow more configuration for S3 cross-compat tests"
Feb 20, 2025
e4cc228
Refactor some file-like iters as utils.InputProxy subclasses
alistairncoles Jan 23, 2025
34bb743
linkat: Raise error if we run out of retries
clayg Mar 3, 2025
0a8ecbc
py3: Fix unicode-header-name handling in bufferedhttp
tipabu Jan 8, 2025
c390c63
Stop using cgi.parse_header
tipabu May 29, 2024
bae8cd0
Remove __future__ imports
tipabu Mar 5, 2025
3db28d4
tests: Reference test.functional.normalized_urls directly
tipabu Mar 5, 2025
11422a3
tests: Allow configuring normalized_urls = false
tipabu Mar 5, 2025
5219b5e
Merge "Stop using cgi.parse_header"
Mar 5, 2025
d4d57a7
Merge "Remove __future__ imports"
Mar 6, 2025
8b862e6
Merge "tests: Reference test.functional.normalized_urls directly"
Mar 6, 2025
5554f43
Merge "tests: Allow configuring normalized_urls = false"
Mar 6, 2025
62cb473
Remove dependency on mock
tipabu Mar 5, 2025
08a6db1
tests: Fix keystoneclient import
tipabu Mar 6, 2025
f0093a6
Merge "FakeSwift: more encapsulation of request properties"
Mar 6, 2025
8f2fd0b
Merge "tests: Fix keystoneclient import"
Mar 6, 2025
cfa0094
cors-tests: Default S3_ENDPOINT sensibly
tipabu Mar 7, 2025
932bc11
Remove notes about new-style classes
tipabu Mar 6, 2025
6d3a2c1
Merge "Remove dependency on mock"
Mar 7, 2025
5961125
Merge "Remove notes about new-style classes"
Mar 7, 2025
0cdd391
Fix FakeSwiftCall partial env copy for None values
alistairncoles Mar 7, 2025
2f74376
Make FakeSwiftCall.DUMMY_VALUE a bespoke singleton
alistairncoles Mar 7, 2025
63155d1
Merge "cors-tests: Default S3_ENDPOINT sensibly"
Mar 7, 2025
5074410
Merge "linkat: Raise error if we run out of retries"
Mar 7, 2025
d6ac3a2
AUTHORS/CHANGELOG for 2.35.0
tipabu Feb 27, 2025
3f59cef
Merge "Make FakeSwiftCall.DUMMY_VALUE a bespoke singleton"
Mar 11, 2025
688656a
Clarify that get_ppid is Linux-only
tipabu Mar 13, 2025
05143a9
Update master for stable/2025.1
openstackadmin Mar 14, 2025
7e52358
stats: API for native labeled metrics
tipabu Sep 30, 2023
0e2791a
Remove deprecated statsd label_mode
clayg Apr 3, 2025
769e482
tests: provide FakeLabeledStatsdClient for debug
alistairncoles Apr 4, 2025
11257ed
proxy_logging: remove unnecessary condition
alistairncoles Mar 20, 2025
ed0ef35
tests: add LabeledStatsdClient sample_rate kwarg coverage
clayg Apr 3, 2025
405440a
tests: Display extra test summary info
tipabu Apr 8, 2025
563c1ca
DRY out AbstractStatsdClient public methods
clayg Apr 4, 2025
37a25b3
tests: Remove BaseFakeStatsdClient.get_increment_counts
alistairncoles Apr 8, 2025
63224cf
tests: rename zuul jobs that test s3api
alistairncoles Apr 9, 2025
7bef99c
Merge "tests: add LabeledStatsdClient sample_rate kwarg coverage"
Apr 9, 2025
dd0ba77
Add skip reason next to test name in zuul output
clayg Apr 3, 2025
a4c151b
Merge "tests: Display extra test summary info"
Apr 9, 2025
4490960
Merge "tests: Remove BaseFakeStatsdClient.get_increment_counts"
Apr 9, 2025
c7f93f0
Merge "Add skip reason next to test name in zuul output"
Apr 9, 2025
addcc1e
s3request: refactor error handling while reading input
alistairncoles Apr 15, 2025
a93e420
s3request: refactor to introduce SigChecker classes
alistairncoles Apr 15, 2025
ab5c742
s3api: make MPU part error response message same as S3
alistairncoles Apr 16, 2025
d535a47
Merge "tests: rename zuul jobs that test s3api"
Apr 17, 2025
cb97944
Merge "s3request: refactor error handling while reading input"
Apr 17, 2025
fd9ceec
Merge "s3request: refactor to introduce SigChecker classes"
Apr 17, 2025
1ca073c
Let WSGI know the length
clayg Mar 18, 2025
51c8ea0
s3api: Remove some useless decoding
tipabu Apr 15, 2025
b80de7c
Test under py313
tipabu Apr 23, 2025
8af9141
Merge "Test under py313"
Apr 23, 2025
64bd1ac
Merge "Clarify that get_ppid is Linux-only"
Apr 23, 2025
e922e9b
Merge "s3api: Remove some useless decoding"
Apr 24, 2025
7403023
tempauth: Support fernet tokens
tipabu Oct 13, 2022
f8efa83
Remove tags from README
tipabu Apr 25, 2025
f882ba7
Merge "Remove tags from README"
Apr 25, 2025
cd1cc53
Merge "tempauth: Support fernet tokens"
Apr 30, 2025
b07843e
Fix the inconsistent use of printing errors
nmqng Apr 30, 2025
0767714
Merge "Fix the inconsistent use of printing errors"
May 1, 2025
ab6e059
Object-server: add labeled timing metrics for object REPLICATE request
yanxiaonv Mar 12, 2025
e708943
CI: update rolling-upgrade jobs
tipabu May 7, 2025
9a44550
Implement heartbeat response for COPY request
openstackadmin Mar 14, 2025
33b8949
Remove unused MANIFEST.in
anfimovir May 9, 2025
2c5bcfd
Merge "Implement heartbeat response for COPY request"
May 9, 2025
6212869
Merge "proxy_logging: remove unnecessary condition"
May 13, 2025
f9ac229
Add support of Sigv4-streaming
thibault-p Feb 7, 2025
b65855d
utils: Add CRCHasher and crc32c implementation
tipabu Feb 16, 2024
0714557
Drop support for py36
tipabu May 13, 2025
c12aa81
Merge "Drop support for py36"
May 14, 2025
7a3b737
Add config option for whether to skip s3_acl-requiring tests
alistairncoles May 14, 2025
020b5a7
trivial: statsd tests: remove references to delegate methods
alistairncoles Apr 7, 2025
33f409c
CI: run func tests during rolling upgrade job
tipabu May 14, 2025
c7c4703
Merge "CI: run func tests during rolling upgrade job"
May 15, 2025
4e2d080
Merge "tests: Use subTest"
May 15, 2025
a2725ea
CI: Move lower-constraints job to py37
tipabu May 15, 2025
43aa7ec
add pyproject.toml to support pip 23.1
SeanMooney Nov 2, 2023
296e894
Remove installation guide for openSUSE/SLES
anfimovir May 15, 2025
575a18d
Merge "Remove installation guide for openSUSE/SLES"
May 16, 2025
ec6e8bd
common: add http exception handling for base storage server timing stats
yanxiaonv May 8, 2025
edd5eb2
s3api: Allow PUT with `if-none-match: *`
tipabu May 13, 2025
4f7b1a9
Merge "Object-server: add labeled timing metrics for object REPLICATE…
May 19, 2025
f516065
Merge "common: add http exception handling for base storage server ti…
May 19, 2025
84a7076
Merge "s3api: Allow PUT with `if-none-match: *`"
May 19, 2025
b735b3d
object-server: return 503 not 404 if meta or data file unlinked
alistairncoles Feb 21, 2024
82b1964
Add labeled metrics to proxy-logging
yanxiaonv Feb 29, 2024
33b1774
s3api: more test cases for conditional writes.
jjhuo May 19, 2025
7d37076
Merge "s3api: more test cases for conditional writes."
May 21, 2025
1cd20f8
Merge "Add labeled metrics to proxy-logging"
May 21, 2025
c66c0bf
Object-server: add labeled timing metrics for other object server req…
yanxiaonv Apr 16, 2025
877c936
tests: Reduce test time on OSX
tipabu May 22, 2025
aa5bc01
tests: Speed up statsd test_methods_are_no_ops_when_not_enabled
tipabu May 22, 2025
74e09cd
Merge "tests: Reduce test time on OSX"
May 22, 2025
579bf0c
Merge "tests: Speed up statsd test_methods_are_no_ops_when_not_enabled"
May 22, 2025
f64269b
Merge "Object-server: add labeled timing metrics for other object ser…
May 22, 2025
3ff6b34
tests: Keep port number in valid range
tipabu May 22, 2025
38ad3a4
CI: run S3 cross-compat tests as part of DSVM jobs
tipabu Feb 18, 2025
1c244b3
Merge "Add config option for whether to skip s3_acl-requiring tests"
May 28, 2025
d0e9765
Merge "CI: run S3 cross-compat tests as part of DSVM jobs"
May 28, 2025
313959a
Object-server: change labeled timing metrics sample rate for debuggin…
yanxiaonv May 27, 2025
afacfb6
Merge "Object-server: change labeled timing metrics sample rate for d…
May 29, 2025
962084d
s3 compat tests: sanitize object listings
alistairncoles May 30, 2025
184641a
Merge "tests: Keep port number in valid range"
May 31, 2025
49ae2aa
CI: Skip grenade-skip-level-always similar to tempest
tipabu Jun 2, 2025
ad41dbe
Merge "s3 compat tests: sanitize object listings"
Jun 2, 2025
28db9bb
tests: Fix test_LoggerFileObject_recursion
tipabu Jun 5, 2025
9106b27
Merge "CI: Skip grenade-skip-level-always similar to tempest"
Jun 7, 2025
2e14051
tests: Fix some connection-closed testing on OS X
tipabu Jun 5, 2025
d227283
Merge "tests: Fix some connection-closed testing on OS X"
Jun 9, 2025
005d69d
Drop remaining skip check for Python < 3
kajinamit Jun 11, 2025
c177e7d
Clarify why there's a ShardRange.__hash__
tipabu Jun 16, 2025
9754eff
Use built-in implementation to get utc timezone
kajinamit Jun 23, 2025
e9da48d
Fix swift-dsvm-functional for devstack
tipabu Jun 24, 2025
69bff25
Merge "Use built-in implementation to get utc timezone"
Jun 24, 2025
5698934
Merge "Fix swift-dsvm-functional for devstack"
Jun 24, 2025
89ad202
Update SAIO document
kajinamit May 27, 2025
b2a0d96
Merge "Update SAIO document"
Jun 25, 2025
3dba681
Fix traceback in invalidate_hash
tipabu Jun 27, 2025
53b6615
test: use a tempdir in TestRingData
clayg Jun 27, 2025
a555a85
diskfile: Stop including traceback on quarantine
tipabu Jun 27, 2025
1a27d1b
s3api: fix multi-upload BadDigest error
alistairncoles Jun 11, 2025
364cc65
Merge "s3api: fix multi-upload BadDigest error"
Jul 1, 2025
1428eb3
Merge "Fix traceback in invalidate_hash"
Jul 7, 2025
de579d6
Imported Translations from Zanata
Jul 9, 2025
be56c1e
s3api: Validate additional checksums on upload
tipabu Apr 11, 2025
351ee72
s3api: add compat test sending too much body with checksum
alistairncoles Jul 10, 2025
61c0bfc
s3api: add more assertions w.r.t. S3 checksum BadDigest
alistairncoles Jul 10, 2025
2fc9209
Merge "s3api: Validate additional checksums on upload"
Jul 15, 2025
d9115f2
Merge "s3api: add compat test sending too much body with checksum"
Jul 16, 2025
404e1f2
s3api: Add support for crc64nvme checksum calculation
alistairncoles Apr 2, 2025
a1f7a1e
Merge "s3api: add more assertions w.r.t. S3 checksum BadDigest"
Jul 16, 2025
8af4857
Merge "s3api: Add support for crc64nvme checksum calculation"
Jul 18, 2025
0417979
Drop support for old pickled rings
tipabu Jun 26, 2025
e75e93f
Merge "Drop support for old pickled rings"
Jul 21, 2025
ae062f8
ring: Introduce a v2 ring format
tipabu Mar 18, 2022
fd342b9
sharder: make gap and overlap warning logs shorter
alistairncoles Jul 23, 2025
06a6329
Fix recursion error in account_quota middleware
cschwede Jul 25, 2025
2e83382
Merge "Fix recursion error in account_quota middleware"
Jul 25, 2025
f391330
Merge "sharder: make gap and overlap warning logs shorter"
Jul 28, 2025
4e32b2d
Merge "diskfile: Stop including traceback on quarantine"
Jul 31, 2025
220f791
Merge "Clarify why there's a ShardRange.__hash__"
Jul 31, 2025
86a1acc
crypto: Fix traceback on non-utf8, non-swift paths
tipabu Jun 27, 2025
1dc3307
ssync-receiver: terminate session if subreq read times out
tipabu Jun 27, 2025
ee432f0
Merge "ring: Introduce a v2 ring format"
Aug 5, 2025
a770881
Fix another way mw may encouter invalid swift paths
clayg Aug 6, 2025
d535833
Merge "crypto: Fix traceback on non-utf8, non-swift paths"
Aug 6, 2025
c8d0010
Merge "Fix another way mw may encouter invalid swift paths"
Aug 7, 2025
683218c
Ring v2 follow-up
tipabu Aug 5, 2025
044ba6c
Merge "Ring v2 follow-up"
Aug 8, 2025
bdb052b
Merge "ssync-receiver: terminate session if subreq read times out"
Aug 11, 2025
93b8854
Timestamp: fix inconsistent raw and normal values
alistairncoles Aug 13, 2025
74274ec
checksum.py: fail gracefully if pyeclib is broken
alistairncoles Aug 14, 2025
5b2e4e0
ssync unit test: fix intermittent failure
alistairncoles Aug 14, 2025
7f3e761
zuul: run py3.13 unit tests in the gate
alistairncoles Aug 14, 2025
de81a84
Revert "Remove unused MANIFEST.in"
tipabu May 21, 2025
fa3a75b
Merge "checksum.py: fail gracefully if pyeclib is broken"
Aug 15, 2025
c1d34ba
Merge "Timestamp: fix inconsistent raw and normal values"
Aug 15, 2025
28a56e3
Merge "zuul: run py3.13 unit tests in the gate"
Aug 16, 2025
4d24265
CI: Stop using bionic
tipabu Aug 19, 2025
dfab57b
Merge "Revert "Remove unused MANIFEST.in""
Aug 20, 2025
81df05a
checksums: Ignore broken pyeclib installs
tipabu Aug 21, 2025
c4cc83c
s3api compat tests: stop asserting DisplayName in Owner
alistairncoles Aug 13, 2025
457af40
Merge "s3api compat tests: stop asserting DisplayName in Owner"
Aug 22, 2025
aa3a4ee
docs: Fix python3 package names
tipabu Aug 22, 2025
32eaab2
proxy-logging: create field for access_user_id
vitb Jul 16, 2025
e10c2ba
Merge "proxy-logging: create field for access_user_id"
Aug 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .alltests
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

set -e

TOP_DIR=$(dirname $(realpath "$0"))

echo "==== Unit tests ===="
resetswift
$TOP_DIR/.unittests $@

echo "==== Func tests ===="
resetswift
startmain
$TOP_DIR/.functests $@

echo "==== Probe tests ===="
resetswift
$TOP_DIR/.probetests $@

echo "All tests runs fine"

exit 0
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ branch = True
omit = /usr*,setup.py,*egg*,.venv/*,.tox/*,test/*

[report]
ignore-errors = True
show_missing = True
ignore_errors = True
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.tox
api-ref
cover
doc/manpages
doc/s3api
doc/source
examples
releasenotes
.stestr
test
tools
20 changes: 10 additions & 10 deletions .functests
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/bash

SRC_DIR=$(dirname $0)
# How-To debug functional tests:
# SWIFT_TEST_IN_PROCESS=1 tox -e func -- --pdb test.functional.tests.TestFile.testCopy

cd ${SRC_DIR}/test/functional
nosetests --exe $@
func1=$?
cd -
SRC_DIR=$(dirname $(realpath "$0"))

cd ${SRC_DIR}/test/functionalnosetests
nosetests --exe $@
func2=$?
cd -
cd ${SRC_DIR} > /dev/null
export TESTS_DIR=${SRC_DIR}/test/functional
ARGS="run --concurrency 1 $@"
stestr $ARGS || stestr run --concurrency 1 --failing
rvalue=$?
cd - > /dev/null

exit $((func1 + func2))
exit $rvalue
21 changes: 19 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,27 @@
*.py[co]
*.sw?
*~
doc/build/*
dist
build
cover
ChangeLog
.coverage
swift.egg-info
*.egg
*.egg-info
.eggs/*
.DS_Store
.tox
pycscope.*
pycscope.*
.idea
MANIFEST

.testrepository/*
.stestr/*
.noseids
subunit.log
test/probe/.noseids
RELEASENOTES.rst
releasenotes/notes/reno.cache
/tools/playbooks/**/*.retry
.vscode/*
2 changes: 1 addition & 1 deletion .gitreview
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gerrit]
host=review.openstack.org
host=review.opendev.org
port=29418
project=openstack/swift.git
115 changes: 114 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ Greg Holt <[email protected]> gholt <[email protected]>
Greg Holt <[email protected]> gholt <[email protected]>
Greg Holt <[email protected]> gholt <[email protected]>
Greg Holt <[email protected]> gholt <[email protected]>
Greg Holt <[email protected]> <[email protected]>
Greg Holt <[email protected]>
John Dickinson <[email protected]> <[email protected]>
Michael Barton <[email protected]> <[email protected]>
Michael Barton <[email protected]> <[email protected]>
Michael Barton <[email protected]> Mike Barton
Clay Gerrard <[email protected]> <clayg@clayg-desktop>
Clay Gerrard <[email protected]> <[email protected]>
Clay Gerrard <[email protected]> <[email protected]>
Clay Gerrard <[email protected]> clayg <[email protected]>
David Goetz <[email protected]> <[email protected]>
David Goetz <[email protected]> <[email protected]>
Expand All @@ -17,19 +19,130 @@ Anne Gentle <[email protected]> annegentle
Fujita Tomonori <[email protected]>
Greg Lange <[email protected]> <[email protected]>
Greg Lange <[email protected]> <[email protected]>
Chmouel Boudjnah <[email protected]> <[email protected]>
Gaurav B. Gangalwar <[email protected]> [email protected] <>
Joe Arnold <[email protected]> <[email protected]>
Kapil Thangavelu <[email protected]> [email protected] <>
Samuel Merritt <[email protected]> <[email protected]>
Morita Kazutaka <[email protected]>
Zhong Yue Luo <lzyeval@gmail.com> lzyeval <[email protected]>
Zhongyue Luo <zhongyue.nah@intel.com> <[email protected]>
Russ Nelson <[email protected]> <nelson@nelson-laptop>
Marcelo Martins <[email protected]> <[email protected]>
Andrew Clay Shafer <[email protected]> <[email protected]>
Soren Hansen <[email protected]> <[email protected]>
Soren Hansen <[email protected]> <[email protected]>
Ye Jia Xu <[email protected]> monsterxx03 <[email protected]>
Victor Rodionov <[email protected]> <[email protected]>
Florian Hines <[email protected]> <[email protected]>
Jay Payne <[email protected]> <[email protected]>
Doug Weimer <[email protected]> <[email protected]>
Li Riqiang <[email protected]> lrqrun <[email protected]>
Cory Wright <[email protected]> <[email protected]>
Julien Danjou <[email protected]> <[email protected]>
David Hadas <[email protected]> <[email protected]>
Yaguang Wang <[email protected]> ywang19 <[email protected]>
Liu Siqi <[email protected]> dk647 <[email protected]>
James E. Blair <[email protected]> <[email protected]>
James E. Blair <[email protected]> <[email protected]>
Kun Huang <[email protected]> <[email protected]>
Michael Shuler <[email protected]> <[email protected]>
Ilya Kharin <[email protected]> <[email protected]>
Dmitry Ukov <[email protected]> Ukov Dmitry <[email protected]>
Tom Fifield <[email protected]> Tom Fifield <[email protected]>
Sascha Peilicke <[email protected]> Sascha Peilicke <[email protected]>
Zhenguo Niu <[email protected]> <[email protected]>
Peter Portante <[email protected]> <[email protected]>
Christian Schwede <[email protected]> <[email protected]>
Christian Schwede <[email protected]> <[email protected]>
Constantine Peresypkin <[email protected]> <[email protected]>
Madhuri Kumari <[email protected]> madhuri <madhuri@madhuri-VirtualBox.(none)>
Morgan Fainberg <[email protected]> <[email protected]>
Hua Zhang <[email protected]> <[email protected]>
Yummy Bian <[email protected]> <[email protected]>
Alistair Coles <[email protected]> <[email protected]>
Alistair Coles <[email protected]> <[email protected]>
Tong Li <[email protected]> <[email protected]>
Paul Luse <[email protected]> <[email protected]>
Yuan Zhou <[email protected]> <[email protected]>
Jola Mirecka <[email protected]> <[email protected]>
Ning Zhang <[email protected]> <[email protected]>
Mauro Stettler <[email protected]> <[email protected]>
Pawel Palucki <[email protected]> <[email protected]>
Guang Yee <[email protected]> <[email protected]>
Jing Liuqing <[email protected]> <[email protected]>
Lorcan Browne <[email protected]> <[email protected]>
Eohyung Lee <[email protected]> <[email protected]>
Harshit Chitalia <[email protected]> <[email protected]>
Richard Hawkins <[email protected]>
Sarvesh Ranjan <[email protected]>
Minwoo Bae <[email protected]> Minwoo B
Jaivish Kothari <[email protected]> <[email protected]>
Michael Matur <[email protected]>
Kazuhiro Miyahara <[email protected]>
Alexandra Settle <[email protected]> <[email protected]>
Kenichiro Matsuda <[email protected]>
Atsushi Sakai <[email protected]>
Takashi Natsume <[email protected]>
Nakagawa Masaaki <[email protected]> nakagawamsa
Romain Le Disez <[email protected]> Romain LE DISEZ
Romain Le Disez <[email protected]> <[email protected]>
Donagh McCabe <[email protected]> <[email protected]>
Donagh McCabe <[email protected]> <[email protected]>
Eamonn O'Toole <[email protected]> <[email protected]>
Gerry Drudy <[email protected]> <[email protected]>
Mark Seger <[email protected]> <[email protected]>
Timur Alperovich <[email protected]> <[email protected]>
Mehdi Abaakouk <[email protected]> <[email protected]>
Richard Hawkins <[email protected]> <[email protected]>
Ondrej Novy <[email protected]>
Ondrej Novy <[email protected]> <[email protected]>
Peter Lisák <[email protected]> <[email protected]>
Peter Lisák <[email protected]> Peter Lisák <[email protected]>
Ke Liang <[email protected]>
Daisuke Morita <[email protected]> <[email protected]>
Andreas Jaeger <[email protected]> <[email protected]>
Hugo Kuo <[email protected]>
Gage Hugo <[email protected]>
Oshrit Feder <[email protected]> <[email protected]>
Larry Rensing <[email protected]>
Ben Keller <[email protected]>
Chaozhe Chen <[email protected]>
Brian Cline <[email protected]> <[email protected]>
Brian Cline <[email protected]> <[email protected]>
Dharmendra Kushwaha <[email protected]>
Zhang Guoqing <[email protected]>
Kato Tomoyuki <[email protected]>
Liang Jingtao <[email protected]>
Yu Yafei <[email protected]>
Zheng Yao <[email protected]>
Paul Dardeau <[email protected]> <[email protected]>
Cheng Li <[email protected]>
Nandini Tata <[email protected]> <[email protected]>
Flavio Percoco <[email protected]>
Tin Lam <[email protected]> <[email protected]>
Hisashi Osanai <[email protected]> <[email protected]>
Bryan Keller <[email protected]>
Doug Hellmann <[email protected]> <[email protected]>
zhangdebo1987 <[email protected]> zhangdebo
Thomas Goirand <[email protected]> <[email protected]>
Thiago da Silva <[email protected]> <[email protected]>
Kota Tsuyuzaki <[email protected]> <[email protected]>
Kota Tsuyuzaki <[email protected]> <[email protected]>
Kota Tsuyuzaki <[email protected]> <[email protected]>
Ehud Kaldor <[email protected]> <[email protected]>
Takashi Kajinami <[email protected]> <[email protected]>
Takashi Kajinami <[email protected]> <[email protected]>
Yuxin Wang <[email protected]> Wang Yuxin
Gilles Biannic <[email protected]> gillesbiannic
melissaml <[email protected]> <[email protected]>
Ashwin Nair <[email protected]> indianwhocodes
Romain de Joux <[email protected]> <[email protected]>
Takashi Natsume <[email protected]> <[email protected]>
Pete Zaitcev <[email protected]> <[email protected]>
Mandell Degerness <[email protected]> <[email protected]>
Anish Kachinthaya <[email protected]> <[email protected]>
Daanish Khan <[email protected]> <[email protected]>
Chris Smart <[email protected]> <[email protected]>
Ashwin Nair <[email protected]> <[email protected]>
Chinemerem Chigbo <[email protected]> Chinemerem
Chinemerem Chigbo <[email protected]> <[email protected]>
18 changes: 18 additions & 0 deletions .manpages
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh

RET=0
for MAN in doc/manpages/* ; do
OUTPUT=$(LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l \
-Tutf8 -Z "$MAN" 2>&1 >/dev/null)
if [ -n "$OUTPUT" ] ; then
RET=1
echo "$MAN:"
echo "$OUTPUT"
fi
done

if [ "$RET" -eq "0" ] ; then
echo "All manpages are fine"
fi

exit "$RET"
6 changes: 4 additions & 2 deletions .probetests
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

cd $(dirname $0)/test/probe
nosetests --exe
SRC_DIR=$(dirname $(realpath "$0"))

cd ${SRC_DIR}/test/probe
pytest $@
rvalue=$?
cd -

Expand Down
2 changes: 2 additions & 0 deletions .stestr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[DEFAULT]
test_path=./test/functional
6 changes: 4 additions & 2 deletions .unittests
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

cd $(dirname $0)/test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
TOP_DIR=$(dirname $(realpath "$0"))

cd $TOP_DIR/test/unit
pytest --cov-report=html:"$TOP_DIR"/cover $@
rvalue=$?
rm -f .coverage
cd -
Expand Down
Loading