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

[R-package] [ci] MacOS Travis builds timing out #3091

Closed
jameslamb opened this issue May 16, 2020 · 3 comments
Closed

[R-package] [ci] MacOS Travis builds timing out #3091

jameslamb opened this issue May 16, 2020 · 3 comments

Comments

@jameslamb
Copy link
Collaborator

See the conversation starting at #3086 (comment). Currently, MacOS r-package builds on Travis are failing with an error like this:

  • checking whether package ‘lightgbm’ can be installed ...

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

In this case, "no output" means "nothing written to the log".

It seems that our build times for the R package on Mac were already very close to 10 minutes but just under this. It's possible the issue is caused by one or some combination of these:

  • maybe installation of the R package got slightly slower
  • maybe something about the Travis Mac environment is slowing us down (for example, slower disk I/O)
  • maybe changing print() (which prints to stdout) to message() (which prints to stderr) in [R-package] speed up installation with Visual Studio #2965 is extending the time between logs to stdout

Some possible fixes for this, found by @StrikerRUS

@jameslamb
Copy link
Collaborator Author

I did also try using processx::run() on Mac builds...that didn't have a meaningful impact on build times (the way it did for Windows in #2965 )

@StrikerRUS
Copy link
Collaborator

Interestingly, Azure build hasn't been affected: same ~7min.

odimka pushed a commit to odimka/LightGBM that referenced this issue May 17, 2020
…osoft#3091) (microsoft#3092)

* [R-package] use processx to speed up builds

* different fix

* echoing more frequently

* fix it

* more stdout

* use print() instead of message()

* shell tricks

* fix message

* travis

* Update .ci/test_r_package.sh

Co-authored-by: Nikita Titov <[email protected]>

Co-authored-by: Nikita Titov <[email protected]>
ChipKerchner pushed a commit to ChipKerchner/LightGBM that referenced this issue Jun 10, 2020
…osoft#3091) (microsoft#3092)

* [R-package] use processx to speed up builds

* different fix

* echoing more frequently

* fix it

* more stdout

* use print() instead of message()

* shell tricks

* fix message

* travis

* Update .ci/test_r_package.sh

Co-authored-by: Nikita Titov <[email protected]>

Co-authored-by: Nikita Titov <[email protected]>
ChipKerchner pushed a commit to ChipKerchner/LightGBM that referenced this issue Jun 11, 2020
…osoft#3091) (microsoft#3092)

* [R-package] use processx to speed up builds

* different fix

* echoing more frequently

* fix it

* more stdout

* use print() instead of message()

* shell tricks

* fix message

* travis

* Update .ci/test_r_package.sh

Co-authored-by: Nikita Titov <[email protected]>

Co-authored-by: Nikita Titov <[email protected]>
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot removed the blocking label Aug 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants