test.unit.proxy.test_server:TestObjectController.test_client_timeout fails in the gate

Bug #1316716 reported by clayg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Unassigned

Bug Description

We cleaned up a few other time dependent tests in bug #1272509 and bug #1302781 - I think this is just another one.

Not sure if it's worth it to do an audit, or just pick them up as we see them fail...

Revision history for this message
clayg (clay-gerrard) wrote :
Revision history for this message
clayg (clay-gerrard) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/104889
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=9150fb383e27c7e4f0bf5550e45a508b4882ccd1
Submitter: Jenkins
Branch: master

commit 9150fb383e27c7e4f0bf5550e45a508b4882ccd1
Author: Paul Luse <email address hidden>
Date: Fri Jul 4 05:17:03 2014 -0700

    Adjust timeout value in test_client_timeout

    Per information filed in bug (and related bugs referenced in the
    report) it appears that in TestObjectController.test_client_timeout
    having a matching timeout value for both self.app.client_timeout
    and SlowBody() appears to work however, as expected, a smaller
    value in self.app.client_timeout also works where a larger
    value fails. With that short test combined with speculation and
    related fixes, seems reasonable to merge what is suggested in
    the bug report, drop the self.app.client_timeout to 0.05

    Fixes Bug #1316716

    Change-Id: Ib4c6d3bb275f6c50c62505c90656efa7ee566bc0

Changed in swift:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (feature/ec)

Fix proposed to branch: feature/ec
Review: https://review.openstack.org/106815

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (feature/ec)
Download full text (6.5 KiB)

Reviewed: https://review.openstack.org/106815
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=c4cbfb307bf88cd200ef9b2d5e780d79b95f746a
Submitter: Jenkins
Branch: feature/ec

commit 0753dd39231270150d61e051175dcdbd106836b5
Author: Peter Portante <email address hidden>
Date: Mon Jun 2 13:36:21 2014 -0400

    Handle func tests of swift cluster that hide /info

    If a swift cluster configures the proxy server to not accept
    /info requests, just do the best we can, skipping tests as
    necessary.

    To that end, if cors mode is not known we also skip the test.

    Change-Id: I34f296c8717e0baf24ae552a7e38f9354ee91974

commit 7ea30df9cdd416bdc41762f1bc31c3971d55ae34
Author: paul luse <email address hidden>
Date: Thu Jul 10 06:21:56 2014 -0700

    Update docs to highlight that the auditor chunk size can be set

    May not be obvious, but existing code will let you change the
    disk_chunk_size just for the auditor so this just points that
    out in the docs. In one short test I ran with a 4 node cluster
    with 18GB of 4MB objects on it, changint he auditor chunk size
    from the default of 64K to 1MB creased the auditor CPU time from
    10% to 4%.

    Also added test code to make sure this overridden value is
    actually used and checked other auditWorker conf values as
    well.

    Change-Id: Ia12e1c6127877dc2124b60cd963cd0b6d5f3d6ef

commit 7ab2afe5bd5a30615cae83efc401b581b0c2dc5a
Author: John Dickinson <email address hidden>
Date: Mon Jul 7 17:11:38 2014 -0700

    added process pid to the end of storage node log lines

    Change-Id: I1c2709d85575fc7d4868fafd9ee757fd01868436

commit 0582db728fa5931cae143014a9b3ac1205a23855
Author: gholt <email address hidden>
Date: Tue Jul 8 15:14:25 2014 +0000

    This setting should've been set to False back ...

    ...with commit 9eb797b09916574c2a4e0f5f9ea61fe120879075

    With this setting to True in the code, any tools anyone writes will
    automatically start preallocating, which is almost always bad these days
    with SSDs. So, if you write a tool that just scan dbs for stats, it'll
    commit any pending info triggering preallocation and bam, your SSDs
    start to fill up. :/

    Anyway, back when I wrote 9eb797b09916574c2a4e0f5f9ea61fe120879075 it
    was my intention to have this off by default, everywhere; I changed all
    the settings points but I failed to change the dang constant itself.
    This corrects that.

    Change-Id: Iada0a3f1ecfabda4a96f574903d8e2eed1f69064

commit 9150fb383e27c7e4f0bf5550e45a508b4882ccd1
Author: Paul Luse <email address hidden>
Date: Fri Jul 4 05:17:03 2014 -0700

    Adjust timeout value in test_client_timeout

    Per information filed in bug (and related bugs referenced in the
    report) it appears that in TestObjectController.test_client_timeout
    having a matching timeout value for both self.app.client_timeout
    and SlowBody() appears to work however, as expected, a smaller
    value in self.app.client_timeout also works where a larger
    value fails. With that short test combined with speculation and
    related fixes, seems reasonable to merge what...

Read more...

Thierry Carrez (ttx)
Changed in swift:
milestone: none → 2.1.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.