Test-tools id conflict

Bug #1207562 reported by Joshua Harlow on 2013-08-01
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
High
Joshua Harlow

Bug Description

It appears that the usage of testr/testtools causes the usage of the 'id' attribute to be reserved and if a test uses it (or another test fails and a later test uses the 'id' attribute the later test will also fail extremely early on in running). This makes the test failure non-obvious to what is occurring (making it hard for the developer to correlate 'id' attribute to test failure).

Cinder has a few tests that use the 'id' attribute and they likely need to be altered to move away from said usage.

See:

http://logs.openstack.org/62/29862/37/check/gate-cinder-python26/360b9f0/console.html.gz

For an example of this non-obvious failure mode.

Changed in cinder:
assignee: nobody → Joshua Harlow (harlowja)
status: New → In Progress
Changed in cinder:
importance: Undecided → High

Reviewed: https://review.openstack.org/39768
Committed: http://github.com/openstack/cinder/commit/c9e5b98464090e59d43c653d4f5c9dde87ea6f5c
Submitter: Jenkins
Branch: master

commit c9e5b98464090e59d43c653d4f5c9dde87ea6f5c
Author: Joshua Harlow <email address hidden>
Date: Thu Aug 1 12:08:04 2013 -0700

    Test tools barfs on reusage of 'id' attribute.

    Fixes bug #1207562

    Change-Id: I822d63fe909ca5d6e3f0d45ba922f4852ad97e05

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-09-05
Changed in cinder:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers