Bug #4497
closedrgw: FAIL: testSlashInName (test.functional.tests.TestContainer)
0%
Description
2013-03-18T16:36:47.110 INFO:teuthology.orchestra.run.err:FAIL: testSlashInName (test.functional.tests.TestContainer) 2013-03-18T16:36:47.110 INFO:teuthology.orchestra.run.err:---------------------------------------------------------------------- 2013-03-18T16:36:47.111 INFO:teuthology.orchestra.run.err:Traceback (most recent call last): 2013-03-18T16:36:47.111 INFO:teuthology.orchestra.run.err: File "/home/ubuntu/cephtest/swift/test/functional/tests.py", line 497, in testSlashInName 2013-03-18T16:36:47.111 INFO:teuthology.orchestra.run.err: self.assert_status(404) 2013-03-18T16:36:47.111 INFO:teuthology.orchestra.run.err: File "/home/ubuntu/cephtest/swift/test/functional/tests.py", line 117, in assert_status 2013-03-18T16:36:47.111 INFO:teuthology.orchestra.run.err: (self.env.conn.response.status, status_or_statuses)) 2013-03-18T16:36:47.111 INFO:teuthology.orchestra.run.err:AssertionError: Status returned: 400 Expected: 404
on next branch
kernel: kdb: true sha1: d6c0dd6b0c196979fa7b34c1d99432fcb1b7e1df machine_type: plana nuke-on-error: true overrides: ceph: conf: mon: debug mon: 20 debug ms: 20 debug paxos: 20 fs: ext4 log-whitelist: - slow request sha1: 35ab2a4189103abc25035a489a74b8261e9317c2 s3tests: branch: next workunit: sha1: 35ab2a4189103abc25035a489a74b8261e9317c2 roles: - - mon.a - mon.c - osd.0 - osd.1 - osd.2 - - mon.b - mds.a - osd.3 - osd.4 - osd.5 - client.0 tasks: - chef: null - install: null - ceph: null - rgw: - client.0 - swift: client.0: rgw_server: client.0
Updated by Ian Colle about 11 years ago
- Project changed from Ceph to rgw
- Category deleted (
22)
Updated by caleb miles about 11 years ago
- Project changed from rgw to sepia
- Assignee changed from caleb miles to Sandon Van Ness
Not a problem with RGW, bug occurs somewhere else. Non-deterministic error.
Updated by Sandon Van Ness about 11 years ago
- Assignee changed from Sandon Van Ness to Yehuda Sadeh
Yehuda said this looks like a client issue and wasn't sure why it was assigned to me. Assigning it back to you Yehuda so it can go to the right place.
Updated by Yehuda Sadeh about 11 years ago
We still don't know where this one is coming from. At the time it looked like a client bug (e.g., the swift library bug), but since we couldn't really reproduce it we didn't get very far in investigating it.
Updated by Sage Weil about 11 years ago
- Status changed from New to Can't reproduce
Updated by Yehuda Sadeh about 11 years ago
- Status changed from Can't reproduce to 12
Oh, I think figured it out. It turns out that we do return sometimes 400 and not 404.
The test itself tries to do a put to an object in a non existing bucket (or to a bucket that has a slash in its name, due to the api it's the same call) and expects to get 404 (bucket not found). The problem is that it generates the bucket names randomly and from time to time it generates a too short bucket name. In this case we return 400 (bucket name too short).
Updated by Tamilarasi muthamizhan almost 11 years ago
recent logs: ubuntu@teuthology:/a/teuthology-2013-05-14_01:00:34-rgw-next-testing-basic/13055
Updated by Tamilarasi muthamizhan almost 11 years ago
ubuntu@teuthology:/a/teuthology-2013-05-15_01:30:03-upgrade-master-testing-basic/13769
Updated by Yehuda Sadeh almost 11 years ago
The test still generates a too short bucket name. The swift tree on github has that fixed but the test pulls from ceph.com.