-
Notifications
You must be signed in to change notification settings - Fork 41
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
在lilac.py中增加build这个包的timeout #47
Comments
感觉还应该添加 ccache。
2017年12月22日 上午12:06,"Jingbei Li" <notifications@github.com>写道:
… 如题,希望可以
depends = ['blah']
timeout = 7200 #2h
这样
主要是最近收到了chromium-dev的报错邮件
发生未知错误!调用栈如下:
Traceback (most recent call last):
File "/home/lilydjwg/soft/lilac/lilac", line 174, in build_package
bindmounts = BIND_MOUNTS,
File "/home/lilydjwg/soft/lilac/lilaclib.py", line 435, in lilac_build
call_build_cmd(build_prefix, depend_packages, bindmounts)
File "/home/lilydjwg/soft/lilac/lilaclib.py", line 464, in call_build_cmd
build_output = run_cmd(cmd, use_pty=True)
File "/home/lilydjwg/soft/lilac/lilaclib.py", line 509, in run_cmd
r = os.read(rfd, 4096)
File "/home/lilydjwg/scripts/python/pylib/myutils.py", line 175, in timed_out
raise TimeoutError
TimeoutError
然后我在build机上完整build了一遍
archlinuxcn-x86_64-build 115740.41s user 4526.14s system 2245% cpu 1:29:16.75 total
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#47>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADmPCzngChkOr873mU4YaV-RZ_ABE8Daks5tCoIEgaJpZM4RKBcm>
.
|
lilac 判断失误,已修。普通包的超时时间是 6h,nodejs 的包是 1h。 |
原来如此 |
nodejs 的开发者普遍不那么成熟,曾经遇到一个包,下载文件后因为没有 unzip 工具而失败,被判定为下载失败,并且不断重复下载,在六小时内把一个文件下载了一千多遍……还好文件位于七牛云上,访问速度不怎么样,不然会更疯狂。 手动设置的话,你有兴趣可以 pr 呀。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题,希望可以
这样
主要是最近收到了chromium-dev的报错邮件
然后我在build机上完整build了一遍
The text was updated successfully, but these errors were encountered: