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
nginx 1.9.14 (devel) #88
Conversation
Build timed out after 3 hours.
Maybe it'll make it under the time limit now that we're removed |
The timeout for this tap should be 60 minutes and not 3 hours 😞. I saw this with the last |
Spotted this last night and reset it. Should be 60 again now, not sure why it was at 180 initially. Not sure what the problem is here, even stable builds fine locally using 7.3:
As does
Tempted to just merge this as-is again. |
Re-queued just in case this was a transient network error. Here's the console output from the aborted build, for future reference. I'm going to watch it and abort it manually after ten minutes or so if it's still going, to avoid hogging the test-bot queue. |
TL;DRI reproduced interactively on an el cap test bot VM. Looks like the DetailsI logged in to the spare El Cap VM and ran It hung here during the build for me.
Based on the scrollback, this is when it was doing the 1.8.1 stable install, not the devel install. When I build it locally, this looks like right before it does "cleaning" and "linking" steps of the install. So it looks like it's hanging inside
And that PID 6985 is our
There are no loops in that code. But since it calls I confirmed most of this by sticking an Perhaps this is related to the combination of I added some debugging output to get the SCM wrapper to log what it was doing. That didn't capture self-execing, but I think that's because the exec might just be throwing the process's output buffers in the bit bucket. If I keep hitting
I tried to track it down further by adding some logging to
That doesn't make any sense to me. Perhaps there's some weird interaction between flushing that log file handle and other file handles or output buffers or who knows what. |
A clue! Changing the
But then you can see this in
It looks like under this configuration, the (Why would logging output affect that? I have no idea. I payed pretty close attention when I was doing it and switched the file in and out a few times, but maybe there was something extraneous going on.) |
Strangely, adding logging to the Leave this
Note: if you're using the |
Anyway, let's go ahead and merge this PR as-is and take the discussion about the hang over to a new issue. It's not specific to this PR, so no reason to hold up the new version and keep spamming @matteocng with notifications on this, right? |
Great sleuthing! Seems reasonable to move your discovered issue over to the |
Shipped. Thanks for your contribution to Homebrew, @matteocng! |
FYI, the hang was diagnosed and fixed in Homebrew/brew#46. Long story short: |
brew audit --strict --online <formula>
(where<formula>
is the name of the formula you're submitting)?brew install <formula>
?