Hi helpdesk,

Can you help?  It seems that the redis minion is unavailable in Jenkins.

Thanks,
Gary

From: fu.jin...@zte.com.cn [mailto:fu.jin...@zte.com.cn]
Sent: Monday, August 07, 2017 8:01 PM
To: Gary Wu <gary.i...@huawei.com>
Cc: onap-discuss@lists.onap.org
Subject: 答复: RE: RE: Re:[onap-discuss] 答复: [integration] RE: About CI job 
Script for python project in ONAP


Hi Gary,

I found that your commit for redis install in jenkins env has merged, and I 
modify the job node to ‘ubuntu1604-redis-4c-4g’,

but jenkins shows that node  ‘ubuntu1604-redis-4c-4g’ can not be found, can you 
check it again?

Thanks,

Jinhua


原始邮件
发件人: <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>;
收件人:傅锦华10108953;
抄送人: <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>;
日 期 :2017年08月04日 22:35
主 题 :RE: RE: Re:[onap-discuss] 答复: [integration] RE: About CI job Script for 
python project in ONAP


Jinhua,

FYI I’ve submitted https://gerrit.onap.org/r/#/c/6727/ for the redis install, 
but only LF staff can merge changes in ci-management so hopefully they will get 
to it soon.

Once the above is in place, you’ll need to modify your build job to use the 
‘ubuntu1604-redis-4c-4g’ build-node.

By the way, it wasn’t clear whether you needed Activiti in this environment as 
well.  However, the command that was provided:

wget https://www.activiti.org/download-bpm/releases/activiti-5.21.0.tar.gz

returns 404 not found (looks like it needs registration).  If you do need 
Activiti installed in the build environment, please provide commands or links 
that can  work from the command line, and also an init.d/systemd script for 
tomcat so that we can configure the system to start tomcat on startup.

Thanks,
Gary

From: Gary Wu
Sent: Friday, August 04, 2017 6:27 AM
To: 'fu.jin...@zte.com.cn' <fu.jin...@zte.com.cn<mailto:fu.jin...@zte.com.cn>>
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: RE: RE: Re:[onap-discuss] 答复: [integration] RE: About CI job Script 
for python project in ONAP

Hi Jinhua,

Ok, I’ll submit these changes to ci-management and let you know when they’re 
done.

Thanks,
Gary

From: fu.jin...@zte.com.cn<mailto:fu.jin...@zte.com.cn> 
[mailto:fu.jin...@zte.com.cn]
Sent: Friday, August 04, 2017 1:52 AM
To: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>
Cc: meng.zhaoxi...@zte.com.cn<mailto:meng.zhaoxi...@zte.com.cn>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; 
zhang.maope...@zte.com.cn<mailto:zhang.maope...@zte.com.cn>
Subject: 答复: RE: Re:[onap-discuss] 答复: [integration] RE: About CI job Script 
for python project in ONAP


Hi Gary,

How about the redis install in jenkins env? We cannot submit the codes now, can 
you help to fix it as soon as possible?

And another problem is that ci job scripts for python project only support 
subproject pattern(like  '{project-name}-{stream}-{subproject}-verify-python'),

can you extend the template which can support non-subproject pattern(like  
'{project-name}-{stream}-verify-python'), because in onap vfc-nfvo-lcm is an 
independent project.

Thanks,

Jinhua


原始邮件
发件人: <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>;
收件人:孟照星10024238;傅锦华10108953;
抄送人: <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>;
日 期 :2017年08月04日 01:26
主 题 :RE: Re:[onap-discuss] 答复: [integration] RE: About CI job Script for python 
project in ONAP


Hi Zhaoxing,

Is the Tomcat/Activiti setup also required for your unit tests?

The tests that require live API calls to other running services (redis, tomcat, 
etc.) are really meant  to be implemented as CSIT test cases instead of UT; 
this  way you have full control over the setup and configuration of the 
supporting services (via docker containers) as you see fit, instead of having 
to configure a special Jenkins slave VM image just to  handle your specific UT 
requirements.

Would that work for you?  i.e. move the UT test cases involving live API calls 
into CSIT instead.   If this can be done relatively easily then that would be 
the  ideal approach.  Otherwise, I can start the process to configure a special 
Jenkins slave VM image for you, but just be aware that the turnaround is slow 
on any needed changes/fixes on these VM images  if your requirements change.

Thanks,
Gary

From: meng.zhaoxi...@zte.com.cn<mailto:meng.zhaoxi...@zte.com.cn> 
[mailto:meng.zhaoxi...@zte.com.cn]
Sent: Thursday, August 03, 2017 12:49 AM
To: fu.jin...@zte.com.cn<mailto:fu.jin...@zte.com.cn>
Cc: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: Re:[onap-discuss] 答复: [integration] RE: About CI job Script for python 
project in ONAP


workflow engine



1. download Tomcat

cd /

sudo mkdir temp

cd /temp

wget 
http://apache.fayea.com/tomcat/tomcat-8/v8.5.16/bin/apache-tomcat-8.5.16.tar.gz

tar -zxf apache-tomcat-8.5.16.tar.gz



2. download Activiti

wget https://www.activiti.org/download-bpm/releases/activiti-5.21.0.tar.gz

tar -zxf activiti-5.21.0.tar.gz

cd wars



3. add to Tomcat

sudo mv activiti-rest.war /temp/apache-tomcat-8.5.16/webapps/



4. start Tomcat

cd /temp/apache-tomcat-8.5.16/bin

sudo chmod a+x startup.sh

sh startup.sh








Original Mail
Sender: FuJinHua10108953
To:  <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>;
CC:  <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>;
Date: 2017/08/03 08:59
Subject: [onap-discuss] 答复: [integration] RE: About CI job Script for python 
project in ONAP



Hi Gary:



1. download and install redis

cd /tmp

wget http://download.redis.io/releases/redis-4.0.1.tar.gz

tar -zxf redis-4.0.1.tar.gz

cd redis-4.0.1

make

sudo make install



2. set conf file and init script

sudo mv {source code dir}/redis-server /etc/init.d/redis-server

sudo chmod +x /etc/init.d/redis-server

sudo mv {source code dir}/redis.conf /etc/redis.conf



3. set auto start when start system

sudo update-rc.d redis-server defaults



4. manually start redis-server

sudo /etc/init.d/redis-server start



Thanks,

Jinhua












Sender:  <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>;
To: 傅锦华10108953;
CC:  <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>;
Date: 2017年08月03日 01:46
Subject: [integration] RE: About CI job Script for python project in ONAP


Hi Jinhua,

Our LF test infrastructure in ONAP is now mainly running on Ubuntu 16.04.  Can 
you send me a list of   commands (apt-get, etc.) that installs and runs redis 
on  Ubuntu 16.04 in a manner that supports your unit test cases?  I can help 
add those into the LF Jenkins slave environment definition.

Thanks,
Gary

From: fu.jin...@zte.com.cn<mailto:fu.jin...@zte.com.cn> 
[mailto:fu.jin...@zte.com.cn]
Sent: Wednesday, August 02, 2017 1:23 AM
To: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>
Cc: zhang.maope...@zte.com.cn<mailto:zhang.maope...@zte.com.cn>; 
yangya...@chinamobile.com<mailto:yangya...@chinamobile.com>; 
lxin...@vmware.com<mailto:lxin...@vmware.com>; 
ying.yunl...@zte.com.cn<mailto:ying.yunl...@zte.com.cn>
Subject: 答复: RE: About CI job Script for python project in ONAP


Hi Gary,

Thanks for your comments, I have fixed the yaml file. And I have another 
problem about ci verify job for python project,

Our unit test cases need redis server be started before run unit test cases, 
can you help fix it in ONAP jenkins env?

Thanks,

Jinhua


原始邮件
发件人: <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>;
收件人:傅锦华10108953;
抄送人:张茂鹏10030173; <yangya...@chinamobile.com<mailto:yangya...@chinamobile.com>>; 
   <lxin...@vmware.com<mailto:lxin...@vmware.com>>;
日 期 :2017年08月02日 12:50
主 题 :RE: About CI job Script for python project in ONAP


Hi Jinhua,

I’ve added review comments to your Gerrit submission.  Once those changes are 
incorporated they should    address Jessica’s concerns as well.

Thanks,
Gary

From: fu.jin...@zte.com.cn<mailto:fu.jin...@zte.com.cn> 
[mailto:fu.jin...@zte.com.cn]
Sent: Tuesday, August 01, 2017 8:54 PM
To: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>
Cc: zhang.maope...@zte.com.cn<mailto:zhang.maope...@zte.com.cn>; 
yangya...@chinamobile.com<mailto:yangya...@chinamobile.com>; 
lxin...@vmware.com<mailto:lxin...@vmware.com>
Subject: About CI job Script for python project in ONAP


Hi Gary,

Can you give some sample  ci job scripts(yaml files in ci-management) of python 
project in ONAP,

because our submitted scripts(inherit from open-o) are told to be invaild by 
Jessica Wagantall.

Thanks,

Jinhua
























_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to