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

Solver hang with 100% cpu usage; regression between mamba1.5 and mamba2 #3822

Open
3 tasks done
tguruswamy opened this issue Feb 13, 2025 · 2 comments
Open
3 tasks done
Labels
status::cannot-reproduce The bug could not be reproduced type::bug Something isn't working

Comments

@tguruswamy
Copy link

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Micromamba

Search tried in issue tracker

solver slow, solver regression, solver fail, solver cpu

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

Not applicable

Describe your issue

An environment file which resolves fine with micromamba 1.5.2 never returns with micromamba 2.0.6 .
2.0.6 solver never continues after "CUDA driver version found", though this does not appear specific to a CUDA version or machine.

Possibly related to #3694 , as performance regressions are seen on other environment files as well.

full command used for testing both micromamba 2.0.6 and micromamba 1.5.2:
micromamba -vvv env create --dry-run --offline -f environment.yml
No base environment in use.

relevant portion of log from micromamba 1.5.2 (which works):

debug    libmamba Loading virtual packages
debug    libmamba Loading distribution virtual packages
debug    libmamba Loading linux virtual package
debug    libmamba linux version found: 5.14.0
debug    libmamba Loading CUDA virtual package
debug    libmamba CUDA driver version found: 12.4
debug    libmamba Adding virtual package: __unix=0=0
debug    libmamba Adding virtual package: __linux=5.14.0=0
debug    libmamba Adding virtual package: __glibc=2.34=0
debug    libmamba Adding virtual package: __archspec=1=x86_64_v3
debug    libmamba Adding virtual package: __cuda=12.4=0
info     libmamba Adding package record to repo __archspec
info     libmamba Adding package record to repo __cuda
info     libmamba Adding package record to repo __glibc
info     libmamba Adding package record to repo __linux
info     libmamba Adding package record to repo __unix
info     libsolv  number of solvables: 820668, memory used: 44880 K
info     libsolv  number of ids: 340159 + 455582
info     libsolv  string memory used: 1328 K array + 5404 K data,  rel memory used: 5338 K array
info     libsolv  string hash memory: 4096 K, rel hash memory : 4096 K

mamba info / micromamba info

libmamba version : 2.0.6
     micromamba version : 2.0.6
           curl version : libcurl/8.11.1 OpenSSL/3.4.0 zlib/1.3.1 zstd/1.5.6 libssh2/1.11.1 nghttp2/1.64.0
     libarchive version : libarchive 3.7.7 zlib/1.3.1 bz2lib/1.0.8 libzstd/1.5.6
       envs directories : /home/beams2/TGURUSWAMY/src/python/conda_debug/envs/envs
                          /home/beams2/TGURUSWAMY/src/python/conda_debug/envs/envs
          package cache : /home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs
                          /home/beams2/TGURUSWAMY/.mamba/pkgs
            environment : base
           env location : /home/beams2/TGURUSWAMY/src/python/conda_debug/envs
      user config files : /home/beams/TGURUSWAMY/.mambarc
 populated config files : /home/beams/TGURUSWAMY/.conda/condarc
                          /home/beams/TGURUSWAMY/.config/conda/condarc
       virtual packages : __unix=0=0
                          __linux=5.14.0=0
                          __glibc=2.34=0
                          __archspec=1=x86_64_v3
                          __cuda=12.4=0
               channels : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
       base environment : /home/beams2/TGURUSWAMY/src/python/conda_debug/envs
               platform : linux-64

Logs

$ micromamba -vvv env create --dry-run --offline -f roach2_environment.yml 
debug    libmamba Loading configuration
trace    libmamba Compute configurable 'create_base'
trace    libmamba Compute configurable 'no_env'
trace    libmamba Compute configurable 'no_rc'
trace    libmamba Compute configurable 'rc_files'
trace    libmamba Compute configurable 'root_prefix'
trace    libmamba Get RC files configuration from locations up to HomeDir
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.mamba/mambarc.d'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.mamba/mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.mamba/.mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/mamba/mambarc.d'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/mamba/mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/mamba/.mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.conda/condarc.d'
trace    libmamba Configuration found at '/home/beams/TGURUSWAMY/.conda/condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.conda/.condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/conda/condarc.d'
trace    libmamba Configuration found at '/home/beams/TGURUSWAMY/.config/conda/condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/conda/.condarc'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/.mambarc'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/condarc.d'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/condarc'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/.condarc'
trace    libmamba Configuration not found at '/var/lib/conda/.mambarc'
trace    libmamba Configuration not found at '/var/lib/conda/condarc.d/'
trace    libmamba Configuration not found at '/var/lib/conda/condarc'
trace    libmamba Configuration not found at '/var/lib/conda/.condarc'
trace    libmamba Configuration not found at '/etc/conda/.mambarc'
trace    libmamba Configuration not found at '/etc/conda/condarc.d/'
trace    libmamba Configuration not found at '/etc/conda/condarc'
trace    libmamba Configuration not found at '/etc/conda/.condarc'
trace    libmamba Update configurable 'no_env'
trace    libmamba Compute configurable 'envs_dirs'
trace    libmamba Compute configurable 'file_specs'
debug    libmamba No env 'name' specified in YAML spec file '/home/beams2/TGURUSWAMY/src/python/conda_debug/roach2_environment.yml'
trace    libmamba Compute configurable 'spec_file_env_name'
trace    libmamba Compute configurable 'env_name'
trace    libmamba Compute configurable 'use_default_prefix_fallback'
trace    libmamba Compute configurable 'use_root_prefix_fallback'
trace    libmamba Compute configurable 'use_target_prefix_fallback'
trace    libmamba Compute configurable 'target_prefix'
trace    libmamba Get RC files configuration from locations up to TargetPrefix
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/envs/roach2/.mambarc'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/envs/roach2/condarc.d'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/envs/roach2/condarc'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/envs/roach2/.condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.mamba/mambarc.d'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.mamba/mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.mamba/.mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/mamba/mambarc.d'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/mamba/mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/mamba/.mambarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.conda/condarc.d'
trace    libmamba Configuration found at '/home/beams/TGURUSWAMY/.conda/condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.conda/.condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/conda/condarc.d'
trace    libmamba Configuration found at '/home/beams/TGURUSWAMY/.config/conda/condarc'
trace    libmamba Configuration not found at '/home/beams/TGURUSWAMY/.config/conda/.condarc'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/.mambarc'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/condarc.d'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/condarc'
trace    libmamba Configuration not found at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/.condarc'
trace    libmamba Configuration not found at '/var/lib/conda/.mambarc'
trace    libmamba Configuration not found at '/var/lib/conda/condarc.d/'
trace    libmamba Configuration not found at '/var/lib/conda/condarc'
trace    libmamba Configuration not found at '/var/lib/conda/.condarc'
trace    libmamba Configuration not found at '/etc/conda/.mambarc'
trace    libmamba Configuration not found at '/etc/conda/condarc.d/'
trace    libmamba Configuration not found at '/etc/conda/condarc'
trace    libmamba Configuration not found at '/etc/conda/.condarc'
trace    libmamba Update configurable 'no_env'
trace    libmamba Compute configurable 'relocate_prefix'
trace    libmamba Compute configurable 'target_prefix_checks'
trace    libmamba Compute configurable 'pkgs_dirs'
trace    libmamba Compute configurable 'platform'
trace    libmamba Compute configurable 'specs'
trace    libmamba Compute configurable 'others_pkg_mgrs_specs'
trace    libmamba Compute configurable 'experimental'
trace    libmamba Compute configurable 'experimental_repodata_parsing'
trace    libmamba Compute configurable 'debug'
trace    libmamba Compute configurable 'override_channels_enabled'
trace    libmamba Compute configurable 'override_channels'
trace    libmamba Compute configurable 'channels'
trace    libmamba Compute configurable 'channel_alias'
trace    libmamba Compute configurable 'default_channels'
trace    libmamba Compute configurable 'custom_channels'
trace    libmamba Compute configurable 'custom_multichannels'
trace    libmamba Compute configurable 'mirrored_channels'
trace    libmamba Compute configurable 'repodata_use_zst'
trace    libmamba Compute configurable 'repodata_has_zst'
trace    libmamba Compute configurable 'cacert_path'
trace    libmamba Compute configurable 'local_repodata_ttl'
trace    libmamba Compute configurable 'offline'
trace    libmamba Compute configurable 'ssl_no_revoke'
trace    libmamba Compute configurable 'ssl_verify'
debug    libmamba SSL verification disabled by offline mode
trace    libmamba Compute configurable 'proxy_servers'
trace    libmamba Compute configurable 'remote_connect_timeout_secs'
trace    libmamba Compute configurable 'remote_backoff_factor'
trace    libmamba Compute configurable 'remote_max_retries'
trace    libmamba Compute configurable 'no_channel_priority'
trace    libmamba Compute configurable 'strict_channel_priority'
trace    libmamba Compute configurable 'channel_priority'
trace    libmamba Compute configurable 'explicit_install'
trace    libmamba Compute configurable 'no_pin'
trace    libmamba Compute configurable 'no_py_pin'
trace    libmamba Compute configurable 'add_pip_as_python_dependency'
trace    libmamba Compute configurable 'pinned_packages'
trace    libmamba Compute configurable 'freeze_installed'
trace    libmamba Compute configurable 'no_deps'
trace    libmamba Compute configurable 'only_deps'
trace    libmamba Compute configurable 'force_reinstall'
trace    libmamba Compute configurable 'allow_uninstall'
trace    libmamba Compute configurable 'allow_downgrade'
trace    libmamba Compute configurable 'order_solver_request'
trace    libmamba Compute configurable 'categories'
trace    libmamba Compute configurable 'retry_clean_cache'
trace    libmamba Compute configurable 'download_threads'
trace    libmamba Compute configurable 'extract_threads'
trace    libmamba Compute configurable 'allow_softlinks'
trace    libmamba Compute configurable 'always_copy'
trace    libmamba Compute configurable 'always_softlink'
trace    libmamba Compute configurable 'show_anaconda_channel_warnings'
trace    libmamba Compute configurable 'shortcuts'
trace    libmamba Compute configurable 'safety_checks'
trace    libmamba Compute configurable 'extra_safety_checks'
trace    libmamba Compute configurable 'verify_artifacts'
trace    libmamba Compute configurable 'trusted_channels'
trace    libmamba Compute configurable 'lock_timeout'
trace    libmamba Compute configurable 'use_lockfiles'
trace    libmamba Compute configurable 'compile_pyc'
trace    libmamba Compute configurable 'always_yes'
trace    libmamba Compute configurable 'auto_activate_base'
trace    libmamba Compute configurable 'dry_run'
trace    libmamba Compute configurable 'download_only'
trace    libmamba Compute configurable 'print_config_only'
trace    libmamba Compute configurable 'print_context_only'
trace    libmamba Compute configurable 'json'
trace    libmamba Compute configurable 'verbose'
trace    libmamba Compute configurable 'log_level'
trace    libmamba Compute configurable 'log_backtrace'
trace    libmamba Compute configurable 'log_pattern'
trace    libmamba Compute configurable 'changeps1'
trace    libmamba Compute configurable 'shell_completion'
trace    libmamba Compute configurable 'env_prompt'
trace    libmamba Compute configurable 'show_all_configs'
trace    libmamba Compute configurable 'show_all_rc_configs'
trace    libmamba Compute configurable 'show_config_descriptions'
trace    libmamba Compute configurable 'show_config_groups'
trace    libmamba Compute configurable 'show_config_long_descriptions'
trace    libmamba Compute configurable 'show_config_sources'
trace    libmamba Compute configurable 'show_config_values'
trace    libmamba Compute configurable 'quiet'
trace    libmamba Compute configurable 'override_rc_files'
trace    libmamba Compute configurable 'shell_type'
trace    libmamba Compute configurable 'prefix_or_name'
trace    libmamba Compute configurable 'shell_stack'
trace    libmamba Compute configurable 'list_regex'
trace    libmamba Compute configurable 'full_name'
trace    libmamba Compute configurable 'no_pip'
trace    libmamba Compute configurable 'reverse'
trace    libmamba Compute configurable 'explicit'
trace    libmamba Compute configurable 'md5'
trace    libmamba Compute configurable 'canonical'
trace    libmamba Compute configurable 'clean_all'
trace    libmamba Compute configurable 'clean_index_cache'
trace    libmamba Compute configurable 'clean_packages'
trace    libmamba Compute configurable 'clean_tarballs'
trace    libmamba Compute configurable 'clean_locks'
trace    libmamba Compute configurable 'clean_trash'
trace    libmamba Compute configurable 'clean_force_pkgs_dirs'
trace    libmamba Compute configurable 'config_set_system_path'
trace    libmamba Compute configurable 'config_set_env_path'
trace    libmamba Compute configurable 'config_set_file_path'
trace    libmamba Compute configurable 'config_set_sequence_spec'
trace    libmamba Compute configurable 'remove_key'
trace    libmamba Compute configurable 'remove'
trace    libmamba Compute configurable 'set_value'
trace    libmamba Compute configurable 'get_value'
trace    libmamba Compute configurable 'constructor_prefix'
trace    libmamba Compute configurable 'constructor_extract_conda_pkgs'
trace    libmamba Compute configurable 'constructor_extract_tarball'
debug    libmamba 123 configurables computed
debug    libmamba Checking if '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs' is writable
trace    libmamba '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/urls.txt' exists, checking if writable
debug    libmamba '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs' writable
info     libmamba Searching index cache file for repo 'conda-forge/linux-64'
debug    libmamba Locking directory '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache'
trace    libmamba Lockfile created at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/cache.lock'
debug    libmamba Successfully locked
debug    libmamba Using JSON cache
trace    libmamba Cache age: 454/1200s
debug    libmamba Using SOLV cache
trace    libmamba Cache age: 446s
debug    libmamba Unlocking '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache'
trace    libmamba Removing file '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/cache.lock'
conda-forge/linux-64                                        Using cache
info     libmamba Searching index cache file for repo 'conda-forge/noarch'
debug    libmamba Locking directory '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache'
trace    libmamba Lockfile created at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/cache.lock'
debug    libmamba Successfully locked
debug    libmamba Using JSON cache
trace    libmamba Cache age: 466/1200s
debug    libmamba Using SOLV cache
trace    libmamba Cache age: 443s
debug    libmamba Unlocking '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache'
trace    libmamba Removing file '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/cache.lock'
conda-forge/noarch                                          Using cache
debug    libmamba 'ssl_verify' not activated, skipping cURL SSL init
trace    libmamba Using root prefix set in `MAMBA_ROOT_PREFIX`: "/home/beams/TGURUSWAMY/src/python/conda_debug/envs"
info     libmamba Creating repo from pkgs_dir for offline
info     libmamba Loading site packages
debug    libmamba `pip` not found
debug    libmamba Loading virtual packages
debug    libmamba Loading distribution virtual packages
debug    libmamba Loading CUDA virtual package
debug    libmamba CUDA version file not found: /usr/local/cuda/version.json
debug    libmamba Trying to find CUDA version by running `nvidia-smi --query -u -x`
debug    libmamba CUDA driver version found: 12.4
info     libmamba Loading site packages
debug    libmamba `pip` not found
debug    libmamba Loading virtual packages
debug    libmamba Loading distribution virtual packages
debug    libmamba Loading CUDA virtual package
debug    libmamba CUDA version file not found: /usr/local/cuda/version.json
debug    libmamba Trying to find CUDA version by running `nvidia-smi --query -u -x`
debug    libmamba CUDA driver version found: 12.4
info     libmamba Attempting to read libsolv solv file "/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/88ec62ec.solv" for repo https://conda.anaconda.org/conda-forge/linux-64
info     libmamba Expecting solv metadata : {"etag":"\"cc655e0b536e65f2e8126ee001f8efa2\"","mod":"Thu, 13 Feb 2025 17:01:32 GMT","tool_version":"2.0_0.7.30","url":"https://conda.anaconda.org/conda-forge/linux-64"}
debug    libmamba Locking file '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/88ec62ec.solv'
trace    libmamba Lockfile created at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/88ec62ec.solv.lock'
debug    libmamba Successfully locked
info     libmamba Loaded solv metadata : {"etag":"\"cc655e0b536e65f2e8126ee001f8efa2\"","mod":"Thu, 13 Feb 2025 17:01:32 GMT","tool_version":"2.0_0.7.30","url":"https://conda.anaconda.org/conda-forge/linux-64"}
info     libmamba Metadata from solv are valid, loading successful
debug    libmamba Unlocking '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/88ec62ec.solv'
trace    libmamba Removing file '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/88ec62ec.solv.lock'
info     libmamba Attempting to read libsolv solv file "/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/eb045dd1.solv" for repo https://conda.anaconda.org/conda-forge/noarch
info     libmamba Expecting solv metadata : {"etag":"\"258a4462682877836ee5d3ddceff46f6\"","mod":"Thu, 13 Feb 2025 17:15:13 GMT","tool_version":"2.0_0.7.30","url":"https://conda.anaconda.org/conda-forge/noarch"}
debug    libmamba Locking file '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/eb045dd1.solv'
trace    libmamba Lockfile created at '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/eb045dd1.solv.lock'
debug    libmamba Successfully locked
info     libmamba Loaded solv metadata : {"etag":"\"258a4462682877836ee5d3ddceff46f6\"","mod":"Thu, 13 Feb 2025 17:15:13 GMT","tool_version":"2.0_0.7.30","url":"https://conda.anaconda.org/conda-forge/noarch"}
info     libmamba Metadata from solv are valid, loading successful
debug    libmamba Unlocking '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/eb045dd1.solv'
trace    libmamba Removing file '/home/beams2/TGURUSWAMY/src/python/conda_debug/envs/pkgs/cache/eb045dd1.solv.lock'
info     libmamba Loading site packages
debug    libmamba `pip` not found
debug    libmamba Loading virtual packages
debug    libmamba Loading distribution virtual packages
debug    libmamba Loading CUDA virtual package
debug    libmamba CUDA version file not found: /usr/local/cuda/version.json
debug    libmamba Trying to find CUDA version by running `nvidia-smi --query -u -x`
debug    libmamba CUDA driver version found: 12.4

(no further output, 100% CPU usage forever)

environment.yml

name: roach2
channels:
  - conda-forge
dependencies:
  - python=2.7
  - numpy
  - scipy
  - ipython
  - qt=4
  - pyqt=4
  - pandas
  - cython
  - mkl
  - pyserial
  - pyusb
  - pyvisa
  - pyvisa-py<=0.4.1
  - pyepics
  - epics-base
  - pillow
  - pyyaml
  # matplotlib requirements
  - cycler
  - pyparsing
  - backports.functools_lru_cache
  - kiwisolver
  - subprocess32
  # katcp requirements
  - idna<3
  - pyhamcrest<=1.10.1
  - twisted
  - ply
  - nose
  - unittest2
  - mock
  # corr requirements
  - h5py[version="!=3.7"]

~/.condarc

solver: libmamba
auto_activate_base: false
@jjerphan
Copy link
Member

I cannot reproduce the problem with 2.0.5, and manage to create an environment successfully:

Trace
conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache


Transaction

  Prefix: roach2

  Updating specs:

   - python=2.7
   - numpy
   - scipy
   - ipython
   - qt=4
   - pyqt=4
   - pandas
   - cython
   - mkl
   - pyserial
   - pyusb
   - pyvisa
   - pyvisa-py<=0.4.1
   - pyepics
   - epics-base
   - pillow
   - pyyaml
   - cycler
   - pyparsing
   - backports.functools_lru_cache
   - kiwisolver
   - subprocess32
   - idna<3
   - pyhamcrest<=1.10.1
   - twisted
   - ply
   - nose
   - unittest2
   - mock
   - h5py!=3.7


  Package                                   Version  Build                   Channel           Size
─────────────────────────────────────────────────────────────────────────────────────────────────────
  Install:
─────────────────────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                               0.1  conda_forge             conda-forge     Cached
  + _openmp_mutex                               4.5  2_kmp_llvm              conda-forge     Cached
  + asn1crypto                                1.4.0  pyh9f0ad1d_0            conda-forge       80kB
  + attr                                      2.5.1  h166bdaf_1              conda-forge     Cached
  + attrs                                    21.4.0  pyhd8ed1ab_0            conda-forge       50kB
  + automat                                  20.2.0  py_0                    conda-forge       31kB
  + backports                                   1.0  pyhd8ed1ab_3            conda-forge        6kB
  + backports.functools_lru_cache             1.6.1  py_0                    conda-forge        8kB
  + backports.shutil_get_terminal_size        1.0.0  py_3                    conda-forge        7kB
  + bcrypt                                    3.1.7  py27h516909a_0          conda-forge       44kB
  + ca-certificates                       2025.1.31  hbcca054_0              conda-forge     Cached
  + cairo                                    1.14.6  4                       conda-forge        1MB
  + certifi                              2019.11.28  py27h8c360ce_1          conda-forge      152kB
  + cffi                                     1.14.0  py27hd463f26_0          conda-forge      223kB
  + configparser                              3.7.3  py27h8c360ce_2          conda-forge       37kB
  + constantly                               15.1.0  py_0                    conda-forge        9kB
  + contextlib2                         0.6.0.post1  py_0                    conda-forge       13kB
  + cryptography                                2.5  py27hb7f436b_1          conda-forge      649kB
  + cycler                                   0.10.0  py_2                    conda-forge       10kB
  + cython                                  0.29.15  py27haf22ab1_1          conda-forge        2MB
  + decorator                                 4.4.2  py_0                    conda-forge       11kB
  + enum34                                   1.1.10  py27h8c360ce_1          conda-forge       50kB
  + epics-base                               3.15.6  he1b5a44_0              conda-forge       17MB
  + expat                                     2.6.4  h5888daf_0              conda-forge     Cached
  + fontconfig                               2.12.1  4                       conda-forge      961kB
  + freetype                                    2.7  1                       conda-forge        3MB
  + funcsigs                                  1.0.2  py_3                    conda-forge       14kB
  + gettext                                  0.23.1  h5888daf_0              conda-forge     Cached
  + gettext-tools                            0.23.1  h5888daf_0              conda-forge     Cached
  + glib                                     2.51.4  0                       conda-forge        6MB
  + graphite2                                1.3.13  h59595ed_1003           conda-forge     Cached
  + h5py                                     2.10.0  nompi_py27h513d04c_102  conda-forge        1MB
  + harfbuzz                                  1.4.3  0                       conda-forge        4MB
  + hdf5                                     1.10.5  nompi_h5b725eb_1114     conda-forge        3MB
  + hyperlink                                21.0.0  pyhd3deb0d_0            conda-forge       73kB
  + icu                                        58.2  hf484d3e_1000           conda-forge       24MB
  + idna                                       2.10  pyh9f0ad1d_0            conda-forge       54kB
  + importlib-metadata                        1.5.0  py27h8c360ce_1          conda-forge       42kB
  + incremental                              17.5.0  py_0                    conda-forge       14kB
  + ipaddress                                1.0.23  py_0                    conda-forge       20kB
  + ipython                                   5.8.0  py27_1                  conda-forge        1MB
  + ipython_genutils                          0.2.0  pyhd8ed1ab_1            conda-forge       28kB
  + jpeg                                         9e  h0b41bf4_3              conda-forge      240kB
  + kiwisolver                                1.1.0  py27h9e3301b_1          conda-forge       90kB
  + libasprintf                              0.23.1  h8e693c7_0              conda-forge     Cached
  + libasprintf-devel                        0.23.1  h8e693c7_0              conda-forge     Cached
  + libblas                                   3.9.0  20_linux64_openblas     conda-forge       14kB
  + libcap                                     2.71  h39aace5_0              conda-forge     Cached
  + libcblas                                  3.9.0  20_linux64_openblas     conda-forge       14kB
  + libexpat                                  2.6.4  h5888daf_0              conda-forge     Cached
  + libffi                                    3.2.1  he1b5a44_1007           conda-forge       48kB
  + libgcc                                   14.2.0  h77fa898_1              conda-forge     Cached
  + libgcc-ng                                14.2.0  h69a702a_1              conda-forge     Cached
  + libgettextpo                             0.23.1  h5888daf_0              conda-forge     Cached
  + libgettextpo-devel                       0.23.1  h5888daf_0              conda-forge     Cached
  + libgfortran-ng                            7.5.0  h14aa051_20             conda-forge       23kB
  + libgfortran4                              7.5.0  h14aa051_20             conda-forge        1MB
  + libgfortran5                             14.2.0  hd5240d6_1              conda-forge     Cached
  + libiconv                                   1.17  hd590300_2              conda-forge     Cached
  + liblapack                                 3.9.0  20_linux64_openblas     conda-forge       14kB
  + liblzma                                   5.6.4  hb9d3cd8_0              conda-forge     Cached
  + liblzma-devel                             5.6.4  hb9d3cd8_0              conda-forge     Cached
  + libopenblas                              0.3.25  pthreads_h413a1c8_0     conda-forge        6MB
  + libpng                                   1.6.43  h2797004_0              conda-forge     Cached
  + libstdcxx                                14.2.0  hc0a3c3a_1              conda-forge     Cached
  + libstdcxx-ng                             14.2.0  h4852527_1              conda-forge     Cached
  + libtiff                                  4.0.10  hc3755c2_1005           conda-forge      616kB
  + libudev1                                  257.2  h9a4d06a_0              conda-forge     Cached
  + libusb                                   1.0.27  h520f47e_100            conda-forge       86kB
  + libuuid                                  2.38.1  h0b41bf4_0              conda-forge     Cached
  + libxcb                                   1.17.0  h8a09558_0              conda-forge     Cached
  + libxml2                                   2.9.9  h13577e0_2              conda-forge        1MB
  + libzlib                                  1.2.13  h4ab18f5_6              conda-forge     Cached
  + linecache2                                1.0.0  py_1                    conda-forge       13kB
  + llvm-openmp                              19.1.7  h024ca30_0              conda-forge     Cached
  + lz4-c                                     1.9.3  h9c3ff4c_1              conda-forge      184kB
  + mkl                                    2024.2.2  ha957f24_16             conda-forge      125MB
  + mock                                      3.0.5  py27h8c360ce_1          conda-forge       45kB
  + more-itertools                            5.0.0  py_0                    conda-forge       45kB
  + ncurses                                     6.5  h2d0b736_3              conda-forge     Cached
  + nose                                      1.3.7  py27h8c360ce_1004       conda-forge      221kB
  + numpy                                    1.16.5  py27h95a1406_0          conda-forge        4MB
  + olefile                                    0.46  pyh9f0ad1d_1            conda-forge       33kB
  + openssl                                  1.0.2u  h516909a_0              conda-forge        3MB
  + pandas                                   0.24.2  py27hb3f55d8_0          conda-forge       11MB
  + pango                                    1.40.4  0                       conda-forge        1MB
  + pathlib2                                  2.3.5  py27h8c360ce_1          conda-forge       34kB
  + pcre                                       8.45  h9c3ff4c_0              conda-forge      259kB
  + pexpect                                   4.8.0  pyh1a96a4e_2            conda-forge     Cached
  + pickleshare                               0.7.5  py27h8c360ce_1001       conda-forge       13kB
  + pillow                                    4.2.1  py27_0                  conda-forge      935kB
  + pip                                      20.1.1  pyh9f0ad1d_0            conda-forge        1MB
  + pixman                                   0.34.0  h14c3975_1003           conda-forge      609kB
  + ply                                        3.11  pyhd8ed1ab_2            conda-forge       49kB
  + prompt_toolkit                           1.0.15  py_1                    conda-forge      158kB
  + pthread-stubs                               0.4  hb9d3cd8_1002           conda-forge     Cached
  + ptyprocess                                0.7.0  pyhd3deb0d_0            conda-forge       17kB
  + pyasn1                                    0.6.0  pyhd8ed1ab_0            conda-forge       64kB
  + pyasn1-modules                            0.0.9  py27_0                  conda-forge       83kB
  + pycparser                                  2.21  pyhd8ed1ab_0            conda-forge     Cached
  + pyepics                                   3.4.0  py27_1                  conda-forge      185kB
  + pygments                                  2.5.2  py_0                    conda-forge      685kB
  + pyhamcrest                               1.10.1  py_0                    conda-forge       29kB
  + pyopenssl                                19.0.0  py27_0                  conda-forge       81kB
  + pyparsing                                 2.4.7  pyh9f0ad1d_0            conda-forge       61kB
  + pyqt                                     4.11.4  py27_3                  conda-forge        4MB
  + pyserial                                    3.5  pyhd8ed1ab_0            conda-forge       66kB
  + python                                   2.7.15  h938d71a_1006           conda-forge       12MB
  + python-dateutil                           2.8.1  py_0                    conda-forge      225kB
  + python_abi                                  2.7  1_cp27mu                conda-forge        4kB
  + pytz                                     2020.1  pyh9f0ad1d_0            conda-forge      232kB
  + pyusb                                     1.1.1  pyh44b312d_0            conda-forge       41kB
  + pyvisa                                   1.10.1  py27h8c360ce_2          conda-forge      193kB
  + pyvisa-py                                 0.4.1  pyh9f0ad1d_1            conda-forge       42kB
  + pyyaml                                    5.3.1  py27hdf8410d_0          conda-forge      179kB
  + qt                                        4.8.7  ha8c56c7_9              conda-forge       25MB
  + readline                                    7.0  hf8c457e_1001           conda-forge      400kB
  + scandir                                  1.10.0  py27hdf8410d_1          conda-forge       29kB
  + scipy                                     1.2.1  py27h921218d_2          conda-forge       19MB
  + service-identity                         21.1.0  pyhd8ed1ab_0            conda-forge       16kB
  + service_identity                         21.1.0  hd8ed1ab_0              conda-forge        6kB
  + setuptools                               44.0.0  py27_0                  conda-forge      679kB
  + simplegeneric                             0.8.1  py_1                    conda-forge        7kB
  + sip                                        4.18  py27_1                  conda-forge      271kB
  + six                                      1.16.0  pyh6c4a22f_0            conda-forge       14kB
  + sqlite                                   3.28.0  h8b20d00_0              conda-forge        2MB
  + subprocess32                              3.5.4  py27h516909a_0          conda-forge       47kB
  + tbb                                    2021.7.0  h924138e_0              conda-forge        2MB
  + tk                                       8.6.13  noxft_h4845f30_101      conda-forge     Cached
  + traceback2                                1.4.0  py27_0                  conda-forge       28kB
  + traitlets                                 4.3.3  py27h8c360ce_1          conda-forge      132kB
  + twisted                                 19.10.0  py27h516909a_0          conda-forge        5MB
  + typing                                  3.7.4.1  py27h8c360ce_1          conda-forge       47kB
  + typing_extensions                       3.7.4.1  py27h8c360ce_1          conda-forge       16kB
  + unittest2                                 1.1.0  py_0                    conda-forge       69kB
  + wcwidth                                   0.2.5  pyh9f0ad1d_2            conda-forge       34kB
  + wheel                                    0.37.1  pyhd8ed1ab_0            conda-forge       32kB
  + xorg-libice                               1.1.2  hb9d3cd8_0              conda-forge     Cached
  + xorg-libsm                                1.2.5  he73a12e_0              conda-forge     Cached
  + xorg-libx11                              1.8.11  h4f16b4b_0              conda-forge     Cached
  + xorg-libxau                              1.0.12  hb9d3cd8_0              conda-forge     Cached
  + xorg-libxdmcp                             1.1.5  hb9d3cd8_0              conda-forge     Cached
  + xorg-libxext                              1.3.6  hb9d3cd8_0              conda-forge     Cached
  + xorg-libxrender                          0.9.12  hb9d3cd8_0              conda-forge     Cached
  + xorg-libxt                                1.3.1  hb9d3cd8_0              conda-forge     Cached
  + xz                                        5.6.4  hbcc6ac9_0              conda-forge     Cached
  + xz-gpl-tools                              5.6.4  hbcc6ac9_0              conda-forge     Cached
  + xz-tools                                  5.6.4  hb9d3cd8_0              conda-forge     Cached
  + yaml                                      0.2.5  h7f98852_2              conda-forge     Cached
  + zipp                                      1.0.0  py_0                    conda-forge        7kB
  + zlib                                     1.2.13  h4ab18f5_6              conda-forge     Cached
  + zope.interface                            5.0.0  py27hdf8410d_0          conda-forge      274kB
  + zstd                                      1.4.9  ha95c52a_0              conda-forge      442kB

  Summary:

  Install: 153 packages

  Total download: 298MB

─────────────────────────────────────────────────────────────────────────────────────────────────────


Dry run. Not executing the transaction.

To activate this environment, use:

    micromamba activate roach2

Or to execute a single command in this environment, use:

    micromamba run -n roach2 mycommand

Reintroducing the log of libsolv as mentioned in #3415 (comment) might help diagnose the issue better.

Can you find a small reproducer by binary-searching the MatchSpecs in the environment's specification which are causing the environment to be insolvable in your case? E.g. python=2.7 could be the culprit.

@jjerphan jjerphan added type::bug Something isn't working status::cannot-reproduce The bug could not be reproduced labels Feb 14, 2025
@tguruswamy
Copy link
Author

tguruswamy commented Feb 23, 2025

I've retested and confirmed that on my system
micromamba1.5 creates the environment
while micromamba2.0.5 and micromamba2.0.6 do not succeed at all.
Presumably there is some difference due to the virtual packages on my system compared to yours.

I'll also note again that it doesn't just fail, it never completes (at least for 15+minutes, with 100% cpu and rising memory usage), so this is a bug beyond just the lack of a solver solution.

This appears to be the minimal environment to cause this on my system, removing any one package from this list leads to success within one or two minutes:

channels:
  - conda-forge
dependencies:
  - python=2.7
  - numpy
  - ipython
  - pyqt=4
  - cython
  - pyepics
  - epics-base
  - cycler
  - backports.functools_lru_cache
  - kiwisolver
  - h5py

Interestingly it works if I change the spec to python=2 or remove the pyqt version spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status::cannot-reproduce The bug could not be reproduced type::bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants