ObjectACL tempest tests are flaky with preprov creds

Bug #1524717 reported by Andrea Frittoli
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
refstack
Invalid
Undecided
Unassigned
tempest
Fix Released
Critical
Andrea Frittoli

Bug Description

Some of the tempest ObjectACL negative tests are flaky when executed using the pre provisioned credentials provider.

See for instance http://status.openstack.org/openstack-health/#/job/periodic-tempest-dsvm-neutron-full-test-accounts-master and http://status.openstack.org/openstack-health/#/job/periodic-tempest-dsvm-full-test-accounts-master.

Until this is fixed, the pre provisioned credentials provider cannot make it to the gate, and can only run in experimental and periodic jobs, which makes it susceptible of regressions.

Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :
Changed in tempest:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Andrea Frittoli (andrea-frittoli)
Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :

All the flaky tests use the set_alt_auth_data functionality of auth.py, passing creds from an 'alt' user http://git.openstack.org/cgit/openstack/tempest/tree/tempest/api/object_storage/test_container_acl_negative.py#n90.
Tests which use set_alt_auth_data with no alt data (e.g. http://git.openstack.org/cgit/openstack/tempest/tree/tempest/api/object_storage/test_container_acl_negative.py#n58) do not suffer from the same issue.

I verified from the result DB that all the tests in the class run on the same worker, so there's no race possible within this class.

QUERY: select * from test_run_metadata, test_runs, tests where test_runs.id = test_run_metadata.test_run_id and test_runs.test_id = tests.id and run_id = 69874 and tests.test_id like '%ObjectACL%' and test_run_metadata.key = 'tags' and status = 'fail'.

Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :

AccountQuotasNegativeTest.test_user_modify_quota suffers from a similar issue as well

summary: - ObjectACL tempest tests are flaky with preprov reds
+ ObjectACL tempest tests are flaky with preprov creds
no longer affects: refstack
Catherine Diep (cdiep)
Changed in refstack:
status: New → Invalid
Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :

After the refactor of the test account generator tool, the issue have disappeared. While I don't understand what exactly was causing the original issue in the old account generator tool, I think it's safe to close this now.

Changed in tempest:
status: Confirmed → Fix Committed
Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :

Still working on this

Changed in tempest:
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.