Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

私有构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 #4943

Closed
2 tasks done
irwinsun opened this issue Aug 13, 2021 · 2 comments
Closed
2 tasks done
Labels
area/ci/agent 构建机Agent issue done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy grayed uat环境测试通过/test passed for uat stage kind/feat/tech 技术性特性 streams/done stream 生产部署成功 streams/for gray stream 灰度环境部署成功 tested 测试环境通过/test patest passed for test stage

Comments

@irwinsun
Copy link
Member

irwinsun commented Aug 13, 2021

What happened:
要构建机上切换用户登录后,构建机无法任务认领, agent.log 有如下日志

[12 Aug 2021;20:27:11.962][main] WARN c.t.d.w.c.a.AbstractBuildResourceApi:requestForResponse:99 - UnknownHostException|request(Request{method=PUT, url=http://devnet.devops.xxxx.com/ms/engine/api/build/worker/started?retryCount=21&buildId=b-a76ab0771afe4004817e8a3e1d93667b, tag=null}),error is :java.net.UnknownHostException: devnet.devops.xxxx.com, try to retry 3

What you expected to happen:

  • 展示日志并给出FAQ链接

image

  • 对于超过3分钟没有影响的尝试恢复,如下图打印相应文字并尝试修复

image

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
初步怀疑是用户机器上的代理出现 问题,导致域名解析不到
Environment:

  • bk-ci version (use cat VERSION in installed dir): all
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@irwinsun irwinsun added kind/bug 程序故障Bug,漏洞 question Needs more information labels Aug 13, 2021
@irwinsun
Copy link
Member Author

无法自愈,仅增加构建日志供查看具体原因

@irwinsun
Copy link
Member Author

#5806

@irwinsun irwinsun reopened this Mar 24, 2022
@irwinsun irwinsun added area/ci/agent 构建机Agent issue for test Test environment in tencent has been deploy tested 测试环境通过/test patest passed for test stage and removed question Needs more information labels Mar 24, 2022
@irwinsun irwinsun changed the title fix: Mac构建机切换用户因代理问题导致无法正常领取任务? Mac构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 Mar 24, 2022
@irwinsun irwinsun added kind/feat/tech 技术性特性 and removed kind/bug 程序故障Bug,漏洞 labels Mar 24, 2022
mingshewhe added a commit that referenced this issue Mar 25, 2022
Mac构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 #4943
@irwinsun irwinsun changed the title Mac构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 feat: Mac构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 Mar 25, 2022
@irwinsun irwinsun changed the title feat: Mac构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 Mac构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 Mar 25, 2022
@irwinsun irwinsun changed the title Mac构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 私有构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 Mar 25, 2022
@bkci-bot bkci-bot added the streams/for gray stream 灰度环境部署成功 label Mar 25, 2022
irwinsun added a commit that referenced this issue Mar 28, 2022
fix: Mac构建机切换用户因代理问题导致无法正常领取任务? #4943
@bkci-bot bkci-bot added for gray UAT environment in tencent has been deploy streams/done stream 生产部署成功 labels Mar 28, 2022
@irwinsun irwinsun added the grayed uat环境测试通过/test passed for uat stage label Mar 31, 2022
@bkci-bot bkci-bot added the done Production environment in tencent has been deploy label Mar 31, 2022
mingshewhe added a commit that referenced this issue Mar 31, 2022
fix: Mac构建机切换用户因代理问题导致无法正常领取任务? #4943
yongyiduan pushed a commit to yongyiduan/bk-ci that referenced this issue May 10, 2022
解决网络异常导致构建机一开始都领取不到任务的情况下,能将日志送回agent上报
yongyiduan pushed a commit to yongyiduan/bk-ci that referenced this issue May 10, 2022
解决网络异常导致构建机一开始都领取不到任务的情况下,能将日志送回agent上报
yongyiduan pushed a commit to yongyiduan/bk-ci that referenced this issue May 10, 2022
Mac构建机因代理问题导致无法正常领取任务上报出错日志供自助排查 TencentBlueKing#4943
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci/agent 构建机Agent issue done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy grayed uat环境测试通过/test passed for uat stage kind/feat/tech 技术性特性 streams/done stream 生产部署成功 streams/for gray stream 灰度环境部署成功 tested 测试环境通过/test patest passed for test stage
Projects
None yet
Development

No branches or pull requests

2 participants