php default errors,PHP Errors Basics_编程学问网

本文探讨了PHP中遇到的各种内部错误类型,如何通过error_reporting设置控制错误报告,以及如何在开发和生产环境中正确处理和记录错误。特别关注了显示错误消息、日志记录以及自定义错误处理的重要性。

Basics

PHP reports errors in response to a number of internal error conditions. These may be used to signal a number of different conditions, and can be displayed and/or logged as required.

Every error that PHP generates includes a type. A list of these types is available, along with a short description of their behaviour and how they can be caused.

Handling errors with PHP

If no error handler is set, then PHP will handle any errors that occur according to its configuration. Which errors are reported and which are ignored is controlled by the error_reporting php.ini directive, or at runtime by calling

In a development environment, you should always set error_reporting to E_ALL, as you need to be aware of and fix the issues raised by PHP. In production, you may wish to set this to a less verbose level such as E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, but in many cases E_ALL is also appropriate, as it may provide early warning of potential issues.

What PHP does with these errors depends on two further php.ini directives. display_errors controls whether the error is shown as part of the script's output. This should always be disabled in a production environment, as it can include confidential information such as database passwords, but is often useful to enable in development, as it ensures immediate reporting of issues.

In addition to displaying errors, PHP can log errors when the log_errors directive is enabled. This will log any errors to the file or syslog defined by error_log. This can be extremely useful in a production environment, as you can log errors that occur and then generate reports based on those errors.

User error handlers

If PHP's default error handling is inadequate, you can also handle many types of error with your own custom error handler by installing it with

上面是我的脚本,但是现在有报错,报错信息如下: [2025-10-25 08:27:17,312][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:78][__init__] uuid_path -> /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:17,312][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:79][__init__] uuid_str -> 6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:17,860][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:100][start_analysis] ============LYLYLY=============== [2025-10-25 08:27:17,860][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:101][start_analysis] ============task_info=============== [2025-10-25 08:27:17,860][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:102][start_analysis] task_info -> {'resultTopic': 'AnalyseTask_EMUI2web', 'topic': 'AnalyseTask_web2EMUI', 'common_info': {'syn_id': '', 'source_description': '', 'analysis_tool': ['Hubble'], 'extended_info': {}, 'happen_time': '', 'field': '', 'field2': '', 'betano': '', 'task_class': '', 'source': 'LogkitWeb', 'version': '', 'dtsno': '', 'eventid': '', 'product': '', 'log_download_list': [[['RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306.zip', 'https://aresocean.huawei.com/hubble/hubblesvc/hubbleportal/report/downloadLogByDate?fileName=b4f1ecb5e0a9402080e9a8cd715f1231_RemoteLog_commercial_LMR-AL10_LMU-AL10+5.1.0.227%28SP12C00E226R7P8%29_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg%3D_PP1758525182974A-001_20250922151306.zip&date=20251025', '']]], 'errorcode1': '', 'errorcode3': '', 'errorcode2': '', 'errorcode4': '', 'batch_or_not': False, 'logsource': 'iDebug', 'task_uuid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'username': 'HubbleTest', 'logtype': '', 'sn': '', 'beta_com': 'beta'}, 'user_defined_info': {'ReliabilityWebTool': {'eventid': '', 'remark': '', 'chip_platform': '', 'betatype': '', 'times': '', 'project': '', 'eid': '', 'faulttype': '', 'conclusion': ''}, 'Hubble': {'analysis_type': ['analysis'], 'selfvali': '', 'analysis_field': '', 'dev': 'False', 'script_vali': {'fault_name': '湖内稳定与流畅', 'input_interface_demo': '', 'input_interface_standard': '', 'script_name': 'eqr7plLp_stability_script_third_donghu.py', 'script_url': '/opt/samba3/ScriptValidation/20251025/0l8czmAA_eqr7plLp_stability_script_third_donghu.py', 'fault_en': ''}}}, 'filename': None, 'filepath': None, 'runfilename': None, 'runfilepath': None, 'device': '', 'callingsource': 'LogkitWeb', 'logsource': 'iDebug', 'product': '', 'version': '', 'time': None, 'field': '', 'errorcode1': '', 'errorcode2': '', 'errorcode3': '', 'errorcode4': '', 'logfiles_url': [{'url': 'https://aresocean.huawei.com/hubble/hubblesvc/hubbleportal/report/downloadLogByDate?fileName=b4f1ecb5e0a9402080e9a8cd715f1231_RemoteLog_commercial_LMR-AL10_LMU-AL10+5.1.0.227%28SP12C00E226R7P8%29_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg%3D_PP1758525182974A-001_20250922151306.zip&date=20251025', 'name': 'RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306.zip'}], 'description': None, 'userinfo': None, 'uuid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'log_consume_date': None, 'uploadfiles': [], 'ocean_dest': '/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d'} [2025-10-25 08:27:17,861][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:103][start_analysis] ====task_info结束======== [2025-10-25 08:27:17,861][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:105][start_analysis] uuid -> /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:17,861][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:106][start_analysis] =======uuid结束============== [2025-10-25 08:27:18,013][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:102][unpack_task_info] Kafka result topic is : [AnalyseTask_EMUI2web] [2025-10-25 08:27:18,167][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [receive_task] 运行时间 0.15 秒 [2025-10-25 08:27:18,316] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:167] [insert_analyse_runtime_data] hubble_runtime_measurement 缺失日志基础信息 type:1 data:{'model': 'receive_task', 's': 1761352038, 'e': 1761352038, 'd': 0} [2025-10-25 08:27:18,317][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:179][send_msg_to_web] 发送Kafka消息的Topic: [AnalyseTask_EMUI2web], msg_dict: [{'quesid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'resultpath': '/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'result': -2, 'updatefiles': '', 'error_detail': '', 'processflag': ''}] [2025-10-25 08:27:19,248][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/doorman/LogDownloader.py:215][stream_download] 日志下载完成, 路径名称: [/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306.zip] [2025-10-25 08:27:19,252][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:706][check_mbb_log] !start check mbb : [{'url': 'https://aresocean.huawei.com/hubble/hubblesvc/hubbleportal/report/downloadLogByDate?fileName=b4f1ecb5e0a9402080e9a8cd715f1231_RemoteLog_commercial_LMR-AL10_LMU-AL10+5.1.0.227%28SP12C00E226R7P8%29_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg%3D_PP1758525182974A-001_20250922151306.zip&date=20251025', 'name': 'RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306.zip'}] [2025-10-25 08:27:19,253][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:718][check_mbb_log] match_pattern : ^[A-Za-z]{1,3}\d+.* ,logfile_fullname : RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306.zip [2025-10-25 08:27:19,254][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:724][check_mbb_log] !check end, skip mbb [2025-10-25 08:27:19,254][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:179][send_msg_to_web] 发送Kafka消息的Topic: [AnalyseTask_EMUI2web], msg_dict: [{'quesid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'resultpath': '/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'result': -3, 'updatefiles': '', 'error_detail': '', 'processflag': ''}] [2025-10-25 08:27:22,984][WARNING][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/doorman/LogUnzipper.py:352][unTAR] 压缩文件[/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306/remoteLog/charge-log/charge-log-000.tar/charge-log-000.tar]损坏 [2025-10-25 08:27:23,671][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:179][send_msg_to_web] 发送Kafka消息的Topic: [AnalyseTask_EMUI2web], msg_dict: [{'quesid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'resultpath': '', 'result': 200, 'updatefiles': '', 'error_detail': '压缩文件[/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306/remoteLog/charge-log/charge-log-000.tar/charge-log-000.tar]损坏', 'processflag': ''}] [2025-10-25 08:27:24,237][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/doorman/LogUnzipper.py:69][unzip] 解压完成, 顶层路径:[/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d] [2025-10-25 08:27:24,237][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [download_unzip] 运行时间 5.92 秒 [2025-10-25 08:27:24,390] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:167] [insert_analyse_runtime_data] hubble_runtime_measurement 缺失日志基础信息 type:1 data:{'model': 'download_unzip', 's': 1761352038, 'e': 1761352044, 'd': 6} [2025-10-25 08:27:24,494][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogLobbyManager.py:41][read_basics] 增加性能工厂habor_data_param参数 [2025-10-25 08:27:24,498][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:688][copyFile2ocean] copy2ocean tmp_path:/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d ocean_path:/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d file_name:loginfo.json [2025-10-25 08:27:24,498][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:693][copyFile2ocean] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/loginfo.json to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:24,522][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:695][copyFile2ocean] copy status:0 [2025-10-25 08:27:24,522][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:179][send_msg_to_web] 发送Kafka消息的Topic: [AnalyseTask_EMUI2web], msg_dict: [{'quesid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'resultpath': '/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'result': 100, 'updatefiles': '', 'error_detail': '', 'processflag': ''}] [2025-10-25 08:27:24,841] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/fault_scene_script/database.py] [line:470] [create_sqlite_db] 本地db数据创建成功,db路径为:/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/perf_data.db, 表名为:hubble_aa_perf_resource_t [2025-10-25 08:27:24,842][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:171][prepare] perf_data.db创建成功,路径为/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/perf_data.db [2025-10-25 08:27:24,842][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:303][extract_operation_info_from_logs] 对用户使用场景及焦点窗口抽取 [2025-10-25 08:27:25,005][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/user_descriptions_info/user_logs_operation.py:815][start_extraction] user_operation_sequence start_extraction... [2025-10-25 08:27:25,005][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/user_descriptions_info/user_logs_operation.py:824][start_extraction] 当前故障时间为:20250922151306 [2025-10-25 08:27:25,005][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/user_descriptions_info/user_logs_operation.py:829][start_extraction] 当前年份为:2025 [2025-10-25 08:27:25,006][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/user_descriptions_info/user_logs_operation.py:69][get_file] ======>获取日志文件 [2025-10-25 08:27:25,038][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/user_descriptions_info/user_logs_operation.py:162][find_log] ======>获取相关日志 [2025-10-25 08:27:25,045][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/user_descriptions_info/user_logs_operation.py:151][get_scene_sequence_by_focus] 通过focus关键字未找到场景数据,通过wm关键字查询场景数据 [2025-10-25 08:27:25,058] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:152] [insert_Resources_data] 开始往数据库发送['场景分析资源']数据 [2025-10-25 08:27:25,362][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:126][producer_batch_send] kafka发送时间:0.30354833602905273 [2025-10-25 08:27:25,365] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:165] [insert_Resources_data] ['场景分析资源']发送数据量:1 [2025-10-25 08:27:25,365] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:168] [insert_Resources_data] type_id为7_6,需要存入到本地perf_data.db中 [2025-10-25 08:27:25,367] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/fault_scene_script/database.py] [line:477] [insert_db_data] type_id:7_6 数据插入本地PerfDB成功 插入行数为:1 [2025-10-25 08:27:25,367] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:152] [insert_Resources_data] 开始往数据库发送['场景分析资源']数据 [2025-10-25 08:27:25,586][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:126][producer_batch_send] kafka发送时间:0.21843481063842773 [2025-10-25 08:27:25,589] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:165] [insert_Resources_data] ['场景分析资源']发送数据量:10 [2025-10-25 08:27:25,589] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:168] [insert_Resources_data] type_id为7_6,需要存入到本地perf_data.db中 [2025-10-25 08:27:25,591] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/fault_scene_script/database.py] [line:477] [insert_db_data] type_id:7_6 数据插入本地PerfDB成功 插入行数为:10 [2025-10-25 08:27:25,591] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:152] [insert_Resources_data] 开始往数据库发送['原始日志关键字校验']数据 [2025-10-25 08:27:25,807][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:126][producer_batch_send] kafka发送时间:0.21569371223449707 [2025-10-25 08:27:25,809] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:165] [insert_Resources_data] ['原始日志关键字校验']发送数据量:2 [2025-10-25 08:27:25,809] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/PerformanceCommonAnalyse/PerfLogExtractorUtils.py] [line:185] [insert_Resources_data] type_id为36,不需要存入到本地perf_data.db中 [2025-10-25 08:27:25,809][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/user_descriptions_info/user_logs_operation.py:778][check_if_screen_record_exist] 提前提取录屏信息 [2025-10-25 08:27:25,841][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:175][prepare] 提取用户操作序列耗时:1.0120503902435303 [2025-10-25 08:27:25,842][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskAssembler.py:133][check_extraction_analyse] check_extraction_analyse cur key is SYSTRACE_EXTRACTION_ANALYSE [2025-10-25 08:27:25,845][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:688][copyFile2ocean] copy2ocean tmp_path:/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d ocean_path:/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d file_name:loginfo.json [2025-10-25 08:27:25,845][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:693][copyFile2ocean] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/loginfo.json to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:25,866][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:695][copyFile2ocean] copy status:0 [2025-10-25 08:27:25,866][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:179][send_msg_to_web] 发送Kafka消息的Topic: [AnalyseTask_EMUI2web], msg_dict: [{'quesid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'resultpath': '/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'result': 100, 'updatefiles': '', 'error_detail': '', 'processflag': ''}] [2025-10-25 08:27:26,183] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/frontdesk/PluginValidation.py] [line:90] [download_py_script] 按绝对路径拷贝脚本文件[/opt/samba3/ScriptValidation/20251025/0l8czmAA_eqr7plLp_stability_script_third_donghu.py] [2025-10-25 08:27:26,197] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/frontdesk/PluginValidation.py] [line:98] [download_py_script] 成功拷贝文件[eqr7plLp_stability_script_third_donghu.py], 下载路径[/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_test/eqr7plLp_stability_script_third_donghu.py] [2025-10-25 08:27:26,207][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/frontdesk/LogCheckin.py:132][single_test_register] Reload [<module 'Hubble.scripts.plugins.plugin_test.eqr7plLp_stability_script_third_donghu' from '/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_test/eqr7plLp_stability_script_third_donghu.py'>]... [2025-10-25 08:27:26,209][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/frontdesk/LogCheckin.py:139][single_test_register] 测试Plugin[eqr7plLp_stability_script_third_donghu] is ready. [2025-10-25 08:27:26,210] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_test/eqr7plLp_stability_script_third_donghu.py] [line:428] [plugin_preprocess] 这是预处理函数? [2025-10-25 08:27:26,210][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [prepare] 运行时间 1.82 秒 [2025-10-25 08:27:26,365] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:167] [insert_analyse_runtime_data] hubble_runtime_measurement 缺失日志基础信息 type:1 data:{'model': 'prepare', 's': 1761352044, 'e': 1761352046, 'd': 2} [2025-10-25 08:27:26,434] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py] [line:114] [deserialize_thplog] /opt/samba3/deserializer/deserialize_util/hostlogpull '/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306/remoteLog/thplog/2025.09.22_15.13.06.111_I0_logtofile.thplog' [2025-10-25 08:27:26,892] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py] [line:116] [deserialize_thplog] ./hostlogpull status:0 [2025-10-25 08:27:26,925] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py] [line:1048] [decrypt_isp_log] strart decrypt_isp_log ! [2025-10-25 08:27:26,955] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py] [line:1088] [decrypt_isp_log] end decrypt_isp_log ! [2025-10-25 08:27:26,955] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py] [line:981] [deserialize_bt_hilog] start deserialize_bt_hilog ! [2025-10-25 08:27:26,988] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py] [line:994] [deserialize_bt_hilog] hilog_file_paths=['/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306/remoteLog/hilog/hilog.000.20250922-151306.txt', '/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306/remoteLog/hilog/hilog.008.20250914-183914.txt', '/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306/remoteLog/hilog/hilog.007.20250831-010813.txt'] [2025-10-25 08:27:26,988] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py] [line:995] [deserialize_bt_hilog] bt_file_paths=['/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306/remoteLog/bt/btsnoop_hci_20250922_122333.log', '/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306/remoteLog/bt/btsnoop_hci_20250922_043716.log'] [2025-10-25 08:27:26,989][ERROR][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py:170][deserialize] 原始日志文件解析失败! Traceback (most recent call last): File "/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/HiviewAutomata.py", line 168, in deserialize self.log_deserialize_manager.deserialize(self.uuid_path, first) File "/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py", line 85, in deserialize self.deserialize_bt_hilog(uuid_path) File "/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogDeserializeManager.py", line 1005, in deserialize_bt_hilog shutil.copy(f, dst_hilog + os.sep + hilog_file_name) File "/usr/local/lib/python3.7/shutil.py", line 248, in copy copyfile(src, dst, follow_symlinks=follow_symlinks) File "/usr/local/lib/python3.7/shutil.py", line 121, in copyfile with open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/hci_tool/input/hilog/hilog.000.20250922-151306.txt' [2025-10-25 08:27:26,991][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [deserialize] 运行时间 0.63 秒 [2025-10-25 08:27:27,142] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 1 数据 [2025-10-25 08:27:27,455] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【1】类型 数据量:1 [2025-10-25 08:27:27,456][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskAssembler.py:185][generate_task_queue] adding task FILTER_HISTORY_LOGS [2025-10-25 08:27:27,457][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskAssembler.py:194][generate_task_queue] adding task ANALYSIS_ONLY [2025-10-25 08:27:27,457][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [run_before] 运行时间 0.00 秒 [2025-10-25 08:27:27,607] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 1 数据 [2025-10-25 08:27:27,920] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【1】类型 数据量:1 [2025-10-25 08:27:27,921][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:179][send_msg_to_web] 发送Kafka消息的Topic: [AnalyseTask_EMUI2web], msg_dict: [{'quesid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'resultpath': '/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'result': -4, 'updatefiles': '', 'error_detail': '', 'processflag': ''}] [2025-10-25 08:27:28,246][DEBUG][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogWaiterManager.py:92][run_task_queue] orgfile_path : /opt/samba3/of26/20251025/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:28,247][WARNING][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:104][run] 执行任务: [FILTER_HISTORY_LOGS] [2025-10-25 08:27:28,395][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:164][filter_history_logs] start filter_history_logs [2025-10-25 08:27:28,461][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:180][filter_history_logs] end filter_history_logs [2025-10-25 08:27:28,462] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 2 数据 [2025-10-25 08:27:28,781] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【2】类型 数据量:1 [2025-10-25 08:27:28,782][WARNING][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:104][run] 执行任务: [ANALYSIS_ONLY] [2025-10-25 08:27:29,088][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:179][send_msg_to_web] 发送Kafka消息的Topic: [AnalyseTask_EMUI2web], msg_dict: [{'quesid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'resultpath': '/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'result': -6, 'updatefiles': '', 'error_detail': '', 'processflag': 'start_locateanalysis'}] [2025-10-25 08:27:29,409][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/analysis/LogAnalyst.py:95][start_analysis] 插件[eqr7plLp_stability_script_third_donghu]的单日志分析逻辑开始执行 [2025-10-25 08:27:29,410] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_test/eqr7plLp_stability_script_third_donghu.py] [line:466] [run_plugin_single] 这是测试插件!uuid_log_path=[/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d], log_path=[/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d], param_dict=[{'common_info': {'syn_id': '', 'source_description': '', 'analysis_tool': ['Hubble'], 'extended_info': {}, 'happen_time': '', 'field': 'Unknown', 'field2': '', 'betano': '', 'task_class': '', 'source': 'LogkitWeb', 'version': 'LMR-AL10 LMU-AL10 5.1.0.227(SP12C00E226R7P8)', 'dtsno': '', 'eventid': '', 'product': 'LMR-AL10', 'log_download_list': [[['RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306.zip', 'https://aresocean.huawei.com/hubble/hubblesvc/hubbleportal/report/downloadLogByDate?fileName=b4f1ecb5e0a9402080e9a8cd715f1231_RemoteLog_commercial_LMR-AL10_LMU-AL10+5.1.0.227%28SP12C00E226R7P8%29_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg%3D_PP1758525182974A-001_20250922151306.zip&date=20251025', '']]], 'errorcode1': '', 'errorcode3': '', 'errorcode2': '', 'errorcode4': '', 'batch_or_not': False, 'logsource': 'iDebug', 'task_uuid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'username': 'HubbleTest', 'logtype': '', 'sn': 'QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=', 'beta_com': 'beta', 'run_by_auto': True, 'issue_id': '', 'log_source': 'iDebug', 'datetime_str': '20250922151306', 'device': 'PHONE', 'use_scope': '', 'is_pro': True, 'happen_time_unixtime': 0, 'happen_date_sta': 0, 'happen_date_end': 99999999, 'Graphics_path': '/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/Graphics.json'}, 'user_defined_files': '/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/user_defined_files/eqr7plLp_stability_script_third_donghu', 'timeout_info': [], 'faulttag_has_result': False}] [2025-10-25 08:27:29,846][ERROR][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/analysis/LogAnalyst.py:152][start_analysis] 插件[eqr7plLp_stability_script_third_donghu]的分析逻辑失败, [list index out of range] Traceback (most recent call last): File "/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/analysis/LogAnalyst.py", line 117, in start_analysis plugin_single_result = plugin_modules[plugin_name].run_plugin_single(uuid_path, log_path, plugin_params) # analysis File "/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_test/eqr7plLp_stability_script_third_donghu.py", line 547, in run_plugin_single kernel_time_end = kernel_list[-1] IndexError: list index out of range [2025-10-25 08:27:29,848] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:142] [insert_task_result_data] 开始往数据库发送0数据 [2025-10-25 08:27:30,157][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:126][producer_batch_send] kafka发送时间:0.3080170154571533 [2025-10-25 08:27:30,159] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:156] [insert_task_result_data] 发送 【0】类型 数据量:1 [2025-10-25 08:27:30,159] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:119] [insert_fault_analyse_data] 开始往数据库发送analyse_script_result数据 [2025-10-25 08:27:30,768][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:126][producer_batch_send] kafka发送时间:0.608588695526123 [2025-10-25 08:27:30,770] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:130] [insert_fault_analyse_data] 发送 【analyse_script_result】类型 数据量:1 [2025-10-25 08:27:30,770] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 3 数据 [2025-10-25 08:27:31,080] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【3】类型 数据量:1 [2025-10-25 08:27:31,082][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:214][log_analysis_only] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/loginfo.json to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:31,111][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:215][log_analysis_only] copy status: 0 [2025-10-25 08:27:31,111][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:214][log_analysis_only] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/6ea7413a-3699-41d7-9705-f7ba4f258a3d.log to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:31,133][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:215][log_analysis_only] copy status: 0 [2025-10-25 08:27:31,133][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:217][log_analysis_only] Not A File: /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/RemoteLog_commercial_LMR-AL10_LMU-AL10 5.1.0.227(SP12C00E226R7P8)_QSFtINNtWq7wANLUdZUERMoRCrVElIPcLSCLFXzl9Hg=_PP1758525182974A-001_20250922151306 [2025-10-25 08:27:31,133][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:214][log_analysis_only] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/unzip_status.json to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:31,146][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:215][log_analysis_only] copy status: 0 [2025-10-25 08:27:31,146][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:214][log_analysis_only] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/perf_data.db to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:31,160][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:215][log_analysis_only] copy status: 0 [2025-10-25 08:27:31,160][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:214][log_analysis_only] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/task_info.json to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:31,173][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:215][log_analysis_only] copy status: 0 [2025-10-25 08:27:31,173][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:214][log_analysis_only] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/Graphics.json to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:31,182][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:215][log_analysis_only] copy status: 0 [2025-10-25 08:27:31,182][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:217][log_analysis_only] Not A File: /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/user_defined_files [2025-10-25 08:27:31,183][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:214][log_analysis_only] !copying from /tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/faultdiag_plugins.json to /opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d [2025-10-25 08:27:31,195][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:215][log_analysis_only] copy status: 0 [2025-10-25 08:27:31,208][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/analysis/LogAnalyst.py:203][analysis_end] 已拷贝: [/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d/faultdiag_plugins.json] [2025-10-25 08:27:31,208][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/HiviewKafka.py:179][send_msg_to_web] 发送Kafka消息的Topic: [AnalyseTask_EMUI2web], msg_dict: [{'quesid': '6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'resultpath': '/opt/samba3/20251025/5/6ea7413a-3699-41d7-9705-f7ba4f258a3d', 'result': 102, 'updatefiles': '', 'error_detail': '', 'processflag': ''}] [2025-10-25 08:27:31,521] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 2 数据 [2025-10-25 08:27:31,838] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【2】类型 数据量:1 [2025-10-25 08:27:31,838][WARNING][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:104][run] 执行任务: [COPY_USER_DEFINED_FILES] [2025-10-25 08:27:31,989][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:183][copy_user_defined_files] start user_defined_files [2025-10-25 08:27:32,021][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:194][copy_user_defined_files] copy status: 0 [2025-10-25 08:27:32,021][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:197][copy_user_defined_files] end user_defined_files [2025-10-25 08:27:32,021] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 2 数据 [2025-10-25 08:27:32,329] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【2】类型 数据量:1 [2025-10-25 08:27:32,330][WARNING][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:104][run] 执行任务: [RESULT_PROCES_COMMONUTILS] [2025-10-25 08:27:32,481][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:124][result_proces_commonutils] start RESULT_PROCES_COMMONUTILS [2025-10-25 08:27:32,483] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_tools/ResultProcesCommonUtils/ResultProcesCommonUtils.py] [line:28] [start_analysis] ResultProcesCommonUtils start_analysis ... [2025-10-25 08:27:32,484][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/waiter/TaskRunner.py:129][result_proces_commonutils] end RESULT_PROCES_COMMONUTILS [2025-10-25 08:27:32,484] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 2 数据 [2025-10-25 08:27:32,795] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【2】类型 数据量:1 [2025-10-25 08:27:32,796][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/manager/LogWaiterManager.py:120][run_task_queue] all tasks finish [2025-10-25 08:27:32,796][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:232][run] 分析任务主题运行结束,进入收尾工作。 [2025-10-25 08:27:32,796][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [run] 运行时间 4.88 秒 [2025-10-25 08:27:32,946] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 1 数据 [2025-10-25 08:27:33,250] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【1】类型 数据量:1 [2025-10-25 08:27:33,251][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:125][start_analysis] ---------------------------------------------- [2025-10-25 08:27:33,251][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:126][start_analysis] 插件运行耗时:5.330155611038208 [2025-10-25 08:27:33,251][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:127][start_analysis] ---------------------------------------------- [2025-10-25 08:27:33,252] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/logistics/ResultAggregator.py] [line:57] [result_aggregation] {} [2025-10-25 08:27:33,252] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/logistics/ResultAggregator.py] [line:65] [result_aggregation] 执行插件[eqr7plLp_stability_script_third_donghu]的结果汇总功能 [2025-10-25 08:27:33,252] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/scripts/plugins/plugin_test/eqr7plLp_stability_script_third_donghu.py] [line:700] [plugin_result_refinement] 这是分析结果精加工函数 [2025-10-25 08:27:33,252] [ERROR] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/logistics/ResultAggregator.py] [line:34] [get_user_defined_device] 设备类型无法从homepage_info中获取 'only_run_device' [2025-10-25 08:27:33,253][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [run_after] 运行时间 0.00 秒 [2025-10-25 08:27:33,401] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 1 数据 [2025-10-25 08:27:33,706] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【1】类型 数据量:1 [2025-10-25 08:27:33,707] [ERROR] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/logistics/LogReporter.py] [line:39] [generate_report] 分析结果存入报告生成数据库失败[[Errno 2] No such file or directory: '/tmp/Hubble/LogkitWeb/AnalyseTask_web2EMUI/6ea7413a-3699-41d7-9705-f7ba4f258a3d/duplicate.json'] [2025-10-25 08:27:33,708] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/logistics/ResultSaver.py] [line:35] [save_final_results] Plugins结果[faultdiag_plugins.json]保存成功 [2025-10-25 08:27:33,709] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/logistics/ResultSaver.py] [line:103] [plugin_result2loginfo] 插件没有一级定界结果 [2025-10-25 08:27:33,709] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/core/service/logistics/ResultSaver.py] [line:139] [refill_loginfo] Refill loginfo OK. [2025-10-25 08:27:33,710][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:247][save] 结果保存成功!(非保存,只做其他修改) [2025-10-25 08:27:33,710][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [save] 运行时间 0.00 秒 [2025-10-25 08:27:33,862] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 1 数据 [2025-10-25 08:27:34,074] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【1】类型 数据量:1 [2025-10-25 08:27:34,075][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:130][start_analysis] 此次日志分析任务结束。 [2025-10-25 08:27:34,075][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:131][start_analysis] 结果路径是: None [2025-10-25 08:27:34,076][INFO][1:135327276594880][/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/HiviewPlatform.py:48][wrapper] 当前函数 [start_analysis] 运行时间 16.22 秒 [2025-10-25 08:27:34,223] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:169] [insert_analyse_runtime_data] 开始往数据库发送 0 数据 [2025-10-25 08:27:34,543] [INFO] [/usr/src/app/aresdeepmindhubble-6.0/aresdeepmindhubble/Hubble/utils/basic/LogExtractionRecordUtils.py] [line:177] [insert_analyse_runtime_data] 发送 【0】类型 数据量:1 帮我分析一下应该如何修改可以解决?返回完整代码
10-26
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值