component-func-tests-does-not-clear-image-table

Bug #1534222 reported by Devdatta Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
New
High
Ashish

Bug Description

Component functional tests does not clear image table.
Way to reproduce:

1) Do functionaltest setup outlined here: https://wiki.openstack.org/wiki/Solum/Testing

2) Run tests:
     nosetests --tests functionaltests.api.v1.test_component

3) After tests finish, login to mysql database and query plan and images tables.
     % mysql
     % use solum;

mysql> select * from image;
+-----+--------------------------------------+---------------------+---------------------+---------+--------------------------+-------------------------------+----------------------------------+----------------------------------+------+----------+---------------+------------------+--------------+---------------+---------------+--------------+-------------------+
| id | uuid | created_at | updated_at | name | description | source_uri | project_id | user_id | tags | status | base_image_id | created_image_id | image_format | source_format | artifact_type | external_ref | docker_image_name |
+-----+--------------------------------------+---------------------+---------------------+---------+--------------------------+-------------------------------+----------------------------------+----------------------------------+------+----------+---------------+------------------+--------------+---------------+---------------+--------------+-------------------+
| 213 | cf27dc0d-8769-4d99-9bb1-3b9bb1aab00a | 2016-01-14 16:31:39 | 2016-01-14 16:31:40 | No deus | Starting the image build | https://example.com/git/a.git | 5be7e6fa92dd4bdfa863afbd289e7967 | d45fc73f313a44338372e401a97229fa | NULL | BUILDING | auto | NULL | docker | heroku | NULL | NULL | NULL |
| 214 | 450abeaa-6f08-4f53-b86a-1f023bb6ec23 | 2016-01-14 16:31:41 | 2016-01-14 16:31:42 | No deus | Starting the image build | https://example.com/git/a.git | 5be7e6fa92dd4bdfa863afbd289e7967 | d45fc73f313a44338372e401a97229fa | NULL | BUILDING | auto | NULL | docker | heroku | NULL | NULL | NULL |
| 215 | e4fb440b-85d7-4209-ba0e-4e51345c6b27 | 2016-01-14 16:31:43 | 2016-01-14 16:31:44 | No deus | Starting the image build | https://example.com/git/a.git | 5be7e6fa92dd4bdfa863afbd289e7967 | d45fc73f313a44338372e401a97229fa | NULL | BUILDING | auto | NULL | docker | heroku | NULL | NULL | NULL |
| 216 | c2f948ee-a4e9-4c3a-a594-b18253a226fa | 2016-01-14 16:31:45 | 2016-01-14 16:31:45 | No deus | Starting the image build | https://example.com/git/a.git | 5be7e6fa92dd4bdfa863afbd289e7967 | d45fc73f313a44338372e401a97229fa | NULL | BUILDING | auto | NULL | docker | heroku | NULL | NULL | NULL |
| 217 | 3e79e992-51f4-4915-b512-03bce52c5629 | 2016-01-14 16:31:47 | 2016-01-14 16:31:47 | No deus | Starting the image build | https://example.com/git/a.git | 5be7e6fa92dd4bdfa863afbd289e7967 | d45fc73f313a44338372e401a97229fa | NULL | BUILDING | auto | NULL | docker | heroku | NULL | NULL | NULL |
+-----+--------------------------------------+---------------------+---------------------+---------+--------------------------+-------------------------------+----------------------------------+----------------------------------+------+----------+---------------+------------------+--------------+---------------+---------------+--------------+-------------------+
5 rows in set (0.00 sec)

Ashish (ashish-jain14)
Changed in solum:
assignee: nobody → Ashish (ashish-jain14)
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.