Project

General

Profile

Actions

Bug #4497

closed

rgw: FAIL: testSlashInName (test.functional.tests.TestContainer)

Added by Sage Weil about 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

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

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

Actions #1

Updated by Ian Colle about 11 years ago

  • Assignee set to caleb miles
Actions #2

Updated by Ian Colle about 11 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)
Actions #3

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.

Actions #4

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.

Actions #5

Updated by Ian Colle about 11 years ago

Yehuda - what's status of this?

Actions #6

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.

Actions #7

Updated by Sage Weil about 11 years ago

  • Status changed from New to Can't reproduce
Actions #8

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).

Actions #9

Updated by Yehuda Sadeh about 11 years ago

  • Project changed from sepia to rgw
Actions #10

Updated by Sage Weil about 11 years ago

  • Priority changed from Urgent to High
Actions #11

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

Actions #12

Updated by Tamilarasi muthamizhan almost 11 years ago

ubuntu@teuthology:/a/teuthology-2013-05-15_01:30:03-upgrade-master-testing-basic/13769

Actions #13

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.

Actions #14

Updated by Sage Weil almost 11 years ago

  • Status changed from 12 to Resolved
Actions

Also available in: Atom PDF