Actions
Bug #23201
closeds3 website: some s3tests are failing because redirects include index doc suffix
% Done:
0%
Source:
Tags:
Backport:
luminous jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
FAIL: s3tests.functional.test_s3_website.test_routing_generator({'url': '/x', 'xml': {'RoutingRules': '<RoutingRule><Condition><HttpErrorCodeReturnedEquals>404</Ht tpErrorCodeReturnedEquals></Condition><Redirect><HostName>ec2-11-22-333-44.compute-1.amazonaws.com</HostName><ReplaceKeyPrefixWith>report-404/</ReplaceKeyPrefixWit h></Redirect></RoutingRule>'}, 'code': 301, 'location': {'path': '/report-404/x', 'hostname': 'ec2-11-22-333-44.compute-1.amazonaws.com', 'proto': 'http'}},) AssertionError: Location header should be set "http://ec2-11-22-333-44.compute-1.amazonaws.com/report-404/x/index-aew19svwl0wsdyj5tde3a.html" != "http://ec2-11-22- 333-44.compute-1.amazonaws.com/report-404/x" FAIL: s3tests.functional.test_s3_website.test_routing_generator({'url': '/images/x', 'xml': {'RoutingRules': '<RoutingRule><Condition><HttpErrorCodeReturnedEquals> 404</HttpErrorCodeReturnedEquals></Condition><Redirect><HostName>ec2-11-22-333-44.compute-1.amazonaws.com</HostName><ReplaceKeyPrefixWith>report-404/</ReplaceKeyPr efixWith></Redirect></RoutingRule>'}, 'code': 301, 'location': {'path': '/report-404/images/x', 'hostname': 'ec2-11-22-333-44.compute-1.amazonaws.com', 'proto': 'h ttp'}},) AssertionError: Location header should be set "http://ec2-11-22-333-44.compute-1.amazonaws.com/report-404/images/x/index-75qu65nudc0p2iozqhygi.html" != "http://ec2 -11-22-333-44.compute-1.amazonaws.com/report-404/images/x" FAIL: s3tests.functional.test_s3_website.test_routing_generator({'url': '/images/x', 'xml': {'RoutingRules': '<RoutingRule><Condition><KeyPrefixEquals>images/</Key PrefixEquals><HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals></Condition><Redirect><HostName>ec2-11-22-333-44.compute-1.amazonaws.com</HostName><Repl aceKeyPrefixWith>report-404/</ReplaceKeyPrefixWith></Redirect></RoutingRule>'}, 'code': 301, 'location': {'path': '/report-404/x', 'hostname': 'ec2-11-22-333-44.co mpute-1.amazonaws.com', 'proto': 'http'}},) AssertionError: Location header should be set "http://ec2-11-22-333-44.compute-1.amazonaws.com/report-404/x/index-v621d8oinbgd13120gmh3.html" != "http://ec2-11-22- 333-44.compute-1.amazonaws.com/report-404/x"
Actions