009_JSONFunction对象

本文介绍如何通过JSONFunction对象实现JavaScript函数与Java程序之间的文本交互,并提供了完整的示例代码,包括MyJSONFunction.java和index.jsp的具体实现。

1. JSONFunction对象是JavaScript函数的文本

1.1. JSONFunction(String text) 构造函数。

1.2. JSONFunction(String[] params, String text) 构造函数。

1.3. String[] getParams() 参数列表。

1.4. String getText() 函数文本。

1.5. String toString() 返回文本。

2. JSONFunction和JavaScript沟通

2.1. 新建一个名为JsonLibJSONFunction动态的Web工程, 同时添加相关jar包。

2.2. 编写MyJSONFunction.java

package com.lywgames.jsonlib;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONFunction;
import net.sf.json.JSONObject;

/**这个JSONFunction实在感觉没什么用
 * 1. JSONFunction对象是JavaScript函数的文本
 * 1.1. JSONFunction(String text) 构造函数
 * 1.2. JSONFunction(String[] params, String text) 构造函数
 * 1.3. String[] getParams() 参数列表
 * 1.4. String getText() 函数文本
 * 1.5. String toString() 返回文本
 */
public class MyJSONFunction extends HttpServlet {
	private static final long serialVersionUID = 1L;

	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		String myFun = req.getParameter("myFun");
		String[] params = {"2988", "3988", "4988"};
		
//		创建JSONFunction对象, 指明参数列表和函数文本
		JSONFunction fun = new JSONFunction(params, myFun) ;
		
		JSONObject jsonObject = new JSONObject();
		jsonObject.element("getText", fun.getText()+" ").element("getParams", fun.getParams());
		resp.getWriter().write(jsonObject.toString());
	}
	
	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		doGet(req, resp);
	}
}

2.3. 编写index.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>主页</title>
	</head>
	<body>
		<script>
			var myFun = function(x, y, z){return Number(x) + Number(y) + Number(z);};
			  	
			// 创建XMLHttpRequest对象。XMLHttpRequest对象用于和服务器交换数据。
			var xmlHttp = new XMLHttpRequest();	
			
			// 在onreadystatechange事件中, 我们规定当服务器响应已做好被处理的准备时所执行的任务。
			xmlHttp.onreadystatechange = function()
			{
				// 请求完成, 服务器返回状态OK。
				if(xmlHttp.readyState == 4 && xmlHttp.status == 200)
				{
					// 获取XML响应
					var data = xmlHttp.responseText;	
					var obj = JSON.parse(data);
			    	document.write(obj.getText + "<br />");
			    	obj.getText = eval("(" + obj.getText + ")");
			    	document.write("计算结果: " + obj.getText(obj.getParams[0], obj.getParams[1], obj.getParams[2]));
				}
			}
		
			// 使用XMLHttpRequest对象的open()和send()方法, 发送post请求到服务器。
			xmlHttp.open("post", "MyJSONFunction.action", true);
			xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=UTF-8");
			xmlHttp.send("myFun="+encodeURIComponent(myFun.toString()));
		</script>
	</body>
</html>

2.4. 配置web.xml

2.5. 运行项目

{"_declaration":{"attributes":{"version":"1.0","encoding":"utf-8"}},"_elements":[{"_type":"element","_name":"watchface","attributes":{"watch_category":"11"},"_elements":[{"_type":"element","_name":"element","attributes":{"label":"background","is_support_option":"false","res_preview":""},"_elements":[{"_type":"element","_name":"layer","attributes":{"index":"1","draw_type":"single_res","ambient_mode":"1","res_name":"A100_002.png","res_position":"0,0"}},{"_type":"element","_name":"layer","attributes":{"index":"2","draw_type":"single_res","ambient_mode":"0","res_name":"A100_003.png","res_position":"0,0"}}]},{"_type":"element","_name":"element","attributes":{"label":"date","is_support_option":"false","res_preview":""},"_elements":[{"_type":"element","_name":"layer","attributes":{"index":"1","draw_type":"selected_res","value_type":"51","ambient_mode":"0","res_name":"A100_004.png,A100_004.png,A100_005.png,A100_006.png,A100_007.png,A100_008.png,A100_009.png,A100_010.png,A100_011.png,A100_012.png,A100_013.png,A100_014.png,A100_015.png","res_position":"0,0"}},{"_type":"element","_name":"layer","attributes":{"index":"2","draw_type":"selected_res","value_type":"70","ambient_mode":"0","res_name":"A100_016.png,A100_017.png,A100_018.png,A100_019.png","res_position":"0,0"}},{"_type":"element","_name":"layer","attributes":{"index":"3","draw_type":"selected_res","value_type":"71","ambient_mode":"0","res_name":"A100_020.png,A100_021.png,A100_022.png,A100_023.png,A100_024.png,A100_025.png,A100_026.png,A100_027.png,A100_028.png,A100_029.png","res_position":"0,0"}},{"_type":"element","_name":"layer","attributes":{"index":"4","draw_type":"selected_res","value_type":"52","ambient_mode":"0","res_name":"A100_030.png,A100_030.png,A100_031.png,A100_032.png,A100_033.png,A100_034.png,A100_035.png,A100_036.png","res_position":"0,0"}}]},{"_type":"element","_name":"element","attributes":{"label":"time","is_support_option":"false","res_preview":""},"_elements":[{"_type":"element","_name":"layer","attributes":{"index":"1","draw_type":"hand_res","value_type":"150","ambient_mode":"0","res_left":"A100_037.png","rotate_start_angel":"0","rotate_end_angel":"360","rotate_point_hand":"25,240","rotate_rect":"7,7,466,466"}},{"_type":"element","_name":"layer","attributes":{"index":"2","draw_type":"hand_res","value_type":"153","ambient_mode":"0","res_left":"A100_038.png","rotate_start_angel":"0","rotate_end_angel":"360","rotate_point_hand":"25,240","rotate_rect":"7,7,466,466"}},{"_type":"element","_name":"layer","attributes":{"index":"3","draw_type":"hand_res","value_type":"154","ambient_mode":"0","res_left":"A100_039.png","rotate_start_angel":"0","rotate_end_angel":"360","rotate_point_hand":"25,240","rotate_rect":"7,7,466,466"}}]}]}]}这个JSON数据,帮我把他的层级梳理一下,做成一个类对象处理
08-13
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、付费专栏及课程。

余额充值