)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"1bcdb6ca679427c66eda07e8ec32e646a2095229","unresolved":false,"context_lines":[{"line_number":9,"context_line":"\u0027test_create_image_from_volume_backed_server\u0027 causes two volumes and one"},{"line_number":10,"context_line":"volume snapshot to be leaked:"},{"line_number":11,"context_line":" - leak from the attached volume"},{"line_number":12,"context_line":" - leak from a volume that is created using the image in the tempest.conf"},{"line_number":13,"context_line":" - leak from a volume snapshot that is created from the attached volume"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I2c1a1db8215bd054818ec447afdc02815e9994a4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3fa7e38b_61163faa","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":73},"updated":"2020-01-03 02:56:24.000000000","message":"I am not getting when this will be created?","commit_id":"9a6d96c97eb7dcf6d0e4c184286ed8f0839fd1de"},{"author":{"_account_id":17896,"name":"Rick Bartra","email":"rickbartra@microsoft.com","username":"rb560u"},"change_message_id":"ef799a5f9b51f8754f0ae7911e193b43dfd4baef","unresolved":false,"context_lines":[{"line_number":9,"context_line":"\u0027test_create_image_from_volume_backed_server\u0027 causes two volumes and one"},{"line_number":10,"context_line":"volume snapshot to be leaked:"},{"line_number":11,"context_line":" - leak from the attached volume"},{"line_number":12,"context_line":" - leak from a volume that is created using the image in the tempest.conf"},{"line_number":13,"context_line":" - leak from a volume snapshot that is created from the attached volume"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I2c1a1db8215bd054818ec447afdc02815e9994a4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3fa7e38b_6c7b8f79","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":73},"in_reply_to":"3fa7e38b_61163faa","updated":"2020-01-03 20:33:54.000000000","message":"I also don\u0027t understand why/how this is being created, but it is definitely being created when this test runs:\n\n(tempest) stack@rick-VirtualBox:~/tempest$ openstack volume list --all\n\n(tempest) stack@rick-VirtualBox:~/tempest$ openstack volume snapshot list --all\n\n(tempest) stack@rick-VirtualBox:~/tempest$ tempest run --regex test_create_image_from_volume_backed_server\n{0} patrole_tempest_plugin.tests.api.compute.test_server_actions_rbac.ServerActionsRbacTest.test_create_image_from_volume_backed_server [18.453652s] ... ok\n\n\u003d\u003d\u003d\u003d\u003d\u003d\nTotals\n\u003d\u003d\u003d\u003d\u003d\u003d\nRan: 1 tests in 18.0000 sec.\n - Passed: 1\n - Skipped: 0\n - Expected Fail: 0\n - Unexpected Success: 0\n - Failed: 0\nSum of execute time for each test: 18.4537 sec.\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nWorker Balance\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n - Worker 0 (1 tests) \u003d\u003e 0:00:18.453652\n(tempest) stack@rick-VirtualBox:~/tempest$ openstack volume snapshot list --all\n+--------------------------------------+------------------------------------------------------------+-------------+-----------+------+\n| ID                                   | Name                                                       | Description | Status    | Size |\n+--------------------------------------+------------------------------------------------------------+-------------+-----------+------+\n| 5bdca1ff-6ae3-4846-a59f-fc865f69d654 | snapshot for tempest-ServerActionsRbacTest-image-954960507 | None        | available |    1 |\n+--------------------------------------+------------------------------------------------------------+-------------+-----------+------+\n(tempest) stack@rick-VirtualBox:~/tempest$ openstack volume list --all\n+--------------------------------------+-------------------------------------------------+-----------+------+-------------+\n| ID                                   | Name                                            | Status    | Size | Attached to |\n+--------------------------------------+-------------------------------------------------+-----------+------+-------------+\n| e1e88919-33fd-4799-93e9-9d1025f343cb | image-e8da54ac-bd5a-4704-8531-f88d4d7686c7      | available |    1 |             |\n| 395572a1-a816-468d-a515-fe4019d7de89 | tempest-tempest.common.compute-volume-680498114 | available |    1 |             |\n+--------------------------------------+-------------------------------------------------+-----------+------+-------------+","commit_id":"9a6d96c97eb7dcf6d0e4c184286ed8f0839fd1de"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"a2b63ebef430da54f918fc643f01697f476752c0","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"542a7536_4142d26c","updated":"2023-03-11 02:12:58.000000000","message":"no activity for long time, and as this repo is almost inactive I will propose it to retire soon but if you would like to maintain it, ping us on #openstack-qa IRC OFTC channel","commit_id":"add65b3e3057f443fe983292da13ca23cf9c8007"}],"patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"1bcdb6ca679427c66eda07e8ec32e646a2095229","unresolved":false,"context_lines":[{"line_number":286,"context_line":"        # this test."},{"line_number":287,"context_line":"        server \u003d self.create_test_server(volume_backed\u003dTrue,"},{"line_number":288,"context_line":"                                         wait_until\u003d\u0027ACTIVE\u0027)"},{"line_number":289,"context_line":"        attached_volume \u003d (self.servers_client.show_server("},{"line_number":290,"context_line":"            server[\u0027id\u0027])[\u0027server\u0027][\u0027os-extended-volumes:volumes_attached\u0027]"},{"line_number":291,"context_line":"            [0][\u0027id\u0027])"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"        with self.override_role():"},{"line_number":294,"context_line":"            # This function will also call show image."}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_21fe076a","line":291,"range":{"start_line":289,"start_character":0,"end_line":291,"end_character":22},"updated":"2020-01-03 02:56:24.000000000","message":"you are not deleting this volume?\n\nI think we need to add the volume cleanup in create_test_server so that we can take care of all cases of volume_backed. I can do that later and as of now it is ok to handle it here.","commit_id":"9a6d96c97eb7dcf6d0e4c184286ed8f0839fd1de"},{"author":{"_account_id":17896,"name":"Rick Bartra","email":"rickbartra@microsoft.com","username":"rb560u"},"change_message_id":"ef799a5f9b51f8754f0ae7911e193b43dfd4baef","unresolved":false,"context_lines":[{"line_number":286,"context_line":"        # this test."},{"line_number":287,"context_line":"        server \u003d self.create_test_server(volume_backed\u003dTrue,"},{"line_number":288,"context_line":"                                         wait_until\u003d\u0027ACTIVE\u0027)"},{"line_number":289,"context_line":"        attached_volume \u003d (self.servers_client.show_server("},{"line_number":290,"context_line":"            server[\u0027id\u0027])[\u0027server\u0027][\u0027os-extended-volumes:volumes_attached\u0027]"},{"line_number":291,"context_line":"            [0][\u0027id\u0027])"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"        with self.override_role():"},{"line_number":294,"context_line":"            # This function will also call show image."}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_0c1e9b0c","line":291,"range":{"start_line":289,"start_character":0,"end_line":291,"end_character":22},"in_reply_to":"3fa7e38b_21fe076a","updated":"2020-01-03 20:33:54.000000000","message":"This volume is deleted via create_test_server but only when we delete the volume snapshot as it is done in line 310 in this PS","commit_id":"9a6d96c97eb7dcf6d0e4c184286ed8f0839fd1de"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"1bcdb6ca679427c66eda07e8ec32e646a2095229","unresolved":false,"context_lines":[{"line_number":296,"context_line":"                                                  wait_until\u003d\u0027ACTIVE\u0027,"},{"line_number":297,"context_line":"                                                  wait_for_server\u003dFalse)"},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"        # A volume is created from the image defined in tempest.conf"},{"line_number":300,"context_line":"        # \u0027image_ref\u0027 and needs to be cleaned up"},{"line_number":301,"context_line":"        volume_from_image_name \u003d \u0027image-\u0027 + CONF.compute.image_ref"},{"line_number":302,"context_line":"        volume_params \u003d {\u0027all_tenants\u0027: 1, \u0027name\u0027: volume_from_image_name}"},{"line_number":303,"context_line":"        # The volume id is needed to delete the volume, the volume can\u0027t be"},{"line_number":304,"context_line":"        # deleted by its name"},{"line_number":305,"context_line":"        volume_from_image_id \u003d self.volumes_client.list_volumes("},{"line_number":306,"context_line":"            detail\u003dTrue, params\u003dvolume_params)[\u0027volumes\u0027][0][\u0027id\u0027]"},{"line_number":307,"context_line":"        self.addCleanup(self.volumes_client.delete_volume,"},{"line_number":308,"context_line":"                        volume_from_image_id)"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"        # A snapshot of the attached volume is created and needs to be deleted"},{"line_number":311,"context_line":"        # before the volume can be deleted"}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_210cc791","line":308,"range":{"start_line":299,"start_character":0,"end_line":308,"end_character":45},"updated":"2020-01-03 02:56:24.000000000","message":"I cannot recall when this volume will be created?","commit_id":"9a6d96c97eb7dcf6d0e4c184286ed8f0839fd1de"},{"author":{"_account_id":17896,"name":"Rick Bartra","email":"rickbartra@microsoft.com","username":"rb560u"},"change_message_id":"ef799a5f9b51f8754f0ae7911e193b43dfd4baef","unresolved":false,"context_lines":[{"line_number":296,"context_line":"                                                  wait_until\u003d\u0027ACTIVE\u0027,"},{"line_number":297,"context_line":"                                                  wait_for_server\u003dFalse)"},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"        # A volume is created from the image defined in tempest.conf"},{"line_number":300,"context_line":"        # \u0027image_ref\u0027 and needs to be cleaned up"},{"line_number":301,"context_line":"        volume_from_image_name \u003d \u0027image-\u0027 + CONF.compute.image_ref"},{"line_number":302,"context_line":"        volume_params \u003d {\u0027all_tenants\u0027: 1, \u0027name\u0027: volume_from_image_name}"},{"line_number":303,"context_line":"        # The volume id is needed to delete the volume, the volume can\u0027t be"},{"line_number":304,"context_line":"        # deleted by its name"},{"line_number":305,"context_line":"        volume_from_image_id \u003d self.volumes_client.list_volumes("},{"line_number":306,"context_line":"            detail\u003dTrue, params\u003dvolume_params)[\u0027volumes\u0027][0][\u0027id\u0027]"},{"line_number":307,"context_line":"        self.addCleanup(self.volumes_client.delete_volume,"},{"line_number":308,"context_line":"                        volume_from_image_id)"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"        # A snapshot of the attached volume is created and needs to be deleted"},{"line_number":311,"context_line":"        # before the volume can be deleted"}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_ecdbff76","line":308,"range":{"start_line":299,"start_character":0,"end_line":308,"end_character":45},"in_reply_to":"3fa7e38b_210cc791","updated":"2020-01-03 20:33:54.000000000","message":"I am not entirely sure, but based off my resource checks before and after this test runs, there is definitely a volume that is created based off the image in the tempest.conf. Here are the volumes after the test run:\n\n(tempest) stack@rick-VirtualBox:~/tempest$ openstack volume list --all\n+--------------------------------------+-------------------------------------------------+-----------+------+-------------+\n| ID                                   | Name                                            | Status    | Size | Attached to |\n+--------------------------------------+-------------------------------------------------+-----------+------+-------------+\n| e1e88919-33fd-4799-93e9-9d1025f343cb | image-e8da54ac-bd5a-4704-8531-f88d4d7686c7      | available |    1 |             |\n| 395572a1-a816-468d-a515-fe4019d7de89 | tempest-tempest.common.compute-volume-680498114 | available |    1 |             |\n+--------------------------------------+-------------------------------------------------+-----------+------+-------------+\n\nAnd before the test run, I made sure there were no volumes.","commit_id":"9a6d96c97eb7dcf6d0e4c184286ed8f0839fd1de"}]}
