Thursday, 2021-05-13

*** darshna has joined #openstack-kuryr05:08
*** gcheresh has joined #openstack-kuryr05:47
*** digitalsimboja has joined #openstack-kuryr06:14
*** ltomasbo has joined #openstack-kuryr06:17
digitalsimboja@Darshna: python --version06:54
darshnastack@ubuntu-test-3:~/kuryr-kubernetes$ python --version06:55
darshnaPython 2.7.1806:55
digitalsimbojarun tox -e py3806:55
darshnaas my zuul build is failing I tried running with the command but this is the output http://paste.openstack.org/show/805323/06:56
darshnaThis is the review link https://review.opendev.org/c/openstack/kuryr-kubernetes/+/78905206:57
darshnaCan anyone help me with this?06:58
gryfdarshna, py2.7 is not supported anymore. do you have python3 installed?07:04
darshnaNot yet, I guess07:04
darshnano it isn't07:04
darshnaI shall install it then07:05
gryfplease do.07:05
darshnahttp://paste.openstack.org/show/805324/ can anyone take a look at this?07:07
darshnaIt says that it's already in it's newest version but when the typing the version it's showing 2.707:07
darshnaI should have written python3.7 right?07:08
gryfdarshna, you already have it.07:08
gryf> python3 is already the newest version (3.8.2-0ubuntu2).07:08
darshnayes07:08
gryfso running tox should "just work".07:09
gryfas digitalsimboja already mentioned.07:09
gryftox -e py3807:09
gryfthis will run unit tests for kuryr.07:10
darshnahttp://paste.openstack.org/show/805328/ please have a look at this07:11
gryfthat's weird. on what OS are you?07:12
gryflsb_release -a07:13
ltomasbodarshna, can you try with "tox -re py38"07:49
*** maysams has joined #openstack-kuryr08:26
*** openstackgerrit has joined #openstack-kuryr08:56
openstackgerritMerged openstack/kuryr-tempest-plugin master: Add service hairpin traffic test  https://review.opendev.org/c/openstack/kuryr-tempest-plugin/+/78897708:56
darshnagryf: http://paste.openstack.org/show/805330/09:08
darshnaltomasbo: yes just a moment09:09
darshnahttp://paste.openstack.org/show/805331/ here the output09:10
gryfokay, so it should run just fine after env removal (by using -r parameter with tox, just like ltomasbo said).09:10
darshnaplease have a look at the paste.org link09:10
gryfdarshna, http://paste.openstack.org/show/805334/09:19
gryfthat was run on fresh ubuntu deployed vm.09:19
*** digitalsimboja has quit IRC09:20
darshnaOhh! then what do I do? do I need to set up everything from scratch?09:21
gryfnot sure why it doesn't work for you.09:22
gryfdo you have package python3-virtualenv?09:22
darshnaI installed right now09:22
darshnahttp://paste.openstack.org/show/805336/09:22
ltomasbodarshna, but, have you try "tox -re pep8" or "tox -re py38"?09:26
gryfoh no. not from pip. you need module virtualenv which is the part of the python on ubuntu, which happen to be distributed on various packages :/09:26
darshnaI tried tox-re py38 before virtualenv installation09:27
darshnagryf: ohh09:27
gryfyou should have also tox installed from ubuntu repository, just like I did in my example≥09:27
darshnaoh09:28
gryf(tox will pull python3-virtualenv as a dependency)09:28
darshnaoh, understood09:30
gryfyou can try to clean up your env by removing installed by pip packages (i.e. `pip uninstall pkg_name` for those, which you installed locally)09:33
gryfand then `apt install tox` for installing right bits.09:33
darshnagryf: can you once take a look at this? http://paste.openstack.org/show/805346/10:27
gryfdarshna, apparently, you have messed up environment. perhaps it might be fixed by the command suggested on line 12, or maybe the easiest way would be to recreate the vm.10:30
gryfI'd try the apt with --fix-broken param, and see if that helps first.10:31
darshnaOh10:43
darshnaokay10:44
darshnahttp://paste.openstack.org/show/805347/  please have a look at this10:47
gryftry to uninstall libvirt bits, then `sudo apt update; sudo apt upgrade; sudo apt --fix-broken install tox`11:13
*** digitalsimboja has joined #openstack-kuryr11:28
darshnaokay11:43
*** digitalsimboja has quit IRC11:47
*** digitalsimboja has joined #openstack-kuryr11:53
*** digitalsimboja has quit IRC12:05
*** carcablop19 has joined #openstack-kuryr14:40
openstackgerritMerged openstack/kuryr-kubernetes master: Ignore 422 Unprocessable Entity on KLB patching  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79067314:50
*** carcablop19 has quit IRC15:46
*** carcablop19 has joined #openstack-kuryr15:47
*** ltomasbo has quit IRC16:52
*** carcablop19 has quit IRC17:02
*** gcheresh has quit IRC17:40
*** gcheresh has joined #openstack-kuryr17:56
*** carcablop19 has joined #openstack-kuryr19:33
*** gcheresh has quit IRC20:07
*** f0o has quit IRC20:09
*** darshna has quit IRC21:38
*** carcablop19 has quit IRC23:26

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