ES work template

软件项目生命周期管理
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
company_info
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

http://localhost:8987 sawmill
52681987 李扬
http://mamboxchange.com/
14400008 外卖
http://www.xwiki.org
agile project management:http://www.infoq.com/news/2006/12/target-process-two
http://www.huilan.com/Portal0/InfoModule_512/203.htm
eamoi
BBBK3575
ez cms
http://ez.no/
13816541049 叶飞
13818009790 joe
http://localhost:8080
http://localhost:8080/racioBeta/
http://localhost:8080/sitemesh-exampleBeta
http://ehr.chinahr.com/Resume/ResumeCenter/Search.aspx?navigator=NavNode_1
http://www.ethereal.com/download.html
95593538
黄震:0221
http://wiki.redsaga.com/confluence/display/RSTEAM/Home
D:\2007works\resources\tools\appfuse2\raicoBeta
-vmargs -Xmx
merge-tests,

E:\Program Files\Sybase\PowerDesigner 12\racio
http://localhost:8080/arss
http://localhost:8080/struts2-mailreader
http://localhost:8080/opnsrcBeta/
http://localhost:8080/opnsrcBetaEclipse/
http://localhost:8080/jforum
http://localhost:8080/jetnuke
http://localhost:8080/struts2-showcase-2.0.1
http://localhost:8080/struts2showcase
http://localhost:8080/opnsrcBypojo
set JAVA_OPTS='-Xms512 -Xmx1024'
set ANT_OPTS='-Xms512 -Xmx1024'
D:\2007works\sourcecode_read\appfuse-1.9.4-src\appfuse
set ANT_OPTS=-Xmx800M
set ANT_OPTS=-Xmx1200M
ant test-all
ant install-detailed
pojo

http://famoushz.iteye.com/admin/show/36809
file:///D:/2007works/resources/tools/appfuse2/opnsrcBeta/build/test/reports/index.html
|ofen directory begin|
D:\2007works\resources\tools\opnsrcdemo\src\dao\com\opnsrc\model
D:\2007works\resources\tools\appfuse2\opnsrcBeta\src\dao\com\opnsrc\model
D:\2007works\resources\tools\appfuse2\opnsrcBeta\metadata\sql
D:\2007works\resources\tools\appfuse2\opnsrcBeta\build\web\gen\com\opnsrc\webapp\form
D:\2007works\resources\tools\appfuse2\opnsrcBeta\test\dao\com\opnsrc\dao
|end|

http://www.siteground.com/best_cms_tools.htm
http://127.0.0.1:3000/site
http://127.0.0.1:3000/recipe/list
http://localhost:8080/forumnuke
http://localhos1t:8080/jpetstore
http://localhost:8080/eberom
http://localhost:8080/personalblog
http://localhost:8080/oaj
http://localhost:8080/appfuse
http://localhost:8080/liningcms
http://localhost:8080/liningDeliver
http://localhost:8080/velstruts
http://localhost:8080/roller
http://localhost/phpcms/install.php
http://localhost/phpbb
http://localhost:8080/struts2-blank
\\192.168.0.101
http://127.0.0.1:7001/console
192.168.0.219:7001/console
check this site:http://www.atlassian.com/software/
192.168.0.219:7001/jsp-webapp

http://localhost:8080/jsp-webapp/
wiring
zhenhuang
11huang02
211.100.6.92
|daily report address begin|

|daily report address end|

CMS
|cms address|:
http://www.peugeot.com.cn/configure/
name: demochina
PWD: esPEUGEOT

|cms address|:
http://www.li-ning.com/cms/
name:es
PWD:lininges


|lingning website oracle account|:
username:infoglue
password:infoglue

|linux machine server|:
www.li-ning.com
username:root
password:esLNyrhs2005ROOTKL   
port:22

|lining site FTP begin|
account as below:
lininglive
live0602n
|lining site FTP end|

|lingning database begin|
username:infoglue
password:infoglue
|lingning database end|
211.100.6.92

|j2ee server|
192.168.0.219
username:root
pw:1qaz2wsx
|end|

oradb


|new server in energy source|
192.168.0.219
energySourceTestServer
esTestdomain
|end|


/opt/app/oracle/product/9.2.0.4/network/admin

sample3 is full integrated

delete from opnsrc.opnsrc_ads opnsrc_ads using opnsrc_ads where adsid=1

{eclipse tools}
Eclipse WTP
http://www.sysdeo.com/eclipse/tomcatplugin


[begin]
<value>com/raico/model/Role.hbm.xml</value>
                <value>com/raico/model/User.hbm.xml</value>
                <value>com/raico/model/RcoAdmin.hbm.xml</value>
                <value>com/raico/model/RcoArea.hbm.xml</value>
                <value>com/raico/model/RcoKeyvalue.hbm.xml</value>
                <value>com/raico/model/RcoKind.hbm.xml</value>
                <value>com/raico/model/RcoPage.hbm.xml</value>
                <value>com/raico/model/RcoSystem.hbm.xml</value>
                <value>com/raico/model/RcoTask.hbm.xml</value>
                <value>com/raico/model/RcoSite.hbm.xml</value>
                <value>com/raico/model/RcoTaskremark.hbm.xml</value>
                <value>com/raico/model/RcoTaskreplay.hbm.xml</value>
                <value>com/raico/model/RcoUser.hbm.xml</value>
                <value>com/raico/model/RcoFavorite.hbm.xml</value>
                <value>com/raico/model/RcoMoney.hbm.xml</value>
[end]               
               
[liferay resource begin]
http://blog.chinaunix.net/u/25536/article_41123.html
http://www.cchensoft.com/
http://localhost:8080/web/guest/home
[liferay resource ends]
               
               
workflow begin
http://www.xio.name/XiorkFlow/demo/addprocess.html
workflow end

http://www.openqa.org/

yao:13127817124


[svn]

svn mkdir http://192.168.0.219/svn/opensource -m "mkdir opensource"
svnserve -d -r /var/www/ --listen-host 192.168.0.219

[end svn]

[opensource]
lutece
[end opensource]

|daily report address begin|
http://192.168.0.221/es
|daily report address end|



[should do]
see more database structure
should know how to deploy war into weblogic
should know how to develop a portlet in liferay
should know how to debug liferay in eclipse

http://www.prototypejs.org/
http://www.ajax-master.com/#jquery
http://www.lvjiyong.com/tag/prototype


52989100*317 zhanghao


SELECT count(category) ,category FROM jpetstore.product p group by p.category ;
file:///D:/2007works/lifecycle2/resources/framework/quartz-1.6.0/docs/wikidocs/Example3.html
http://www.opensymphony.com/quartz/documentation.action

NetWeaver

[BHO]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ietechcol/cols/dnexpie/expie_hello_bho.asp

[TCP]
D:\2007works\lifecycle1\resources\liferay\cmsproject\tcpserver
java -Xmx500M test.nio.tcp.es.AsyncServer
java test.nio.tcp.es.AsyncClient

java -Xmx500M com.andrew.Server
java -Xmx500M com.andrew.EchoClient
java -Xmx500M com.andrew.EchoClientMulit

java -Xmx500M nio.file.NIOServer
java nio.file.NIOClient
1.2227
1.2847


11,836.09 1.3083 15,485.16
4,056.83  4,056.83

/etc/rc.d/init.d/mysqld start
/etc/rc.d/init.d/vsftpd start
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
prototype reference
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
www.iteye.com

楼主是个暴君!以为自己开了个破群,就开始实施期暴政!简直白痴一个,大家要小心谨慎进去,脏话连篇,对了看了群主的相册,甚是难看!要是我,早就买块豆腐去 撞死算了,我
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
resource docs
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

ruby
http://www.railscn.com/viewtopic.php?t=8&sid=7558f51c768090c52947e01c1dc8885c
http://rubyforge.org/%20projects/rubyinstaller/
http://manuals.rubyonrails.com/read/book/5


roller faq:
http://sourceforge.net/search/index.php?words=build&sort=posted_date&sortdir=desc&offset=10&group_id=47722&type_of_search=mlists


http://servlets.com/archive/servlet/SummarizeList?listName=tomcat-user&by=subject&count=168425&paged=false



http://www.castor.org/features.html
osworkflow
http://www.opensymphony.com/

http://www.googlejava.com/java/javablog/2006-6-7/jspblog.htm
http://www.ee82.com/htm/oracle/22.asp
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
resource webapp
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
http://opensource.thoughtworks.com/projects/index.html
jgallery
http://www.appfuse.org/
http://www.jforum.net/install.jsp
forumnuke -forum
roller        -blog
jpetstore    -e-commerence ,spring,struts,
lining        -cms
opencms        -cms
appfuse        -j2ee develop framework
ams             -CRM

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
resource blog
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
http://www.cnblogs.com/raymond19840709/archive/2006/10/04/521095.html

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
reference code
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
http://localhost:8080/jpetstore
file:///D:/2007works/resources/project_reference/spring-framework-2.0-with-dependencies/spring-framework-2.0/docs/api/index.html
file:///D:/2007works/resources/tools/hibernate-2.1.7c/hibernate-2.1/doc/api/index.html
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
reference log
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thought:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
productInvoker.java:public List listProducts(List bag, TemplateController templateLogic)
 private ProductVO getProduct(ContentVO vo, TemplateController templateLogic,
                                 ContentDeliveryController cdc
                                ) throws Exception {

expose database schema into a sql file, use below command in sqlplus:
[begin]
set pagesize 1
set long 90000
set feedback off
set echo off
spool get_allddl2.sql
connect    [color=orange:cecfd5ad3c]USERNAME/PASSWORD@SID[/color:cecfd5ad3c];
connect infoglue/infoglue
SELECT DBMS_METADATA.GET_DDL('TABLE',u.table_name) FROM USER_TABLES u;
SELECT DBMS_METADATA.GET_DDL('INDEX',u.index_name) FROM USER_INDEXES u;
spool off;
[end]


{struts thought begin}
有没有相关页面流的struts工具
{struts thought end}
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Questions:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
compile option:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
customization code
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
            <!-- alan modified -->
                <include name="**/*.java"/>
            </fileset>
            <!-- end modified by alan-->
           
           
           
           
<Context path="/roller" docBase="roller" debug="0">
<Realm className="org.apache.catalina.realm.JDBCRealm"     
    driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:33066/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8"
    connectionName="scott"
    connectionPassword="tiger"
    userTable="rolleruser"
    userNameCol="username"
    userCredCol="passphrase"
    userRoleTable="userrole"
    roleNameCol="rolename" debug="0" />
<Resource name="jdbc/rollerdb" auth="Container" type="javax.sql.DataSource"
  driverClassName="com.mysql.jdbc.Driver"
  url="jdbc:mysql://localhost:33066/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8"
  username="scott"
  password="tiger"
  maxActive="20"
  maxIdle="3"
  removeAbandoned="true"
  maxWait="3000" />
<!--
To enable email notification of comments: uncomment the resouce below,
set your mailhost, and make sure you have mail.jar and activation.jar
in <tomcat>/common/lib.
-->
<!--
    <Resource name="mail/Session" auth="Container" type="javax.mail.Session"
       mail.smtp.host="mailhost.example.com" />
-->
</Context>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Issue:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
{begin}
{end}


{demand}
polo
bbs
cms
repository (key : how to save something into repository and repository how to work)

{framework}
requirement about polo project
webwork
velocity
castor
tree


{design pattern}
invoke


[appfuse] ERROR [main] JDBCExceptionReporter.logExceptions(72) |
Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))


    <!-- alan commented
    <filter>
        <filter-name>hibernateFilter</filter-name>
        <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
    </filter>
    -->
   
| org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition
org.springframework.transaction.CannotCreateTransactionException: Could not create Hibernate transaction; nested exception is net.sf.hibernate.JDBCException: Cannot open connection


org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.rapidtransform.admin.model.User.roles, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException


 at org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:8

tomat jndi issue


{one to one issue}
比如A与B One to one,在保存A的时候,并不setB,junit test 会saveorupdate成功
但是数据却没有插入database,在get的时候就得不到




{OutOfMemoryError begin}
type Exception report
 
message
description The server encountered an internal error () that prevented it from fulfilling this request.
 
exception
javax.servlet.ServletException: Servlet execution threw an exception
 
root cause
java.lang.OutOfMemoryError: Java heap space
{end}

{opnsrcAdmin can not get data begin}
可能是由于spring在transaction中设置了rollback,其实数据是没有插入的
{end}
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
source code read:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DAOFactory
ManagerFactory
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
flow:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
page:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
XML print info:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
preparation:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
open source project
+oracle
+hibernate
    multi table query
    dao unit test
    service unit test
    ...
+oscache
    how to use
+spring
    tranction management
    ...
+struts2
    different with strut1
+jndi



reference open source:
appfuse
forumnuke
jcatalog
intellinex
li-ning
AMS

reference material
spring
   
   

   
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
artchitect
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


www.mzko.cn

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
technology investigation
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
struts-menu
spring
    hibernate
    transaction
    aop
    拦截器






-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
source code read
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
lining :使用castor进行database oracle data mapping

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
kits
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
oracle_mapping.xml

bz2 file how to extract
:
使用tar -I 或者bunzip2 命令都可以。

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
command
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
cp /www/live/alex/october/product_gb.xls /www/build_lining/mig/

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
project lifecycle estimate
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
open source 1.0

01 环境设置,包括数据库,应用服务器,项目所可能设计的技术框架以及语言选择    
02 需求细分,业务整理
03 技术准备
04 数据库建模                                                                                                                                                                                                                                                                                 
05 ORM domain,DAO单元测试
06 ORM 业务层,以及其单元测试                                                                                                                                                                                                                   
07 工作流以及控制层,业务实现
08 后台管理开发(表现层开发)
09 客户端 表现层,页面样式
10 tech trouble shooting and 部署                                                                                                                                                                                               
11  对业务层进行测试                                                                                                                                                                                                                                                                   
12  对后台管理进行测试                                                                                                                                                                                                                                                      
13  对前台表现进行测试                                                                                                                                                                                                                                                      
14  集成测试   


01 环境设置,包括数据库,应用服务器,项目所可能设计的技术框架以及语言选择 
web container:tomcat
database:oracle or mysql

j2ee tech will be used in this project:

+hibernate
    multi table query
    dao unit test
    service unit test
    ...
+oscache
    how to use
   
+spring
    tranction management
    aop
    拦截器
   
    ...
+struts2 or jsf(my face)
    different with strut1
   
+jndi
+freemarker
+dree
+xmlbean or castor
+webservice
+javascript,jsp,jstl
and so on

---(1 weeks, maybe will extend or reduce)
  
02 需求细分,业务整理
---(1 weeks, maybe will extend or reduce)

bbs
my space
team space
my project
my blog
team project
polling

03 技术准备

web container:tomcat
database:oracle or mysql

j2ee tech will be used in this project:

+hibernate (1 week tech prepare,prototype )
    multi table query
    dao unit test
    service unit test
    ...
+oscache    (2 days tech prepare,prototype)
    how to use
   
+spring    (1 week tech prepare,prototype )
    tranction management
    aop
    拦截器
   
    ...
+struts2 or jsf(my face) (1 week tech prepare,prototype )
    different with strut1
   
+jndi    (2 days tech prepare,prototype)
+freemarker (2 days tech prepare,prototype)
+dree (2 days tech prepare,prototype)
+xmlbean or castor (1 days tech prepare,prototype)
+webservice
    axis,soap (3 days tech prepare,prototype)
+javascript,jsp,jstl  (3 days tech prepare,prototype)
           
and so on
                                =rought estimate(7 weeks)
04 数据库建模 

bbs                   
my space       
team space
my project
my blog
team project
polling

---(2 weeks, maybe will extend or reduce)

- -------------------------------------------------------------------------------------------------------

( rup 重新对estimate time和以后安排进行检查,检查是否需要变更schedule)  

05 ORM domain,DAO单元测试
bbs                            (3 days)
my space                (3 days)
team space            (3 days)
my project            (3 days)
my blog                    (3 days)
team project        (3 days)
polling                    (3 days)


used tech in this module

hibernate
spring
oscache
junit

---(4 weeks, maybe will extend or reduce)

06 ORM 业务层,以及其单元测试 
 
 used tech in this module
spring ,dao,servcie,junit,mock

---(2 weeks, maybe will extend or reduce)
                        
                                                                                                                                                                                                               
07 工作流以及控制层,业务实现
used tech in this module
osworkflow,struts,spring,hibernate,junit,struttestcase,mock,and so on

---(2 weeks, maybe will extend or reduce)
- -------------------------------------------------------------------------------------------------------

( rup 重新对estimate time和以后安排进行检查,检查是否需要变更schedule)

08 后台管理开发(表现层开发)

bbs management

my space    management
team space    management
my project    management
my blog    management
team project    management
polling    management


---(3 weeks, maybe will extend or reduce)
09 客户端 表现层,页面样式
---(unknown, maybe will extend or reduce)
10 tech trouble shooting and 部署 
---(2 weeks, maybe will extend or reduce)


                                                                                                                                                                                             
11  对业务层进行测试                                                                                                                                                                                                                                                                   
12  对后台管理进行测试                                                                                                                                                                                                                                                      
13  对前台表现进行测试                                                                                                                                                                                                                                                      
14  集成测试   
---(1 weeks) 
develop team : 2 senior j2ee engineer would be better.
                                                                                                                                                                                                                                                                                                                                    

---( estimate all 15 weeks more or less)



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
debug
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
OutputDebugString
CStringEx    strMsg;
strMsg.Format("Get WM_COMMAND:  Notify Coce:%d  Control ID: %d  Window: %d\n", HIWORD(pMsg->wParam), HIWORD(pMsg->wParam), pMsg->lParam  );
OutputDebugString((LPCTSTR) strMsg);

char szTmpaa[256];
memset(szTmpaa, 0, sizeof(szTmpaa));
sprintf(szTmpaa, "bSend have error %d", dwErrorCode);
//strMsg.Format("bSend have error %d",dwErrorCode  );
OutputDebugString( szTmpaa);


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
do things
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
velocity
oracle configuration,listener
castor
cms how professional make
dtree
production where it store
weblogic web application deployment
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
code read
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

lining
used tech:

webwork2 IOC
velocity
castor xml-object mapping , record - persisent object mapping
Quarz
junit test
osworkflow
AJAX:dwr
lucene
HTMLArea


plugin
EclipseWork
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
flow
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

目标:
可移植,可伸缩,可扩展,高效,稳定,高度企业集成,安全,高度解藕,分布式,n-tier
需求细分,业务整理 

    需求分析,
    需求文档撰写
        需求模块分解
        需求各模块分解
   
数据库建模 
 
    数据库建模
    数据库各模块分析
    搭建数据表schema

XML数据搭建
    XML schema搭建
   
环境设置,包括数据库,应用服务器,项目所可能设计的技术框架以及语言选择

    开发环境搭建包括
        开发工具
            eclipse
            plsqldev
            dreamweaver
            WebLogic Workshop
        数据库
            mysql
            oracle
        应用服务器
            tomcat
            weblogic
           
        开发工具插件
    技术框架语言选择
        持久层
            hibernate
        业务层
            spring
        表现层
            struts or webwork2
        安全框架
            ag.
        js效果
            dtree
        ajax
            dwr
        搜索引擎
       
        others
            velocity
            ant
            xmlbean
            castor
            osworkflow
            oscache
            xdoclet
           
    程序资料累积
        CRM系统
        BBS系统
        BLOG系统
        others
    原型测试累积
        各技术框架的原型及测试
        spring
        hibernate
        struts
        webwork
        castor JDO
        osworkflow
        Lucene
        and so on
       
        部署环境原型及测试
        ant
        maven

{以下流程会根据各个模块进行迭代操作}
ORM domain,DAO单元测试
    
    底层程序Domain,DAO
       
    程序service层
       
    单元测试各模块
        mock 单元测试
       
   
ORM 业务层,以及其单元测试
    业务层程序撰写
    业务层程序单元测试
    
工作流以及控制层,业务实现 及单元测试
    实现工作流以扩展业务层
    控制层搭建
    工作流单元测试
    控制层单元测试
        struttestcase
           
后台管理开发(表现层开发)

    dtree
    tiles framework
     
客户端 表现层,页面样式
    页面设计(由其他team完成)
    flash与程序端进行整合(定义相关接口以及协议)
    页面与程序进行整合
tech trouble shooting and 部署 

  对各层间的程序trouble shooting
  对框架整合所遇到的问题trouble shooting
  对数据准确性的trouble shooting
  对环境appserver,database出现的问题trouble shooting
对业务层进行测试    
   
对后台管理进行测试 

对前台表现进行测试

集成测试

用户手册
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
time estimate
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

需求细分,业务整理                                                                                                                          (3 weeks)

    需求分析(2 weeks)
    需求文档撰写(1 weeks)
        需求模块分解                                                                                               
        需求各模块分解
   
数据库建模                                                                                                                                      (1 weeks)
 
    数据库建模
    数据库各模块分析
    搭建数据表schema

XML数据搭建                                                                                                                                        (1 weeks)
    XML schema搭建
   
环境设置,包括数据库,应用服务器,项目所可能设计的技术框架以及语言选择                 (4 weeks)

    开发环境搭建包括 (2 days)
        开发工具
        数据库
        应用服务器
        开发工具插件
    技术框架语言选择    (2 days)
        持久层
        业务层
        表现层
        安全框架
        js效果
        ajax
        搜索引擎
        等等
    程序资料累积        (2 days)
        CRM系统
        BBS系统
        BLOG系统
        等
    原型测试累积        (3 weeks)
        各技术框架的原型及测试
        部署环境原型及测试

{以下流程会根据各个模块进行迭代操作}
ORM domain,DAO单元测试                                                                                                                 (4 weeks)
    
    底层程序Domain,DAO(1 weeks)
    将需求各模块的功能,结构文档写明(3 days)
    程序service层                (2 weeks)
       
    单元测试各模块            (1 weeks)
        mock 单元测试
       
   
ORM 业务层,以及其单元测试                                                                                                             (1 weeks)
    业务层程序撰写        (1 weeks)
    业务层程序单元测试    (2 days)
    
工作流以及控制层,业务实现 及单元测试                                                                                        (2 weeks)
    实现工作流以扩展业务层(1 weeks)
    控制层搭建                        (2 days)
    工作流单元测试                    (1 days)
    控制层单元测试                (3 days)
        struttestcase
           
后台管理开发(表现层开发)                                                                                                                 (1 weeks)

    dtree        (3 days)                       
    tiles framework(2 days)
  页面设计(1 days)
 
客户端 表现层,页面样式                                                              &nbs
[2025-10-09T07:39:28.999Z] change_url: http://gerrit.scm.adc.com:8080/#/c/40424682/1 cherry_pick_result_dict: Successfully [2025-10-09T07:39:28.999Z] change_url: http://gerrit.scm.adc.com:8080/#/c/40526967/2 cherry_pick_result_dict: Successfully [2025-10-09T07:39:28.999Z] Traceback (most recent call last): [2025-10-09T07:39:28.999Z] File "build_stage/download.py", line 43, in <module> [2025-10-09T07:39:28.999Z] main() [2025-10-09T07:39:28.999Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 549, in wrapper [2025-10-09T07:39:28.999Z] _update_timing_field(es, index_name, duration, timing_field) [2025-10-09T07:39:28.999Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 416, in _update_timing_field [2025-10-09T07:39:28.999Z] search_res = es.search(index=index_name, body=query, size=1) [2025-10-09T07:39:28.999Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 347, in _wrapped [2025-10-09T07:39:28.999Z] return func(*args, params=params, headers=headers, **kwargs) [2025-10-09T07:39:28.999Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/__init__.py", line 1826, in search [2025-10-09T07:39:28.999Z] body=body, [2025-10-09T07:39:28.999Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 466, in perform_request [2025-10-09T07:39:28.999Z] raise e [2025-10-09T07:39:28.999Z] elasticsearch.exceptions.NotFoundError: NotFoundError(404, u'index_not_found_exception', u'no such index [chip_components_2025_10]', chip_components_2025_10, index_or_alias) [Pipeline] } [Pipeline] // stage [Pipeline] echo [2025-10-09T07:39:29.059Z] hudson.AbortException: script returned exit code 1 [Pipeline] stage [Pipeline] { (package) [Pipeline] sh [2025-10-09T07:39:29.412Z] + cd /work/0004/workspace/Build_S_BP/24173/script/build_t/bp/ [2025-10-09T07:39:29.412Z] + python -O build_stage/package.py [2025-10-09T07:39:29.668Z] [BUILD_LOG 2025-10-09 15:39:29,489 INFO] tag.py-getTagInfo: tag_info = {'static_apk_url': '', 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:29.668Z] [BUILD_LOG 2025-10-09 15:39:29,491 INFO] tag.py-getTagInfo: [TAGINFO] tag_info = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:29.668Z] [BUILD_LOG 2025-10-09 15:39:29,509 ERROR] utils.py-Copy: source /work/0004/workspace/Build_S_BP/24173/code/source/bp/target_elfs/about.html doesn't exits [2025-10-09T07:39:29.668Z] [BUILD_LOG 2025-10-09 15:39:29,509 INFO] package.py-__init__: Package init... [2025-10-09T07:39:29.668Z] BPEnvVariable getIdentifier [2025-10-09T07:39:29.668Z] sql_cmd is : select isSupportReuseVersion from CCM_S2_0_Build_S_BP where ccmBuildHistoryId='33458282' [2025-10-09T07:39:29.668Z] [INFO]reuseBaseCcmBuildHistoryId is: None [2025-10-09T07:39:29.668Z] [tagInfo]tag_info['modemPatch'] is: {} [2025-10-09T07:39:29.668Z] self.TAGINFO = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:29.668Z] soc is: MTK [2025-10-09T07:39:29.668Z] bp_path_name is: bp [2025-10-09T07:39:29.668Z] [INFO]remote_build_type is: False [2025-10-09T07:39:29.668Z] [ES] Successfully connected to Elasticsearch [2025-10-09T07:39:29.668Z] Traceback (most recent call last): [2025-10-09T07:39:29.668Z] File "build_stage/package.py", line 43, in <module> [2025-10-09T07:39:29.668Z] main() [2025-10-09T07:39:29.668Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 542, in wrapper [2025-10-09T07:39:29.668Z] _update_es_status(es, index_name, index_type, build_level) [2025-10-09T07:39:29.668Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 384, in _update_es_status [2025-10-09T07:39:29.668Z] search_res = es.search(index=index_name, body=query, size=1) [2025-10-09T07:39:29.668Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 347, in _wrapped [2025-10-09T07:39:29.668Z] return func(*args, params=params, headers=headers, **kwargs) [2025-10-09T07:39:29.668Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/__init__.py", line 1826, in search [2025-10-09T07:39:29.668Z] body=body, [2025-10-09T07:39:29.668Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 466, in perform_request [2025-10-09T07:39:29.668Z] raise e [2025-10-09T07:39:29.668Z] elasticsearch.exceptions.NotFoundError: NotFoundError(404, u'index_not_found_exception', u'no such index [chip_components_2025_10]', chip_components_2025_10, index_or_alias) [Pipeline] } [Pipeline] // stage [Pipeline] echo [2025-10-09T07:39:29.718Z] hudson.AbortException: script returned exit code 1 [Pipeline] stage [Pipeline] { (archive) [Pipeline] sh [2025-10-09T07:39:30.067Z] + cd /work/0004/workspace/Build_S_BP/24173/script/build_t/bp/ [2025-10-09T07:39:30.067Z] + python -O build_stage/archive_jfrog.py [2025-10-09T07:39:30.323Z] [BUILD_LOG 2025-10-09 15:39:30,168 INFO] tag.py-getTagInfo: tag_info = {'static_apk_url': '', 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:30.323Z] [BUILD_LOG 2025-10-09 15:39:30,169 INFO] tag.py-getTagInfo: [TAGINFO] tag_info = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:30.323Z] [Info] [Thread 15] Uploading artifact: common/tag.ini [2025-10-09T07:39:30.323Z] [Info] [Thread 7] Uploading artifact: common/compile_detail.info [2025-10-09T07:39:30.323Z] [Info] [Thread 8] Uploading artifact: common/compile.info [2025-10-09T07:39:30.578Z] [Info] Setting properties... [2025-10-09T07:39:30.578Z] [Info] [Thread 2] Setting properties on: component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20251009152520-33837650/ [2025-10-09T07:39:30.835Z] [Info] Done setting properties. [2025-10-09T07:39:30.835Z] { [2025-10-09T07:39:30.835Z] "status": "success", [2025-10-09T07:39:30.835Z] "totals": { [2025-10-09T07:39:30.835Z] "success": 1, [2025-10-09T07:39:30.835Z] "failure": 0 [2025-10-09T07:39:30.835Z] } [2025-10-09T07:39:30.835Z] } [2025-10-09T07:39:30.835Z] [BUILD_LOG 2025-10-09 15:39:30,639 INFO] utils.py-CountTime: main cost time: 0m 0s [2025-10-09T07:39:30.835Z] BPEnvVariable getIdentifier [2025-10-09T07:39:30.835Z] sql_cmd is : select isSupportReuseVersion from CCM_S2_0_Build_S_BP where ccmBuildHistoryId='33458282' [2025-10-09T07:39:30.835Z] [INFO]reuseBaseCcmBuildHistoryId is: None [2025-10-09T07:39:30.835Z] [tagInfo]tag_info['modemPatch'] is: {} [2025-10-09T07:39:30.835Z] self.TAGINFO = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:30.835Z] soc is: MTK [2025-10-09T07:39:30.835Z] bp_path_name is: bp [2025-10-09T07:39:30.835Z] [INFO]remote_build_type is: False [2025-10-09T07:39:30.835Z] [ES] Successfully connected to Elasticsearch [2025-10-09T07:39:30.835Z] ---------2025-10-09 15:39:30,Upload Jfrog start ...---------- [2025-10-09T07:39:30.835Z] [JFrog cmd:] /work/jfrog rt u ./ component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20251009152520-33837650/ --url=http://gpw21.myoas.com/artifactory --user=**** --password=**** --retries=6 --threads=16 --flat=false --include-dirs --symlinks=true --exclusions="*.md5;*.sha256;*.sha1;r_ini_lock" > /work/0004/workspace/Build_S_BP/24173/code/08529088ac93fa0454c6c4d885178d8206d380748a01b52af5b4b7d70da93e28 [2025-10-09T07:39:30.835Z] j_upload_log for /work/0004/workspace/Build_S_BP/24173/package is : { [2025-10-09T07:39:30.835Z] "status": "success", [2025-10-09T07:39:30.835Z] "totals": { [2025-10-09T07:39:30.835Z] "success": 3, [2025-10-09T07:39:30.835Z] "failure": 0 [2025-10-09T07:39:30.835Z] } [2025-10-09T07:39:30.835Z] } [2025-10-09T07:39:30.835Z] [2025-10-09T07:39:30.835Z] ---------2025-10-09 15:39:30,Upload Jfrog end ...---------- [2025-10-09T07:39:30.835Z] [JFrog cmd:] /work/jfrog rt sp component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20251009152520-33837650 "JENKINS_BUILD_URL=http://10.234.27.234:8089/jenkins/job/Build_S_BP/24173/;version=00.1.00015023.2025100915252033837650;versionType=release;ccm_url=https://noah.myoas.com/micro-app/ccm/template/soc?id\=199601&componentType\=BP&indexTab\=all&isFromDrawer\=true&FromRecord\=socDetail&vendor\=MT6835&activeTab\=buildRecord&recordId\=33837650&componentHistoryId\=33837650&FromInnerRecord\=socBuildDetail;expireDate=2025-11-12;isTagPatchVersion=true" --include-dirs --url=http://gpw21.myoas.com/artifactory --user=**** --password=**** --recursive=false [2025-10-09T07:39:30.835Z] Traceback (most recent call last): [2025-10-09T07:39:30.835Z] File "build_stage/archive_jfrog.py", line 29, in <module> [2025-10-09T07:39:30.835Z] main() [2025-10-09T07:39:30.835Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 549, in wrapper [2025-10-09T07:39:30.835Z] _update_timing_field(es, index_name, duration, timing_field) [2025-10-09T07:39:30.835Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 416, in _update_timing_field [2025-10-09T07:39:30.835Z] search_res = es.search(index=index_name, body=query, size=1) [2025-10-09T07:39:30.835Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 347, in _wrapped [2025-10-09T07:39:30.835Z] return func(*args, params=params, headers=headers, **kwargs) [2025-10-09T07:39:30.835Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/__init__.py", line 1826, in search [2025-10-09T07:39:30.835Z] body=body, [2025-10-09T07:39:30.835Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 466, in perform_request [2025-10-09T07:39:30.835Z] raise e [2025-10-09T07:39:30.835Z] elasticsearch.exceptions.NotFoundError: NotFoundError(404, u'index_not_found_exception', u'no such index [chip_components_2025_10]', chip_components_2025_10, index_or_alias) [Pipeline] } [Pipeline] // stage [Pipeline] echo [2025-10-09T07:39:30.893Z] hudson.AbortException: script returned exit code 1 [Pipeline] stage [Pipeline] { (callback) [Pipeline] sh [2025-10-09T07:39:31.216Z] + cd /work/0004/workspace/Build_S_BP/24173/script/build_t/bp/ [2025-10-09T07:39:31.216Z] + python -O build_stage/callback_ccm.py --build_stop [2025-10-09T07:39:31.472Z] [BUILD_LOG 2025-10-09 15:39:31,291 INFO] tag.py-getTagInfo: tag_info = {'static_apk_url': '', 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:31.472Z] [BUILD_LOG 2025-10-09 15:39:31,294 INFO] tag.py-getTagInfo: [TAGINFO] tag_info = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:31.472Z] [BUILD_LOG 2025-10-09 15:39:31,324 INFO] static_xml.py-__init__: static_xml_file = /work/0004/workspace/Build_S_BP/24173/code/source/bp/MT6835_bp_202510091528f48099_user.xml [2025-10-09T07:39:31.472Z] [BUILD_LOG 2025-10-09 15:39:31,324 INFO] callback_ccm.py-callback_ccm: ccm callback cmd is : curl -H "Content-Type:application/json" -w ' [2025-10-09T07:39:31.472Z] callback_result:%{http_code} [2025-10-09T07:39:31.473Z] ' --max-time 60 -XPOST -H "x-token:2c6ebc3e7cba9267b509defcb559803f" https://panter.myoas.com/api/v1/components -d '{"xml_absolute_path": "http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202510/s-v-release-15.0.2/bp/MT6835_bp_202510091528f48099_user.xml", "repo_init_command": "repo init -u ssh://gerrit.scm.adc.com:29418/oplus/platform/manifest -b v/release-15.0.2 -m BP/bp_mt6835_24e_nr17r1mp5_maintain-14.1.xml --repo-branch=update --reference=/work/oppo_mirror --no-repo-verify;", "component_result": "fail", "build_parma": {"componentType": "BP", "pipeline": {"resultCallbackUrl": "http://gcode-ccm-api.myoas.com/component-service/external/callback/component/jenkins-build-result/33837650", "ccm_component_hash_fixed_callback_url": "https://gcode-ccm-api.myoas.com/single-service/jenkins/callback/component/record/hashFixed/33837650", "expireDate": "2025-11-12", "ccmBuildHistoryId": "33837650", "ccmUrl": "https://noah.myoas.com/micro-app/ccm/template/soc?id=199601&componentType=BP&indexTab=all&isFromDrawer=true&FromRecord=socDetail&vendor=MT6835&activeTab=buildRecord&recordId=33837650&componentHistoryId=33837650&FromInnerRecord=socBuildDetail", "buildTimeCallbackUrl": "http://gcode-ccm-api.myoas.com/component-service/external/callback/component/buildTime/component/33837650", "startTime": "20251009152520", "isSupportReuseVersion": "true", "jenkinEnv": "prod", "submitUsername": "V96817792", "purpose": "general"}, "patchInfo": {"baseCcmBuildHistoryId": "33458282", "patchSet": [{"type": "code", "gerritUrl": "http://gerrit.scm.adc.com:8080/#/c/40424682/1"}, {"type": "code", "gerritUrl": "http://gerrit.scm.adc.com:8080/#/c/40526967/2"}], "baseVersionAddress": "http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20250919233722-33458282/"}, "prop": {"OPLUS_CCM_PLATFORM": "MT6835", "OPLUS_CCM_VERSION_TYPE": "release", "OPLUS_CCM_XML_NAME": "BP/bp_mt6835_24e_nr17r1mp5_maintain-14.1.xml", "OPLUS_CCM_CFG_FILE": "bp/mt6835/bp_compile.xml", "OPLUS_CCM_DOWNLOAD_CODE_BY_GROUP": "false", "OPLUS_CCM_CFG_BRANCH": "v/release-15.0.2", "OPLUS_CCM_JFROG_URL": "http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20251009152520-33837650/", "OPLUS_CCM_BASE_URL": "oplus/platform/manifest", "OPLUS_CCM_LIMIT_ANDROID_API_LEVEL": "35", "OPLUS_CCM_CALCULATE_VSDK_HASH": "true", "OPLUS_CCM_BRANCH_TYPE": "Release_Maintain", "OPLUS_CCM_MANIFEST_BRANCH": "v/release-15.0.2", "OPLUS_CCM_SOC": "MTK", "OPLUS_CCM_COMPONENT_VERSION": "00.1.00015023.2025100915252033837650", "OPLUS_CCM_GERRIT_HOST": "http://gerrit.scm.adc.com:8080"}}}' [2025-10-09T07:39:31.473Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-10-09T07:39:31.473Z] Dload Upload Total Spent Left Speed [2025-10-09T07:39:31.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2625 100 21 100 2604 165 20512 --:--:-- --:--:-- --:--:-- 20666 [2025-10-09T07:39:31.728Z] [BUILD_LOG 2025-10-09 15:39:31,470 INFO] callback_ccm.py-callback_ccm: ccm callback cmd result :Internal Server Error [2025-10-09T07:39:31.728Z] callback_result:500 [2025-10-09T07:39:31.728Z] [2025-10-09T07:39:32.656Z] [BUILD_LOG 2025-10-09 15:39:32,471 INFO] callback_ccm.py-callback_ccm: ccm callback cmd is : curl -H "Content-Type:application/json" -w ' [2025-10-09T07:39:32.656Z] callback_result:%{http_code} [2025-10-09T07:39:32.656Z] ' --max-time 60 -XPOST -H "x-token:2c6ebc3e7cba9267b509defcb559803f" https://panter.myoas.com/api/v1/components -d '{"xml_absolute_path": "http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202510/s-v-release-15.0.2/bp/MT6835_bp_202510091528f48099_user.xml", "repo_init_command": "repo init -u ssh://gerrit.scm.adc.com:29418/oplus/platform/manifest -b v/release-15.0.2 -m BP/bp_mt6835_24e_nr17r1mp5_maintain-14.1.xml --repo-branch=update --reference=/work/oppo_mirror --no-repo-verify;", "component_result": "fail", "build_parma": {"componentType": "BP", "pipeline": {"resultCallbackUrl": "http://gcode-ccm-api.myoas.com/component-service/external/callback/component/jenkins-build-result/33837650", "ccm_component_hash_fixed_callback_url": "https://gcode-ccm-api.myoas.com/single-service/jenkins/callback/component/record/hashFixed/33837650", "expireDate": "2025-11-12", "ccmBuildHistoryId": "33837650", "ccmUrl": "https://noah.myoas.com/micro-app/ccm/template/soc?id=199601&componentType=BP&indexTab=all&isFromDrawer=true&FromRecord=socDetail&vendor=MT6835&activeTab=buildRecord&recordId=33837650&componentHistoryId=33837650&FromInnerRecord=socBuildDetail", "buildTimeCallbackUrl": "http://gcode-ccm-api.myoas.com/component-service/external/callback/component/buildTime/component/33837650", "startTime": "20251009152520", "isSupportReuseVersion": "true", "jenkinEnv": "prod", "submitUsername": "V96817792", "purpose": "general"}, "patchInfo": {"baseCcmBuildHistoryId": "33458282", "patchSet": [{"type": "code", "gerritUrl": "http://gerrit.scm.adc.com:8080/#/c/40424682/1"}, {"type": "code", "gerritUrl": "http://gerrit.scm.adc.com:8080/#/c/40526967/2"}], "baseVersionAddress": "http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20250919233722-33458282/"}, "prop": {"OPLUS_CCM_PLATFORM": "MT6835", "OPLUS_CCM_VERSION_TYPE": "release", "OPLUS_CCM_XML_NAME": "BP/bp_mt6835_24e_nr17r1mp5_maintain-14.1.xml", "OPLUS_CCM_CFG_FILE": "bp/mt6835/bp_compile.xml", "OPLUS_CCM_DOWNLOAD_CODE_BY_GROUP": "false", "OPLUS_CCM_CFG_BRANCH": "v/release-15.0.2", "OPLUS_CCM_JFROG_URL": "http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20251009152520-33837650/", "OPLUS_CCM_BASE_URL": "oplus/platform/manifest", "OPLUS_CCM_LIMIT_ANDROID_API_LEVEL": "35", "OPLUS_CCM_CALCULATE_VSDK_HASH": "true", "OPLUS_CCM_BRANCH_TYPE": "Release_Maintain", "OPLUS_CCM_MANIFEST_BRANCH": "v/release-15.0.2", "OPLUS_CCM_SOC": "MTK", "OPLUS_CCM_COMPONENT_VERSION": "00.1.00015023.2025100915252033837650", "OPLUS_CCM_GERRIT_HOST": "http://gerrit.scm.adc.com:8080"}}}' [2025-10-09T07:39:32.656Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-10-09T07:39:32.656Z] Dload Upload Total Spent Left Speed [2025-10-09T07:39:32.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2625 100 21 100 2604 160 19942 --:--:-- --:--:-- --:--:-- 20030 [2025-10-09T07:39:32.656Z] [BUILD_LOG 2025-10-09 15:39:32,619 INFO] callback_ccm.py-callback_ccm: ccm callback cmd result :Internal Server Error [2025-10-09T07:39:32.656Z] callback_result:500 [2025-10-09T07:39:32.656Z] [2025-10-09T07:39:34.020Z] [BUILD_LOG 2025-10-09 15:39:33,621 INFO] callback_ccm.py-callback_ccm: ccm callback cmd is : curl -H "Content-Type:application/json" -w ' [2025-10-09T07:39:34.020Z] callback_result:%{http_code} [2025-10-09T07:39:34.021Z] ' --max-time 60 -XPOST -H "x-token:2c6ebc3e7cba9267b509defcb559803f" https://panter.myoas.com/api/v1/components -d '{"xml_absolute_path": "http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202510/s-v-release-15.0.2/bp/MT6835_bp_202510091528f48099_user.xml", "repo_init_command": "repo init -u ssh://gerrit.scm.adc.com:29418/oplus/platform/manifest -b v/release-15.0.2 -m BP/bp_mt6835_24e_nr17r1mp5_maintain-14.1.xml --repo-branch=update --reference=/work/oppo_mirror --no-repo-verify;", "component_result": "fail", "build_parma": {"componentType": "BP", "pipeline": {"resultCallbackUrl": "http://gcode-ccm-api.myoas.com/component-service/external/callback/component/jenkins-build-result/33837650", "ccm_component_hash_fixed_callback_url": "https://gcode-ccm-api.myoas.com/single-service/jenkins/callback/component/record/hashFixed/33837650", "expireDate": "2025-11-12", "ccmBuildHistoryId": "33837650", "ccmUrl": "https://noah.myoas.com/micro-app/ccm/template/soc?id=199601&componentType=BP&indexTab=all&isFromDrawer=true&FromRecord=socDetail&vendor=MT6835&activeTab=buildRecord&recordId=33837650&componentHistoryId=33837650&FromInnerRecord=socBuildDetail", "buildTimeCallbackUrl": "http://gcode-ccm-api.myoas.com/component-service/external/callback/component/buildTime/component/33837650", "startTime": "20251009152520", "isSupportReuseVersion": "true", "jenkinEnv": "prod", "submitUsername": "V96817792", "purpose": "general"}, "patchInfo": {"baseCcmBuildHistoryId": "33458282", "patchSet": [{"type": "code", "gerritUrl": "http://gerrit.scm.adc.com:8080/#/c/40424682/1"}, {"type": "code", "gerritUrl": "http://gerrit.scm.adc.com:8080/#/c/40526967/2"}], "baseVersionAddress": "http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20250919233722-33458282/"}, "prop": {"OPLUS_CCM_PLATFORM": "MT6835", "OPLUS_CCM_VERSION_TYPE": "release", "OPLUS_CCM_XML_NAME": "BP/bp_mt6835_24e_nr17r1mp5_maintain-14.1.xml", "OPLUS_CCM_CFG_FILE": "bp/mt6835/bp_compile.xml", "OPLUS_CCM_DOWNLOAD_CODE_BY_GROUP": "false", "OPLUS_CCM_CFG_BRANCH": "v/release-15.0.2", "OPLUS_CCM_JFROG_URL": "http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20251009152520-33837650/", "OPLUS_CCM_BASE_URL": "oplus/platform/manifest", "OPLUS_CCM_LIMIT_ANDROID_API_LEVEL": "35", "OPLUS_CCM_CALCULATE_VSDK_HASH": "true", "OPLUS_CCM_BRANCH_TYPE": "Release_Maintain", "OPLUS_CCM_MANIFEST_BRANCH": "v/release-15.0.2", "OPLUS_CCM_SOC": "MTK", "OPLUS_CCM_COMPONENT_VERSION": "00.1.00015023.2025100915252033837650", "OPLUS_CCM_GERRIT_HOST": "http://gerrit.scm.adc.com:8080"}}}' [2025-10-09T07:39:34.021Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-10-09T07:39:34.021Z] Dload Upload Total Spent Left Speed [2025-10-09T07:39:34.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2625 100 21 100 2604 162 20173 --:--:-- --:--:-- --:--:-- 20343 [2025-10-09T07:39:34.021Z] [BUILD_LOG 2025-10-09 15:39:33,766 INFO] callback_ccm.py-callback_ccm: ccm callback cmd result :Internal Server Error [2025-10-09T07:39:34.021Z] callback_result:500 [2025-10-09T07:39:34.021Z] [2025-10-09T07:39:34.948Z] [BUILD_LOG 2025-10-09 15:39:34,768 INFO] callback_ccm.py-callback_ccm: ccm callback cmd is : curl -H "Content-Type:application/json" -w ' [2025-10-09T07:39:34.948Z] callback_result:%{http_code} [2025-10-09T07:39:34.948Z] ' --max-time 60 -XPOST -H "x-token:2c6ebc3e7cba9267b509defcb559803f" https://panter.myoas.com/api/v1/components -d '{"xml_absolute_path": "http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202510/s-v-release-15.0.2/bp/MT6835_bp_202510091528f48099_user.xml", "repo_init_command": "repo init -u ssh://gerrit.scm.adc.com:29418/oplus/platform/manifest -b v/release-15.0.2 -m BP/bp_mt6835_24e_nr17r1mp5_maintain-14.1.xml --repo-branch=update --reference=/work/oppo_mirror --no-repo-verify;", "component_result": "fail", "build_parma": {"componentType": "BP", "pipeline": {"resultCallbackUrl": "http://gcode-ccm-api.myoas.com/component-service/external/callback/component/jenkins-build-result/33837650", "ccm_component_hash_fixed_callback_url": "https://gcode-ccm-api.myoas.com/single-service/jenkins/callback/component/record/hashFixed/33837650", "expireDate": "2025-11-12", "ccmBuildHistoryId": "33837650", "ccmUrl": "https://noah.myoas.com/micro-app/ccm/template/soc?id=199601&componentType=BP&indexTab=all&isFromDrawer=true&FromRecord=socDetail&vendor=MT6835&activeTab=buildRecord&recordId=33837650&componentHistoryId=33837650&FromInnerRecord=socBuildDetail", "buildTimeCallbackUrl": "http://gcode-ccm-api.myoas.com/component-service/external/callback/component/buildTime/component/33837650", "startTime": "20251009152520", "isSupportReuseVersion": "true", "jenkinEnv": "prod", "submitUsername": "V96817792", "purpose": "general"}, "patchInfo": {"baseCcmBuildHistoryId": "33458282", "patchSet": [{"type": "code", "gerritUrl": "http://gerrit.scm.adc.com:8080/#/c/40424682/1"}, {"type": "code", "gerritUrl": "http://gerrit.scm.adc.com:8080/#/c/40526967/2"}], "baseVersionAddress": "http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20250919233722-33458282/"}, "prop": {"OPLUS_CCM_PLATFORM": "MT6835", "OPLUS_CCM_VERSION_TYPE": "release", "OPLUS_CCM_XML_NAME": "BP/bp_mt6835_24e_nr17r1mp5_maintain-14.1.xml", "OPLUS_CCM_CFG_FILE": "bp/mt6835/bp_compile.xml", "OPLUS_CCM_DOWNLOAD_CODE_BY_GROUP": "false", "OPLUS_CCM_CFG_BRANCH": "v/release-15.0.2", "OPLUS_CCM_JFROG_URL": "http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20251009152520-33837650/", "OPLUS_CCM_BASE_URL": "oplus/platform/manifest", "OPLUS_CCM_LIMIT_ANDROID_API_LEVEL": "35", "OPLUS_CCM_CALCULATE_VSDK_HASH": "true", "OPLUS_CCM_BRANCH_TYPE": "Release_Maintain", "OPLUS_CCM_MANIFEST_BRANCH": "v/release-15.0.2", "OPLUS_CCM_SOC": "MTK", "OPLUS_CCM_COMPONENT_VERSION": "00.1.00015023.2025100915252033837650", "OPLUS_CCM_GERRIT_HOST": "http://gerrit.scm.adc.com:8080"}}}' [2025-10-09T07:39:34.948Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-10-09T07:39:34.948Z] Dload Upload Total Spent Left Speed [2025-10-09T07:39:34.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2625 100 21 100 2604 160 19851 --:--:-- --:--:-- --:--:-- 19727 100 2625 100 21 100 2604 159 19835 --:--:-- --:--:-- --:--:-- 19727 [2025-10-09T07:39:34.948Z] [BUILD_LOG 2025-10-09 15:39:34,916 INFO] callback_ccm.py-callback_ccm: ccm callback cmd result :Internal Server Error [2025-10-09T07:39:34.948Z] callback_result:500 [2025-10-09T07:39:34.948Z] [2025-10-09T07:39:34.948Z] [BUILD_LOG 2025-10-09 15:39:34,916 INFO] callback_ccm.py-tag_system_callback_ccm: ('Internal Server Error\ncallback_result:500\n',) [2025-10-09T07:39:34.948Z] [BUILD_LOG 2025-10-09 15:39:34,916 INFO] callback_ccm.py-tag_system_callback_ccm: ====== [2025-10-09T07:39:34.948Z] [BUILD_LOG 2025-10-09 15:39:34,917 INFO] callback_ccm.py-tag_system_callback_ccm: Traceback (most recent call last): [2025-10-09T07:39:34.948Z] File "/work/0004/workspace/Build_S_BP/24173/script/build_t/t_common/callback_ccm.py", line 190, in tag_system_callback_ccm [2025-10-09T07:39:34.948Z] utils.RetryRun(self.retry_count,1, callback_ccm, callback_url, callback_data, TAG_TOKEN) [2025-10-09T07:39:34.948Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 1048, in RetryRun [2025-10-09T07:39:34.948Z] func_result = RetryRun(try_num - 1, sleep_sec, run_func, *params) [2025-10-09T07:39:34.948Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 1048, in RetryRun [2025-10-09T07:39:34.948Z] func_result = RetryRun(try_num - 1, sleep_sec, run_func, *params) [2025-10-09T07:39:34.948Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 1048, in RetryRun [2025-10-09T07:39:34.948Z] func_result = RetryRun(try_num - 1, sleep_sec, run_func, *params) [2025-10-09T07:39:34.948Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 1045, in RetryRun [2025-10-09T07:39:34.948Z] raise e [2025-10-09T07:39:34.948Z] AssertionError: Internal Server Error [2025-10-09T07:39:34.948Z] callback_result:500 [2025-10-09T07:39:34.948Z] [2025-10-09T07:39:34.948Z] [2025-10-09T07:39:34.948Z] BPEnvVariable getIdentifier [2025-10-09T07:39:34.948Z] sql_cmd is : select isSupportReuseVersion from CCM_S2_0_Build_S_BP where ccmBuildHistoryId='33458282' [2025-10-09T07:39:34.948Z] [INFO]reuseBaseCcmBuildHistoryId is: None [2025-10-09T07:39:34.948Z] [tagInfo]tag_info['modemPatch'] is: {} [2025-10-09T07:39:34.949Z] self.TAGINFO = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:34.949Z] soc is: MTK [2025-10-09T07:39:34.949Z] bp_path_name is: bp [2025-10-09T07:39:34.949Z] [INFO]remote_build_type is: False [2025-10-09T07:39:34.949Z] [ES] Successfully connected to Elasticsearch [2025-10-09T07:39:34.949Z] 回调数据: {"msg": "", "result": "fail", "area": ""} [2025-10-09T07:39:34.949Z] 回调结果: 200 [Pipeline] } [Pipeline] // stage [Pipeline] sh [2025-10-09T07:39:35.291Z] + cd /work/0004/workspace/Build_S_BP/24173/script/build_t/bp/ [2025-10-09T07:39:35.291Z] + python -O build_stage/dump_build_info.py [2025-10-09T07:39:35.547Z] [BUILD_LOG 2025-10-09 15:39:35,450 INFO] tag.py-getTagInfo: tag_info = {'static_apk_url': '', 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:35.547Z] [BUILD_LOG 2025-10-09 15:39:35,451 INFO] tag.py-getTagInfo: [TAGINFO] tag_info = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:35.547Z] BPEnvVariable getIdentifier [2025-10-09T07:39:35.547Z] sql_cmd is : select isSupportReuseVersion from CCM_S2_0_Build_S_BP where ccmBuildHistoryId='33458282' [2025-10-09T07:39:35.547Z] [INFO]reuseBaseCcmBuildHistoryId is: None [2025-10-09T07:39:35.547Z] [tagInfo]tag_info['modemPatch'] is: {} [2025-10-09T07:39:35.547Z] self.TAGINFO = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:35.547Z] soc is: MTK [2025-10-09T07:39:35.547Z] bp_path_name is: bp [2025-10-09T07:39:35.547Z] [INFO]remote_build_type is: False [2025-10-09T07:39:35.547Z] [ES] Successfully connected to Elasticsearch [2025-10-09T07:39:35.547Z] #################################################################################################### [2025-10-09T07:39:35.547Z] Start Dump Important Build Informations [2025-10-09T07:39:35.547Z] #################################################################################################### [2025-10-09T07:39:35.547Z] Build Result: :fail [2025-10-09T07:39:35.547Z] Build Failure Msg: :hudson.AbortException: script returned exit code 1 [2025-10-09T07:39:35.547Z] Jfrog URL: :http://gpw21.myoas.com/artifactory/component-bp-snapshot-local/patch/cellPhone/Android15/MT6835/Release_Maintain/00.1.00015023/00.1.00015023-20251009152520-33837650/ [2025-10-09T07:39:35.547Z] #################################################################################################### [2025-10-09T07:39:35.547Z] Finish Dump Important Build Informations [2025-10-09T07:39:35.547Z] #################################################################################################### [Pipeline] sh [2025-10-09T07:39:35.834Z] + cd /work/0004/workspace/Build_S_BP/24173/script/build_t/bp/ [2025-10-09T07:39:35.834Z] + python -O build_stage/end.py [2025-10-09T07:39:36.200Z] [BUILD_LOG 2025-10-09 15:39:35,914 INFO] tag.py-getTagInfo: tag_info = {'static_apk_url': '', 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:36.200Z] [BUILD_LOG 2025-10-09 15:39:35,914 INFO] tag.py-getTagInfo: [TAGINFO] tag_info = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:44.286Z] [BUILD_LOG 2025-10-09 15:39:42,835 INFO] utils.py-CountTime: main cost time: 0m 6s [2025-10-09T07:39:44.286Z] BPEnvVariable getIdentifier [2025-10-09T07:39:44.286Z] sql_cmd is : select isSupportReuseVersion from CCM_S2_0_Build_S_BP where ccmBuildHistoryId='33458282' [2025-10-09T07:39:44.286Z] [INFO]reuseBaseCcmBuildHistoryId is: None [2025-10-09T07:39:44.286Z] [tagInfo]tag_info['modemPatch'] is: {} [2025-10-09T07:39:44.286Z] self.TAGINFO = {'static_apk_url': '', 'apklistPatch': [], 'apk_absolute_path': '', 'xml_absolute_path': 'http://gpw14.myoas.com:80/artifactory/manifest-snapshot-local/202509/s-v-release-15.0.2/bp/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_jfrogpath': '', 'codePatch': [u'http://gerrit.scm.adc.com:8080/#/c/40424682/1', u'http://gerrit.scm.adc.com:8080/#/c/40526967/2'], 'compile_xml_tag': 'ab98c80f9a8d196c81d6b9f907fe676cc808629b', 'script_tag': '383e6a963f573fbcd8ef751088365f352c440a16', 'modemPatch': {}, 'xml_relative_path': 'XML_INFO/MT6835_bp_2025091923387319e8_user.xml', 'static_apk_tag': '', 'static_apk_name': '', 'tag_type': 'ini'} [2025-10-09T07:39:44.286Z] soc is: MTK [2025-10-09T07:39:44.286Z] bp_path_name is: bp [2025-10-09T07:39:44.286Z] [INFO]remote_build_type is: False [2025-10-09T07:39:44.286Z] [ES] Successfully connected to Elasticsearch [2025-10-09T07:39:44.286Z] RM_SOURCE=1,cleaning env ... [2025-10-09T07:39:44.286Z] Traceback (most recent call last): [2025-10-09T07:39:44.286Z] File "build_stage/end.py", line 35, in <module> [2025-10-09T07:39:44.286Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 547, in wrapper [2025-10-09T07:39:44.286Z] File "/work/0004/workspace/Build_S_BP/24173/script/common/utils.py", line 453, in _update_end_time [2025-10-09T07:39:44.286Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 347, in _wrapped [2025-10-09T07:39:44.286Z] return func(*args, params=params, headers=headers, **kwargs) [2025-10-09T07:39:44.286Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/__init__.py", line 1826, in search [2025-10-09T07:39:44.286Z] body=body, [2025-10-09T07:39:44.286Z] File "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 466, in perform_request [2025-10-09T07:39:44.286Z] raise e [2025-10-09T07:39:44.286Z] elasticsearch.exceptions.NotFoundError: NotFoundError(404, u'index_not_found_exception', u'no such index [chip_components_2025_10]', chip_components_2025_10, index_or_alias) [Pipeline] echo [2025-10-09T07:39:44.304Z] [Warning]: dump_build_info or clean workspace Failed , reason : hudson.AbortException: script returned exit code 1 [Pipeline] error [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // timestamps [Pipeline] End of Pipeline ERROR: Build Failed Finished: FAILURE
最新发布
10-10
<think>我们正在分析一个构建失败的日志。从日志中可以看到多个阶段都因为脚本返回退出码1而失败。主要错误集中在Elasticsearch的索引找不到(no such index [chip_components_2025_10])以及回调CCM时出现500错误。 ### 问题分析: 1. **Elasticsearch索引不存在**:在多个阶段(download.py、package.py、archive_jfrog.py、end.py)中,尝试访问Elasticsearch索引`chip_components_2025_10`时失败,因为该索引不存在。这导致每个阶段都抛出`elasticsearch.exceptions.NotFoundError`异常,进而使脚本退出码为1。 2. **CCM回调失败**:在callback_ccm.py阶段,多次尝试向CCM发送构建失败的回调都返回了500(Internal Server Error)错误。尽管最后尝试记录构建信息,但构建已经失败。 ### 根本原因: - **索引命名问题**:索引名称`chip_components_2025_10`可能是按年月动态生成的(例如,2025年10月),但当前日期是2025年10月9日,可能索引尚未创建,或者命名规则与预期不符。 - **CCM服务端问题**:回调返回500错误,表明CCM服务端在处理请求时发生了内部错误。 ### 解决步骤: 1. **检查Elasticsearch索引**: - 确认索引`chip_components_2025_10`是否存在。如果不存在,需要创建该索引或者修正索引名称。 - 检查生成索引名的代码逻辑,确保在构建时能正确生成或引用存在的索引。 2. **修复CCM回调问题**: - 检查CCM服务端的日志,查看为何返回500错误。可能是请求数据格式不正确或服务端内部错误。 - 确保回调URL和令牌(x-token)正确无误。 3. **错误处理**: - 在构建脚本中添加更健壮的错误处理,例如当索引不存在时创建索引,或者捕获异常后使用默认索引。 - 对于回调失败,增加重试机制或更详细的错误日志以便排查。 ### 临时解决方案(如果索引确实不存在): 在构建开始时检查并创建所需索引(如果权限允许),或者修改代码使用一个默认存在的索引。 ### 长期解决方案: - 确保索引创建与构建流程同步,例如在每月初自动创建当月索引。 - 与服务端团队协作,确保回调接口的稳定性。 **注意**:由于构建失败,需要先解决Elasticsearch索引问题,因为它是导致各个阶段失败的直接原因。 §§相关问题§§ 1. 如何在Elasticsearch中动态创建索引以避免"index_not_found_exception"错误? 2. 在Jenkins流水线中,如何捕获并处理Elasticsearch的异常以防止构建失败? 3. 当服务端回调接口返回500错误时,有哪些有效的调试和排查步骤? 4. 如何设计一个健壮的重试机制来处理第三方服务(如CCM回调)的暂时性失败? 5. 在构建系统中,如何确保Elasticsearch索引的命名与当前时间(年月)同步? </think>### 构建失败分析及解决方案 #### 核心错误原因: 1. **Elasticsearch索引缺失** ```python elasticsearch.exceptions.NotFoundError: NotFoundError(404, u'index_not_found_exception', u'no such index [chip_components_2025_10]', ...) ``` - 多个阶段(`download.py`, `package.py`, `archive_jfrog.py`, `end.py`)均因访问不存在的 Elasticsearch 索引 `chip_components_2025_10` 失败,导致脚本退出码为 `1`。 2. **CCM回调服务异常** ```python ccm callback cmd result : Internal Server Error callback_result:500 ``` - 回调 CCM 接口 (`panter.myoas.com/api/v1/components`) 连续返回 500 错误,表明服务端处理失败。 3. **关键文件缺失** ```python [ERROR] utils.py-Copy: source .../about.html doesn't exits ``` - 文件 `about.html` 未找到,可能因构建流程依赖此文件导致后续步骤中断。 --- #### 解决步骤: 1. **修复Elasticsearch索引** ```bash # 检查索引命名规则(通常按年月动态生成) curl -XGET 'http://<ES_HOST>:9200/_cat/indices?v' | grep chip_components # 若索引应为 chip_components_202510(当前月份) curl -XPUT 'http://<ES_HOST>:9200/chip_components_2025_10' # 手动创建临时索引 ``` 2. **诊断CCM服务故障** - 检查 CCM 服务端日志,确认: - 接口 `/api/v1/components` 是否正常运行 - Token `x-token:2c6ebc3e7cba...` 是否有效 - 请求体 JSON 数据结构是否符合要求 3. **补全缺失文件** ```bash # 检查构建配置中 about.html 的生成逻辑 # 若为占位文件,可创建空文件临时修复: touch /work/.../target_elfs/about.html ``` 4. **增强错误处理(代码层面)** ```python # 在 utils.py 中添加索引存在性检查 if not es.indices.exists(index=index_name): es.indices.create(index=index_name) # 自动创建索引 ``` --- #### 根本原因推测: - **索引命名动态规则失效**:索引名称 `chip_components_2025_10` 未按预期生成(可能需调整为 `chip_components_202510`)。 - **服务端资源不足**:CCM 接口 500 错误可能由数据库连接超限或计算资源耗尽引起。 - **构建环境配置错误**:缺失文件表明代码拉取或预处理步骤存在漏洞。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值