-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
runtime/pprof: Test killed with quit: ran too long #21128
Comments
CentOS 5 is not supported (see: https://github.com/golang/go/wiki/MinimumRequirements#linux). Installing from source won't make any difference, unfortunately. Go is not guaranteed to work on CentOS 5 systems. |
Yes, sorry, CentOS 5 is too old and not supported, regardless of how it's built. |
What distro, version, and kernel version are you running? |
@bradfitz I think it is amazon-customization linux... |
Which test is hanging? There's no stacktrace? Is this:
the only thing you see? No stacktrace above? |
@ALTree
|
Tangential, but why are you bootstrapping, exactly? You are on linux/amd64, you should be able to just download the Linux binaries here: https://golang.org/dl/#featured and then follow the instructions here: https://golang.org/doc/install. If you are in a hurry, I suggest you do that while this issue is being triaged. |
ok, I will turn to featured version, and I think the problem probably is due to Amazon Linux compatibility. |
I just ran into this over at https://go-review.googlesource.com/c/54150: https://storage.googleapis.com/go-build-log/d831da99/linux-arm_4aae68c0.log |
RHEL 5.x is not supported, so I think we can close this again. @mvdan it's very unlikely that the arm builder failure is related to the RHEL linux/amd64 failure. Feel free to file a separate issue if you keep seeing this but I'm willing to chalk that up to arm builder flakiness. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.7.5 and 1.8.3
What operating system and processor architecture are you using (
go env
)?linux, amd64
What did you do?
I am using go1.7 to bootstrap go1.8, install from source, since my system
RHEL 5.x
not supported byGo distribution
All my go env setting:
I think those env-variables are correct since it could be successfully installed. But in my install-golang-script, it will roughly 30% fail, after I run .
/all.bash
.All of the fail is in
testing packages stage
due toI tried to set timeout longer, like this:
export GO_TEST_TIMEOUT_SCALE=10,
but the result is it will stuck at this stage, and it will not exit even more than 10 minutes.
I also tried to set high resolution timer, but still didn't work.
export CONFIG_HIGH_RES_TIMERS=y
I used
top
to check the running process information like this:I set a cronjob to install every 10mins for testing, and it needs around 7mins to build. If it is successful, there will be a time-stamp in my log file.
The results are shown as follow.
Anyone know how to fix it?
Update: when I use a new amazon ec2 instance, and the first-time install go from source will always success. So does I restart the instance (considering as running new one).
Fail will randomly occur since the 1st time install, no mater it is running using my own script in
crontab
ormanually
run it.UpdateUpdate Using
at
command to set scheduled task to install it will alwaysFailed: exit status 1
due to the same reason.The text was updated successfully, but these errors were encountered: