GH-49651: [C++][FlightRPC] Fix ODBC Linux test segmentation fault#49688
GH-49651: [C++][FlightRPC] Fix ODBC Linux test segmentation fault#49688alinaliBQ wants to merge 3 commits intoapache:mainfrom
Conversation
|
|
|
Hmm, why are there two copies of gRPC in the first place? |
My understanding is, the |
|
So then |
Yes, |
|
I think it would be preferable to only link the ODBC tests statically instead of forcing it for all tests then. Or only statically link gRPC for "release" builds of the driver instead of during test (but that may not be possible) |
f8302cd to
5eb872f
Compare
|
That makes sense. I have changed the ODBC tests to link statically on Linux instead of changing it for all tests in |
* Resolve segfault issue on Linux and pass `ARROW_TEST_LINKAGE=static` Pass `ARROW_TEST_LINKAGE=static` * Clean up
5eb872f to
e456f1b
Compare
|
I retried the failing pipelines. It seems |
|
Incidentally the build log notes lots of warnings that may be good to tackle. |
Yea I have noticed this recently as well, and I increased the runtime to 120 minutes. Currently, the CI runs tests only for the ODBC library and its dependencies. The extra build time might be due to the recent gRPC bump, as the newer version seems to take more time to compile. |
👍 We are tackling these warnings in @justing-bq's PR https://github.com/apache/arrow/pull/49668/changes |
I think that's good reason to see if we can change that specific pipeline (and perhaps other ODBC pipelines) to only build ODBC (in a separate task) I see C++ Extra / ODBC Linux still crashes here? |
Rationale for this change
GH-49651
What changes are included in this PR?
Note: enabling Linux test build will be in a separate PR
Are these changes tested?
Tested on local machine and in our local repository
Are there any user-facing changes?
N/A