adjust nfs backup unit test memory usage

Bug #1432687 reported by Tom Barron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Tom Barron

Bug Description

https://review.openstack.org/#/c/149726/, which added NFS backup support, ported a number of unit tests from the
Swift backup service. Likely because the NFS backup service uses a different "chunk" size by default, the NFS backup unit
tests consume an inappropriate amount of memory and cause test failures due to "memory error" when tox is run in a 1GB
VM.

The tests should be modified to consume less memory and run successfully in a 1GB VM.

Tags: tests
Tom Barron (tpb)
Changed in cinder:
assignee: nobody → Tom Barron (tpb)
tags: added: tests
description: updated
Revision history for this message
Tom Barron (tpb) wrote : Re: [Bug 1432687] Re: adjust nfs backup unit test memory usage

Thank you!

On 3/16/15 12:43 PM, Andrew Kerr wrote:
> ** Description changed:
>
> - https://review.openstack.netapp.com/#/c/203/, which added NFS backup support, ported a number of unit tests from the
> + https://review.openstack.org/#/c/149726/, which added NFS backup support, ported a number of unit tests from the
> Swift backup service. Likely because the NFS backup service uses a different "chunk" size by default, the NFS backup unit
> tests consume an inappropriate amount of memory and cause test failures due to "memory error" when tox is run in a 1GB
> VM.
>
> The tests should be modified to consume less memory and run successfully
> in a 1GB VM.
>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/165394

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/165394
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=7cdcb7ac63ede192af4639675bf21e80c2a3a752
Submitter: Jenkins
Branch: master

commit 7cdcb7ac63ede192af4639675bf21e80c2a3a752
Author: Tom Barron <email address hidden>
Date: Mon Mar 16 03:43:18 2015 -0400

    Reduce configured file size for nfs backup unit tests

    Unit tests that were ported from the Swift backup
    service for NFS backup trigger memory errors when
    run in tox on a 1GB VM. This commit configures
    NFS backup 'backup_file_size' to match the default
    Swift 'chunk_size' so that the NFS backup unit test
    memory consumption is dialed down to match the Swift
    unit tests.

    Closes-Bug: 1432687

    Change-Id: I4b71d47190179b97baefe9bc390276f720670919

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-3 → 2015.1.0
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.