Skip to content
/ swift Public
forked from openstack/swift
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8916 commits
Select commit Hold shift + click to select a range
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
484672b
Fully remove netifaces
tipabu May 11, 2023
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
a18fb08
Switch py39 jobs to use py3-constraints.txt
tipabu Aug 28, 2025
1ed7b71
Update py3-constraints.txt
tipabu Aug 28, 2025
3db8e2d
Clean up some py36 infra
tipabu Aug 28, 2025
2132598
CI: Remove a bunch of unnecessary bindep profiles
tipabu Aug 28, 2025
e13f4ab
tests: Skip some tests if crc32c is not available
tipabu Aug 29, 2025
b5e6964
s3api: fix test_service with pre-existing buckets
clayg Aug 22, 2025
82cb5a5
AUTHORS/CHANGELOG for 2.36.0
tipabu Aug 1, 2025
397f94c
diskfile: Fix UnboundLocalError during part power increase
tipabu Sep 10, 2025
63eeb00
Update master for stable/2025.2
openstackadmin Sep 11, 2025
bd27fc6
cleaning up and fixing some links
Sep 15, 2025
c26c7b8
tests: simplify TestGlobalSetupObjectReconstructor setUp
alistairncoles Sep 16, 2025
815393d
test: fix module state pollution
clayg Sep 15, 2025
7b05356
test: do not create timestamp collision unnecessarily
clayg Sep 15, 2025
2142861
Merge "cleaning up and fixing some links"
Sep 16, 2025
f3e98aa
Merge "tests: simplify TestGlobalSetupObjectReconstructor setUp"
Sep 16, 2025
d0a3b1b
Merge "test: fix module state pollution"
Sep 16, 2025
4cacaa9
Merge "test: do not create timestamp collision unnecessarily"
Sep 16, 2025
92dd03e
Merge "diskfile: Fix UnboundLocalError during part power increase"
Sep 16, 2025
b035ed1
add Christian O to AUTHORS
Sep 17, 2025
707a65a
common: add memcached based cooperative token mechanism.
jjhuo Mar 19, 2024
d353f15
account-broker: add resilient path property with lazy cache
indianwhocodes Sep 9, 2025
dd23020
Merge "common: add memcached based cooperative token mechanism."
Sep 29, 2025
d9883d0
proxy: use cooperative tokens to coalesce updating shard range reques…
jjhuo Mar 20, 2024
ba1ab9d
Adds --skip-commits to s-m-s-r
Sep 26, 2025
e5d44d6
Merge "proxy: use cooperative tokens to coalesce updating shard range…
Sep 30, 2025
389747a
doc: specify seconds in proxy-server.conf-sample
clayg Sep 30, 2025
b55f13c
test: move import to top of file
clayg Sep 30, 2025
a9a1ea4
Merge "Adds --skip-commits to s-m-s-r"
Sep 30, 2025
79feb12
docs: More proxy-server.conf-sample cleanup
tipabu Oct 1, 2025
64bb041
Assert metadata of SLO PUT from container sync
clayg Sep 14, 2016
6da1207
Merge "test: move import to top of file"
Oct 1, 2025
a6bde72
Test each method in test_crossdomain_get_only
sgundur1 Oct 18, 2016
6e9a06b
Merge "doc: specify seconds in proxy-server.conf-sample"
Oct 1, 2025
05fcc59
Merge "docs: More proxy-server.conf-sample cleanup"
Oct 1, 2025
9a45531
Merge "Test each method in test_crossdomain_get_only"
Oct 1, 2025
ac5c783
Merge "Assert metadata of SLO PUT from container sync"
Oct 1, 2025
3c6e967
test: fix AccountBroker.path tests
clayg Sep 29, 2025
97e00e2
trivial: reorder AccountBroker.path methods
clayg Sep 29, 2025
5568dd0
Fix swift_dir setting in WSGI servers
smerritt Oct 7, 2025
e963d13
Merge "s3api: fix test_service with pre-existing buckets"
Oct 8, 2025
41bf72a
common.db_replicator: log container, db paths consistently
indianwhocodes Sep 20, 2024
be62933
relinker: allow clobber-hardlink-collision
clayg Sep 18, 2025
c0fefe8
trivial test_[db_]replicator cleanup
alistairncoles Oct 13, 2025
4fa1237
Merge "common.db_replicator: log container, db paths consistently"
Oct 13, 2025
c161aa1
Merge "relinker: allow clobber-hardlink-collision"
Oct 13, 2025
fac55ce
test-db-replicator (trivial): just one tmpdir
clayg Oct 13, 2025
4b7543b
Merge "trivial test_[db_]replicator cleanup"
Oct 14, 2025
48a5d5e
Merge "test-db-replicator (trivial): just one tmpdir"
Oct 14, 2025
9d7e7e2
Provide some s3 helper methods for other middlewares to use.
yanxiaonv Jan 30, 2025
9232350
Merge "Fix swift_dir setting in WSGI servers"
Oct 14, 2025
7744e4a
Move Pete Zaitcev to Core Emeritus
tipabu Oct 18, 2025
8cbe105
Update resource type in labels.html
nvshreeya Oct 22, 2025
f256bc7
tests: remove some global patching
clayg Oct 14, 2025
89e9ced
tests: idiomatic ring patching
clayg Oct 27, 2025
e450b8c
tests: belts and braces idiomatic patching
clayg Oct 27, 2025
dcd5a26
proxy-logging: Add real-time transfer bytes counters
yanxiaonv Sep 26, 2024
a785025
reno: Update master for unmaintained/2024.1
openstackadmin Oct 31, 2025
8f36f18
Merge "Move Pete Zaitcev to Core Emeritus"
Oct 31, 2025
d87ebd7
Merge "reno: Update master for unmaintained/2024.1"
Oct 31, 2025
e7bb2a3
s3token: Pass service auth token to Keystone
tipabu Oct 31, 2025
0d884dc
Merge "Provide some s3 helper methods for other middlewares to use."
Nov 3, 2025
3809085
Merge "proxy-logging: Add real-time transfer bytes counters"
Nov 3, 2025
52730e1
Merge "tests: remove some global patching"
Nov 3, 2025
ef8b2a5
Return 503 for POST request with mixed 202/404 responses
clayg Aug 1, 2025
ee6f4c6
trivial: tests: clarify exception handling
alistairncoles Nov 4, 2025
a6790fc
Merge "tests: idiomatic ring patching"
Nov 4, 2025
e762237
Merge "tests: belts and braces idiomatic patching"
Nov 4, 2025
3c7a2b4
Merge "s3token: Pass service auth token to Keystone"
Nov 4, 2025
b147eae
Merge "trivial: tests: clarify exception handling"
Nov 4, 2025
5f89d14
s3token: Enable secret caching by default
tipabu Nov 5, 2025
cbc3b42
s3api: verify checksums on DeleteObjects POSTs
alistairncoles Jun 12, 2025
affdbf7
trivial: tests: add failure context to flakey assertion
alistairncoles Nov 17, 2025
bb7d097
Merge "s3api: verify checksums on DeleteObjects POSTs"
Nov 17, 2025
676e68f
Merge "trivial: tests: add failure context to flakey assertion"
Nov 18, 2025
96e7db0
swob: add a date_header_format helper function
alistairncoles Nov 24, 2025
41376fc
trivial: Use swob date-header helpers more
tipabu Nov 24, 2025
98005fa
Allow Timestamps in swob's date-header helpers
tipabu Nov 24, 2025
02bc7e4
tests: pass Timestamps to date_header_format
alistairncoles Nov 25, 2025
c8da867
tests: clarify timestamp formats
alistairncoles Nov 24, 2025
3ba9222
Merge "tests: clarify timestamp formats"
Nov 26, 2025
f324fb4
Merge "tests: pass Timestamps to date_header_format"
Nov 26, 2025
48937cd
TombstoneReclaimer: quote string timestamp in sql query
matthewoliver Nov 25, 2025
760829a
account: Use Timestamps better in test_backend unit tests
matthewoliver Nov 27, 2025
d31b201
test_db.py: clean up usage of Timestamps
alistairncoles Nov 26, 2025
a079463
test_diskfile.py: fix failing test if O_TMPFILE unsupported
alistairncoles Nov 28, 2025
800cf32
test_reconstructor.py: make hashes assertions less brittle
alistairncoles Nov 28, 2025
18b861b
obj test_expirer.py and test_auditor.py: fix timestamp usage
alistairncoles Nov 27, 2025
5658355
account/test_utils: cleanup Timestamp usage
alistairncoles Nov 28, 2025
254100e
tests: container/test_backend.py cleanup
alistairncoles Nov 25, 2025
0190d81
test_diskfile.py: fix Timestamp usage
alistairncoles Nov 26, 2025
91dd65d
test_symlink.py: cleanup Timestamp usage
alistairncoles Nov 28, 2025
a70e33e
test_constraints.py: cleanup Timestamp usage
alistairncoles Nov 28, 2025
e6f1b06
test/unit/container: cleanup Timestamp usage
alistairncoles Dec 1, 2025
ca9db70
account/test_reaper.py: cleanup Timestamp usage
alistairncoles Dec 1, 2025
22605d2
cli/test_info.py: cleanup Timestamp usage
alistairncoles Dec 1, 2025
da983fd
Merge "Return 503 for POST request with mixed 202/404 responses"
Dec 3, 2025
9babfef
Enhances sharding_in_progress metrics in recon log
Sep 24, 2025
d228a73
Adds labeled cleaving metrics to the sharder
Oct 30, 2025
39e5cc0
Merge "Enhances sharding_in_progress metrics in recon log"
Dec 4, 2025
0eabd90
Merge "Adds labeled cleaving metrics to the sharder"
Dec 4, 2025
df5131b
Device in fresh db id suffix
matthewoliver Nov 11, 2025
259afd2
ssync: Refactor tests to use Timestamp and new assert
matthewoliver Dec 2, 2025
b76c733
test: reconciler tests to use Timestamp class over time
matthewoliver Dec 3, 2025
6dccca3
container tests: Use TS.normal for db_names
matthewoliver Dec 4, 2025
3123422
test_relinker: cleanup Timestamp usage
matthewoliver Dec 4, 2025
db578c1
Add a Timestamp.zero() method
alistairncoles Nov 26, 2025
5df4e75
slo: use Timestamp.zero() as default in RespAttrs
alistairncoles Nov 28, 2025
80bbcfe
test_utils: cleanup Timestamp usage
alistairncoles Dec 1, 2025
9abd8ae
sharder: use correct Timestamp formats
matthewoliver Dec 2, 2025
20a2c47
Merge "ssync: Refactor tests to use Timestamp and new assert"
Dec 5, 2025
01d7eef
Add labeled metrics to s3api
nvshreeya Jan 16, 2025
a6c3e7d
wsgi: Add url length limit config
yanxiaonv Dec 2, 2025
768815b
max_request_line: add probe test assertions
alistairncoles Dec 8, 2025
3201b53
Merge "wsgi: Add url length limit config"
Dec 9, 2025
766dcc8
Merge "test: reconciler tests to use Timestamp class over time"
Dec 12, 2025
1353b55
Merge "container tests: Use TS.normal for db_names"
Dec 12, 2025
65f606a
Merge "test_relinker: cleanup Timestamp usage"
Dec 12, 2025
124cdcb
Merge "Add a Timestamp.zero() method"
Dec 12, 2025
9fb75e5
Merge "slo: use Timestamp.zero() as default in RespAttrs"
Dec 12, 2025
6e6658c
Merge "test_utils: cleanup Timestamp usage"
Dec 12, 2025
eb567b2
Merge "max_request_line: add probe test assertions"
Dec 13, 2025
0ceff0f
test_base.py: tighten up use of Timestamp
alistairncoles Nov 26, 2025
bf1e370
test_relinker.py: fix delta timestamp setup
alistairncoles Dec 13, 2025
1698fc3
OldestAsyncPendingTracker accepts Timestamp.internal
alistairncoles Dec 13, 2025
55eddb9
container/test_server: cleanup Timestamp usage
alistairncoles Nov 26, 2025
3fea9f4
Replace deprecated warn method
kajinamit Dec 16, 2025
9059935
Merge "sharder: use correct Timestamp formats"
Dec 16, 2025
0550bd4
Merge "container/test_server: cleanup Timestamp usage"
Dec 17, 2025
0323f9c
Merge "Add labeled metrics to s3api"
Dec 18, 2025
3a4da50
Merge "Replace deprecated warn method"
Dec 18, 2025
8bf6e09
Merge "test_diskfile.py: fix failing test if O_TMPFILE unsupported"
Dec 19, 2025
c36e789
proxy/test_server.py: test_policy_IO_override timestamp refactoring.
jjhuo Dec 18, 2025
326fad0
cli/info.py: use Timestamp.zero as default timestamp
alistairncoles Dec 23, 2025
977b96b
test_object_versioning.py: used mocked Timestamps
alistairncoles Dec 23, 2025
9366678
legacy versioning: use Timestamp to create marker name
alistairncoles Dec 23, 2025
2e8d276
Remove duplicate sample config option
tipabu Jan 9, 2026
50df63d
tests: relocate timestamp tests to test_timestamp.py
alistairncoles Jan 5, 2026
f84486e
versioned_writes: use new parse_date_header helper
alistairncoles Jan 2, 2026
149f8f3
Merge "Remove duplicate sample config option"
Jan 9, 2026
15a1c02
Update rolling-upgrade jobs
tipabu Jan 9, 2026
327401e
docs: Clarify circumstances for using clobber_hardlink_collisions
tipabu Jan 9, 2026
e001e07
Merge "versioned_writes: use new parse_date_header helper"
Jan 10, 2026
ff79e13
Merge "docs: Clarify circumstances for using clobber_hardlink_collisi…
Jan 12, 2026
8f82e45
test_sync.py: fix timestamp handling
alistairncoles Jan 7, 2026
949f0fd
tests: assert that X-Timestamp headers are valid
alistairncoles Jan 6, 2026
db13f71
probe tests: fix timestamp handling
alistairncoles Jan 7, 2026
1971983
test_backend.py: refactor TestUpdateNewItemFromExisting
alistairncoles Jan 7, 2026
86d1dee
Update dockerhub secret
tipabu Jan 13, 2026
0862c23
Recliam db_dir/*.tmp files
matthewoliver Nov 11, 2025
803c338
Merge "Device in fresh db id suffix"
Jan 16, 2026
7219171
Merge "Recliam db_dir/*.tmp files"
Jan 16, 2026
64bde7e
proxy-logging: Add 'api' labels
yanxiaonv Dec 16, 2024
732fd85
Fix flakey db_replicator unit test
alistairncoles Jan 20, 2026
ce829c4
CI: clean up old swift-*-image-py3 jobs
tipabu Jan 20, 2026
e255f11
Merge "Fully remove netifaces"
Jan 20, 2026
22fe124
Merge "CI: clean up old swift-*-image-py3 jobs"
Jan 20, 2026
a572a08
Fix flakey proxy server test_node_timing
alistairncoles Jan 21, 2026
9b52363
CI: Update dockerhub secret (again)
tipabu Jan 20, 2026
5a7239f
Merge "CI: Update dockerhub secret (again)"
Jan 23, 2026
1b0c11b
Updating the dockerhub secret (again^2)
matthewoliver Jan 26, 2026
ee682f4
CI: Update dockerhub secret yet again
tipabu Jan 26, 2026
ef0d859
CI: Make swift-upload-image non-voting again
tipabu Jan 20, 2026
fb6b709
Add barbican_region_name support to Swift kms_keymaster middleware
vakwetu Jan 23, 2026
d087245
Merge "Add barbican_region_name support to Swift kms_keymaster middle…
Jan 26, 2026
e5ef335
Merge "CI: Make swift-upload-image non-voting again"
Jan 26, 2026
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
119 changes: 117 additions & 2 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ Greg Holt <gholt@rackspace.com> gholt <gholt@brim.net>
Greg Holt <gholt@rackspace.com> gholt <devnull@brim.net>
Greg Holt <gholt@rackspace.com> gholt <z-github@brim.net>
Greg Holt <gholt@rackspace.com> gholt <z-launchpad@brim.net>
Greg Holt <gholt@rackspace.com> <gregory.holt+launchpad.net@gmail.com>
Greg Holt <gholt@rackspace.com>
John Dickinson <me@not.mn> <john.dickinson@rackspace.com>
Michael Barton <mike@weirdlooking.com> <michael.barton@rackspace.com>
Michael Barton <mike@weirdlooking.com> <mike-launchpad@weirdlooking.com>
Michael Barton <mike@weirdlooking.com> Mike Barton
Clay Gerrard <clay.gerrard@gmail.com> <clayg@clayg-desktop>
Clay Gerrard <clay.gerrard@gmail.com> <clay.gerrard@rackspace.com>
Clay Gerrard <clay.gerrard@gmail.com> <clay@swiftstack.com>
Clay Gerrard <clay.gerrard@gmail.com> clayg <clay.gerrard@gmail.com>
David Goetz <david.goetz@rackspace.com> <david.goetz@gmail.com>
David Goetz <david.goetz@rackspace.com> <dpgoetz@gmail.com>
Expand All @@ -17,19 +19,132 @@ Anne Gentle <anne@openstack.org> annegentle
Fujita Tomonori <fujita.tomonori@lab.ntt.co.jp>
Greg Lange <greglange@gmail.com> <glange@rackspace.com>
Greg Lange <greglange@gmail.com> <greglange+launchpad@gmail.com>
Chmouel Boudjnah <chmouel@enovance.com> <chmouel@chmouel.com>
Gaurav B. Gangalwar <gaurav@gluster.com> gaurav@gluster.com <>
Joe Arnold <joe@swiftstack.com> <joe@cloudscaling.com>
Kapil Thangavelu <kapil.foss@gmail.com> kapil.foss@gmail.com <>
Samuel Merritt <sam@swiftstack.com> <spam@andcheese.org>
Samuel Merritt <sam@swiftstack.com> <spam@andcheese.org> <smerritt@nvidia.com>
Morita Kazutaka <morita.kazutaka@gmail.com>
Zhong Yue Luo <lzyeval@gmail.com> lzyeval <lzyeval@gmail.com>
Zhongyue Luo <zhongyue.nah@intel.com> <lzyeval@gmail.com>
Russ Nelson <russ@crynwr.com> <nelson@nelson-laptop>
Marcelo Martins <btorch@gmail.com> <marcelo.martins@rackspace.com>
Andrew Clay Shafer <acs@parvuscaptus.com> <andrew@cloudscaling.com>
Soren Hansen <soren@linux2go.dk> <soren.hansen@rackspace.com>
Soren Hansen <soren@linux2go.dk> <sorhanse@cisco.com>
Ye Jia Xu <xyj.asmy@gmail.com> monsterxx03 <xyj.asmy@gmail.com>
Victor Rodionov <victor.rodionov@nexenta.com> <vito.ordaz@gmail.com>
Florian Hines <syn@ronin.io> <florian.hines@gmail.com>
Jay Payne <letterj@gmail.com> <letterj@racklabs.com>
Doug Weimer <dweimer@gmail.com> <dougw@sdsc.edu>
Li Riqiang <lrqrun@gmail.com> lrqrun <lrqrun@gmail.com>
Cory Wright <cory.wright@rackspace.com> <corywright@gmail.com>
Julien Danjou <julien@danjou.info> <julien.danjou@enovance.com>
David Hadas <davidh@il.ibm.com> <david.hadas@gmail.com>
Yaguang Wang <yaguang.wang@intel.com> ywang19 <yaguang.wang@intel.com>
Liu Siqi <meizu647@gmail.com> dk647 <meizu647@gmail.com>
James E. Blair <jeblair@openstack.org> <james.blair@rackspace.com>
James E. Blair <jeblair@openstack.org> <jeblair@redhat.com>
Kun Huang <gareth@unitedstack.com> <academicgareth@gmail.com>
Michael Shuler <mshuler@gmail.com> <mshuler@rackspace.com>
Ilya Kharin <ikharin@mirantis.com> <akscram@gmail.com>
Dmitry Ukov <dukov@mirantis.com> Ukov Dmitry <dukov@mirantis.com>
Tom Fifield <tom@openstack.org> Tom Fifield <fifieldt@unimelb.edu.au>
Sascha Peilicke <saschpe@gmx.de> Sascha Peilicke <saschpe@suse.de>
Zhenguo Niu <zhenguo@unitedstack.com> <Niu.ZGlinux@gmail.com>
Peter Portante <peter.portante@redhat.com> <peter.a.portante@gmail.com>
Christian Schwede <cschwede@redhat.com> <info@cschwede.de>
Christian Schwede <cschwede@redhat.com> <christian.schwede@enovance.com>
Constantine Peresypkin <constantine.peresypk@rackspace.com> <constantine@litestack.com>
Madhuri Kumari <madhuri.rai07@gmail.com> madhuri <madhuri@madhuri-VirtualBox.(none)>
Morgan Fainberg <morgan.fainberg@gmail.com> <m@metacloud.com>
Hua Zhang <zhuadl@cn.ibm.com> <zhuadl@cn.ibm.com>
Yummy Bian <yummy.bian@gmail.com> <yummy.bian@gmail.com>
Alistair Coles <alistairncoles@gmail.com> <alistair.coles@hpe.com>
Alistair Coles <alistairncoles@gmail.com> <alistair.coles@hp.com>
Tong Li <litong01@us.ibm.com> <litong01@us.ibm.com>
Paul Luse <paul.e.luse@intel.com> <paul.e.luse@intel.com>
Yuan Zhou <yuan.zhou@intel.com> <yuan.zhou@intel.com>
Jola Mirecka <jola.mirecka@hp.com> <jola.mirecka@hp.com>
Ning Zhang <ning@zmanda.com> <ning@zmanda.com>
Mauro Stettler <mauro.stettler@gmail.com> <mauro.stettler@gmail.com>
Pawel Palucki <pawel.palucki@gmail.com> <pawel.palucki@gmail.com>
Guang Yee <guang.yee@hpe.com> <guang.yee@hp.com>
Jing Liuqing <jing.liuqing@99cloud.net> <jing.liuqing@99cloud.net>
Lorcan Browne <lorcan.browne@hpe.com> <lorcan.browne@hp.com>
Eohyung Lee <liquidnuker@gmail.com> <liquid@kt.com>
Harshit Chitalia <harshit@acelio.com> <harshit@acelio.com>
Richard Hawkins <richard.hawkins@rackspace.com>
Sarvesh Ranjan <saranjan@cisco.com>
Minwoo Bae <minwoob@us.ibm.com> Minwoo B
Jaivish Kothari <jaivish.kothari@nectechnologies.in> <janonymous.codevulture@gmail.com>
Michael Matur <michael.matur@gmail.com>
Kazuhiro Miyahara <miyahara.kazuhiro@lab.ntt.co.jp>
Alexandra Settle <asettle@suse.com> <alexandra.settle@rackspace.com>
Kenichiro Matsuda <matsuda_kenichi@jp.fujitsu.com>
Atsushi Sakai <sakaia@jp.fujitsu.com>
Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Nakagawa Masaaki <nakagawamsa@nttdata.co.jp> nakagawamsa
Romain Le Disez <romain.ledisez@ovh.net> Romain LE DISEZ
Romain Le Disez <romain.ledisez@ovh.net> <romain.le-disez@corp.ovh.com>
Donagh McCabe <donagh.mccabe@gmail.com> <donagh.mccabe@hpe.com>
Donagh McCabe <donagh.mccabe@gmail.com> <donagh.mccabe@hp.com>
Eamonn O'Toole <eamonn.otoole@hpe.com> <eamonn.otoole@hp.com>
Gerry Drudy <gerry.drudy@hpe.com> <gerry.drudy@hp.com>
Mark Seger <mark.seger@hpe.com> <mark.seger@hp.com>
Timur Alperovich <timur.alperovich@gmail.com> <timuralp@swiftstack.com>
Mehdi Abaakouk <sileht@redhat.com> <mehdi.abaakouk@enovance.com>
Richard Hawkins <richard.hawkins@rackspace.com> <hurricanerix@gmail.com>
Ondrej Novy <ondrej.novy@firma.seznam.cz>
Ondrej Novy <ondrej.novy@firma.seznam.cz> <novy@ondrej.org>
Peter Lisák <peter.lisak@gmail.com> <peter.lisak@firma.seznam.cz>
Peter Lisák <peter.lisak@gmail.com> Peter Lisák <peter.lisak@firma.seznam.cz>
Ke Liang <ke.liang@easystack.cn>
Daisuke Morita <morita.daisuke@ntti3.com> <morita.daisuke@lab.ntt.co.jp>
Andreas Jaeger <aj@suse.de> <aj@suse.com>
Hugo Kuo <tonytkdk@gmail.com>
Gage Hugo <gh159m@att.com>
Oshrit Feder <oshritf@il.ibm.com> <OSHRITF@il.ibm.com>
Larry Rensing <lr699s@att.com>
Ben Keller <bjkeller@us.ibm.com>
Chaozhe Chen <chaozhe.chen@easystack.cn>
Brian Cline <bcline@softlayer.com> <bcline@us.ibm.com>
Brian Cline <bcline@softlayer.com> <brian.cline@gmail.com>
Dharmendra Kushwaha <dharmendra.kushwaha@nectechnologies.in>
Zhang Guoqing <zhang.guoqing@99cloud.net>
Kato Tomoyuki <kato.tomoyuki@jp.fujitsu.com>
Liang Jingtao <liang.jingtao@zte.com.cn>
Yu Yafei <yu.yafei@zte.com.cn>
Zheng Yao <zheng.yao1@zte.com.cn>
Paul Dardeau <paul.dardeau@intel.com> <pauldardeau@gmail.com>
Cheng Li <shcli@cn.ibm.com>
Nandini Tata <nandini.tata@intel.com> <nandini.tata.15@gmail.com>
Flavio Percoco <flaper87@gmail.com>
Tin Lam <tinlam@gmail.com> <tl3438@att.com>
Hisashi Osanai <osanai.hisashi@gmail.com> <osanai.hisashi@jp.fujitsu.com>
Bryan Keller <kellerbr@us.ibm.com>
Doug Hellmann <doug@doughellmann.com> <doug.hellmann@dreamhost.com>
zhangdebo1987 <zhangdebo@inspur.com> zhangdebo
Thomas Goirand <thomas@goirand.fr> <zigo@debian.org>
Thiago da Silva <thiagodasilva@gmail.com> <thiago@redhat.com>
Kota Tsuyuzaki <bloodeagle40234@gmail.com> <kota.tsuyuzaki.pc@hco.ntt.co.jp>
Kota Tsuyuzaki <bloodeagle40234@gmail.com> <tsuyuzaki.kota@lab.ntt.co.jp>
Kota Tsuyuzaki <bloodeagle40234@gmail.com> <k.tsuyuzaki@ntt.com>
Ehud Kaldor <ehud@unfairfunction.org> <ehud@UnfairFunction.org>
Takashi Kajinami <kajinamit@oss.nttdata.com> <kajinamit@nttdata.co.jp>
Takashi Kajinami <kajinamit@oss.nttdata.com> <tkajinam@redhat.com>
Yuxin Wang <wang.yuxin@ostorage.com.cn> Wang Yuxin
Gilles Biannic <gilles.biannic@corp.ovh.com> gillesbiannic
melissaml <ma.lei@99cloud.net> <malei@maleideMacBook-Pro.local>
Ashwin Nair <nairashwin952013@gmail.com> indianwhocodes
Romain de Joux <romain.de-joux@ovhcloud.com> <romain.de-joux@corp.ovh.com>
Takashi Natsume <takanattie@gmail.com> <natsume.takashi@lab.ntt.co.jp>
Pete Zaitcev <zaitcev@yahoo.com> <zaitcev@kotori.zaitcev.us>
Mandell Degerness <mdegerness@nvidia.com> <mdegerness@swiftstack.com>
Anish Kachinthaya <anishk23733@gmail.com> <akachinthaya@nvidia.com>
Daanish Khan <daanish1337@gmail.com> <daanishk@andrew.cmu.edu>
Chris Smart <distroguy@gmail.com> <chris.smart@humanservices.gov.au>
Ashwin Nair <nairashwin952013@gmail.com> <ashnair@nvidia.com>
Chinemerem Chigbo <chinemeremchigbo@Outlook.com> Chinemerem
Chinemerem Chigbo <chinemeremchigbo@Outlook.com> <cchigbo@nvidia.com>
Tim Burke <tim.burke@gmail.com> <tburke@nvidia.com>
Christian Ohanaja <christianohanaja431@gmail.com> <cohanaja@nvidia.com>
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