-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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] Appveyor conda env solves are very slow #5647
Comments
Might also be worth looking at the |
Thanks @jakirkham ! We'll consider that in the future. You might find the changes in #5648 (the PR that closed this issue) interesting too. We were able to cut 15+ minutes out of the Basically summarized like this: # slow
conda create --name ${ENV_NAME} python=${PYTHON_VERSION}
conda install --name ${ENV_NAME} ${SOME_PACKAGES}
# fast
conda create --name ${ENV_NAME} python=${PYTHON_VERSION} ${SOME_PACKAGES} |
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. |
Description
Over the last few weeks, I've observed that each CI job running on Appveyor takes around 25-30 minutes to complete.
That puts a very lower upper limit on how much activity this repo can tolerate, since:
Reproducible example
Look at any recent build, for example https://ci.appveyor.com/project/guolinke/lightgbm/builds/45786272.
I downloaded the logs from some builds, and found that a significant amount of time (on the order of 15 minutes) is spent just solving the
conda
environment in this step:LightGBM/.ci/test_windows.ps1
Line 54 in fffd066
Look at this trace from that recent build's logs, note the timestamps.
In that particular job, the job took 33 minutes total to run. About 16 minutes of that was spent just in that
conda install
.Additional Comments
Some related conversations that might help with this:
Some things that could help and should be tried:
conda-forge
a few months agoconda
conda
channels used on Appveyor to ensure that thetest-env
environment contains onlyconda-forge
packagespip install
insteadThe text was updated successfully, but these errors were encountered: