Tuesday, 2020-11-24

*** hoonetorg has quit IRC00:14
*** hoonetorg has joined #openstack-swift00:28
*** hoonetorg has quit IRC01:26
*** hoonetorg has joined #openstack-swift01:38
*** mvalsecc has joined #openstack-swift02:19
*** rcernin has quit IRC02:33
*** mvalsecc has quit IRC02:39
*** mvalsecc has joined #openstack-swift02:40
zaitcevERROR: Package 'oslo.context' requires a different Python: 2.7.17 not in '>=3.6'02:54
*** rcernin has joined #openstack-swift03:03
*** rcernin has quit IRC03:11
*** rcernin has joined #openstack-swift03:11
*** psachin has joined #openstack-swift03:32
*** mvalsecc has quit IRC04:22
*** m75abrams has joined #openstack-swift05:12
*** mvalsecc has joined #openstack-swift05:17
*** evrardjp has quit IRC05:33
*** evrardjp has joined #openstack-swift05:33
*** baojg has quit IRC05:48
*** baojg has joined #openstack-swift05:52
*** klamath_atx has joined #openstack-swift06:32
*** m75abrams has quit IRC06:41
*** m75abrams has joined #openstack-swift06:41
mvalseccWhen 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 swift07:21
mvalseccitself, but I could not get to end of it.07:21
mvalseccI'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 Fedora2907:39
*** rpittau|afk is now known as rpittau07:39
*** rcernin has quit IRC07:49
*** rcernin has joined #openstack-swift07:57
*** mvalsecc has quit IRC08:10
*** rcernin has quit IRC08:15
*** m75abrams has quit IRC08:50
*** baojg has quit IRC08:58
*** baojg has joined #openstack-swift08:58
*** baojg has quit IRC09:06
*** baojg has joined #openstack-swift09:07
*** baojg has quit IRC09:42
*** baojg has joined #openstack-swift09:43
*** dsariel has joined #openstack-swift10:44
*** m75abrams has joined #openstack-swift11:06
*** m75abrams has quit IRC11:12
*** m75abrams has joined #openstack-swift11:14
acolesmvalsecc: 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 run11: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 IRC11:46
*** baojg has joined #openstack-swift11:47
*** mvalsecc has joined #openstack-swift12:07
mvalseccacoles Thanks for the tip. I'll try that out!12:07
*** baojg has quit IRC12:15
*** baojg has joined #openstack-swift12:16
acolesclayg: 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/+/74427013:01
mvalseccacoles, 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 digging13:03
mvalseccinto this13:03
*** baojg has quit IRC13:05
*** dsariel has quit IRC13:05
*** dsariel has joined #openstack-swift13:06
*** baojg has joined #openstack-swift13:06
acolesmvalsecc: (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 etc13:08
acolesoops s/27/37/13:08
mvalseccacoles oh, you're right! I'll see if I can pinpoint the issue from there13:36
mvalseccacoles .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 much13:58
acolesmvalsecc: note you need to 'source' the activate file - it is not executable. good luck!14:01
mvalseccoh yeah, that's me loosing `source` during copy/paste :)14:10
*** mvalsecc has quit IRC14:45
*** baojg has quit IRC14:51
*** baojg has joined #openstack-swift14:52
zigoHi there! What's the current status of the container auto-sharder? Is it still considered unsafe / not-production-ready ?14:59
*** jv has quit IRC15:04
*** jv has joined #openstack-swift15:04
*** klamath_atx has quit IRC15:07
*** klamath_atx has joined #openstack-swift15:15
*** openstackgerrit has joined #openstack-swift15:47
openstackgerritClay Gerrard proposed openstack/swift master: Debug EC multipart/byteranges responses  https://review.opendev.org/c/openstack/swift/+/76147515:47
*** m75abrams has quit IRC16:05
*** psachin has quit IRC16:16
gmanntimburke: ping16:20
*** dsariel has quit IRC16:34
*** hoonetorg has quit IRC16: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 minutes16:43
*** timburke has quit IRC17:00
*** hugokuo has quit IRC17:00
*** rpittau is now known as rpittau|afk17:01
claygwhoa - i'm getting a big horizontal scroll looking at diffs in gerrit17:23
claygthere's like a "diff width" under "settings" 🤯17:24
claygoh, there it is "fit to screen" seems to do what I want - thank goodness 😁17:25
*** klamath_atx has quit IRC17:57
openstackgerritClay Gerrard proposed openstack/swift master: Use debug_logger in TestReceiver  https://review.opendev.org/c/openstack/swift/+/76405118:58
claygacoles: 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
acolesclayg: I'm curious, why do you want the debug logger https://review.opendev.org/c/openstack/swift/+/764051 ?20:20
clayg1) 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
claygnot 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
claygI 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
claygeven if we don't assert on it20:27
acolesOIC, thanks for the pointer, I hadn't seen that comment yet20:29
acolesconsider it squashed20:30
openstackgerritAlistair Coles proposed openstack/swift master: ssync: Tolerate more hang-ups  https://review.opendev.org/c/openstack/swift/+/74427020:34
clayg😍20:35
acolesoh, should I change it to 'error' level ? <- clayg20:36
claygI 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 IRC20:52
*** baojg has joined #openstack-swift20:52
openstackgerritAlistair Coles proposed openstack/swift master: ssync: Tolerate more hang-ups  https://review.opendev.org/c/openstack/swift/+/74427021:08
*** baojg has quit IRC21:46
*** baojg has joined #openstack-swift21:47
openstackgerritAlistair Coles proposed openstack/swift master: Populate shards with shard ranges learnt from root  https://review.opendev.org/c/openstack/swift/+/74172121:53
acolesclayg: ^^ 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 tomorrow21:54
*** rcernin has joined #openstack-swift22:00
*** baojg has quit IRC22:11
*** baojg has joined #openstack-swift22:12
*** hoonetorg has joined #openstack-swift23:03
*** klamath_atx has joined #openstack-swift23:28
*** mvalsecc has joined #openstack-swift23:48
*** openstackgerrit has quit IRC23:59

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