CodeAnalysis
CodeAnalysis copied to clipboard
Static Code Analysis - 静态代码分析
web界面显示拉取gitee中的代码认证失败:  直接通过在scm容器中拉取代码却成功了 
版本:最新版本 部署方式:docker-compose 现象:web界面显示成功  日志报错  详细日志: 2022-08-11 20:10:48,294-INFO: start to run task: JAFFBeta, execute_processes: ['compile', 'analyze', 'datahandle'] 2022-08-11 20:10:48,330-INFO: Load tool config: https://git.code.tencent.com/TCA/tca-tools/puppy-tools-config.git 2022-08-11 20:10:48,337-INFO: Initing common tools ......
有一定几率(5%-10%)某个工具一直在运行 已经采取了措施:配置了工蜂,client中使用USE_LOCAL_TOOL=True都无法避免卡死 卡死后:采取docker-compose restart 重启所有服务,恢复正常,单独重启client,analysis-worker不一定有效
现阶段项目更新时需要先手动更新代码,然后执行命令停止服务和启动服务(如使用docker或docker-compose,还需要重新构建镜像然后再重新部署),希望能支持一键更新代码和重启服务(包含构建镜像)
代码分析结果: HTTPError: HTTP Error 500: Internal Server Error **************************************************************************************************** 2024-01-19 17:20:33,597-INFO: json report: /workspace/client/scan_status.json 2024-01-19 17:20:33,597-ERROR: HTTPError: HTTP Error 500: Internal Server Error Traceback (most recent call last): File "/workspace/client/node/localtask/localrunner.py",...
背景:仓库有12G,所以使用的是客户端分析上报模式,对应到服务端里面配置OAuth的验证模式 问题:错误处理能获取到codefile的问题,但是圈复杂度codefile报错 详细日志如下: 服务端报错堆栈信息  圈复杂度接口返回400  问题处理接口codefile返回正常没问题  这是什么问题?
仓库https://xxxxxxxx/embedded/camera/ambarella/h22/oner.git 仓内包含submodule 子仓 [submodule "rtos/app/multivin/AAA"] path = rtos/app/multivin/AAA url = git@xxxxxxxx:embedded/camera/`ambarella/aip/aip2.git` [submodule "ambalink_sdk_4_9/pkg/bbb"] path = ambalink_sdk_4_9/pkg/bbb url = [email protected]:embedded/camera/`ambarella/aip/aip1_ambalink.git` 遇到scm故障报错,其中凭据均有这几个仓库的权限  执行结果:节点端SCM任务故障 ScmAuthFailedError: fatal: Authentication failed for 'http://xxxxxxxx/embedded/camera/ambarella/aip/aip1_ambalink.git/' fatal: clone...