Project

General

Profile

Actions

Bug #51306

closed

s3-website test failing in teuthology

Added by Kalpesh Pandya almost 3 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The following failure was seen in s3-website test in teuthology:

2021-06-11T16:24:10.435 INFO:teuthology.orchestra.run.smithi031.stderr:======================================================================
2021-06-11T16:24:10.435

INFO:teuthology.orchestra.run.smithi031.stderr:ERROR: s3tests.functional.test_s3_website.test_routing_generator({'xml': {'RoutingRules': '<RoutingRule><Condition><KeyPrefixEquals>images/</KeyPrefixEquals></Condition><Redirect><HttpRedirectCode>302</HttpRedirectCode><ReplaceKeyWith>folderdeleted.html</ReplaceKeyWith></Redirect></RoutingRule>'}, 'url': '/images/', 'location': {'proto': 'http', 'bucket': '{bucket_name}', 'path': '/folderdeleted.html'}, 'code': 302},)
2021-06-11T16:24:10.436 INFO:teuthology.orchestra.run.smithi031.stderr:----------------------------------------------------------------------
2021-06-11T16:24:10.436 INFO:teuthology.orchestra.run.smithi031.stderr:Traceback (most recent call last):

2021-06-11T16:24:10.436 INFO:teuthology.orchestra.run.smithi031.stderr: File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
2021-06-11T16:24:10.436 INFO:teuthology.orchestra.run.smithi031.stderr: self.test(self.arg)
2021-06-11T16:24:10.436 INFO:teuthology.orchestra.run.smithi031.stderr: File "/home/ubuntu/cephtest/s3-tests/s3tests/common.py", line 210, in test_wrapped
2021-06-11T16:24:10.437 INFO:teuthology.orchestra.run.smithi031.stderr: func(*args, **k2)
2021-06-11T16:24:10.437 INFO:teuthology.orchestra.run.smithi031.stderr: File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/test_s3_website.py", line 1194, in routing_check
2021-06-11T16:24:10.437 INFO:teuthology.orchestra.run.smithi031.stderr: res = website_request(bucket.name, args['url'])
2021-06-11T16:24:10.437 INFO:teuthology.orchestra.run.smithi031.stderr: File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/test_s3_website.py", line 243, in _website_request
2021-06-11T16:24:10.438 INFO:teuthology.orchestra.run.smithi031.stderr: res = _make_raw_request(connect_hostname, config.main.port, method, path, request_headers=request_headers, secure=False, timeout=timeout)
2021-06-11T16:24:10.438 INFO:teuthology.orchestra.run.smithi031.stderr: File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/
_init__.py", line 482, in _make_raw_request
2021-06-11T16:24:10.438 INFO:teuthology.orchestra.run.smithi031.stderr: res = c.getresponse()
2021-06-11T16:24:10.438 INFO:teuthology.orchestra.run.smithi031.stderr: File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse
2021-06-11T16:24:10.439 INFO:teuthology.orchestra.run.smithi031.stderr: response.begin()
2021-06-11T16:24:10.439 INFO:teuthology.orchestra.run.smithi031.stderr: File "/usr/lib/python3.8/http/client.py", line 307, in begin
2021-06-11T16:24:10.439 INFO:teuthology.orchestra.run.smithi031.stderr: version, status, reason = self._read_status()
2021-06-11T16:24:10.440 INFO:teuthology.orchestra.run.smithi031.stderr: File "/usr/lib/python3.8/http/client.py", line 276, in _read_status
2021-06-11T16:24:10.440 INFO:teuthology.orchestra.run.smithi031.stderr: raise RemoteDisconnected("Remote end closed connection without"
2021-06-11T16:24:10.440 INFO:teuthology.orchestra.run.smithi031.stderr:http.client.RemoteDisconnected: Remote end closed connection without response
2021-06-11T16:24:10.440 INFO:teuthology.orchestra.run.smithi031.stderr:-------------------- >> begin captured stdout << ---------------------
2021-06-11T16:24:10.440 INFO:teuthology.orchestra.run.smithi031.stderr:{'code': 302,
2021-06-11T16:24:10.441 INFO:teuthology.orchestra.run.smithi031.stderr: 'location': {'bucket': '{bucket_name}',
2021-06-11T16:24:10.441 INFO:teuthology.orchestra.run.smithi031.stderr: 'path': '/folderdeleted.html',
2021-06-11T16:24:10.441 INFO:teuthology.orchestra.run.smithi031.stderr: 'proto': 'http'},
2021-06-11T16:24:10.441 INFO:teuthology.orchestra.run.smithi031.stderr: 'url': '/images/',
2021-06-11T16:24:10.442 INFO:teuthology.orchestra.run.smithi031.stderr: 'xml': {'RoutingRules': '<RoutingRule><Condition><KeyPrefixEquals>images/</KeyPrefixEquals></Condition><Redirect><HttpRedirectCode>302</HttpRedirectCode><ReplaceKeyWith>folderdeleted.html</ReplaceKeyWith></Redirect></RoutingRule>'}}
2021-06-11T16:24:10.442 INFO:teuthology.orchestra.run.smithi031.stderr:{'ErrorDocument_Key': 'error-3zhtc4bf0xwswsj6ssood.html',
2021-06-11T16:24:10.442 INFO:teuthology.orchestra.run.smithi031.stderr: 'IndexDocument_Suffix': 'index-surtnyp2x86bv59e0o6pl.html',
2021-06-11T16:24:10.443 INFO:teuthology.orchestra.run.smithi031.stderr: 'RedirectAllRequestsTo_HostName': 'j62yfh71raxu4.j62yfh71raxu4.com',
2021-06-11T16:24:10.443 INFO:teuthology.orchestra.run.smithi031.stderr: 'RoutingRules': '<RoutingRule><Condition><KeyPrefixEquals>images/</KeyPrefixEquals></Condition><Redirect><HttpRedirectCode>302</HttpRedirectCode><ReplaceKeyWith>folderdeleted.html</ReplaceKeyWith></Redirect></RoutingRule>',
2021-06-11T16:24:10.450 INFO:teuthology.orchestra.run.smithi031.stderr: 'WebsiteConfiguration': '',
2021-06-11T16:24:10.451 INFO:teuthology.orchestra.run.smithi031.stderr: 'bucket': <Bucket: test-client.0-zej44srho8htpl2-77>,
2021-06-11T16:24:10.451 INFO:teuthology.orchestra.run.smithi031.stderr: 'obj': [<Bucket: test-client.0-zej44srho8htpl2-77>,
2021-06-11T16:24:10.451 INFO:teuthology.orchestra.run.smithi031.stderr: <Key: test-client.0-zej44srho8htpl2-77,debug-ws.xml>,
2021-06-11T16:24:10.451 INFO:teuthology.orchestra.run.smithi031.stderr: <Key: test-client.0-zej44srho8htpl2-77,index-surtnyp2x86bv59e0o6pl.html>,
2021-06-11T16:24:10.452 INFO:teuthology.orchestra.run.smithi031.stderr: <Key: test-client.0-zej44srho8htpl2-77,error-3zhtc4bf0xwswsj6ssood.html>],
2021-06-11T16:24:10.452 INFO:teuthology.orchestra.run.smithi031.stderr: 'testname': 'routing_check'}
2021-06-11T16:24:10.452 INFO:teuthology.orchestra.run.smithi031.stderr:url http://test-client.0-zej44srho8htpl2-77.s3-website.smithi103.front.sepia.ceph.com/images/
2021-06-11T16:24:10.452 INFO:teuthology.orchestra.run.smithi031.stderr:Request: GET /images/?
2021-06-11T16:24:10.453 INFO:teuthology.orchestra.run.smithi031.stderr:Host:test-client.0-zej44srho8htpl2-77.s3-website.smithi103.front.sepia.ceph.com
2021-06-11T16:24:10.453 INFO:teuthology.orchestra.run.smithi031.stderr:Accept:
/*
2021-06-11T16:24:10.453 INFO:teuthology.orchestra.run.smithi031.stderr:
2021-06-11T16:24:10.453 INFO:teuthology.orchestra.run.smithi031.stderr:Deleting <Key: test-client.0-zej44srho8htpl2-77,error-3zhtc4bf0xwswsj6ssood.html>
2021-06-11T16:24:10.453 INFO:teuthology.orchestra.run.smithi031.stderr:Deleting <Key: test-client.0-zej44srho8htpl2-77,index-surtnyp2x86bv59e0o6pl.html>
2021-06-11T16:24:10.454 INFO:teuthology.orchestra.run.smithi031.stderr:Deleting <Key: test-client.0-zej44srho8htpl2-77,debug-ws.xml>
2021-06-11T16:24:10.454 INFO:teuthology.orchestra.run.smithi031.stderr:Deleting <Bucket: test-client.0-zej44srho8htpl2-77>
2021-06-11T16:24:10.454 INFO:teuthology.orchestra.run.smithi031.stderr:
2021-06-11T16:24:10.454 INFO:teuthology.orchestra.run.smithi031.stderr:--------------------- >> end captured stdout << ----------------------

The link to the log: http://qa-proxy.ceph.com/teuthology/kapandya-2021-06-11_15:57:29-rgw-wip-rgw-dpp-distro-basic-smithi/6166460/teuthology.log


Related issues 2 (0 open2 closed)

Has duplicate rgw - Bug #51296: s3-website test failing in teuthologyDuplicate

Actions
Is duplicate of rgw - Bug #51491: "ERROR: s3tests.functional.test_s3_website.test_website_xredirect_private_relative" in rgwResolved

Actions
Actions

Also available in: Atom PDF