Monday, 2020-12-07

*** spatel has quit IRC00:01
*** sapd1 has joined #senlin02:38
*** spatel has joined #senlin03:29
*** spatel has quit IRC03:32
*** spatel has joined #senlin03:33
*** spatel has quit IRC03:49
*** sapd1 has quit IRC05:45
*** sapd1 has joined #senlin06:19
*** sapd1 has quit IRC06:51
*** sapd1 has joined #senlin09:47
*** sapd1 has quit IRC09:51
*** sapd1 has joined #senlin10:12
*** sapd1 has quit IRC10:16
*** spatel has joined #senlin10:35
*** spatel has quit IRC10:40
*** sapd1 has joined #senlin11:09
*** sapd1 has quit IRC11:14
*** sapd1 has joined #senlin11:33
*** sapd1 has quit IRC11:37
*** spatel has joined #senlin12:52
*** spatel has quit IRC12:57
*** __ministry1 has joined #senlin13:53
*** __ministry1 has quit IRC13:53
*** spatel has joined #senlin15:11
spateldtruong: are you around?20:15
dtruongspatel Yes, I'm here21:42
spatelhey!21:42
dtruongHi.  What's up?21:43
spatelhttps://review.opendev.org/c/openstack/senlin/+/76521521:43
spatelBuild is keep failing and i believe we need to make some more adjustment to Test definition21:44
spatelI meant here  /home/spatel/opendev/senlin/senlin/tests/unit/profiles/21:45
*** jmlowe has quit IRC21:45
spatelIf you see i have added this key-value here but look like its looking for more references - https://review.opendev.org/c/openstack/senlin/+/765215/6/senlin/tests/unit/profiles/test_nova_server_update.py#14721:45
*** jmlowe has joined #senlin21:47
spatelIf you give me clue then i can fix it21:48
dtruongIt looks like the majority of failures in test_nova_server_validate.  See the test result output: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_c96/765215/6/check/openstack-tox-py36/c968192/testr_results.html21:50
dtruongIf you click the fail link to open up the error message for 'test_validation_with_project_scope(validate:net-n:port-n:fixed_ip-n:sgroups-n)', it says 'testtools.matchers._impl.MismatchError: {'port': 'PORT_ID'} != {'port': 'PORT_ID', 'vnic_type': None}'21:51
spatelYes i can see that21:52
dtruongYour change added the vnic_type to the return of validate_network, so you have to change the expected value in the test file here: https://github.com/openstack/senlin/blob/master/senlin/tests/unit/profiles/test_nova_server_validate.py#L53921:52
dtruongThat line needs to add 'vnic_type': None in the result.21:53
dtruongIt should be like this:21:53
dtruongresult={'port': 'PORT_ID', 'vnic_type': None},21:53
spatelthat is the only change?21:54
spatelor i need to go through each error and make that change in every block21:54
dtruongYou have to fix each failure in the test results page.  You can search in https://github.com/openstack/senlin/blob/master/senlin/tests/unit/profiles/test_nova_server_validate.py for the test scenario that failed. The test scenario name is in the parenthesis after the test function in the test result file.21:55
spatelFor example at this location https://github.com/openstack/senlin/blob/master/senlin/tests/unit/profiles/test_nova_server_validate.py#L69821:59
spatelI will add {'network': 'NET_ID', 'security_groups': ['SG_ID'], 'vnic_type': None}21:59
spatelsomething like that21:59
spatelShould i remove my earlier change from test_nova_server_update.py file https://review.opendev.org/c/openstack/senlin/+/765215/6/senlin/tests/unit/profiles/test_nova_server_update.py#14722:01
dtruongThe change you mentioned in test_nova_server_validate on line 698 is needed.22:08
spateli used "normal" instead of None that is ok right?22:08
dtruongYou should probably remove the change in test_nova_server_update.  That test case should pass even without specifying the vnic_type.22:08
spatelOkay! will remove that from test_nova_server_update22:09
dtruongI just left a comment in your code.  I think you need to add the default value in one of the lines to make that test pass.22:10
spatelWill do that22:11
spatelotherwise everything looks good in my lab, i am able to spin up sriov based instances.22:11
dtruongawesome22:13
spateldtruong: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_c96/765215/6/check/openstack-tox-py36/c968192/testr_results.html22:33
spatelfirst two fail one from different file22:33
spatelsenlin.tests.unit.profiles.test_nova_server_update.TestNovaServerUpdate22:34
spatelsenlin.tests.unit.profiles.test_nova_server.TestNovaServerBasic22:34
openstackgerritSatish Patel proposed openstack/senlin master: Add support of vnic_type to Profile  https://review.opendev.org/c/openstack/senlin/+/76521522:36
openstackgerritSatish Patel proposed openstack/senlin master: Add support of vnic_type to Profile  https://review.opendev.org/c/openstack/senlin/+/76521522:38
spatelGotta go, lets see if it fail then we will make changes to those file22:40
*** spatel has quit IRC22:40
dtruongI added another comment22:40
dtruongthe vnic_type should only be added to result if it was not None22:40
*** spatel has joined #senlin23:57

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!