coiled / feedback

A place to provide Coiled feedback
14 stars 3 forks source link

Making software environment with Conda fails with various errors #97

Closed rubenvdg closed 3 years ago

rubenvdg commented 3 years ago

When making the following software environment:

import coiled 

assert coiled.__version__ == "0.0.32"
assert not coiled.list_software_environments()

coiled.create_software_environment(
    name="test",
    conda={
        "channels": ["conda-forge", "defaults"],
        "dependencies": [
            "python=3.8",
            "dask[complete]=2020.12.0",
            "pandas=1.2.0",
            "pyarrow>=2.0.0",
            "s3fs"
        ]
    },
)

I catch:

Updating software environment...
Solving conda environment...
Conda environment solved!
Building Docker image
(this takes a few minutes)
STEP 1: FROM coiled/default:sha-af843e5
STEP 2: COPY environment.yml environment.yml
--> Using cache 0929ac30fbb8ea721bcaf4cf7e9a4276ead1323bc3c5ff9ffc7bc1e82250b64d
--> 0929ac30fbb
STEP 3: RUN conda env update -n base -f environment.yml     && rm environment.yml     && conda clean --all -y     && echo "conda activate base" >> ~/.bashrc
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working...
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
Examining conflict for conda tqdm conda-package-handling:  59%|█████▉    | 73/124 [02:51<00:20,  2.48it/s]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/conda/exceptions.py", line 1079, in __call__
return func(*args, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/conda_env/cli/main.py", line 80, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/opt/conda/lib/python3.7/site-packages/conda_env/cli/main_update.py", line 124, in execute
result[installer_type] = installer.install(prefix, specs, args, env)
File "/opt/conda/lib/python3.7/site-packages/conda_env/installers/conda.py", line 32, in install
prune=getattr(args, 'prune', False), update_modifier=UpdateModifier.FREEZE_INSTALLED)
File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 117, in solve_for_transaction
should_retry_solve)
File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 158, in solve_for_diff
force_remove, should_retry_solve)
File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 281, in solve_final_state
ssc = self._run_sat(ssc)
File "/opt/conda/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
return f(*args, **kwds)
File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 808, in _run_sat
should_retry_solve=ssc.should_retry_solve
File "/opt/conda/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
return f(*args, **kwds)
File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 1318, in solve
self.find_conflicts(specs, specs_to_add, history_specs)
File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 347, in find_conflicts
bad_deps = self.build_conflict_map(specs, specs_to_add, history_specs)
File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 507, in build_conflict_map
root, search_node, dep_graph, num_occurances)
File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 369, in breadth_first_search_for_dep_graph
last_spec = MatchSpec.union((path[-1], target_paths[-1][-1]))[0]
File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 481, in union
return cls.merge(match_specs, union=True)
File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 475, in merge
reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]
File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 475, in <lambda>
reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]
File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 502, in _merge
final = this_component.union(that_component)
File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 764, in union
return '|'.join(options)
TypeError: sequence item 0: expected str instance, Channel found

`$ /opt/conda/bin/conda-env update -n base -f environment.yml`

environment variables:
CIO_TEST=<not set>
CONDA_AUTO_UPDATE_CONDA=false
CONDA_ROOT=/opt/conda
PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
:/bin
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>

active environment : None
user config file : /root/.condarc
populated config files :
conda version : 4.8.2
conda-build version : not installed
python version : 3.7.6.final.0
virtual packages : __glibc=2.28
base environment : /opt/conda  (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /opt/conda/pkgs
/root/.conda/pkgs
envs directories : /opt/conda/envs
/root/.conda/envs
platform : linux-64
user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Linux/4.14.209-160.335.amzn2.x86_64 debian/10 glibc/2.28
UID:GID : 0:0
netrc file : None
offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

subprocess exited with status 1
subprocess exited with status 1
error building at STEP "RUN conda env update -n base -f environment.yml     && rm environment.yml     && conda clean --all -y     && echo "conda activate base" >> ~/.bashrc": exit status 1
Docker build failed
Docker build failed:
STEP 1: FROM coiled/default:sha-af843e5

STEP 2: COPY environment.yml environment.yml

--> Using cache 0929ac30fbb8ea721bcaf4cf7e9a4276ead1323bc3c5ff9ffc7bc1e82250b64d

--> 0929ac30fbb

STEP 3: RUN conda env update -n base -f environment.yml     && rm environment.yml     && conda clean --all -y     && echo "conda activate base" >> ~/.bashrc

Collecting package metadata (repodata.json): ...working... done

Solving environment: ...working... 

Found conflicts! Looking for incompatible packages.

This can take several minutes.  Press CTRL-C to abort.

failed

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):

      File "/opt/conda/lib/python3.7/site-packages/conda/exceptions.py", line 1079, in __call__

        return func(*args, **kwargs)

      File "/opt/conda/lib/python3.7/site-packages/conda_env/cli/main.py", line 80, in do_call

        exit_code = getattr(module, func_name)(args, parser)

      File "/opt/conda/lib/python3.7/site-packages/conda_env/cli/main_update.py", line 124, in execute

        result[installer_type] = installer.install(prefix, specs, args, env)

      File "/opt/conda/lib/python3.7/site-packages/conda_env/installers/conda.py", line 32, in install

        prune=getattr(args, 'prune', False), update_modifier=UpdateModifier.FREEZE_INSTALLED)

      File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 117, in solve_for_transaction

        should_retry_solve)

      File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 158, in solve_for_diff

        force_remove, should_retry_solve)

      File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 281, in solve_final_state

        ssc = self._run_sat(ssc)

      File "/opt/conda/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated

        return f(*args, **kwds)

      File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 808, in _run_sat

        should_retry_solve=ssc.should_retry_solve

      File "/opt/conda/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated

        return f(*args, **kwds)

      File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 1318, in solve

        self.find_conflicts(specs, specs_to_add, history_specs)

      File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 347, in find_conflicts

        bad_deps = self.build_conflict_map(specs, specs_to_add, history_specs)

      File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 507, in build_conflict_map

        root, search_node, dep_graph, num_occurances)

      File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 369, in breadth_first_search_for_dep_graph

        last_spec = MatchSpec.union((path[-1], target_paths[-1][-1]))[0]

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 481, in union

        return cls.merge(match_specs, union=True)

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 475, in merge

        reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 475, in <lambda>

        reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 502, in _merge

        final = this_component.union(that_component)

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 764, in union

        return '|'.join(options)

    TypeError: sequence item 0: expected str instance, Channel found

`$ /opt/conda/bin/conda-env update -n base -f environment.yml`

  environment variables:

                 CIO_TEST=<not set>

  CONDA_AUTO_UPDATE_CONDA=false

               CONDA_ROOT=/opt/conda

                     PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin

                          :/bin

       REQUESTS_CA_BUNDLE=<not set>

            SSL_CERT_FILE=<not set>

     active environment : None

       user config file : /root/.condarc

 populated config files : 

          conda version : 4.8.2

    conda-build version : not installed

         python version : 3.7.6.final.0

       virtual packages : __glibc=2.28

       base environment : /opt/conda  (writable)

           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64

                          https://repo.anaconda.com/pkgs/main/noarch

                          https://repo.anaconda.com/pkgs/r/linux-64

                          https://repo.anaconda.com/pkgs/r/noarch

          package cache : /opt/conda/pkgs

                          /root/.conda/pkgs

       envs directories : /opt/conda/envs

                          /root/.conda/envs

               platform : linux-64

             user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Linux/4.14.209-160.335.amzn2.x86_64 debian/10 glibc/2.28

                UID:GID : 0:0

             netrc file : None

           offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

subprocess exited with status 1

subprocess exited with status 1

error building at STEP "RUN conda env update -n base -f environment.yml     && rm environment.yml     && conda clean --all -y     && echo "conda activate base" >> ~/.bashrc": exit status 1

----------------------------------------------------------------------
ValueError                           Traceback (most recent call last)
<ipython-input-7-e60f63e1e901> in <module>
      3 assert not coiled.list_software_environments()
      4 
----> 5 coiled.create_software_environment(
      6     name="test_env",
      7     conda={

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/coiled/core.py in create_software_environment(name, conda, pip, container, log_output, post_build, conda_env_name, backend_options, private)
   1400     """
   1401     with Cloud() as cloud:
-> 1402         return cloud.create_software_environment(
   1403             name=name,
   1404             conda=conda,

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/coiled/core.py in create_software_environment(self, name, conda, pip, container, post_build, conda_env_name, backend_options, log_output, private)
    542         private: bool = False,
    543     ) -> dict:
--> 544         return self._sync(  # type: ignore
    545             self._create_software_environment,
    546             name=name,

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/coiled/core.py in _sync(self, func, asynchronous, callback_timeout, *args, **kwargs)
    278             return future
    279         else:
--> 280             return sync(
    281                 self.loop, func, *args, callback_timeout=callback_timeout, **kwargs
    282             )

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/distributed/utils.py in sync(loop, func, callback_timeout, *args, **kwargs)
    338     if error[0]:
    339         typ, exc, tb = error[0]
--> 340         raise exc.with_traceback(tb)
    341     else:
    342         return result[0]

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/distributed/utils.py in f()
    322             if callback_timeout is not None:
    323                 future = asyncio.wait_for(future, callback_timeout)
--> 324             result[0] = yield future
    325         except Exception as exc:
    326             error[0] = sys.exc_info()

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/tornado/gen.py in run(self)
    760 
    761                     try:
--> 762                         value = future.result()
    763                     except Exception:
    764                         exc_info = sys.exc_info()

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/coiled/core.py in _create_software_environment(self, name, conda, pip, container, post_build, conda_env_name, log_output, backend_options, private)
    655         error_details = await self._websocket_stream(ws, log_output, use_spinner=False)
    656         if error_details:
--> 657             raise ValueError(f"Unable to update Environment: {error_details}")
    658 
    659     async def _list_software_environments(self, account=None):

ValueError: Unable to update Environment: Docker build failed:
STEP 1: FROM coiled/default:sha-af843e5

STEP 2: COPY environment.yml environment.yml

--> Using cache 0929ac30fbb8ea721bcaf4cf7e9a4276ead1323bc3c5ff9ffc7bc1e82250b64d

--> 0929ac30fbb

STEP 3: RUN conda env update -n base -f environment.yml     && rm environment.yml     && conda clean --all -y     && echo "conda activate base" >> ~/.bashrc

Collecting package metadata (repodata.json): ...working... done

Solving environment: ...working... 

Found conflicts! Looking for incompatible packages.

This can take several minutes.  Press CTRL-C to abort.

failed

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):

      File "/opt/conda/lib/python3.7/site-packages/conda/exceptions.py", line 1079, in __call__

        return func(*args, **kwargs)

      File "/opt/conda/lib/python3.7/site-packages/conda_env/cli/main.py", line 80, in do_call

        exit_code = getattr(module, func_name)(args, parser)

      File "/opt/conda/lib/python3.7/site-packages/conda_env/cli/main_update.py", line 124, in execute

        result[installer_type] = installer.install(prefix, specs, args, env)

      File "/opt/conda/lib/python3.7/site-packages/conda_env/installers/conda.py", line 32, in install

        prune=getattr(args, 'prune', False), update_modifier=UpdateModifier.FREEZE_INSTALLED)

      File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 117, in solve_for_transaction

        should_retry_solve)

      File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 158, in solve_for_diff

        force_remove, should_retry_solve)

      File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 281, in solve_final_state

        ssc = self._run_sat(ssc)

      File "/opt/conda/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated

        return f(*args, **kwds)

      File "/opt/conda/lib/python3.7/site-packages/conda/core/solve.py", line 808, in _run_sat

        should_retry_solve=ssc.should_retry_solve

      File "/opt/conda/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated

        return f(*args, **kwds)

      File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 1318, in solve

        self.find_conflicts(specs, specs_to_add, history_specs)

      File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 347, in find_conflicts

        bad_deps = self.build_conflict_map(specs, specs_to_add, history_specs)

      File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 507, in build_conflict_map

        root, search_node, dep_graph, num_occurances)

      File "/opt/conda/lib/python3.7/site-packages/conda/resolve.py", line 369, in breadth_first_search_for_dep_graph

        last_spec = MatchSpec.union((path[-1], target_paths[-1][-1]))[0]

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 481, in union

        return cls.merge(match_specs, union=True)

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 475, in merge

        reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 475, in <lambda>

        reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 502, in _merge

        final = this_component.union(that_component)

      File "/opt/conda/lib/python3.7/site-packages/conda/models/match_spec.py", line 764, in union

        return '|'.join(options)

    TypeError: sequence item 0: expected str instance, Channel found

`$ /opt/conda/bin/conda-env update -n base -f environment.yml`

  environment variables:

                 CIO_TEST=<not set>

  CONDA_AUTO_UPDATE_CONDA=false

               CONDA_ROOT=/opt/conda

                     PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin

                          :/bin

       REQUESTS_CA_BUNDLE=<not set>

            SSL_CERT_FILE=<not set>

     active environment : None

       user config file : /root/.condarc

 populated config files : 

          conda version : 4.8.2

    conda-build version : not installed

         python version : 3.7.6.final.0

       virtual packages : __glibc=2.28

       base environment : /opt/conda  (writable)

           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64

                          https://repo.anaconda.com/pkgs/main/noarch

                          https://repo.anaconda.com/pkgs/r/linux-64

                          https://repo.anaconda.com/pkgs/r/noarch

          package cache : /opt/conda/pkgs

                          /root/.conda/pkgs

       envs directories : /opt/conda/envs

                          /root/.conda/envs

               platform : linux-64

             user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Linux/4.14.209-160.335.amzn2.x86_64 debian/10 glibc/2.28

                UID:GID : 0:0

             netrc file : None

           offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

subprocess exited with status 1

subprocess exited with status 1

error building at STEP "RUN conda env update -n base -f environment.yml     && rm environment.yml     && conda clean --all -y     && echo "conda activate base" >> ~/.bashrc": exit status 1

and other times we catch:

It should work, since conda env create -f environment.yml works well with:

# environment.yml
name: test-env
channels:
  - conda-forge
  - defaults
dependencies:
  - python=3.8
  - dask[complete]=2020.12.0
  - pandas=1.2.0
  - pyarrow>=2.0.0
  - s3fs

Removing s3fs as a dependency seems to make it work (but we need it). Cheers.

rubenvdg commented 3 years ago

Stacktrace for ValueError: Unable to update Environment: Separator is found, but chunk is longer than limit

Updating software environment...
Solving conda environment...
Conda environment solved!
Building Docker image
(this takes a few minutes)
STEP 1: FROM coiled/default:sha-af843e5
STEP 2: COPY environment.yml environment.yml
--> Using cache 0929ac30fbb8ea721bcaf4cf7e9a4276ead1323bc3c5ff9ffc7bc1e82250b64d
--> 0929ac30fbb
STEP 3: RUN conda env update -n base -f environment.yml     && rm environment.yml     && conda clean --all -y     && echo "conda activate base" >> ~/.bashrc
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working...
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
Separator is found, but chunk is longer than limit

----------------------------------------------------------------------
ValueError                           Traceback (most recent call last)
<ipython-input-8-612be89b5423> in <module>
      1 import coiled
      2 
----> 3 coiled.create_software_environment(
      4     name="test_env",
      5     conda={

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/coiled/core.py in create_software_environment(name, conda, pip, container, log_output, post_build, conda_env_name, backend_options, private)
   1400     """
   1401     with Cloud() as cloud:
-> 1402         return cloud.create_software_environment(
   1403             name=name,
   1404             conda=conda,

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/coiled/core.py in create_software_environment(self, name, conda, pip, container, post_build, conda_env_name, backend_options, log_output, private)
    542         private: bool = False,
    543     ) -> dict:
--> 544         return self._sync(  # type: ignore
    545             self._create_software_environment,
    546             name=name,

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/coiled/core.py in _sync(self, func, asynchronous, callback_timeout, *args, **kwargs)
    278             return future
    279         else:
--> 280             return sync(
    281                 self.loop, func, *args, callback_timeout=callback_timeout, **kwargs
    282             )

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/distributed/utils.py in sync(loop, func, callback_timeout, *args, **kwargs)
    338     if error[0]:
    339         typ, exc, tb = error[0]
--> 340         raise exc.with_traceback(tb)
    341     else:
    342         return result[0]

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/distributed/utils.py in f()
    322             if callback_timeout is not None:
    323                 future = asyncio.wait_for(future, callback_timeout)
--> 324             result[0] = yield future
    325         except Exception as exc:
    326             error[0] = sys.exc_info()

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/tornado/gen.py in run(self)
    760 
    761                     try:
--> 762                         value = future.result()
    763                     except Exception:
    764                         exc_info = sys.exc_info()

~/.pyenv/versions/3.8.6/envs/ezra/lib/python3.8/site-packages/coiled/core.py in _create_software_environment(self, name, conda, pip, container, post_build, conda_env_name, log_output, backend_options, private)
    655         error_details = await self._websocket_stream(ws, log_output, use_spinner=False)
    656         if error_details:
--> 657             raise ValueError(f"Unable to update Environment: {error_details}")
    658 
    659     async def _list_software_environments(self, account=None):

ValueError: Unable to update Environment: Separator is found, but chunk is longer than limit
FabioRosado commented 3 years ago

Hello Ruben, thank you for raising this issue with us and for spending time looking over at the error. I might need to ask someone from our team about this issue, I'll try to get you an answer as soon as possible

--- EDIT ---

@rubenvdg just to make sure, this was when creating an environment and not updating one right?

rubenvdg commented 3 years ago

@FabioRosado Correct!

FabioRosado commented 3 years ago

Just to give you an update, I am going to have to check with our team about this. I've been trying to see if I could find anything online related to that first exception that you got and came across this issue, I'm wondering if updating conda might help here since it's using 4.8.2

--EDIT-- Update: Marcos from our engineering team just pushed a fix that should fix this issue that you were getting 😄

jrbourbeau commented 3 years ago

Just wanted to note that we're still seeing this issue when creating software environments for Coiled notebooks (xref https://github.com/coiled/notebooks/runs/1723969479)

FabioRosado commented 3 years ago

I tried to create a software environment with s3fs, and conda kept failing with the same issue. I've moved s3fs to pip, and that worked.

coiled.create_software_environment(
    name = "gpu-s3fs",
    container="gpuci/miniconda-cuda:10.2-runtime-ubuntu18.04",
    conda={
    "channels": ["conda-forge", "defaults", "rapidsai"],
    "dependencies": ["dask", "dask-cuda", "dask-xgboost", "dask-ml", "xgboost"],
    "pip": ["s3fs"]
    }
)

It seems that this could be a workaround the issue that you had @rubenvdg, James I'll try to create a software environment using the notebook and move things around, I'm curious to see if xgboost is causing the failure 🤔

I'm wondering if updating conda's version is the solution for this issue

FabioRosado commented 3 years ago

Hello Ruben, just wanted to update you about this issue - I have mentioned it to Diederik over slack as well. On the new version of coiled this issue is fixed, thank you for the time you have put on coiled and reporting the issues you have encountered.

I'm closing this issue since it's fixed. Please feel free to re-open or create a new issue if you encounter any problems when testing coiled.