*** hdd has joined #openstack-sahara | 00:22 | |
*** hdd has quit IRC | 00:36 | |
*** hdd has joined #openstack-sahara | 02:36 | |
*** hdd has quit IRC | 02:59 | |
*** Poornima has joined #openstack-sahara | 04:04 | |
*** jhalterman has quit IRC | 04:57 | |
*** jodah has joined #openstack-sahara | 04:57 | |
*** jodah has quit IRC | 05:09 | |
*** jodah has joined #openstack-sahara | 05:09 | |
*** hdd has joined #openstack-sahara | 05:45 | |
*** hdd has quit IRC | 06:59 | |
*** k4n0 has joined #openstack-sahara | 07:30 | |
*** IvanBerezovskiy has joined #openstack-sahara | 08:07 | |
*** dorry has quit IRC | 08:23 | |
*** witlessb has joined #openstack-sahara | 08:58 | |
*** Longgeek has joined #openstack-sahara | 09:51 | |
openstackgerrit | Merged openstack/sahara: Adding database detection to migration tests https://review.openstack.org/142578 | 11:09 |
---|---|---|
openstackgerrit | Denis Egorenko proposed stackforge/sahara-ci-config: Fix slave names https://review.openstack.org/143426 | 11:21 |
*** guo has joined #openstack-sahara | 11:25 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Added endpoint and utils to work with events https://review.openstack.org/134504 | 11:25 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Added endpoint and utils to work with events https://review.openstack.org/134504 | 11:32 |
*** Poornima has quit IRC | 11:33 | |
*** guo has quit IRC | 12:04 | |
openstackgerrit | Denis Egorenko proposed stackforge/sahara-ci-config: Fix slave names https://review.openstack.org/143426 | 12:08 |
openstackgerrit | Merged stackforge/sahara-ci-config: Fix slave names https://review.openstack.org/143426 | 12:12 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Added endpoint and utils to work with events https://review.openstack.org/134504 | 13:00 |
*** Longgeek has quit IRC | 13:10 | |
*** tmckay has left #openstack-sahara | 13:14 | |
*** Longgeek has joined #openstack-sahara | 13:14 | |
*** Longgeek has quit IRC | 13:38 | |
*** Longgeek has joined #openstack-sahara | 13:38 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Add provisioning steps to Direct Engine https://review.openstack.org/143442 | 13:44 |
*** egafford has joined #openstack-sahara | 14:14 | |
*** dhellmann has joined #openstack-sahara | 14:18 | |
dhellmann | Hi! I am trying to run the unit tests for sahara on my local dev system, and I'm seeing errors from postgresql and mysql. Is there a setup script I can use to configure my database services? Or instructions for creating whatever users and databases are needed? | 14:19 |
elmiko | dhellmann: there was a problem with those tests running even without the database present. i think we merged a change that should turn that behaviour off though. let me check. | 14:26 |
dhellmann | elmiko: I see "Adding database detection to migration tests" in master this morning, is that the one? | 14:27 |
elmiko | previously the tests would only run if they could detect a db, then we had a regression, now it should be fixed. | 14:27 |
elmiko | dhellmann: yes, that's the change | 14:27 |
* elmiko is waiting on review.openstack.org | 14:27 | |
dhellmann | elmiko: ok, if I want to run those tests instead of skipping them, though, how do I set up my database services correctly? | 14:28 |
dhellmann | I'm changing some package names in oslo.db and I want to make sure I have good backwards compatibility so our next release doesn't break you :-) | 14:28 |
elmiko | dhellmann: ok, cool | 14:28 |
elmiko | so, first you will need to setup the mysql and postgresql backends, then change the config values in sahara/tests/unit/db/migration/test_migrations.conf | 14:30 |
elmiko | with those values set and the db's in place, i think you will need to create the actual named databases for the testing. i didn't get past this part though so let me look in the code quickly for the names... | 14:31 |
elmiko | i tried getting these tests to work locally and had some issue with table names and db users | 14:31 |
dhellmann | elmiko: oh, I thought maybe this was all automated somewhere | 14:31 |
elmiko | dhellmann: i think it is, but i just want to make sure you've got everything just in case ;) | 14:33 |
elmiko | the db name is openstack_citest (in case it doesn't get created automatically) | 14:33 |
elmiko | actually though, now that you mention it, when i setup mysql it did just run those tests | 14:34 |
elmiko | dhellmann: any luck? | 14:39 |
dhellmann | elmiko: trying it now | 14:39 |
elmiko | cool | 14:39 |
dhellmann | elmiko: do the tests run with sqlite if I don't specify mysql or postgresql? I just want to make sure they're running and not skipping. | 14:40 |
elmiko | dhellmann: i think sqlite has been deprecated, i'd have to check to confirm that though. | 14:41 |
dhellmann | ok, it's listed in that config file so I wasn't sure | 14:41 |
elmiko | could be kruft | 14:41 |
elmiko | one of our migrations has issue with sqlite | 14:42 |
dhellmann | ah | 14:42 |
elmiko | yea, looking at the code, i don't think we run the sqlite stuff anymore | 14:43 |
* elmiko notes to make a bug removing the sqlite kruft | 14:43 | |
dhellmann | elmiko: I uncommented the postgresql line in the unit_tests section, created the user and database, and ran the tests but I don't see it running any more than before | 14:47 |
elmiko | hmm, that's odd | 14:47 |
dhellmann | doing the same thing in the migration_dbs section gives me a bunch of new test failures with syntax errors in sql statements | 14:48 |
elmiko | crazy... let me setup a local test | 14:48 |
dhellmann | elmiko: http://paste.openstack.org/show/153886/ | 14:48 |
elmiko | dhellmann: thanks, i'll start investigating | 14:49 |
elmiko | dhellmann: i saw those errors when i had setup my db's local, i thought it was a misconfig on my part. i wonder if the ci machines have been setup for so long that these parts of the test code don't run often enough? | 14:51 |
elmiko | unfortunately, i'm not sure i'll get to talk with those folks before holiday break | 14:51 |
dhellmann | elmiko: it could be | 14:51 |
elmiko | dhellmann: did you just run postgresql? | 14:52 |
dhellmann | elmiko: yeah, I'm working on figuring out how to create a user with mysql now | 14:53 |
elmiko | k | 14:53 |
*** tmckay has joined #openstack-sahara | 14:55 | |
elmiko | dhellmann: hmm, i'm running into a few inconsistencies with the mysql tests, although they do start ok. | 14:56 |
elmiko | i'll probably need to dive in a little deeper | 14:56 |
dhellmann | elmiko: I'm seeing some "no such table" errors | 14:57 |
elmiko | dhellmann: same | 14:57 |
dhellmann | elmiko: I wonder if it has to do with the tests being run concurrently | 14:57 |
elmiko | i'm also seeing race condition type errors | 14:57 |
elmiko | yea, could be | 14:57 |
dhellmann | ok, well, since you see these errors too I don't think they are related to my changes so I'm going to continue with my work | 14:58 |
elmiko | dhellmann: thanks for bringing this up, i'll make sure to talk with the team and figure out what is going on. | 14:59 |
dhellmann | elmiko: cool, thank you | 15:00 |
*** IvanBerezovskiy has left #openstack-sahara | 15:11 | |
openstackgerrit | Sergey Reshetnyak proposed openstack/sahara: Minor refactoring integration tests https://review.openstack.org/133350 | 15:13 |
*** IvanBerezovskiy has joined #openstack-sahara | 15:32 | |
*** hdd has joined #openstack-sahara | 15:57 | |
*** guo has joined #openstack-sahara | 16:01 | |
*** guo has quit IRC | 16:07 | |
openstackgerrit | Merged openstack/sahara: Added validation on proxy domain for 'hiveserver' process https://review.openstack.org/142938 | 16:14 |
openstackgerrit | Ken Chen proposed openstack/sahara: Enable more services in CDH plugin https://review.openstack.org/141735 | 16:24 |
openstackgerrit | Ken Chen proposed openstack/sahara: Enable more services in CDH plugin https://review.openstack.org/141735 | 16:29 |
*** Networkn3rd has joined #openstack-sahara | 16:53 | |
*** openstack has joined #openstack-sahara | 17:01 | |
openstackgerrit | lu huichun proposed openstack/sahara: Add Java type edp test in integration test of CDH plugin https://review.openstack.org/143499 | 17:10 |
*** viktors is now known as viktors|afk | 17:12 | |
*** k4n0 has quit IRC | 17:13 | |
openstackgerrit | lu huichun proposed openstack/sahara: Add Java type edp test in integration test of CDH plugin https://review.openstack.org/143499 | 17:13 |
*** skolekonov has quit IRC | 17:35 | |
*** tnovacik has joined #openstack-sahara | 17:45 | |
*** pcaruana has quit IRC | 17:53 | |
*** IvanBerezovskiy has quit IRC | 18:51 | |
openstackgerrit | Chad Roberts proposed openstack/sahara-specs: Provide default templates for each plugin https://review.openstack.org/141178 | 19:00 |
openstackgerrit | Trevor McKay proposed openstack/sahara: Add options supporting DataSource identifiers in job_configs https://review.openstack.org/142248 | 19:00 |
openstackgerrit | Chad Roberts proposed openstack/sahara-specs: Spec for template editing https://review.openstack.org/140448 | 19:01 |
openstackgerrit | Trevor McKay proposed openstack/sahara: Add options supporting DataSource identifiers in job_configs https://review.openstack.org/142248 | 19:06 |
openstackgerrit | Trevor McKay proposed openstack/sahara: Add options supporting DataSource identifiers in job_configs https://review.openstack.org/142248 | 19:10 |
*** hdd has quit IRC | 19:14 | |
*** Longgeek has quit IRC | 20:04 | |
*** tnovacik has quit IRC | 20:34 | |
*** crobertsrh is now known as _crobertsrh | 21:49 | |
*** Networkn3rd has quit IRC | 22:05 | |
*** Networkn3rd has joined #openstack-sahara | 22:08 | |
*** Networkn3rd has quit IRC | 22:17 | |
*** tmckay has quit IRC | 22:22 | |
openstackgerrit | Andrew Lazarev proposed openstack/sahara: Renamed InvalidException to InvalidReferenceException https://review.openstack.org/143552 | 22:32 |
*** hdd has joined #openstack-sahara | 22:34 | |
*** witlessb has quit IRC | 22:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!