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][docs] updated temp fix for warning written to stderr, fixed conda permissions and updated bench link #1849
Conversation
@StrikerRUS sure, it is building the new docker. |
@guolinke Thanks a lot! |
Hmmm, didn't help... |
@StrikerRUS should I add this to docker file ?
|
@guolinke This won't work because of different name of temp files from run to run. I've tried different fixes: It turned out that this is very widespread problem: |
I suppose that the problem in that
executed with UPD:
|
Hi @brcrista ! Can you please help?
with |
@StrikerRUS maybe we can update conda by ourself? |
@guolinke Yeah! Good point! Let's try this. |
@guolinke Unfortunately, in case of manual conda update another error occurs:
Log: https://lightgbm-ci.visualstudio.com/lightgbm-ci/_build/results?buildId=967&view=logs. Links: conda/conda#7404, conda/conda#7824, https://stackoverflow.com/questions/49181799/conda-update-conda-permission-error. Popular solutions are
|
@guolinke I don't know, but can we solve this issue by changing conda installation folder? |
@StrikerRUS BTW, you can give me your dockerhub account, and I can add you to LightGBM docker org. Thanks |
@guolinke Thank you very much! conda update and installation finally work fine with Let me register docker account and come back to you. |
@StrikerRUS great! I will create a PR to merge it. |
Thanks @StrikerRUS , I wasn't aware of this problem. I haven't seen it before. Do you have logs you can share? (running with system.debug=true would be most helpful) I do see the line that says Right now we have to sudo based on how Conda is installed -- see Microsoft/azure-pipelines-image-generation#259 |
@guolinke Here is my docker hub link: Thanks! |
I see -- I thought you were on a hosted agent. For your setup, I would recommend just scripting calls to conda instead of using the task. This usually works better for YAML definitions (the task was made for the old designer workflows). One difference from using the task: if you're running scripts in multiple steps that operate in the context of the Conda environment, you will need to activate the environment at the beginning of every steps. |
@brcrista Got it! Thank you! |
Refer to scikit-learn/scikit-learn#12226.
This temp fix should be removed after scikit-learn
0.20.1
release.@guolinke Could you please fix dockerfile?