*** darshna has joined #openstack-kuryr | 05:08 | |
*** gcheresh has joined #openstack-kuryr | 05:47 | |
*** digitalsimboja has joined #openstack-kuryr | 06:14 | |
*** ltomasbo has joined #openstack-kuryr | 06:17 | |
digitalsimboja | @Darshna: python --version | 06:54 |
---|---|---|
darshna | stack@ubuntu-test-3:~/kuryr-kubernetes$ python --version | 06:55 |
darshna | Python 2.7.18 | 06:55 |
digitalsimboja | run tox -e py38 | 06:55 |
darshna | as my zuul build is failing I tried running with the command but this is the output http://paste.openstack.org/show/805323/ | 06:56 |
darshna | This is the review link https://review.opendev.org/c/openstack/kuryr-kubernetes/+/789052 | 06:57 |
darshna | Can anyone help me with this? | 06:58 |
gryf | darshna, py2.7 is not supported anymore. do you have python3 installed? | 07:04 |
darshna | Not yet, I guess | 07:04 |
darshna | no it isn't | 07:04 |
darshna | I shall install it then | 07:05 |
gryf | please do. | 07:05 |
darshna | http://paste.openstack.org/show/805324/ can anyone take a look at this? | 07:07 |
darshna | It says that it's already in it's newest version but when the typing the version it's showing 2.7 | 07:07 |
darshna | I should have written python3.7 right? | 07:08 |
gryf | darshna, you already have it. | 07:08 |
gryf | > python3 is already the newest version (3.8.2-0ubuntu2). | 07:08 |
darshna | yes | 07:08 |
gryf | so running tox should "just work". | 07:09 |
gryf | as digitalsimboja already mentioned. | 07:09 |
gryf | tox -e py38 | 07:09 |
gryf | this will run unit tests for kuryr. | 07:10 |
darshna | http://paste.openstack.org/show/805328/ please have a look at this | 07:11 |
gryf | that's weird. on what OS are you? | 07:12 |
gryf | lsb_release -a | 07:13 |
ltomasbo | darshna, can you try with "tox -re py38" | 07:49 |
*** maysams has joined #openstack-kuryr | 08:26 | |
*** openstackgerrit has joined #openstack-kuryr | 08:56 | |
openstackgerrit | Merged openstack/kuryr-tempest-plugin master: Add service hairpin traffic test https://review.opendev.org/c/openstack/kuryr-tempest-plugin/+/788977 | 08:56 |
darshna | gryf: http://paste.openstack.org/show/805330/ | 09:08 |
darshna | ltomasbo: yes just a moment | 09:09 |
darshna | http://paste.openstack.org/show/805331/ here the output | 09:10 |
gryf | okay, so it should run just fine after env removal (by using -r parameter with tox, just like ltomasbo said). | 09:10 |
darshna | please have a look at the paste.org link | 09:10 |
gryf | darshna, http://paste.openstack.org/show/805334/ | 09:19 |
gryf | that was run on fresh ubuntu deployed vm. | 09:19 |
*** digitalsimboja has quit IRC | 09:20 | |
darshna | Ohh! then what do I do? do I need to set up everything from scratch? | 09:21 |
gryf | not sure why it doesn't work for you. | 09:22 |
gryf | do you have package python3-virtualenv? | 09:22 |
darshna | I installed right now | 09:22 |
darshna | http://paste.openstack.org/show/805336/ | 09:22 |
ltomasbo | darshna, but, have you try "tox -re pep8" or "tox -re py38"? | 09:26 |
gryf | oh 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 |
darshna | I tried tox-re py38 before virtualenv installation | 09:27 |
darshna | gryf: ohh | 09:27 |
gryf | you should have also tox installed from ubuntu repository, just like I did in my example≥ | 09:27 |
darshna | oh | 09:28 |
gryf | (tox will pull python3-virtualenv as a dependency) | 09:28 |
darshna | oh, understood | 09:30 |
gryf | you 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 |
gryf | and then `apt install tox` for installing right bits. | 09:33 |
darshna | gryf: can you once take a look at this? http://paste.openstack.org/show/805346/ | 10:27 |
gryf | darshna, 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 |
gryf | I'd try the apt with --fix-broken param, and see if that helps first. | 10:31 |
darshna | Oh | 10:43 |
darshna | okay | 10:44 |
darshna | http://paste.openstack.org/show/805347/ please have a look at this | 10:47 |
gryf | try to uninstall libvirt bits, then `sudo apt update; sudo apt upgrade; sudo apt --fix-broken install tox` | 11:13 |
*** digitalsimboja has joined #openstack-kuryr | 11:28 | |
darshna | okay | 11:43 |
*** digitalsimboja has quit IRC | 11:47 | |
*** digitalsimboja has joined #openstack-kuryr | 11:53 | |
*** digitalsimboja has quit IRC | 12:05 | |
*** carcablop19 has joined #openstack-kuryr | 14:40 | |
openstackgerrit | Merged openstack/kuryr-kubernetes master: Ignore 422 Unprocessable Entity on KLB patching https://review.opendev.org/c/openstack/kuryr-kubernetes/+/790673 | 14:50 |
*** carcablop19 has quit IRC | 15:46 | |
*** carcablop19 has joined #openstack-kuryr | 15:47 | |
*** ltomasbo has quit IRC | 16:52 | |
*** carcablop19 has quit IRC | 17:02 | |
*** gcheresh has quit IRC | 17:40 | |
*** gcheresh has joined #openstack-kuryr | 17:56 | |
*** carcablop19 has joined #openstack-kuryr | 19:33 | |
*** gcheresh has quit IRC | 20:07 | |
*** f0o has quit IRC | 20:09 | |
*** darshna has quit IRC | 21:38 | |
*** carcablop19 has quit IRC | 23:26 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!