*** hoonetorg has quit IRC | 00:14 | |
*** hoonetorg has joined #openstack-swift | 00:28 | |
*** hoonetorg has quit IRC | 01:26 | |
*** hoonetorg has joined #openstack-swift | 01:38 | |
*** mvalsecc has joined #openstack-swift | 02:19 | |
*** rcernin has quit IRC | 02:33 | |
*** mvalsecc has quit IRC | 02:39 | |
*** mvalsecc has joined #openstack-swift | 02:40 | |
zaitcev | ERROR: Package 'oslo.context' requires a different Python: 2.7.17 not in '>=3.6' | 02:54 |
---|---|---|
*** rcernin has joined #openstack-swift | 03:03 | |
*** rcernin has quit IRC | 03:11 | |
*** rcernin has joined #openstack-swift | 03:11 | |
*** psachin has joined #openstack-swift | 03:32 | |
*** mvalsecc has quit IRC | 04:22 | |
*** m75abrams has joined #openstack-swift | 05:12 | |
*** mvalsecc has joined #openstack-swift | 05:17 | |
*** evrardjp has quit IRC | 05:33 | |
*** evrardjp has joined #openstack-swift | 05:33 | |
*** baojg has quit IRC | 05:48 | |
*** baojg has joined #openstack-swift | 05:52 | |
*** klamath_atx has joined #openstack-swift | 06:32 | |
*** m75abrams has quit IRC | 06:41 | |
*** m75abrams has joined #openstack-swift | 06:41 | |
mvalsecc | When running tox, 1k unit tests for py37 in my box(Fedora29) are failing due to "The 'swift' distribution was not found and is required by the application". Does anyone have any pointer? Running $HOME/swift/.unittests does not incur in such issues. Researching the error it is clear this is related to dependencies resolution/pip, rather than swift | 07:21 |
mvalsecc | itself, but I could not get to end of it. | 07:21 |
mvalsecc | I've tried with another VM (Fedora33), and unit tests run succesfully. However, due to Fedora33 using python3.9 I'm hitting "_at_fork_reinit" in eventlet lib, swift does not run, only tests do. I've used "alternatives" to make py37 default, but no success so far, hence the above said try with Fedora29 | 07:39 |
*** rpittau|afk is now known as rpittau | 07:39 | |
*** rcernin has quit IRC | 07:49 | |
*** rcernin has joined #openstack-swift | 07:57 | |
*** mvalsecc has quit IRC | 08:10 | |
*** rcernin has quit IRC | 08:15 | |
*** m75abrams has quit IRC | 08:50 | |
*** baojg has quit IRC | 08:58 | |
*** baojg has joined #openstack-swift | 08:58 | |
*** baojg has quit IRC | 09:06 | |
*** baojg has joined #openstack-swift | 09:07 | |
*** baojg has quit IRC | 09:42 | |
*** baojg has joined #openstack-swift | 09:43 | |
*** dsariel has joined #openstack-swift | 10:44 | |
*** m75abrams has joined #openstack-swift | 11:06 | |
*** m75abrams has quit IRC | 11:12 | |
*** m75abrams has joined #openstack-swift | 11:14 | |
acoles | mvalsecc: you may need to run 'python setup.py develop' in the root dir of the swift repo. There are some unit tests that require swift to be installed, e.g. if you run 'nosetests test/unit/obj/test_diskfile.py'. However, my experience is the opposite to yours - I do not see this problem when running 'tox -e py38' - AFAIK tox does the setup when creating its virtualenv. I *do* see the problem when I just run | 11:14 |
acoles | ./.unittests on a freshly cloned repo, and in that case I need to run 'python setup.py develop' for the tests to pass. | 11:14 |
*** baojg has quit IRC | 11:46 | |
*** baojg has joined #openstack-swift | 11:47 | |
*** mvalsecc has joined #openstack-swift | 12:07 | |
mvalsecc | acoles Thanks for the tip. I'll try that out! | 12:07 |
*** baojg has quit IRC | 12:15 | |
*** baojg has joined #openstack-swift | 12:16 | |
acoles | clayg: if you have chance to review https://review.opendev.org/c/openstack/swift/+/763812 then I think I could squash it into timburke 's https://review.opendev.org/c/openstack/swift/+/744270 | 13:01 |
mvalsecc | acoles, From the history of said VM, it seems I had it run already. Now, tests that fail when run from `tox -e py37` suceed when run manually with `tox -e func -- --no-discover test.unit.<foldername>.<filename>.<classname>` . As the latter seems to be using py2.7, we can conclude it is defintely something to do with dependeciens. I'll keep digging | 13:03 |
mvalsecc | into this | 13:03 |
*** baojg has quit IRC | 13:05 | |
*** dsariel has quit IRC | 13:05 | |
*** dsariel has joined #openstack-swift | 13:06 | |
*** baojg has joined #openstack-swift | 13:06 | |
acoles | mvalsecc: (sorry if you already know this...) tox creates its virtualenvs in .tox dir so you can get into the py37 virtualenv using 'source .tox/py27/bin/activate' to investigate etc | 13:08 |
acoles | oops s/27/37/ | 13:08 |
mvalsecc | acoles oh, you're right! I'll see if I can pinpoint the issue from there | 13:36 |
mvalsecc | acoles .tox/py37/bin/activate && tox -e py37 ran without any issue /o/ I'll leave the RCA for another day: I can finally start working from here. Thank you very much | 13:58 |
acoles | mvalsecc: note you need to 'source' the activate file - it is not executable. good luck! | 14:01 |
mvalsecc | oh yeah, that's me loosing `source` during copy/paste :) | 14:10 |
*** mvalsecc has quit IRC | 14:45 | |
*** baojg has quit IRC | 14:51 | |
*** baojg has joined #openstack-swift | 14:52 | |
zigo | Hi there! What's the current status of the container auto-sharder? Is it still considered unsafe / not-production-ready ? | 14:59 |
*** jv has quit IRC | 15:04 | |
*** jv has joined #openstack-swift | 15:04 | |
*** klamath_atx has quit IRC | 15:07 | |
*** klamath_atx has joined #openstack-swift | 15:15 | |
*** openstackgerrit has joined #openstack-swift | 15:47 | |
openstackgerrit | Clay Gerrard proposed openstack/swift master: Debug EC multipart/byteranges responses https://review.opendev.org/c/openstack/swift/+/761475 | 15:47 |
*** m75abrams has quit IRC | 16:05 | |
*** psachin has quit IRC | 16:16 | |
gmann | timburke: ping | 16:20 |
*** dsariel has quit IRC | 16:34 | |
*** hoonetorg has quit IRC | 16:41 | |
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is being restarted quickly to troubleshoot an SMTP queuing backlog, downtime should be less than 5 minutes | 16:43 | |
*** timburke has quit IRC | 17:00 | |
*** hugokuo has quit IRC | 17:00 | |
*** rpittau is now known as rpittau|afk | 17:01 | |
clayg | whoa - i'm getting a big horizontal scroll looking at diffs in gerrit | 17:23 |
clayg | there's like a "diff width" under "settings" 🤯 | 17:24 |
clayg | oh, there it is "fit to screen" seems to do what I want - thank goodness 😁 | 17:25 |
*** klamath_atx has quit IRC | 17:57 | |
openstackgerrit | Clay Gerrard proposed openstack/swift master: Use debug_logger in TestReceiver https://review.opendev.org/c/openstack/swift/+/764051 | 18:58 |
clayg | acoles: I think the p 763812 is super duper good - I'm pretty sure Tim would thank us if we managed to get p 744270 merged with additions by the time he gets back on Monday 💪 | 19:04 |
acoles | clayg: I'm curious, why do you want the debug logger https://review.opendev.org/c/openstack/swift/+/764051 ? | 20:20 |
clayg | 1) so we can assert logged messages in those tests 2) i like running tests in verbose and seeing log messages (personal workflow preference) 3) debug_logger is amazing and IMHO always a win! | 20:24 |
clayg | not using anyhting - use debug logger! using something else - migrate to debug logger! not sure why do you want debug logger - trust clayg and use debug logger! | 20:25 |
clayg | I think i added a little more justification here: https://review.opendev.org/c/openstack/swift/+/744270/5/test/unit/obj/test_ssync_receiver.py#420 - basically there's a new log message going in, and seeing it during a verbose run would be enough for me to know it's "covered" | 20:26 |
clayg | even if we don't assert on it | 20:27 |
acoles | OIC, thanks for the pointer, I hadn't seen that comment yet | 20:29 |
acoles | consider it squashed | 20:30 |
openstackgerrit | Alistair Coles proposed openstack/swift master: ssync: Tolerate more hang-ups https://review.opendev.org/c/openstack/swift/+/744270 | 20:34 |
clayg | 😍 | 20:35 |
acoles | oh, should I change it to 'error' level ? <- clayg | 20:36 |
clayg | I mean I'm not going to +A it with debug level unless I also write a follow-up - or think debug is really the best thing we could possibly do. But I'll *ship* it 💪 call it a day man!!! | 20:37 |
*** baojg has quit IRC | 20:52 | |
*** baojg has joined #openstack-swift | 20:52 | |
openstackgerrit | Alistair Coles proposed openstack/swift master: ssync: Tolerate more hang-ups https://review.opendev.org/c/openstack/swift/+/744270 | 21:08 |
*** baojg has quit IRC | 21:46 | |
*** baojg has joined #openstack-swift | 21:47 | |
openstackgerrit | Alistair Coles proposed openstack/swift master: Populate shards with shard ranges learnt from root https://review.opendev.org/c/openstack/swift/+/741721 | 21:53 |
acoles | clayg: ^^ I hope that is the sufficient set of changes - there's a probe test that needs fixing, I'm on it but will need to finish it tomorrow | 21:54 |
*** rcernin has joined #openstack-swift | 22:00 | |
*** baojg has quit IRC | 22:11 | |
*** baojg has joined #openstack-swift | 22:12 | |
*** hoonetorg has joined #openstack-swift | 23:03 | |
*** klamath_atx has joined #openstack-swift | 23:28 | |
*** mvalsecc has joined #openstack-swift | 23:48 | |
*** openstackgerrit has quit IRC | 23:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!