"2000-12-30 12:56:31" to Timestamp

本文介绍如何将特定格式的字符串转换为Java中的Timestamp类型,并设置到预编译语句中。通过实例展示了使用DateFormat进行日期解析的过程。
String str = "2000-12-30 12:56:31";
        DateFormat df 
= DateFormat.getDateTimeInstance();
java.sql.Timestamp date 
= new java.sql.Timestamp(df.parse(str).getTime());

            preStamt.setTimestamp(
1, date); // 父-->子类,强制
 
+I(I,2024-10-31 01:30:53.167,93033979028048,11,2024-10-31 01:30:56,500016256792,000000,210030002518024,Available,0,null,2023-08-31T00:00,2024-10-29T00:00,null,000,2023-08-30 00:00:00,18:45:40,2024-10-31T00:00,01:30:53) 将上面的数据转换为GenericRow类型的数据,字段类型符合下面要求 - { name: operationType, type: STRING, description: 操作类型 } - { name: opTs, type: STRING, description: 操作时间 } - { name: scn, type: STRING, description: scn号 } - { name: seqid, type: STRING, description: seqid号 } - { name: loaderTime, type: STRING, description: 加载时间 } - { name: contno, type: STRING, description: 保单号} - { name: insuredno, type: STRING, description: 被保险人号码 } - { name: polno, type: STRING, description: 保单险种号 } - { name: statetype, type: STRING, description: 状态类型} - { name: state, type: STRING, description: 状态} - { name: statereason, type: STRING, description: 状态原因} - { name: startdate, type: TIMESTAMP, description: 状态生效时间} - { name: enddate, type: TIMESTAMP, description: 状态结束时间} - { name: remark, type: STRING, description: 备注} - { name: operator, type: STRING, description: 操作员} - { name: makedate, type: STRING, description: 入机日期} - { name: maketime, type: STRING, description: 入机时间} - { name: modifydate, type: TIMESTAMP, description: 最后一次修改日期} - { name: modifytime, type: STRING, description: 最后一次修改时间}
最新发布
08-27
Started by user distjkadm Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] timestamps [Pipeline] { [Pipeline] readJSON [Pipeline] echo [2025-08-25T12:45:26.909Z] {"vnd":["http://gerrit.scm.adc.com:8080/39441924"]} [Pipeline] echo [2025-08-25T12:45:26.916Z] compile_component: vnd android_version: 14 use_ubuntu2204: true [Pipeline] node [2025-08-25T12:45:41.927Z] Still waiting to schedule task [2025-08-25T12:45:41.927Z] There are no nodes with the label ‘(distribute_jenkins_build_label_c0b5cec5-4736-4c67-9be0-ca3878529051_dj_build_retry_0||master)&&(pb_testing||dynamic_slave_gatebuild_DG_40C90G)’ [2025-08-25T12:47:27.317Z] Running on XBUILD_NODE_LABEL-cdqnsgf6 in /work/000c/workspace/Personal_Build_Release [Pipeline] { [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2025-08-25T12:47:28.078Z] + git clone ssh://gerrit.scm.adc.com:29418/script -b rom/Personal_build/V1.0 tool --depth 1 [2025-08-25T12:47:28.078Z] Cloning into 'tool'... [2025-08-25T12:47:32.252Z] Total 341 (delta 20), reused 148 (delta 20) [2025-08-25T12:47:33.951Z] Checking out files: 25% (79/314) Checking out files: 26% (82/314) Checking out files: 27% (85/314) Checking out files: 28% (88/314) Checking out files: 29% (92/314) Checking out files: 30% (95/314) Checking out files: 31% (98/314) Checking out files: 32% (101/314) Checking out files: 33% (104/314) Checking out files: 34% (107/314) Checking out files: 35% (110/314) Checking out files: 36% (114/314) Checking out files: 37% (117/314) Checking out files: 38% (120/314) Checking out files: 39% (123/314) Checking out files: 40% (126/314) Checking out files: 41% (129/314) Checking out files: 42% (132/314) Checking out files: 43% (136/314) Checking out files: 44% (139/314) Checking out files: 45% (142/314) Checking out files: 46% (145/314) Checking out files: 47% (148/314) Checking out files: 48% (151/314) Checking out files: 49% (154/314) Checking out files: 50% (157/314) Checking out files: 51% (161/314) Checking out files: 52% (164/314) Checking out files: 53% (167/314) Checking out files: 54% (170/314) Checking out files: 55% (173/314) Checking out files: 56% (176/314) Checking out files: 57% (179/314) Checking out files: 58% (183/314) Checking out files: 59% (186/314) Checking out files: 60% (189/314) Checking out files: 61% (192/314) Checking out files: 62% (195/314) Checking out files: 63% (198/314) Checking out files: 64% (201/314) Checking out files: 65% (205/314) Checking out files: 66% (208/314) Checking out files: 67% (211/314) Checking out files: 68% (214/314) Checking out files: 69% (217/314) Checking out files: 70% (220/314) Checking out files: 71% (223/314) Checking out files: 72% (227/314) Checking out files: 73% (230/314) Checking out files: 74% (233/314) Checking out files: 75% (236/314) Checking out files: 76% (239/314) Checking out files: 77% (242/314) Checking out files: 78% (245/314) Checking out files: 79% (249/314) Checking out files: 80% (252/314) Checking out files: 81% (255/314) Checking out files: 82% (258/314) Checking out files: 83% (261/314) Checking out files: 84% (264/314) Checking out files: 85% (267/314) Checking out files: 86% (271/314) Checking out files: 87% (274/314) Checking out files: 88% (277/314) Checking out files: 89% (280/314) Checking out files: 90% (283/314) Checking out files: 91% (286/314) Checking out files: 92% (289/314) Checking out files: 93% (293/314) Checking out files: 94% (296/314) Checking out files: 95% (299/314) Checking out files: 96% (302/314) Checking out files: 97% (305/314) Checking out files: 98% (308/314) Checking out files: 99% (311/314) Checking out files: 100% (314/314) Checking out files: 100% (314/314), done. [Pipeline] sh [2025-08-25T12:47:34.265Z] + hostname [2025-08-25T12:47:34.265Z] + grep -E '^dg02-pool' [2025-08-25T12:47:34.265Z] + hostname personal-build-release [Pipeline] wrap [Pipeline] { [Pipeline] load [Pipeline] { (tool/2.0/pipeline/jenkinsfile_2.0) [Pipeline] timestamps [Pipeline] { [Pipeline] pwd [Pipeline] load [Pipeline] { (/work/000c/workspace/Personal_Build_Release/tool/2.0/pipeline/function_2.0.groovy) [Pipeline] } [Pipeline] // load [Pipeline] pwd [Pipeline] stage [Pipeline] { (IncDownloadPrepare) [Pipeline] sh [2025-08-25T12:47:35.237Z] [2025-08-25T12:47:35.237Z] + timeout 10m python -O /work/000c/workspace/Personal_Build_Release/tool/2.0/tools/pvc/get_pvc.py [2025-08-25T12:47:35.494Z] [2025-08-25T12:47:35.494Z] [BUILD_LOG 2025-08-25 20:47:35,646 INFO] init_env.py-prepare_init_param: support exact build baseline is ['SM8650_15'] [2025-08-25T12:47:35.494Z] [2025-08-25T12:47:35.494Z] [BUILD_LOG 2025-08-25 20:47:35,646 INFO] init_env.py-prepare_init_param: don't support exact build [2025-08-25T12:47:35.494Z] [2025-08-25T12:47:35.494Z] [BUILD_LOG 2025-08-25 20:47:35,647 INFO] utils.py-request_jfrog: 待签名字符串: GET&apimarket.myoas.com&/grs-ars/dispatch/apimarket/route&boot_secrit&1756126055&533565 [2025-08-25T12:47:35.494Z] [2025-08-25T12:47:35.494Z] [BUILD_LOG 2025-08-25 20:47:35,647 INFO] utils.py-request_jfrog: 计算得到的签名为: 5Pg1gkhynNLamCN88sc6u+8ksqc= [2025-08-25T12:47:35.494Z] [2025-08-25T12:47:35.494Z] [BUILD_LOG 2025-08-25 20:47:35,647 INFO] utils.py-request_jfrog: headers is {'nonce': '533565', 'timestamp': '1756126055', 'signversion': '2.0.0', 'sign': u'5Pg1gkhynNLamCN88sc6u+8ksqc=', 'appid': u'boot_secrit'} [2025-08-25T12:47:35.494Z] [2025-08-25T12:47:35.494Z] [BUILD_LOG 2025-08-25 20:47:35,673 INFO] utils.py-request_jfrog: request jfrog successfully [2025-08-25T12:47:35.494Z] [2025-08-25T12:47:35.494Z] [BUILD_LOG 2025-08-25 20:47:35,674 INFO] utils.py-Delete: delete /work/000c/workspace/Personal_Build_Release/tool/tmp/personal_version_build_poject is not dir [2025-08-25T12:47:35.751Z] [2025-08-25T12:47:35.751Z] [BUILD_LOG 2025-08-25 20:47:35,696 INFO] utils.py-ShellRun: --2025-08-25 20:47:35-- http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini [2025-08-25T12:47:35.751Z] [2025-08-25T12:47:35.751Z] Resolving gpw13.myoas.com (gpw13.myoas.com)... 10.27.34.13 [2025-08-25T12:47:35.751Z] [2025-08-25T12:47:35.751Z] Connecting to gpw13.myoas.com (gpw13.myoas.com)|10.27.34.13|:80... connected. [2025-08-25T12:47:35.751Z] [2025-08-25T12:47:35.751Z] HTTP request sent, awaiting response... 404 [2025-08-25T12:47:35.751Z] [2025-08-25T12:47:35.751Z] 2025-08-25 20:47:35 ERROR 404: (no description). [2025-08-25T12:47:35.751Z] [2025-08-25T12:47:35.751Z] [2025-08-25T12:47:35.751Z] [2025-08-25T12:47:35.751Z] [BUILD_LOG 2025-08-25 20:47:35,696 WARNING] utils.py-ShellRun: it failed to run shell command: run shell [2025-08-25T12:47:39.020Z] [2025-08-25T12:47:39.020Z] [BUILD_LOG 2025-08-25 20:47:38,711 INFO] utils.py-ShellRun: --2025-08-25 20:47:38-- http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini [2025-08-25T12:47:39.020Z] [2025-08-25T12:47:39.020Z] Resolving gpw13.myoas.com (gpw13.myoas.com)... 10.27.34.13 [2025-08-25T12:47:39.020Z] [2025-08-25T12:47:39.020Z] Connecting to gpw13.myoas.com (gpw13.myoas.com)|10.27.34.13|:80... connected. [2025-08-25T12:47:39.020Z] [2025-08-25T12:47:39.020Z] HTTP request sent, awaiting response... 404 [2025-08-25T12:47:39.020Z] [2025-08-25T12:47:39.020Z] 2025-08-25 20:47:38 ERROR 404: (no description). [2025-08-25T12:47:39.020Z] [2025-08-25T12:47:39.020Z] [2025-08-25T12:47:39.020Z] [2025-08-25T12:47:39.020Z] [BUILD_LOG 2025-08-25 20:47:38,711 WARNING] utils.py-ShellRun: it failed to run shell command: run shell [2025-08-25T12:47:42.288Z] [2025-08-25T12:47:42.288Z] [BUILD_LOG 2025-08-25 20:47:41,726 INFO] utils.py-ShellRun: --2025-08-25 20:47:41-- http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini [2025-08-25T12:47:42.288Z] [2025-08-25T12:47:42.288Z] Resolving gpw13.myoas.com (gpw13.myoas.com)... 10.27.34.13 [2025-08-25T12:47:42.288Z] [2025-08-25T12:47:42.288Z] Connecting to gpw13.myoas.com (gpw13.myoas.com)|10.27.34.13|:80... connected. [2025-08-25T12:47:42.288Z] [2025-08-25T12:47:42.288Z] HTTP request sent, awaiting response... 404 [2025-08-25T12:47:42.288Z] [2025-08-25T12:47:42.288Z] 2025-08-25 20:47:41 ERROR 404: (no description). [2025-08-25T12:47:42.288Z] [2025-08-25T12:47:42.288Z] [2025-08-25T12:47:42.288Z] [2025-08-25T12:47:42.288Z] [BUILD_LOG 2025-08-25 20:47:41,726 WARNING] utils.py-ShellRun: it failed to run shell command: run shell [2025-08-25T12:47:44.807Z] [2025-08-25T12:47:44.807Z] [BUILD_LOG 2025-08-25 20:47:44,745 INFO] utils.py-ShellRun: --2025-08-25 20:47:44-- http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini [2025-08-25T12:47:44.807Z] [2025-08-25T12:47:44.807Z] Resolving gpw13.myoas.com (gpw13.myoas.com)... 10.27.34.13 [2025-08-25T12:47:44.807Z] [2025-08-25T12:47:44.807Z] Connecting to gpw13.myoas.com (gpw13.myoas.com)|10.27.34.13|:80... connected. [2025-08-25T12:47:44.807Z] [2025-08-25T12:47:44.807Z] HTTP request sent, awaiting response... 404 [2025-08-25T12:47:44.807Z] [2025-08-25T12:47:44.807Z] 2025-08-25 20:47:44 ERROR 404: (no description). [2025-08-25T12:47:44.807Z] [2025-08-25T12:47:44.807Z] [2025-08-25T12:47:44.807Z] [2025-08-25T12:47:44.807Z] [BUILD_LOG 2025-08-25 20:47:44,745 WARNING] utils.py-ShellRun: it failed to run shell command: run shell [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] [BUILD_LOG 2025-08-25 20:47:44,745 ERROR] init_env.py-_copy_baseline_file: ShellRunError('wget http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini -O /work/000c/workspace/Personal_Build_Release/tool/tmp/config/baseline/compile.ini',) [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] Traceback (most recent call last): [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/tools/pvc/get_pvc.py", line 135, in <module> [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] fast_tool_dont_filter, param_info = get_param_info() [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/tools/pvc/get_pvc.py", line 130, in get_param_info [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] return init_env.get_param_info() [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/init_env.py", line 398, in get_param_info [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] self._copy_baseline_file() [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/init_env.py", line 164, in _copy_baseline_file [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] raise BaselineFileException('copy baseline file failed', self.err_code_file) [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] BaselineFileException: BaselineFileException('copy baseline file failed',) [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] [2025-08-25T12:47:44.808Z] [ERROR] increase download env prepare failed, please use normal download! [Pipeline] echo [2025-08-25T12:47:44.831Z] [2025-08-25T12:47:44.831Z] [Warnning]: get increase env fail or timeout:10min [Pipeline] echo [2025-08-25T12:47:44.845Z] [2025-08-25T12:47:44.845Z] env.INCRE_CODE_DOWNLOAD=false [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (InitParameter) [Pipeline] echo [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] Pipeline work on: XBUILD_NODE_LABEL-cdqnsgf6 [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] --- Parameters From Web --- [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] baseline_name = MT6789_14 [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] baseline_path = http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/ [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] compile_target = version [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] build_mode = component_new [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] compile_type = user [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] module_info = [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] build_id = 6823019 [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] user_sn = V06921206 [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] task_sn = BUS06823019 [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] change_url_list = [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] {"vnd":["http://gerrit.scm.adc.com:8080/39441924"]} [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] product_variant = 24695 [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] --- Set Env Parameters --- [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] PIPELINE_BLUEOCEAN_URL = [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] http://10.234.27.206:8089/jenkins/blue/organizations/jenkins/Personal_Build_Release/detail/Personal_Build_Release/241540/pipeline [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] BUILD_SRC = /work/000c/workspace/Personal_Build_Release/pro [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] BUILD_LOG = /work/000c/workspace/Personal_Build_Release/pro/build.log [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] ERROR_CODE_FILE = /work/000c/workspace/Personal_Build_Release/pro/error_code.tmp [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] NODE_NAME = XBUILD_NODE_LABEL-cdqnsgf6 [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] BUILD_PRODUCT_VARIANT = 24695 [2025-08-25T12:47:45.105Z] [2025-08-25T12:47:45.105Z] [Pipeline] sh [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] + python /work/000c/workspace/Personal_Build_Release/tool/callback/callback_on_pipeline_start.py https://noah-gcode.myoas.com/scrs/cheetah/api/it/allowVisit/directBusBuildCallBack buildId=6823019 buildStatus=1 'nodeStartTime=2025-08-25 20:47:44' 'nodeEndTime=2025-08-25 20:47:45' buildLogUrl=http://10.234.27.206:8089/jenkins/blue/organizations/jenkins/Personal_Build_Release/detail/Personal_Build_Release/241540/pipeline buildNumber=241540 [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] ('param_list:', ['https://noah-gcode.myoas.com/scrs/cheetah/api/it/allowVisit/directBusBuildCallBack', 'buildId=6823019', 'buildStatus=1', 'nodeStartTime=2025-08-25 20:47:44', 'nodeEndTime=2025-08-25 20:47:45', 'buildLogUrl=http://10.234.27.206:8089/jenkins/blue/organizations/jenkins/Personal_Build_Release/detail/Personal_Build_Release/241540/pipeline', 'buildNumber=241540']) [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] ('data_dict:', {'buildLogUrl': 'http://10.234.27.206:8089/jenkins/blue/organizations/jenkins/Personal_Build_Release/detail/Personal_Build_Release/241540/pipeline', 'buildId': '6823019', 'buildNumber': '241540', 'nodeEndTime': '2025-08-25 20:47:45', 'buildStatus': '1', 'nodeStartTime': '2025-08-25 20:47:44'}) [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] [Info:] requests url: https://noah-gcode.myoas.com/scrs/cheetah/api/it/allowVisit/directBusBuildCallBack [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] [Info:] requests json: {u'message': u'\u6267\u884c\u6210\u529f', u'code': 200} [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] [Info:] callback successfully. { [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] "code" : 200, [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] "message" : "执行成功" [2025-08-25T12:47:45.389Z] [2025-08-25T12:47:45.389Z] } [Pipeline] sh [2025-08-25T12:47:45.675Z] [2025-08-25T12:47:45.675Z] + python /work/000c/workspace/Personal_Build_Release/tool/callback/callback_to_sql_start.py /work/000c/workspace/Personal_Build_Release/tool/2.0/config/mysql_for_compile.json task_sn=BUS06823019 build_status=SUCCESS stageName=init_parameter 'nodeStartTime=2025-08-25 20:47:44' 'nodeEndTime=2025-08-25 20:47:45' baseline_name=MT6789_14 product=24695 compile_component=vnd [2025-08-25T12:47:45.675Z] [2025-08-25T12:47:45.675Z] ('param_list:', ['/work/000c/workspace/Personal_Build_Release/tool/2.0/config/mysql_for_compile.json', 'task_sn=BUS06823019', 'build_status=SUCCESS', 'stageName=init_parameter', 'nodeStartTime=2025-08-25 20:47:44', 'nodeEndTime=2025-08-25 20:47:45', 'baseline_name=MT6789_14', 'product=24695', 'compile_component=vnd']) [2025-08-25T12:47:45.675Z] [2025-08-25T12:47:45.675Z] ('data_dict:', {'build_status': 'SUCCESS', 'product': '24695', 'init_parameter_stage': 1, 'task_sn': 'BUS06823019', 'baseline_name': 'MT6789_14', 'compile_component': 'vnd'}) [2025-08-25T12:47:45.675Z] [2025-08-25T12:47:45.675Z] ('sql_json:', {u'database': u'appsign', u'host': u'sign-appsign-dgzx-2.mysql.oppo.test', u'user': u'appsignmmr', u'table': u'bus_build_status_records', u'password': u'MczPM20XCNOvjlo1vxm5rTR8xNGDQlC7775WjMRRCD1jSEIVKeq815_Ozx7_Eg16', u'port': 33066}) [2025-08-25T12:47:45.675Z] [2025-08-25T12:47:45.675Z] Error: 255 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (PrepareParams) [Pipeline] sh [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] + python -O /work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/init_env.py -s /work/000c/workspace/Personal_Build_Release/tool -c /work/000c/workspace/Personal_Build_Release/config -p /work/000c/workspace/Personal_Build_Release/pro [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [BUILD_LOG 2025-08-25 20:47:45,868 INFO] init_env.py-prepare_init_param: support exact build baseline is ['SM8650_15'] [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [BUILD_LOG 2025-08-25 20:47:45,868 INFO] init_env.py-prepare_init_param: don't support exact build [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [BUILD_LOG 2025-08-25 20:47:45,868 INFO] utils.py-request_jfrog: 待签名字符串: GET&apimarket.myoas.com&/grs-ars/dispatch/apimarket/route&boot_secrit&1756126065&568929 [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [BUILD_LOG 2025-08-25 20:47:45,868 INFO] utils.py-request_jfrog: 计算得到的签名为: AZOivzouefvY8fVTOFmuXMTbB8g= [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [BUILD_LOG 2025-08-25 20:47:45,869 INFO] utils.py-request_jfrog: headers is {'nonce': '568929', 'timestamp': '1756126065', 'signversion': '2.0.0', 'sign': u'AZOivzouefvY8fVTOFmuXMTbB8g=', 'appid': u'boot_secrit'} [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [BUILD_LOG 2025-08-25 20:47:45,890 INFO] utils.py-request_jfrog: request jfrog successfully [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [BUILD_LOG 2025-08-25 20:47:45,976 INFO] utils.py-ShellRun: --2025-08-25 20:47:45-- http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] Resolving gpw13.myoas.com (gpw13.myoas.com)... 10.27.34.13 [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] Connecting to gpw13.myoas.com (gpw13.myoas.com)|10.27.34.13|:80... connected. [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] HTTP request sent, awaiting response... 404 [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] 2025-08-25 20:47:45 ERROR 404: (no description). [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [2025-08-25T12:47:46.017Z] [BUILD_LOG 2025-08-25 20:47:45,977 WARNING] utils.py-ShellRun: it failed to run shell command: run shell [2025-08-25T12:47:49.284Z] [2025-08-25T12:47:49.284Z] [BUILD_LOG 2025-08-25 20:47:48,994 INFO] utils.py-ShellRun: --2025-08-25 20:47:48-- http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini [2025-08-25T12:47:49.284Z] [2025-08-25T12:47:49.284Z] Resolving gpw13.myoas.com (gpw13.myoas.com)... 10.27.34.13 [2025-08-25T12:47:49.284Z] [2025-08-25T12:47:49.284Z] Connecting to gpw13.myoas.com (gpw13.myoas.com)|10.27.34.13|:80... connected. [2025-08-25T12:47:49.284Z] [2025-08-25T12:47:49.284Z] HTTP request sent, awaiting response... 404 [2025-08-25T12:47:49.284Z] [2025-08-25T12:47:49.284Z] 2025-08-25 20:47:48 ERROR 404: (no description). [2025-08-25T12:47:49.284Z] [2025-08-25T12:47:49.284Z] [2025-08-25T12:47:49.284Z] [2025-08-25T12:47:49.284Z] [BUILD_LOG 2025-08-25 20:47:48,994 WARNING] utils.py-ShellRun: it failed to run shell command: run shell [2025-08-25T12:47:52.549Z] [2025-08-25T12:47:52.549Z] [BUILD_LOG 2025-08-25 20:47:52,009 INFO] utils.py-ShellRun: --2025-08-25 20:47:51-- http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini [2025-08-25T12:47:52.549Z] [2025-08-25T12:47:52.549Z] Resolving gpw13.myoas.com (gpw13.myoas.com)... 10.27.34.13 [2025-08-25T12:47:52.549Z] [2025-08-25T12:47:52.549Z] Connecting to gpw13.myoas.com (gpw13.myoas.com)|10.27.34.13|:80... connected. [2025-08-25T12:47:52.549Z] [2025-08-25T12:47:52.549Z] HTTP request sent, awaiting response... 404 [2025-08-25T12:47:52.549Z] [2025-08-25T12:47:52.549Z] 2025-08-25 20:47:52 ERROR 404: (no description). [2025-08-25T12:47:52.549Z] [2025-08-25T12:47:52.549Z] [2025-08-25T12:47:52.549Z] [2025-08-25T12:47:52.549Z] [BUILD_LOG 2025-08-25 20:47:52,009 WARNING] utils.py-ShellRun: it failed to run shell command: run shell [2025-08-25T12:47:55.062Z] [2025-08-25T12:47:55.062Z] [BUILD_LOG 2025-08-25 20:47:55,029 INFO] utils.py-ShellRun: --2025-08-25 20:47:55-- http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini [2025-08-25T12:47:55.062Z] [2025-08-25T12:47:55.062Z] Resolving gpw13.myoas.com (gpw13.myoas.com)... 10.27.34.13 [2025-08-25T12:47:55.062Z] [2025-08-25T12:47:55.062Z] Connecting to gpw13.myoas.com (gpw13.myoas.com)|10.27.34.13|:80... connected. [2025-08-25T12:47:55.062Z] [2025-08-25T12:47:55.062Z] HTTP request sent, awaiting response... 404 [2025-08-25T12:47:55.062Z] [2025-08-25T12:47:55.062Z] 2025-08-25 20:47:55 ERROR 404: (no description). [2025-08-25T12:47:55.062Z] [2025-08-25T12:47:55.062Z] [2025-08-25T12:47:55.062Z] [2025-08-25T12:47:55.062Z] [BUILD_LOG 2025-08-25 20:47:55,029 WARNING] utils.py-ShellRun: it failed to run shell command: run shell [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] [BUILD_LOG 2025-08-25 20:47:55,029 ERROR] init_env.py-_copy_baseline_file: ShellRunError('wget http://gpw13.myoas.com/artifactory/phone-snapshot-local/TSW/MT6789_14/Sonic-S/24695/Daily/PublicMarket/Release14.1.0/GDPR/user/14.1.0.3_2025080705400000_noroot/compile.ini -O /work/000c/workspace/Personal_Build_Release/config/baseline/compile.ini',) [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] Traceback (most recent call last): [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/init_env.py", line 514, in <module> [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] init_env.export_var() [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/init_env.py", line 383, in export_var [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] self.FAST_TOOL_DONT_FILTER = self._get_fast_tool_dont_filter() [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/init_env.py", line 362, in _get_fast_tool_dont_filter [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] if self.build_json['vnd']['OPLUS_CCM_PLATFORM'] in FAST_TOOL_DONT_FILTER_PLATFORM: [2025-08-25T12:47:55.063Z] [2025-08-25T12:47:55.063Z] TypeError: 'NoneType' object has no attribute '__getitem__' [Pipeline] } [Pipeline] // stage [Pipeline] echo [2025-08-25T12:47:55.110Z] [2025-08-25T12:47:55.110Z] err_A=hudson.AbortException: script returned exit code 1 [Pipeline] echo [2025-08-25T12:47:55.118Z] [2025-08-25T12:47:55.118Z] err_B=hudson.AbortException: script returned exit code 1 [Pipeline] stage [Pipeline] { (Archive) [Pipeline] echo [2025-08-25T12:47:55.144Z] [2025-08-25T12:47:55.144Z] timeout:[download_timeout:90, compile_timeout:300, archive_timeout:120] [Pipeline] timeout [2025-08-25T12:47:55.150Z] [2025-08-25T12:47:55.150Z] Timeout set to expire in 2 hr 0 min [Pipeline] { [Pipeline] sh [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] + python -O /work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/package.py -c /work/000c/workspace/Personal_Build_Release/config/export_param.json -s FAILURE [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] Traceback (most recent call last): [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/package.py", line 250, in <module> [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] raise Exception("{sign}{trace}{sign}".format(sign=sign, trace=traceback.format_exc())) [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] Exception: ============================================================ [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] Traceback (most recent call last): [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/package.py", line 247, in <module> [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] Package(options.cfgFilePath, options.pipelineStatus)() [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/package.py", line 40, in __init__ [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] self.param_dict = GetParamInfo(param_file) [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/tools/utils.py", line 1001, in GetParamInfo [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] with open(param_file, 'r') as f: [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] IOError: [Errno 2] No such file or directory: '/work/000c/workspace/Personal_Build_Release/config/export_param.json' [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] ============================================================ [2025-08-25T12:47:55.443Z] [2025-08-25T12:47:55.443Z] [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] echo [2025-08-25T12:47:55.519Z] [2025-08-25T12:47:55.519Z] err_C=hudson.AbortException: script returned exit code 1 [Pipeline] echo [2025-08-25T12:47:55.525Z] [2025-08-25T12:47:55.525Z] err_D=hudson.AbortException: script returned exit code 1 [Pipeline] stage [Pipeline] { (CleanIncEnv) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (SendBuildData) [Pipeline] echo [2025-08-25T12:47:55.621Z] [2025-08-25T12:47:55.621Z] currentBuild_result=FAILURE [Pipeline] sh [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] + python -O /work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/end.py -c /work/000c/workspace/Personal_Build_Release/config/export_param.json -r FAILURE -t 148816:0:0:0 [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] Traceback (most recent call last): [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/end.py", line 290, in <module> [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] raise Exception("{sign}{trace}{sign}".format(sign=sign, trace=traceback.format_exc())) [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] Exception: ============================================================ [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] Traceback (most recent call last): [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/end.py", line 287, in <module> [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] End(options.cfgFilePath, options.buildResult, options.costTime)() [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/build/common_build/end.py", line 45, in __init__ [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] self.param_dict = GetParamInfo(param_file) [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] File "/work/000c/workspace/Personal_Build_Release/tool/2.0/tools/utils.py", line 1001, in GetParamInfo [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] with open(param_file, 'r') as f: [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] IOError: [Errno 2] No such file or directory: '/work/000c/workspace/Personal_Build_Release/config/export_param.json' [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] ============================================================ [2025-08-25T12:47:55.912Z] [2025-08-25T12:47:55.912Z] [Pipeline] sh [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] + python /work/000c/workspace/Personal_Build_Release/tool/callback/callback_on_pipeline_start.py https://noah-gcode.myoas.com/scrs/cheetah/api/it/allowVisit/directBusBuildCallBack buildId=6823019 buildStatus=-2 'nodeStartTime=2025-08-25 20:47:44' 'nodeEndTime=2025-08-25 20:47:55' buildLogUrl=http://10.234.27.206:8089/jenkins/blue/organizations/jenkins/Personal_Build_Release/detail/Personal_Build_Release/241540/pipeline buildNumber=241540 [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] ('param_list:', ['https://noah-gcode.myoas.com/scrs/cheetah/api/it/allowVisit/directBusBuildCallBack', 'buildId=6823019', 'buildStatus=-2', 'nodeStartTime=2025-08-25 20:47:44', 'nodeEndTime=2025-08-25 20:47:55', 'buildLogUrl=http://10.234.27.206:8089/jenkins/blue/organizations/jenkins/Personal_Build_Release/detail/Personal_Build_Release/241540/pipeline', 'buildNumber=241540']) [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] ('data_dict:', {'buildLogUrl': 'http://10.234.27.206:8089/jenkins/blue/organizations/jenkins/Personal_Build_Release/detail/Personal_Build_Release/241540/pipeline', 'buildId': '6823019', 'buildNumber': '241540', 'nodeEndTime': '2025-08-25 20:47:55', 'buildStatus': '-2', 'nodeStartTime': '2025-08-25 20:47:44'}) [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] [Info:] requests url: https://noah-gcode.myoas.com/scrs/cheetah/api/it/allowVisit/directBusBuildCallBack [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] [Info:] requests json: {u'message': u'\u6267\u884c\u6210\u529f', u'code': 200} [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] [Info:] callback successfully. { [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] "code" : 200, [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] "message" : "执行成功" [2025-08-25T12:47:56.207Z] [2025-08-25T12:47:56.207Z] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // load [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // timestamps [Pipeline] End of Pipeline Finished: FAILURE ################ df -h ########################### Filesystem Size Used Avail Use% Mounted on udev 45G 0 45G 0% /dev tmpfs 8.9G 14M 8.9G 1% /run /dev/vda1 1.9T 15G 1.8T 1% / tmpfs 45G 176K 45G 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 45G 0 45G 0% /sys/fs/cgroup tmpfs 8.9G 24K 8.9G 1% /run/user/108 /dev/vdc 3.5T 2.8T 515G 85% /oppo/oppo_mirror /dev/vdd 296G 70G 211G 25% /oppo/opt /dev/vde 394G 240G 135G 65% /oppo/pkg tmpfs 8.9G 0 8.9G 0% /run/user/0 ################ free -h ######################### total used free shared buff/cache available Mem: 88G 814M 83G 15M 4.2G 81G Swap: 111G 0B 111G ################ nproc ########################### 67
08-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值