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

macOS Build Timeout #704

Closed
PengZheng opened this issue Dec 25, 2023 · 3 comments
Closed

macOS Build Timeout #704

PengZheng opened this issue Dec 25, 2023 · 3 comments
Labels
build/environment Categorizes an issue or PR relevant to the build environment. help wanted Denotes an issue that needs help from a contributor. stage:triaging

Comments

@PengZheng
Copy link
Contributor

The issue has appeared in daily builds of macOS for two days in a row:

https://github.com/apache/celix/actions/runs/7311203261/job/19920500143

[100%] Building CXX object bundles/components_ready_check/gtest/CMakeFiles/test_components_ready.dir/src/ComponentsReadyTestSuite.cc.o
[100%] Built target test_cxx_shell
[100%] Linking CXX executable test_components_ready
[100%] Built target test_utils
[100%] Built target test_dfi
[100%] Built target test_cxx_rsa_configured_discovery
[100%] Built target test_cxx_remote_services_integration
[100%] Built target test_cxx_remote_service_admin
[100%] Built target celix_pswp_common_tests
[100%] Built target test_pubsub_interceptors_zmq_and_wire_v2_integration
[100%] Built target test_components_ready
[100%] Built target test_pubsub_interceptors_ws_and_wire_v2_integration
[100%] Built target test_framework
[100%] Linking CXX static library ../../../lib/libgmock.a
[100%] Built target gmock
[100%] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[100%] Linking CXX static library ../../../lib/libgmock_main.a
[100%] Built target gmock_main
Error: The operation was canceled.

https://github.com/apache/celix/actions/runs/7317563474/job/19933186609

[ 93%] Linking CXX executable test_utils
[ 93%] Linking CXX executable test_components_ready
[ 93%] Built target test_log_helper
[ 93%] Built target test_pubsub_spi
[ 93%] Linking CXX executable test_framework
[ 93%] Built target test_dfi
[ 93%] Built target test_cxx_remote_service_admin
[ 93%] Built target integration_test_rsa_json_rpc
[ 93%] Built target test_components_ready
[ 93%] Built target test_cxx_rsa_configured_discovery
[ 93%] Built target test_pubsub_utils
[ 93%] Built target test_utils
[ 93%] Built target test_framework
[ 93%] Linking CXX static library ../../../lib/libgmock.a
[ 93%] Built target gmock
[ 93%] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 93%] Linking CXX static library ../../../lib/libgmock_main.a
[ 93%] Built target gmock_main
Error: The operation was canceled.
@PengZheng PengZheng added help wanted Denotes an issue that needs help from a contributor. build/environment Categorizes an issue or PR relevant to the build environment. labels Dec 25, 2023
@PengZheng
Copy link
Contributor Author

PengZheng commented Dec 25, 2023

Observing that it only happens on macos-build-brew but never on macos-build-conan, which uses ninja rather than gnu make, I have switched macos-build-brew to use ninja instead. So far it does not reproduce.

Considering this issue is relative easy to reproduce in our CI environment, it is worth further investigation.

@pnoltes
Copy link
Contributor

pnoltes commented Jan 1, 2024

I have not yet encountered this on my Mac. I could be an issue with not enough memory, because make -j uses unlimited jobs and (IIRC) ninja adjust the build parallelisation based on resource usage.

@PengZheng
Copy link
Contributor Author

Now that it is not reproducible in local machine, I'll close it now.
If any of our users are affected by this, we can investigate it then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build/environment Categorizes an issue or PR relevant to the build environment. help wanted Denotes an issue that needs help from a contributor. stage:triaging
Projects
None yet
Development

No branches or pull requests

2 participants