Skip to content
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

[CI][Java] arrow-substrait-substrait-test fails on macOS x86_64 java-jars job on nightly builds #36500

Closed
raulcd opened this issue Jul 6, 2023 · 3 comments · Fixed by #36515

Comments

@raulcd
Copy link
Member

raulcd commented Jul 6, 2023

Describe the bug, including details regarding any error messages, version, and platform.

Our nightly java-jars job has been failing for some time.

The error log for macOS x86_64 on the arrow-substrait-substrait-test failure:

2023-07-06T09:22:17.4341080Z 38/98 Test #40: arrow-substrait-substrait-test ............***Failed    0.73 sec
2023-07-06T09:22:17.4342440Z Running arrow-substrait-substrait-test, redirecting output into /Users/runner/work/crossbow/crossbow/arrow/cpp-build/cpp/build/test-logs/arrow-substrait-substrait-test.txt (attempt 1/1)
2023-07-06T09:22:17.4343400Z Running main() from /Users/runner/work/crossbow/crossbow/arrow/cpp-build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest_main.cc
2023-07-06T09:22:17.4343840Z [==========] Running 90 tests from 5 test suites.
2023-07-06T09:22:17.4344240Z [----------] Global test environment set-up.
2023-07-06T09:22:17.4345660Z [libprotobuf FATAL /Users/runner/work/crossbow/crossbow/arrow/cpp-build/cpp/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/stubs/common.cc:72] This program requires version 4.23.0 of the Protocol Buffer runtime library, but the installed version is 3.21.3.  Please update your library.  If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library.  (Version verification failed in "/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/engine/substrait/protobuf_test_util.cc".)
2023-07-06T09:22:17.4346600Z unknown file: Failure
2023-07-06T09:22:17.4348460Z C++ exception with description "This program requires version 4.23.0 of the Protocol Buffer runtime library, but the installed version is 3.21.3.  Please update your library.  If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library.  (Version verification failed in "/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/engine/substrait/protobuf_test_util.cc".)" thrown in auxiliary test code (environments or event listeners).
2023-07-06T09:22:17.4349760Z ~/work/crossbow/crossbow/arrow/cpp-build/cpp/src/arrow/engine

Component(s)

C++, Continuous Integration

@raulcd
Copy link
Member Author

raulcd commented Jul 6, 2023

cc @westonpace

@raulcd
Copy link
Member Author

raulcd commented Jul 6, 2023

In order to find the log failure I had to use the raw logs link on the failed job: https://github.com/ursacomputing/crossbow/commit/b36f54f5de2d29841cb84bbc4ef31e077c2becc8/checks/14820646934/logs

@raulcd raulcd added Priority: Blocker Marks a blocker for the release and removed Priority: Critical labels Jul 6, 2023
kou added a commit to kou/arrow that referenced this issue Jul 6, 2023
@kou kou changed the title [CI][C++] arrow-substrait-substrait-test fails on macOS x86_64 java-jars job on nightly builds [CI][Java] arrow-substrait-substrait-test fails on macOS x86_64 java-jars job on nightly builds Jul 6, 2023
kou added a commit to kou/arrow that referenced this issue Jul 6, 2023
@kou kou closed this as completed in #36515 Jul 7, 2023
kou added a commit that referenced this issue Jul 7, 2023
### Rationale for this change

If we have Homebrew's protobuf is installed, it may be used on test.

### What changes are included in this PR?

Remove Homebrew's protobuf.

Another solution: Set `DYLD_LIBRARY_PATH`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #36500

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@raulcd
Copy link
Member Author

raulcd commented Jul 7, 2023

Thanks @kou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants