Glance tempest plugin tests keeps stale data after successful or failed test run
Glance image list before running the tests;
$glance image-list
+--------------------------------------+--------------------------+
| ID | Name |
+--------------------------------------+--------------------------+
| c38ca326-1b6f-4370-bac4-3734c3485081 | cirros-0.5.2-x86_64-disk |
+--------------------------------------+--------------------------+
Now after running the tests from tempest plugin;
glance image-list
+--------------------------------------+--------------------------+
| ID | Name |
+--------------------------------------+--------------------------+
| c38ca326-1b6f-4370-bac4-3734c3485081 | cirros-0.5.2-x86_64-disk |
| d6d1acb7-c672-4d87-b936-f56bad21b03d | tempest-image-155736284 |
| 2fff7b3d-0d4a-467e-8aa1-5f636ca7caa4 | tempest-image-1918550621 |
| 89d64fdc-fd1d-4b12-9196-c91fb87631c5 | tempest-image-1975781600 |
| 97fe1152-da08-4218-b12c-b4c57434b26b | tempest-image-2072141079 |
| cd8306be-372a-4ed2-8286-51d3db8cbd0a | tempest-image-456301798 |
| f0910775-5de6-4e8f-b70b-ac9436584ddb | tempest-image-9448148 |
+--------------------------------------+--------------------------+
On second run of tests from the plugin;
glance image-list
+--------------------------------------+--------------------------+
| ID | Name |
+--------------------------------------+--------------------------+
| c38ca326-1b6f-4370-bac4-3734c3485081 | cirros-0.5.2-x86_64-disk |
| 92014c32-0f07-4a94-b4a2-d8ce0e1badcd | tempest-image-1085907062 |
| 59119b04-b2f0-4096-88cb-fef0c4551e61 | tempest-image-1281797406 |
| d6d1acb7-c672-4d87-b936-f56bad21b03d | tempest-image-155736284 |
| ff3b6861-6cd5-45a3-b50e-2a7e84fdddab | tempest-image-1619710124 |
| 6d25e839-87be-4f8c-8872-c0727d696d3a | tempest-image-1626260264 |
| 4c3b600e-b734-4383-8945-1961bc9533e2 | tempest-image-1916291841 |
| 2fff7b3d-0d4a-467e-8aa1-5f636ca7caa4 | tempest-image-1918550621 |
| 89d64fdc-fd1d-4b12-9196-c91fb87631c5 | tempest-image-1975781600 |
| 97fe1152-da08-4218-b12c-b4c57434b26b | tempest-image-2072141079 |
| cd8306be-372a-4ed2-8286-51d3db8cbd0a | tempest-image-456301798 |
| 4e7a21fb-800e-4e39-b7d5-b624ed0487c6 | tempest-image-538279575 |
| f0910775-5de6-4e8f-b70b-ac9436584ddb | tempest-image-9448148 |
+--------------------------------------+--------------------------+
On 3rd run of tests from the plugin;
glance image-list
+--------------------------------------+--------------------------+
| ID | Name |
+--------------------------------------+--------------------------+
| c38ca326-1b6f-4370-bac4-3734c3485081 | cirros-0.5.2-x86_64-disk |
| bdaa354a-c108-4868-abd6-9d99fca76616 | tempest-image-1057525406 |
| 92014c32-0f07-4a94-b4a2-d8ce0e1badcd | tempest-image-1085907062 |
| ab58a789-9693-47ca-88f5-952ceab7b450 | tempest-image-1192669239 |
| 59119b04-b2f0-4096-88cb-fef0c4551e61 | tempest-image-1281797406 |
| ef6126e7-326d-4adc-abef-bea1c4d4e18f | tempest-image-1417387668 |
| d6d1acb7-c672-4d87-b936-f56bad21b03d | tempest-image-155736284 |
| ff3b6861-6cd5-45a3-b50e-2a7e84fdddab | tempest-image-1619710124 |
| 6d25e839-87be-4f8c-8872-c0727d696d3a | tempest-image-1626260264 |
| 4c3b600e-b734-4383-8945-1961bc9533e2 | tempest-image-1916291841 |
| 2fff7b3d-0d4a-467e-8aa1-5f636ca7caa4 | tempest-image-1918550621 |
| 89d64fdc-fd1d-4b12-9196-c91fb87631c5 | tempest-image-1975781600 |
| 97fe1152-da08-4218-b12c-b4c57434b26b | tempest-image-2072141079 |
| b62e07c6-594e-459e-93f3-34cab332ee10 | tempest-image-309458237 |
| cd8306be-372a-4ed2-8286-51d3db8cbd0a | tempest-image-456301798 |
| e5c044a2-4200-4127-b32e-171515f4162b | tempest-image-457653552 |
| 4e7a21fb-800e-4e39-b7d5-b624ed0487c6 | tempest-image-538279575 |
| f0910775-5de6-4e8f-b70b-ac9436584ddb | tempest-image-9448148 |
+--------------------------------------+--------------------------+
I think some of the tests are not clearing/deleting the resources it has created.
This issue was fixed in the openstack/ glance- tempest- plugin 0.3.0 release.