-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
cockroach 19.1.1 #40103
cockroach 19.1.1 #40103
Conversation
relates to #40048 |
This built properly, but the formula's smoke test failed. Did the behavior of cockroach start --background
cockroach sql -e 'SELECT 1'; It's the |
Actually, I suppose it's more likely that something's gone wrong during server bootup. Unfortunately any such error messages are buried inside start.out, which isn't shown in the error log. Someone will have to adjust the test to print out those errors. |
@ajkr if that doesn't fix the test, you may try adding a few seconds of sleep before trying to contact the server process. |
Test still failing. Try following advice in output, and, maybe adding a few seconds of sleep before attempting to spawn the process that connects to the server...
|
Sleeping shouldn't be necessary (the test uses When I try to reproduce this build locally (on two different machines), I get a lot of weird c++ errors that look like they're problems in how the c++ standard library is getting compiled:
|
Which xcode do you have? You may need to install the C++ headers:
|
That worked. Why was this manual step necessary? Are we missing a dependency? (one of the two machines I tested on had a brand new installation of I have the latest xcode and CLI tools (or at least that's what software update and And FWIW, |
No, it's because Apple messes with the C++ libs and tooling all the time. IIRC, that installs headers that Apple considers deprecated or something like that. ¯\_(ツ)_/¯ Edit: IIRC, it's also specific to Mojave, and happens everytime you upgrade xcode. |
Installing the package worked so I don't want to dwell on it here, but one last observation. This SO question suggests that brew tries to detect this condition and give a prompt for it; this didn't happen in my case. I still have a second machine on which that package has not been installed if it would be a useful test case for making that warning more reliable. |
I'm hopeful that #40132 will help us get to the bottom of this. |
Not sure what to make of this:
|
An inscrutable error at this stage generally means we're either running on a filesystem with incomplete posix support (such as whatever WSL uses), or in this case, maybe It looks like one way we could produce "failed to create engines: invalid argument" without additional context is if the We have comments indicating that macos would sometimes fail to return an error if you try to set the file descriptor limit to a higher value than allowed. Maybe now it's behaving correctly, but we break if that error is ever hit. Is there any way to increase the allowed file descriptor limit in brew CI (the tests pass when run locally)? If not, we'll probably have to wait until 19.1.2 to get an updated package into brew. |
See also golang/go#30401 |
Update cockroachdb formula to v19.1.1
Thanks for solving it, Nikhil and Ben. Will close this one in favor of #40132. |
Update cockroachdb formula to v19.1.1