Hi Haibin, Probably the best way to solve this would be to verify that you can run "mvn clean install" for this project on a clean ubuntu 16.04 environment, and figure out exactly what apt-get packages are required to for everything to pass. Then we can submit a LF request to ensure that the necessary packages are installed for the jenkins slave VMs that run these jobs.
Thanks, Gary ________________________________ From: Huang, Haibin <haibin.hu...@intel.com> Sent: Tuesday, July 16, 2019 5:28 PM To: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org>; Gary Wu <gary...@futurewei.com>; Yang, Bin <bin.y...@windriver.com> Subject: RE: [onap-discuss] Upgrade python version from 2 to 3 Hi Gary, Actually, I had changed to py35 in the patch. https://gerrit.onap.org/r/c/multicloud/openstack/+/91230/4/pike/tox.ini<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.onap.org%2Fr%2Fc%2Fmulticloud%2Fopenstack%2F%2B%2F91230%2F4%2Fpike%2Ftox.ini&data=02%7C01%7Cgary.wu%40futurewei.com%7C922204bdb70041b831bf08d70a4dc4f8%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C636989201444615767&sdata=GAd3SeWupP5LlffPOqVk036gTCo7PuiDPINeM%2Baw2x8%3D&reserved=0> From: onap-discuss@lists.onap.org [mailto:onap-discuss@lists.onap.org] On Behalf Of Gary Wu Sent: Wednesday, July 17, 2019 3:38 AM To: Yang, Bin <bin.y...@windriver.com>; onap-discuss@lists.onap.org; Huang, Haibin <haibin.hu...@intel.com> Subject: Re: [onap-discuss] Upgrade python version from 2 to 3 Hi Haibin, I think you need to modify your tox.ini to specify the python environment that you need. Currently it lists py27. Maybe change that to py36 or whichever python3 version is appropriate for you? Thanks, Gary ________________________________ From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> on behalf of haibin via Lists.Onap.Org <haibin.huang=intel....@lists.onap.org<mailto:haibin.huang=intel....@lists.onap.org>> Sent: Monday, July 15, 2019 11:18 PM To: gary.i...@huawei.com<mailto:gary.i...@huawei.com> <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>; Yang, Bin <bin.y...@windriver.com<mailto:bin.y...@windriver.com>> Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Subject: [onap-discuss] Upgrade python version from 2 to 3 Hi Gray, We must upgrading Django from version 1.9.6 to 2.2.3 because security issue [1]. Bin Yang passed on the message from the TSC meeting that we need to fix [1] in E release, otherwise we won’t be able to publish the Plugin. The last version to support Python 2.7 is Django 1.11 LTS, so we must upgrade Python2 to Python3. I change code and test successfully in local, but when I submitted the code and built by Gerrit Jenkins get error. I checked log [2] and found the python version is python 2.7, how can I change the python version which is installed by Jenkins [1]. I also didn’t find “python-tools-install.sh”. [1] https://jenkins.onap.org/job/multicloud-openstack-master-pike-verify-python/configure<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.onap.org%2Fjob%2Fmulticloud-openstack-master-pike-verify-python%2Fconfigure&data=02%7C01%7Cgary.wu%40futurewei.com%7C922204bdb70041b831bf08d70a4dc4f8%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C636989201444625766&sdata=y2Z7mUdPdGyljH95vjNj7BiUhTkvGHragT5Oa8KNwfU%3D&reserved=0> [2] https://jenkins.onap.org/job/multicloud-openstack-master-pike-verify-python/138/console<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.onap.org%2Fjob%2Fmulticloud-openstack-master-pike-verify-python%2F138%2Fconsole&data=02%7C01%7Cgary.wu%40futurewei.com%7C922204bdb70041b831bf08d70a4dc4f8%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C636989201444635756&sdata=G6TvsQ0Fq%2BhOtua1goCM%2BpnRvXvwYzRaLFil4KMic5s%3D&reserved=0> Thank you! Best Regards ------------------------------------------------------------------------------------------------------------------------------- Huang.haibin 11628530 86+18106533356 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18125): https://lists.onap.org/g/onap-discuss/message/18125 Mute This Topic: https://lists.onap.org/mt/32487216/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-