Friday, 2019-09-06

*** rh-jelabarre has joined #openstack-qa00:05
*** mattw4 has quit IRC00:06
aspiersgmann: I'm writing my first ever tempest tests :)00:19
aspiersbut I'm getting "Failures during discovery"00:20
aspiers"The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path."00:20
aspiersbut there is no traceback listed00:20
aspiersmtreinish, masayukig: could this be an stestr issue?00:20
clarkbaspiers: probably is a stestr issuem One way to figure it out is to import the modules that changed yourself outside of stestr00:21
aspiersgood idea00:21
aspiersclarkb: import succeeds00:22
aspiersahhh found it via tox -e py3600:23
aspiersUnhandled error: ValueError: Duplicate test ids detected: ...00:23
aspierseven though check-uuid passes00:24
aspiersbah00:24
aspiersand actually I see no duplicate00:25
aspiersohhh00:25
aspiersI guess I can't inherit a scenario from another scenario?00:26
aspiersbah00:26
gmannaspiers: you can run the tox -e uuidgen to fix the test id00:28
aspiersgmann: I already tried that00:28
aspiersgmann: my test ids are fine, I think it's because  I was inheriting a scenario from a scenario00:29
gmannaspiers: you can inherit but the test case will be separate so deos the test id00:29
gmanni did not get you are adding new scenario test class inherited from exiting ?00:29
aspiersyes00:29
gmannthat should work fine00:30
aspiersI'm scrapping the inheritance to see if it fixes it00:30
gmannyou have patch up or pastelink ?00:30
aspiersnot yet00:31
aspiersOK now it works00:32
aspiersYes that was the problem00:32
aspiersInheriting duplicates ids00:32
aspiersgmann: how do I create a flavor from a scenario?00:33
aspiersI want to use BaseV2ComputeAdminTest.create_flavor()00:34
aspierssince that has the cleanup built-in00:34
gmannaspiers: nice. for base function you can find all base method in scenario/manager.py00:35
gmannlet me check if we have create flavor gthere00:35
gmannthere00:35
aspiersgmann: yes I found them but there is no create_flavor00:35
aspiersonly flavors_client00:35
aspiersperhaps methods like that could be moved to a mixin?00:36
aspiersso they can be used by scenarios and API tests00:36
aspiersanyway gotta sleep00:37
aspierslet me know if there is a good solution to this :)00:37
gmannaspiers: yeah that is i was thinking to move to common/compute.py00:37
gmannaspiers: here - https://github.com/openstack/tempest/blob/master/tempest/common/compute.py00:38
*** artom has quit IRC00:38
gmannaspiers: you can do in your patch also or if you want i can move that in separate patch and make it ready for you00:38
aspiersgreat thanks!00:41
aspiersgmann: ah wait, I can't use addCleanup in common/compute.py00:42
aspiersI think a mixin would be better00:42
aspierswell, OK the mixin could be in common/compute00:42
gmannoh yeah cleanup has to be done on base class side.00:42
aspiersI can move create_flavor into a new mixin in common/compute.py, and then BaseV2ComputeAdminTest and manager.ScenarioTest can both use that mixin00:43
aspiersmakes sense?00:43
gmannand d the cleanu in BaseV2ComputeAdminTest and manager.ScenarioTest ?00:44
aspiersno create_flavor in the mixin will do addCleanup00:44
gmannbut that would give much benefit00:44
gmannmixin will be more complex in this.00:44
aspiersI think it will be simple ;-) but I can submit a patch and you can review00:45
gmanni mean just for create_flavor00:45
aspiersit's not just create_flavor00:45
aspiersI need other methods00:45
aspierse.g. set_flavor_extra_spec00:45
aspierscreate_image00:45
aspiersetc.00:45
aspiersI think this code sharing is better than duplication00:46
gmannok, let's see on review how much it save.  ping me link once you are ready00:47
*** markvoelker has joined #openstack-qa00:51
*** markvoelker has quit IRC00:56
*** brinzhang_ has joined #openstack-qa00:57
*** brinzhang has quit IRC01:00
*** bigdogstl has joined #openstack-qa01:05
*** bigdogstl has quit IRC01:08
*** slaweq has joined #openstack-qa01:11
*** mattw4 has joined #openstack-qa01:11
*** slaweq has quit IRC01:16
*** spsurya has joined #openstack-qa01:28
*** hongbin has joined #openstack-qa02:13
*** dave-mccowan has quit IRC02:38
*** rh-jelabarre has quit IRC02:55
*** larainema has joined #openstack-qa03:01
*** slaweq has joined #openstack-qa03:11
*** slaweq has quit IRC03:16
openstackgerritMasayuki Igawa proposed openstack/tempest master: [DNM] testing  https://review.opendev.org/68056303:28
*** slaweq has joined #openstack-qa03:32
*** mvkr has joined #openstack-qa03:34
*** rfolco has quit IRC03:38
*** soniya29 has joined #openstack-qa03:44
*** ramishra has joined #openstack-qa04:04
*** igordc has joined #openstack-qa04:10
*** early has quit IRC04:12
*** early has joined #openstack-qa04:15
*** igordc has quit IRC04:23
*** hongbin has quit IRC04:35
*** Luzi has joined #openstack-qa04:52
*** markvoelker has joined #openstack-qa05:15
openstackgerritGhanshyam Mann proposed openstack/tempest master: DNM:testing legacy  https://review.opendev.org/68023305:19
*** markvoelker has quit IRC05:20
*** pcaruana has joined #openstack-qa05:25
*** udesale has joined #openstack-qa05:54
*** mattw4 has quit IRC06:00
*** raukadah is now known as chandankumar06:03
*** surpatil has joined #openstack-qa06:03
*** markvoelker has joined #openstack-qa06:06
*** markvoelker has quit IRC06:10
*** brinzhang_ has quit IRC06:14
*** brinzhang_ has joined #openstack-qa06:15
*** brinzhang_ has quit IRC06:16
*** xinranwang has joined #openstack-qa06:24
*** markvoelker has joined #openstack-qa06:36
*** kopecmartin|off is now known as kopecmartin06:36
*** markvoelker has quit IRC06:41
*** trident has quit IRC06:53
*** haixin has joined #openstack-qa07:04
*** trident has joined #openstack-qa07:04
*** markvoelker has joined #openstack-qa07:06
*** rcernin|brb has quit IRC07:10
*** tesseract has joined #openstack-qa07:11
*** markvoelker has quit IRC07:11
*** markvoelker has joined #openstack-qa07:16
*** brinzhang has joined #openstack-qa07:17
*** ccamposr__ has joined #openstack-qa07:19
*** markvoelker has quit IRC07:20
*** ccamposr has quit IRC07:21
*** gfidente has joined #openstack-qa07:35
*** jpena|off is now known as jpena07:41
*** pcaruana has quit IRC08:08
*** pcaruana has joined #openstack-qa08:13
*** surpatil has quit IRC08:14
*** soniya29 has quit IRC08:15
*** e0ne has joined #openstack-qa08:24
*** trident has quit IRC08:40
*** xinranwang has quit IRC08:45
*** tosky has joined #openstack-qa08:49
*** trident has joined #openstack-qa08:51
*** zigo has quit IRC08:57
*** surpatil has joined #openstack-qa09:05
*** zigo has joined #openstack-qa09:06
*** slaweq has quit IRC09:06
*** rfolco has joined #openstack-qa09:07
*** markvoelker has joined #openstack-qa09:10
*** markvoelker has quit IRC09:20
*** slaweq has joined #openstack-qa09:36
*** dtantsur|afk is now known as dtantsur09:37
*** gcheresh has joined #openstack-qa09:59
*** artom has joined #openstack-qa10:07
*** gcheresh has quit IRC10:08
*** gcheresh has joined #openstack-qa10:16
*** haixin has quit IRC10:19
*** gcheresh has quit IRC10:53
*** ccamposr__ has quit IRC10:57
*** ccamposr has joined #openstack-qa10:58
*** ccamposr__ has joined #openstack-qa11:19
*** brinzhang has quit IRC11:19
*** ccamposr has quit IRC11:22
*** jpena is now known as jpena|lunch11:36
*** gcheresh has joined #openstack-qa11:40
*** surpatil has quit IRC11:40
*** surpatil has joined #openstack-qa11:42
*** rh-jelabarre has joined #openstack-qa11:46
*** ccamposr__ has quit IRC11:53
*** johnsom has quit IRC11:53
*** jpena|lunch has quit IRC11:54
*** johnsom has joined #openstack-qa11:55
*** jpena has joined #openstack-qa11:56
*** rcernin|brb has joined #openstack-qa12:03
*** larainema has quit IRC12:17
*** spsurya has quit IRC12:26
*** gcheresh has quit IRC12:27
*** dave-mccowan has joined #openstack-qa12:29
*** rcernin|brb has quit IRC12:30
*** dave-mccowan has quit IRC12:31
*** gcheresh has joined #openstack-qa12:34
*** gcheresh has quit IRC12:39
*** markvoelker has joined #openstack-qa12:45
*** mriedem has joined #openstack-qa12:46
*** ccamposr has joined #openstack-qa13:02
*** nweinber_ has joined #openstack-qa13:15
*** gcheresh has joined #openstack-qa13:16
*** nweinber_ has quit IRC13:19
*** nweinber has joined #openstack-qa13:20
*** yamamoto has quit IRC13:26
*** yamamoto has joined #openstack-qa13:27
*** surpatil has quit IRC13:30
*** gcheresh has quit IRC13:31
*** nweinber has quit IRC13:35
*** nweinber has joined #openstack-qa13:35
*** gfidente has quit IRC13:46
*** udesale has quit IRC13:56
*** udesale has joined #openstack-qa13:57
*** Luzi has quit IRC13:59
*** lbragstad has quit IRC14:04
*** lbragstad has joined #openstack-qa14:07
*** markvoelker has quit IRC14:07
mtreinishaspiers: there is a bug with stestr <2.5.0 around duplicate id checking on python 3 (because of testtools) for inherited classes14:24
aspiersmtreinish: ah thanks! wow, that was a pretty niche bug I managed to hit ...14:24
aspiersmtreinish: I'm not inheriting scenarios any more though - realised I didn't need to14:24
aspiersmtreinish: does it make sense to bump test-requirements.txt to stestr>=2.5.0 for projects now?14:25
mtreinishaspiers: it does, and I've been pushing for it. But tempest is blocked from doing that because of: https://github.com/testing-cabal/testtools/issues/27214:28
aspiersmtreinish: ah right, does that affect skipUnless too?14:29
mtreinishit doesn't typically effect decorators (depending on how they're implemented) because the decorator normally sets a attr on the test method instead of raising an exception14:31
aspiersOK14:31
aspiersmtreinish: Is it considered good/bad practice for tempest tests to check the message string of exceptions returned by assertRaises?14:33
aspiersI'm thinking that if e.g. nova devs wanted to reword an exception's message string, this could break tempest14:33
aspiersand then you'd need a circular Depends-On across repos to fix it14:33
aspiersor something14:33
aspiersOTOH, just checking that it's a BadRequest or whatever is maybe too vague?14:34
mtreinishaspiers: it depends, normally inspecting a body from a response is fair game because those are supposed to be consistent for a given microversion.14:35
mtreinishIt depends on what the particular contract and expectations are from the service side are for a given api's error response though14:35
mtreinishbecause the error space for a particular api isn't always well defined14:36
aspiersmtreinish: Thanks. Asking in #openstack-nova too in case there is a Nova-specific answer14:38
*** mattw4 has joined #openstack-qa14:42
*** mattw4 has quit IRC14:49
*** mattw4 has joined #openstack-qa14:49
*** markvoelker has joined #openstack-qa14:51
*** chandankumar is now known as raukadah14:54
*** markvoelker has quit IRC14:55
*** mattw4 has quit IRC14:57
*** yamamoto has quit IRC15:01
*** yamamoto has joined #openstack-qa15:02
*** yamamoto has quit IRC15:02
*** yamamoto has joined #openstack-qa15:03
*** yamamoto has quit IRC15:07
*** jdwidari has joined #openstack-qa15:07
*** gfidente has joined #openstack-qa15:15
openstackgerritClark Boylan proposed openstack/devstack master: DNM: Debug worlddump output collection  https://review.opendev.org/68034015:15
clarkbfrickler: ^ I think the last patchset failed too early for /opt/stack/logs to exist?15:15
clarkbI want to see if the file copy happens if we error at the end of stack.sh (then we can work backward and fix problems with early fails if necessary)15:15
*** trident has quit IRC15:37
*** yamamoto has joined #openstack-qa15:38
*** yamamoto has quit IRC15:43
*** dtantsur is now known as dtantsur|afk15:44
*** trident has joined #openstack-qa15:46
*** mattw4 has joined #openstack-qa15:51
*** tesseract has quit IRC15:52
*** mriedem is now known as mriedem_lunch16:11
*** kopecmartin is now known as kopecmartin|off16:36
*** pcaruana has quit IRC16:37
*** e0ne has quit IRC16:39
*** jpena is now known as jpena|off16:48
*** gfidente has quit IRC16:50
*** pcaruana has joined #openstack-qa16:51
*** tosky has quit IRC16:58
*** markvoelker has joined #openstack-qa17:25
*** yamamoto has joined #openstack-qa17:27
*** udesale has quit IRC17:27
*** ramishra has quit IRC17:31
*** yamamoto has quit IRC17:32
*** mriedem_lunch is now known as mriedem17:38
*** mvkr has quit IRC17:55
*** markvoelker has quit IRC17:57
*** e0ne has joined #openstack-qa17:59
*** markvoelker has joined #openstack-qa18:03
*** yamamoto has joined #openstack-qa18:04
*** yamamoto has quit IRC18:09
openstackgerritKen'ichi Ohmichi proposed openstack/tempest master: Add response schema validation for volume transfer  https://review.opendev.org/60889818:11
*** markvoelker has quit IRC18:12
*** e0ne has quit IRC18:15
*** markvoelker has joined #openstack-qa18:15
*** markvoelker has quit IRC18:26
*** markvoelker has joined #openstack-qa18:28
*** markvoelker has quit IRC18:38
*** igordc has joined #openstack-qa18:53
*** markvoelker has joined #openstack-qa19:11
*** markvoelker has quit IRC19:15
*** markvoelker has joined #openstack-qa19:41
*** markvoelker has quit IRC19:45
*** yamamoto has joined #openstack-qa19:53
*** yamamoto has quit IRC19:59
*** nweinber has quit IRC20:00
*** markvoelker has joined #openstack-qa20:19
*** markvoelker has quit IRC20:29
*** rfolco has quit IRC20:50
*** markvoelker has joined #openstack-qa20:50
*** markvoelker has quit IRC20:54
openstackgerritMerged openstack/tempest master: Add response schema validation for volume quota_set  https://review.opendev.org/60333921:02
*** rcernin|brb has joined #openstack-qa21:19
*** rcernin|brb has quit IRC21:33
*** mriedem has quit IRC21:41
*** yamamoto has joined #openstack-qa21:50
openstackgerritAdam Spiers proposed openstack/tempest master: Add tests for basic server operations on AMD SEV compute hosts  https://review.opendev.org/68077721:50
*** yamamoto has quit IRC21:55
*** e0ne has joined #openstack-qa22:02
*** markvoelker has joined #openstack-qa22:15
*** markvoelker has quit IRC22:20
*** e0ne has quit IRC22:34
*** rfolco has joined #openstack-qa22:38
*** yamamoto has joined #openstack-qa23:02
*** mattw4 has quit IRC23:05
*** yamamoto has quit IRC23:07
*** yamamoto has joined #openstack-qa23:40
*** yamamoto has quit IRC23:45
openstackgerritClark Boylan proposed openstack/devstack master: DNM: Debug worlddump output collection  https://review.opendev.org/68034023:46
clarkbfrickler: ^ now testing without the regex23:46
*** mtreinish has quit IRC23:49

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!