Friday, 2022-06-17

fricklerjamespage_: same question as knikolla, why wouldn't different regions work? other than that, it isn't currently possible afaict07:55
*** whoami-rajat__ is now known as whoami-rajat11:33
*** dviroel|out is now known as dviroel13:00
knikolladmendiza[m], d34dh0r53: BU is observing Juneteenth today rather than Monday, so I won't be around for the reviewathon.13:34
opendevreviewStephen Finucane proposed openstack/keystone master: tox: Don't generate byte code  https://review.opendev.org/c/openstack/keystone/+/84636513:38
opendevreviewStephen Finucane proposed openstack/keystone master: Ignore UserWarning for scope checks during test runs  https://review.opendev.org/c/openstack/keystone/+/84636613:38
opendevreviewStephen Finucane proposed openstack/keystone master: sql: Don't create a new connection in migrations  https://review.opendev.org/c/openstack/keystone/+/84636713:38
opendevreviewStephen Finucane proposed openstack/keystone master: WIP sql: Don't rely on globals to configure enginefacades  https://review.opendev.org/c/openstack/keystone/+/84636813:38
opendevreviewStephen Finucane proposed openstack/keystone master: sql: Integrate alembic  https://review.opendev.org/c/openstack/keystone/+/82584413:38
opendevreviewStephen Finucane proposed openstack/keystone master: docs: Update docs to reflect migration to Alembic  https://review.opendev.org/c/openstack/keystone/+/82890513:39
opendevreviewStephen Finucane proposed openstack/keystone master: WIP: sql: Add support for auto-generation  https://review.opendev.org/c/openstack/keystone/+/82614713:39
*** dviroel is now known as dviroel|pto14:03
*** whoami-rajat__ is now known as whoami-rajat14:43
dmendiza[m]knikolla: no worries, thanks for the heads up.15:14
stephenfinzzzeek: At some point I'm going to need your eyes on https://review.opendev.org/c/openstack/keystone/+/825844 again. I can't figure out what's going wrong. *Something* is causing multiple tests to use the same DB connection and trample on each other, but I haven't a clue what and Keystone's session management is totally different to cinder and nova's :-(16:26
zzzeekstephenfin: OK.  I will try to find time, did you ping me on the gerrit so i have it in my email?16:26
zzzeekthere's an immense amount of things people need me to look at16:26
stephenfinI did a while back. Just removed and re-added you16:27
stephenfinThat's fair and I'm reluctant to even ask, but this is maybe the fourth or fifth day (not in a row) I've burnt trying to untangle this and I'm getting nowhere fast /o\ My call for help at the Summit didn't yield results either unfortunately :)16:28
zzzeekstephenfin: I think i might have seen the email yesterday?   or was this longer ago?16:31
stephenfinOh, like 4 months ago16:31
zzzeekomg sorry, that i missed16:31
zzzeekstephenfin: is there a way for me to run the keystone tests in question without running the whole suite and still reproduce the issue?16:32
stephenfinnot that I've found, which is what makes it such a pain. I tried running stestr with the '--analyze-isolation' flag to see if I could identify the interactions but to no avail16:33
stephenfinif I could find some way to differentiate between different in-memory SQLite instances (so I could say "oh, these two tests are using the same instance") that would probably do the trick but I haven't figured out a way to do that16:34
zzzeekok any help from keystone devs?16:35
stephenfinI don't know if there are many keystone devs left16:35
stephenfinother than dmendiza[m] perhaps16:35
zzzeekstephenfin: oh geez I thought keystone was on alembic already, uh16:41
zzzeekwow16:41
zzzeekstephenfin: this is huge16:42
zzzeekstephenfin: what happens if you just run keystone migrations from CLI using this?  does that work? 16:42
stephenfinyeah, and the tests running in serial order work just fine16:43
stephenfinI've tried to align keystone with nova, namely, using a global enginefacade and monkeypatching it on a per-test basis but that's borked and I don't know why https://review.opendev.org/c/openstack/keystone/+/84636816:44
stephenfin(as a way of eliminating shared global state)16:44
zzzeekoh, tests running seril is fine, and using ...distinct proceses? they fail?16:44
zzzeektest suite doesnt use threads right16:45
stephenfinyeah, stestr uses processes afaik16:45
zzzeekstephenfin: OK! and tests fail w sqlite?16:47
stephenfinand MySQL and PostgreSQL16:47
zzzeekok and ...is each process using a separate database?  16:47
stephenfinIt should be, but I don't think it is16:47
zzzeekOK but this is jusit a top level "use the right database" issue then , within the test suites16:48
stephenfinBecause the errors are usually "this table is missing"16:48
zzzeeksure16:48
opendevreviewmike_mp@zzzcomputing.com proposed openstack/keystone master: sql: Integrate alembic  https://review.opendev.org/c/openstack/keystone/+/82584418:08
zzzeekstephenfin: it's likely I found the issue, will see18:08

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