)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"307a510748b7599f587c6e85e9df7c2343eb2c14","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"d0a751f9_5cc42c25","updated":"2026-08-21 20:40:29.000000000","message":"i think it\u0027s weird to fix s3api compatibility bugs w/o s3-cross-compat tests:\n\n1001893: sq? Test chunked checksum errors in S3 API | https://review.opendev.org/c/openstack/swift/+/1001893\n\nif you add content-length to the new `test_object_PUT_chunked_transfer_with_checksum` request it will 200 - but it *should* still 501\n\nhttps://review.opendev.org/c/openstack/swift/+/1001893/2/test/unit/common/middleware/s3api/test_obj.py#863\n\nFWIW 50% of the new unit tests here are just validating existing behavior is unchagned; with the change reverted only the 500\u003d\u003e501 tests fail:\n\n```\nFAILED test/unit/common/middleware/s3api/test_multi_delete.py::TestS3ApiMultiDeleteNoAcl::test_object_multi_DELETE_chunked_transfer_with_checksum\nFAILED test/unit/common/middleware/s3api/test_multi_delete.py::TestS3ApiMultiDeleteAcl::test_object_multi_DELETE_chunked_transfer_with_checksum\nFAILED test/unit/common/middleware/s3api/test_obj.py::TestS3ApiObj::test_object_PUT_chunked_transfer_with_checksum\nFAILED test/unit/common/middleware/s3api/test_obj.py::TestS3ApiObjNonUTC::test_object_PUT_chunked_transfer_with_checksum\nFAILED test/unit/common/middleware/s3api/test_obj.py::TestS3ApiObjAcl::test_object_PUT_chunked_transfer_with_checksum\nFAILED test/unit/common/middleware/s3api/test_obj.py::TestS3ApiObjNonUTCAcl::test_object_PUT_chunked_transfer_with_checksum\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d 6 failed, 374 passed in 4.41s \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n```\n\nI think some of the existing chunked-transfer\u003d\u003e200 behaviors are already tested elsewhere, e.g.\n\nhttps://review.opendev.org/c/openstack/swift/+/927177/4/test/unit/common/middleware/s3api/test_acl.py#a138\n\n... so what\u0027s inspiring us to add NEW tests here for behavior that we\u0027re not changing and we\u0027re not even sure we want?  I think the diff would be tighter if it only tested the 500\u003d\u003e501 fix leaving the pre-existing 200 handling as open question w/o any presumption that the existing test suite isn\u0027t already doing a sufficient job of maintaining the questionable non-confirming behavior i.e. this bug fix would be WRONG place to FURTHER enshire the 200 behavior as \"correct to maintain\"\n\nI suggest we just drop the new 200 tests for now","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":39146,"name":"Nathaniel Martes","display_name":"Nate Martes","email":"natemartes09@gmail.com","username":"nmartes"},"change_message_id":"2e85683900b259d8c75cef9ca548db58bee04c06","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"49966bc9_88f54bdb","updated":"2026-08-31 21:37:47.000000000","message":"I think this is good, my only gripe is to add `Related-Change` in the commit message to point to 927177: s3api: Reject unsupported Transfer-Encoding | https://review.opendev.org/c/openstack/swift/+/927177","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"dd8dbccc_d2a78785","updated":"2026-08-31 21:18:33.000000000","message":"thanks for the review!","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"b1a0cce56444a15ec96f2da64f26ebde31a117f8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"a0e56a33_743cd481","updated":"2026-09-10 16:28:03.000000000","message":"we\u0027re still allowing some chunked transfer requests that AWS does not:\n\n1005078: sq? aws does not allow this | https://review.opendev.org/c/openstack/swift/+/1005078\n\nTBF that\u0027s probably better than rejecting some requests that AWS allows - which, I don\u0027t *think* this patch is doing - but the implementation makes it a little hard for me to understand: I feel like the checksum-header condition was trying to stand in for \"it\u0027s a bucket request\" - it\u0027s not obvious (to me) reading the series of booleans \n\nmaybe we can try to add the rejection to the object controller?\n\n1005079: wip: do it in the obj controller | https://review.opendev.org/c/openstack/swift/+/1005079","commit_id":"d85953c4924fa4724a616870b11e622f6dfa4926"}],"swift/common/middleware/s3api/s3request.py":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"307a510748b7599f587c6e85e9df7c2343eb2c14","unresolved":true,"context_lines":[{"line_number":1631,"context_line":"        # Swift\u0027s extension for checksum-free HTTP-chunked PUTs."},{"line_number":1632,"context_line":"        if (self.content_length is None and"},{"line_number":1633,"context_line":"                self.headers.get("},{"line_number":1634,"context_line":"                    \u0027Transfer-Encoding\u0027, \u0027\u0027).lower() \u003d\u003d \u0027chunked\u0027):"},{"line_number":1635,"context_line":"            raise S3NotImplemented("},{"line_number":1636,"context_line":"                \u0027A header you provided implies functionality that is \u0027"},{"line_number":1637,"context_line":"                \u0027not implemented\u0027, header\u003d\u0027Transfer-Encoding\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"30f4e725_68a47180","line":1634,"updated":"2026-08-21 20:40:29.000000000","message":"this feels like we\u0027ll allow (ignore?) transfer-encoding when content-length is NOT None - I don\u0027t think that\u0027s how the RFC says that\u0027s supposed to work:\n\nhttps://www.rfc-editor.org/info/rfc9112/#section-6.3\n\n\u003e If a message is received with both a Transfer-Encoding and a Content-Length header field, the Transfer-Encoding overrides the Content-Length","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":false,"context_lines":[{"line_number":1631,"context_line":"        # Swift\u0027s extension for checksum-free HTTP-chunked PUTs."},{"line_number":1632,"context_line":"        if (self.content_length is None and"},{"line_number":1633,"context_line":"                self.headers.get("},{"line_number":1634,"context_line":"                    \u0027Transfer-Encoding\u0027, \u0027\u0027).lower() \u003d\u003d \u0027chunked\u0027):"},{"line_number":1635,"context_line":"            raise S3NotImplemented("},{"line_number":1636,"context_line":"                \u0027A header you provided implies functionality that is \u0027"},{"line_number":1637,"context_line":"                \u0027not implemented\u0027, header\u003d\u0027Transfer-Encoding\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"d63affce_ccab8930","line":1634,"in_reply_to":"30f4e725_68a47180","updated":"2026-08-31 21:18:33.000000000","message":"Acknowledged","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":true,"context_lines":[{"line_number":1086,"context_line":"            else:"},{"line_number":1087,"context_line":"                # Match S3 for this otherwise-failing combination, while"},{"line_number":1088,"context_line":"                # keeping support for aws-chunked streaming requests."},{"line_number":1089,"context_line":"                if (self.method \u003d\u003d \u0027PUT\u0027 and checksum_header and"},{"line_number":1090,"context_line":"                        self.is_chunked):"},{"line_number":1091,"context_line":"                    raise S3NotImplemented("},{"line_number":1092,"context_line":"                        \u0027A header you provided implies functionality that is \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"620f5b03_fd62c79b","line":1089,"updated":"2026-08-31 21:18:33.000000000","message":"I added ``self.method \u003d\u003d \u0027PUT\u0027`` to guard against the case of ``DeleteObjects with HTTP Transfer-Encoding: chunked``.\n\nalso, ``checksum_header`` will guard against quite a few other cases:\n1. CreateBucket with HTTP Transfer-Encoding: chunked, since CreateBucket PUT will never send a checksum_header.\n2. PUT requests with SigV4 signed headers (hex SHA-256 payload hash, or UNSIGNED-PAYLOAD), checksum-LESS, and Transfer-Encoding: chunked. I tested that those requests would return 501 with aws s3, but 200 with current swift. however those cases are part of the swift\u0027 extension of http chunked transfer support, whether to support it or not will on patch: ``927177: s3api: Reject unsupported Transfer-Encoding | https://review.opendev.org/c/openstack/swift/+/927177``","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"9873a002f4e12d4d25e1c79253029dba72d94d54","unresolved":true,"context_lines":[{"line_number":1086,"context_line":"            else:"},{"line_number":1087,"context_line":"                # Match S3 for this otherwise-failing combination, while"},{"line_number":1088,"context_line":"                # keeping support for aws-chunked streaming requests."},{"line_number":1089,"context_line":"                if (self.method \u003d\u003d \u0027PUT\u0027 and checksum_header and"},{"line_number":1090,"context_line":"                        self.is_chunked):"},{"line_number":1091,"context_line":"                    raise S3NotImplemented("},{"line_number":1092,"context_line":"                        \u0027A header you provided implies functionality that is \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"ad4cfc8e_019af1aa","line":1089,"in_reply_to":"2c2dac07_ab2ce26b","updated":"2026-09-11 03:49:40.000000000","message":"for those HTTP-chunked PUT requests without checksum, swift returns 200 while aws s3 returns 501, includes:\n1. SigV4 hex SHA-256 payload hash\n2. SigV4 UNSIGNED-PAYLOAD\n3. SigV2\n\nI have tested those scenarios above. This behavior is swift\u0027s own extension that allows HTTP-chunked S3 requests, I believe it has been supported for many years (e.g. SigV2 requests). I agree that, within a single company, we can notify users that this support will be discontinued and begin returning 501 for such requests, but not sure how to handle any existing users of upstream swift, like whether all of them would be able to adapt to this change.\n\nthose test results got me to narrow the fix in this patch to be \"reject checksummed HTTP-chunked PUTs\", which only convert those 500 to 501.","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"b1a0cce56444a15ec96f2da64f26ebde31a117f8","unresolved":true,"context_lines":[{"line_number":1086,"context_line":"            else:"},{"line_number":1087,"context_line":"                # Match S3 for this otherwise-failing combination, while"},{"line_number":1088,"context_line":"                # keeping support for aws-chunked streaming requests."},{"line_number":1089,"context_line":"                if (self.method \u003d\u003d \u0027PUT\u0027 and checksum_header and"},{"line_number":1090,"context_line":"                        self.is_chunked):"},{"line_number":1091,"context_line":"                    raise S3NotImplemented("},{"line_number":1092,"context_line":"                        \u0027A header you provided implies functionality that is \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"2c2dac07_ab2ce26b","line":1089,"in_reply_to":"620f5b03_fd62c79b","updated":"2026-09-10 16:28:03.000000000","message":"this `checksum_header` is proxying for too much, http-chunked object PUT is not allowed w/o aws-chunked regardless of the checksum header:\n\n1005078: sq? aws does not allow this | https://review.opendev.org/c/openstack/swift/+/1005078","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"b1a0cce56444a15ec96f2da64f26ebde31a117f8","unresolved":true,"context_lines":[{"line_number":1038,"context_line":"    bucket_acl \u003d _header_acl_property(\u0027container\u0027)"},{"line_number":1039,"context_line":"    object_acl \u003d _header_acl_property(\u0027object\u0027)"},{"line_number":1040,"context_line":""},{"line_number":1041,"context_line":"    def __init__(self, env, app\u003dNone, conf\u003dNone):"},{"line_number":1042,"context_line":"        # NOTE: app is not used by this class, need for compatibility of S3acl"},{"line_number":1043,"context_line":"        swob.Request.__init__(self, env)"},{"line_number":1044,"context_line":"        self.conf \u003d conf or Config()"}],"source_content_type":"text/x-python","patch_set":4,"id":"7e8851f4_3b6cab70","line":1041,"updated":"2026-09-10 16:28:03.000000000","message":"I think it might be sort of gross to try and capture the \"invalid-ness\" of the chunk headers here in `s3request.__init__`\n\nI think we can allow for the object to be *created* as long as it represents the request the client is sending - and then *reject* the request in the controller based on the context of what they\u0027re trying to do:\n\n1005079: wip: do it in the obj controller | https://review.opendev.org/c/openstack/swift/+/1005079","commit_id":"d85953c4924fa4724a616870b11e622f6dfa4926"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"9873a002f4e12d4d25e1c79253029dba72d94d54","unresolved":true,"context_lines":[{"line_number":1038,"context_line":"    bucket_acl \u003d _header_acl_property(\u0027container\u0027)"},{"line_number":1039,"context_line":"    object_acl \u003d _header_acl_property(\u0027object\u0027)"},{"line_number":1040,"context_line":""},{"line_number":1041,"context_line":"    def __init__(self, env, app\u003dNone, conf\u003dNone):"},{"line_number":1042,"context_line":"        # NOTE: app is not used by this class, need for compatibility of S3acl"},{"line_number":1043,"context_line":"        swob.Request.__init__(self, env)"},{"line_number":1044,"context_line":"        self.conf \u003d conf or Config()"}],"source_content_type":"text/x-python","patch_set":4,"id":"0fa29039_ab701bad","line":1041,"in_reply_to":"7e8851f4_3b6cab70","updated":"2026-09-11 03:49:40.000000000","message":"\u003e I think we can allow for the object to be created as long as it represents the request the client is sending - and then reject the request in the controller based on the context of what they\u0027re trying to do\n\nyeah, good point. I have moved the check over to controller PUT, but still kept same check conditions.\n\nI think removing the long-supported Swift behavior is a separate compatibility change if we decided to do so.\n```\n        if req.is_chunked and not req.is_streaming:\n            raise S3NotImplemented(\n                \u0027A header you provided implies functionality that is \u0027\n                \u0027not implemented\u0027, header\u003d\u0027Transfer-Encoding\u0027)\n```","commit_id":"d85953c4924fa4724a616870b11e622f6dfa4926"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"f3647fec52d219705b910bb0aa3de2f85feeee0d","unresolved":true,"context_lines":[{"line_number":1049,"context_line":"                                         self.conf.storage_domains)"},{"line_number":1050,"context_line":"        self.container_name, self.object_name \u003d _parse_path("},{"line_number":1051,"context_line":"            self, self.bucket_in_host, self.conf.dns_compliant_bucket_names)"},{"line_number":1052,"context_line":"        self._validate_headers()"},{"line_number":1053,"context_line":"        if isinstance(self, SigV4Mixin):"},{"line_number":1054,"context_line":"            # this is a deliberate but only partial shift away from the"},{"line_number":1055,"context_line":"            # \u0027inherit and override from mixin\u0027 pattern towards a \u0027compose"}],"source_content_type":"text/x-python","patch_set":6,"id":"fea3a846_f6eef7cb","line":1052,"updated":"2026-09-11 21:17:39.000000000","message":"within ``_validate_headers`` could be another good place to put the ``S3NotImplemented `` check","commit_id":"2d49b1fa40a5d14174e59f86e5543c6bd64dae67"}],"test/s3api/test_input_errors.py":[{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":true,"context_lines":[{"line_number":2506,"context_line":"            self.bucket_name,"},{"line_number":2507,"context_line":"            \u0027test-obj\u0027,"},{"line_number":2508,"context_line":"            method\u003d\u0027PUT\u0027,"},{"line_number":2509,"context_line":"            body\u003diter([chunked_body]),"},{"line_number":2510,"context_line":"            headers\u003d{"},{"line_number":2511,"context_line":"                \u0027x-amz-content-sha256\u0027: \u0027STREAMING-UNSIGNED-PAYLOAD-TRAILER\u0027,"},{"line_number":2512,"context_line":"                \u0027content-encoding\u0027: \u0027aws-chunked\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"72e8769c_7e7551b8","line":2509,"updated":"2026-08-31 21:18:33.000000000","message":"this case covers the case that valid aws-chunked streaming still works over an HTTP-chunked transfer without checksum.","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"056b46558cbc27d6b190bf3bf09bb0445478376e","unresolved":false,"context_lines":[{"line_number":2506,"context_line":"            self.bucket_name,"},{"line_number":2507,"context_line":"            \u0027test-obj\u0027,"},{"line_number":2508,"context_line":"            method\u003d\u0027PUT\u0027,"},{"line_number":2509,"context_line":"            body\u003diter([chunked_body]),"},{"line_number":2510,"context_line":"            headers\u003d{"},{"line_number":2511,"context_line":"                \u0027x-amz-content-sha256\u0027: \u0027STREAMING-UNSIGNED-PAYLOAD-TRAILER\u0027,"},{"line_number":2512,"context_line":"                \u0027content-encoding\u0027: \u0027aws-chunked\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"543cc9bf_0e221b1b","line":2509,"in_reply_to":"72e8769c_7e7551b8","updated":"2026-09-09 21:51:58.000000000","message":"Done","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":true,"context_lines":[{"line_number":2526,"context_line":"            self.bucket_name,"},{"line_number":2527,"context_line":"            \u0027test-obj\u0027,"},{"line_number":2528,"context_line":"            method\u003d\u0027PUT\u0027,"},{"line_number":2529,"context_line":"            body\u003diter([chunked_body]),"},{"line_number":2530,"context_line":"            headers\u003d{"},{"line_number":2531,"context_line":"                \u0027x-amz-content-sha256\u0027: \u0027STREAMING-UNSIGNED-PAYLOAD-TRAILER\u0027,"},{"line_number":2532,"context_line":"                \u0027content-encoding\u0027: \u0027aws-chunked\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"c302c4d0_606b9510","line":2529,"updated":"2026-08-31 21:18:33.000000000","message":"this change proves that valid aws-chunked streaming still works over an HTTP-chunked transfer with checksum.","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"056b46558cbc27d6b190bf3bf09bb0445478376e","unresolved":false,"context_lines":[{"line_number":2526,"context_line":"            self.bucket_name,"},{"line_number":2527,"context_line":"            \u0027test-obj\u0027,"},{"line_number":2528,"context_line":"            method\u003d\u0027PUT\u0027,"},{"line_number":2529,"context_line":"            body\u003diter([chunked_body]),"},{"line_number":2530,"context_line":"            headers\u003d{"},{"line_number":2531,"context_line":"                \u0027x-amz-content-sha256\u0027: \u0027STREAMING-UNSIGNED-PAYLOAD-TRAILER\u0027,"},{"line_number":2532,"context_line":"                \u0027content-encoding\u0027: \u0027aws-chunked\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ce8117d6_fd89bf02","line":2529,"in_reply_to":"c302c4d0_606b9510","updated":"2026-09-09 21:51:58.000000000","message":"Done","commit_id":"2bed5d9d889a0e55462bfd9bd6897b3a1195977f"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"056b46558cbc27d6b190bf3bf09bb0445478376e","unresolved":true,"context_lines":[{"line_number":892,"context_line":""},{"line_number":893,"context_line":"    def test_chunked_transfer_with_checksum(self):"},{"line_number":894,"context_line":"        for include_content_length in (False, True):"},{"line_number":895,"context_line":"            with self.subTest("},{"line_number":896,"context_line":"                    include_content_length\u003dinclude_content_length):"},{"line_number":897,"context_line":"                resp \u003d self.get_chunked_checksum_response("},{"line_number":898,"context_line":"                    \u0027test-obj\u0027, TEST_BODY, include_content_length)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3ea6a357_ec6214f6","line":895,"updated":"2026-09-09 21:51:58.000000000","message":"I like the idea of subTest which essentially run each case (False, True) in individual test run, which will include ``setUp`` and ``tearDown``, then we can keep the code clean. And this is the test style I used for a while before working on swift.\n\nbut it\u0027s weird that if all sub cases fail, the parent case still reports ``passed``.\n\n```\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d short test summary info \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n(include_content_length\u003dFalse) SUBFAIL test/s3api/test_input_errors.py::TestV4AuthHeaders::test_chunked_create_bucket - AssertionError: 200 !\u003d 300 : b\u0027\u0027\n(include_content_length\u003dTrue) SUBFAIL test/s3api/test_input_errors.py::TestV4AuthHeaders::test_chunked_create_bucket - AssertionError: 200 !\u003d 300 : b\u0027\u0027\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d 2 failed, 1 passed, 9 warnings in 34.67s \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n```\n\n``echo $?`` will return 1 though, so zuul will fail. But this probably will confuse people, let\u0027s not use it.","commit_id":"9cb950cad6a3756f570ad77c330b46b08d1a9f10"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"9873a002f4e12d4d25e1c79253029dba72d94d54","unresolved":false,"context_lines":[{"line_number":892,"context_line":""},{"line_number":893,"context_line":"    def test_chunked_transfer_with_checksum(self):"},{"line_number":894,"context_line":"        for include_content_length in (False, True):"},{"line_number":895,"context_line":"            with self.subTest("},{"line_number":896,"context_line":"                    include_content_length\u003dinclude_content_length):"},{"line_number":897,"context_line":"                resp \u003d self.get_chunked_checksum_response("},{"line_number":898,"context_line":"                    \u0027test-obj\u0027, TEST_BODY, include_content_length)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9d1655de_65f2abbd","line":895,"in_reply_to":"3ea6a357_ec6214f6","updated":"2026-09-11 03:49:40.000000000","message":"actually we have adopted the usage of ``subTest`` in few test files like test_reconstructor.py and test_reconstructor_rebuild.py, so not a problem!","commit_id":"9cb950cad6a3756f570ad77c330b46b08d1a9f10"}],"test/unit/common/middleware/s3api/test_multi_delete.py":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"307a510748b7599f587c6e85e9df7c2343eb2c14","unresolved":true,"context_lines":[{"line_number":187,"context_line":"        self.assertIsNone(req.content_length)"},{"line_number":188,"context_line":"        status, headers, body \u003d self.call_s3api(req)"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"        self.assertEqual(\u0027501 Not Implemented\u0027, status)"},{"line_number":191,"context_line":"        self.assertEqual(\u0027NotImplemented\u0027, self._get_error_code(body))"},{"line_number":192,"context_line":"        self.assertIn(b\u0027\u003cHeader\u003eTransfer-Encoding\u003c/Header\u003e\u0027, body)"},{"line_number":193,"context_line":"        self.assertEqual([], self.swift.calls)"}],"source_content_type":"text/x-python","patch_set":1,"id":"e2c28790_224e9497","line":190,"updated":"2026-08-21 20:40:29.000000000","message":"where did you even come up with the idea to test this - AFAICT aws s3 will 200 this request and s3api should not 501 in this case?\n\nhttps://review.opendev.org/c/openstack/swift/+/1001893/1/test/s3api/test_input_errors.py#1740","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":false,"context_lines":[{"line_number":187,"context_line":"        self.assertIsNone(req.content_length)"},{"line_number":188,"context_line":"        status, headers, body \u003d self.call_s3api(req)"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"        self.assertEqual(\u0027501 Not Implemented\u0027, status)"},{"line_number":191,"context_line":"        self.assertEqual(\u0027NotImplemented\u0027, self._get_error_code(body))"},{"line_number":192,"context_line":"        self.assertIn(b\u0027\u003cHeader\u003eTransfer-Encoding\u003c/Header\u003e\u0027, body)"},{"line_number":193,"context_line":"        self.assertEqual([], self.swift.calls)"}],"source_content_type":"text/x-python","patch_set":1,"id":"51fb6d43_76502b34","line":190,"in_reply_to":"e2c28790_224e9497","updated":"2026-08-31 21:18:33.000000000","message":"Done","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"}],"test/unit/common/middleware/s3api/test_obj.py":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"307a510748b7599f587c6e85e9df7c2343eb2c14","unresolved":true,"context_lines":[{"line_number":845,"context_line":"        self.assertIsNone(req.content_length)"},{"line_number":846,"context_line":"        status, headers, body \u003d self.call_s3api(req)"},{"line_number":847,"context_line":""},{"line_number":848,"context_line":"        self.assertEqual(\u0027200 OK\u0027, status)"},{"line_number":849,"context_line":"        self.assertEqual(b\u0027\u0027, body)"},{"line_number":850,"context_line":"        self.assertEqual(self.object_body, self.swift.call_list[-1].body)"},{"line_number":851,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"d7dcc7ad_ed8adac0","line":848,"updated":"2026-08-21 20:40:29.000000000","message":"this seems to be existing behavior","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":false,"context_lines":[{"line_number":845,"context_line":"        self.assertIsNone(req.content_length)"},{"line_number":846,"context_line":"        status, headers, body \u003d self.call_s3api(req)"},{"line_number":847,"context_line":""},{"line_number":848,"context_line":"        self.assertEqual(\u0027200 OK\u0027, status)"},{"line_number":849,"context_line":"        self.assertEqual(b\u0027\u0027, body)"},{"line_number":850,"context_line":"        self.assertEqual(self.object_body, self.swift.call_list[-1].body)"},{"line_number":851,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"4fa1b4fa_fe735a52","line":848,"in_reply_to":"d7dcc7ad_ed8adac0","updated":"2026-08-31 21:18:33.000000000","message":"Acknowledged","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"307a510748b7599f587c6e85e9df7c2343eb2c14","unresolved":true,"context_lines":[{"line_number":868,"context_line":"        self.assertIsNone(req.content_length)"},{"line_number":869,"context_line":"        status, headers, body \u003d self.call_s3api(req)"},{"line_number":870,"context_line":""},{"line_number":871,"context_line":"        self.assertEqual(\u0027501 Not Implemented\u0027, status)"},{"line_number":872,"context_line":"        self.assertEqual(\u0027NotImplemented\u0027, self._get_error_code(body))"},{"line_number":873,"context_line":"        self.assertIn(b\u0027\u003cHeader\u003eTransfer-Encoding\u003c/Header\u003e\u0027, body)"},{"line_number":874,"context_line":"        self.assertEqual([], self.swift.calls)"}],"source_content_type":"text/x-python","patch_set":1,"id":"402a52a3_3e754084","line":871,"updated":"2026-08-21 20:40:29.000000000","message":"ok, so this change is NBD\n```\n\u003e       self.assertEqual(\u0027501 Not Implemented\u0027, status)\nE       AssertionError: \u0027501 Not Implemented\u0027 !\u003d \u0027500 Internal Server Error\u0027\nE       - 501 Not Implemented\nE       + 500 Internal Server Error\n```\n\nit\u0027s happening here:\n\n```\n  File \"/vagrant/swift/swift/common/middleware/s3api/s3request.py\", line 281, in chunk_update\n    if self.bytes_received \u003c self._expected_length:\n       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: \u0027\u003c\u0027 not supported between instances of \u0027int\u0027 and \u0027NoneType\u0027\n```","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":false,"context_lines":[{"line_number":868,"context_line":"        self.assertIsNone(req.content_length)"},{"line_number":869,"context_line":"        status, headers, body \u003d self.call_s3api(req)"},{"line_number":870,"context_line":""},{"line_number":871,"context_line":"        self.assertEqual(\u0027501 Not Implemented\u0027, status)"},{"line_number":872,"context_line":"        self.assertEqual(\u0027NotImplemented\u0027, self._get_error_code(body))"},{"line_number":873,"context_line":"        self.assertIn(b\u0027\u003cHeader\u003eTransfer-Encoding\u003c/Header\u003e\u0027, body)"},{"line_number":874,"context_line":"        self.assertEqual([], self.swift.calls)"}],"source_content_type":"text/x-python","patch_set":1,"id":"50570481_f0ef2ec2","line":871,"in_reply_to":"402a52a3_3e754084","updated":"2026-08-31 21:18:33.000000000","message":"Acknowledged","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"307a510748b7599f587c6e85e9df7c2343eb2c14","unresolved":true,"context_lines":[{"line_number":905,"context_line":"        self.assertIsNone(req.content_length)"},{"line_number":906,"context_line":"        status, headers, body \u003d self.call_s3api(req)"},{"line_number":907,"context_line":""},{"line_number":908,"context_line":"        self.assertEqual(\u0027200 OK\u0027, status)"},{"line_number":909,"context_line":"        self.assertEqual(b\u0027\u0027, body)"},{"line_number":910,"context_line":"        self.assertEqual(self.object_body, self.swift.call_list[-1].body)"},{"line_number":911,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"edf44578_3479bea2","line":908,"updated":"2026-08-21 20:40:29.000000000","message":"this seems to test existing behavior","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"35221eb8dfcebdbf371f59d16629d1146db27d90","unresolved":false,"context_lines":[{"line_number":905,"context_line":"        self.assertIsNone(req.content_length)"},{"line_number":906,"context_line":"        status, headers, body \u003d self.call_s3api(req)"},{"line_number":907,"context_line":""},{"line_number":908,"context_line":"        self.assertEqual(\u0027200 OK\u0027, status)"},{"line_number":909,"context_line":"        self.assertEqual(b\u0027\u0027, body)"},{"line_number":910,"context_line":"        self.assertEqual(self.object_body, self.swift.call_list[-1].body)"},{"line_number":911,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"d567d664_f4701245","line":908,"in_reply_to":"edf44578_3479bea2","updated":"2026-08-31 21:18:33.000000000","message":"Acknowledged","commit_id":"779d0a3336e94995d14689e16c6995ab88f46568"}]}
