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

Race conditions when running multiple mamba instances at the same time #2666

Open
jonashaag opened this issue Jul 11, 2023 · 5 comments
Open
Labels
type::bug Something isn't working

Comments

@jonashaag
Copy link
Contributor

jonashaag commented Jul 11, 2023

When I run multiple Mamba/Micromamba create at this same time I'm getting funny errors, see below.

@jonashaag
Copy link
Contributor Author

I'm getting a bunch of other errors, maybe this is due to broken locking (running a test suite with concurrency)

mapping pread: No such file or directory
mapping pread: No such file or directory
mapping pread: No such file or directory
mapping pread: No such file or directory
mapping pread: No such file or directory
mapping pread: No such file or directory
warning  libmamba Could not validate package '/Users/runner/micromamba/pkgs/libcxx-15.0.7-h71dddab_0/info/repodata_record.json': md5 and sha256 sum unknown.
    Set safety_checks to disabled to override this warning.
warning  libmamba Extracted package cache '/Users/runner/micromamba/pkgs/libcxx-15.0.7-h71dddab_0' has no checksum
warning  libmamba Could not validate package '/Users/runner/micromamba/pkgs/libcxx-15.0.7-h71dddab_0.conda': md5 and sha256 sum unknown.
    Set safety_checks to disabled to override this warning.
warning  libmamba Could not validate package '/Users/runner/micromamba/pkgs/xtl-0.7.5-hb8565cd_0/info/repodata_record.json': md5 and sha256 sum unknown.
    Set safety_checks to disabled to override this warning.
warning  libmamba Extracted package cache '/Users/runner/micromamba/pkgs/xtl-0.7.5-hb8565cd_0' has no checksum
warning  libmamba Could not validate package '/Users/runner/micromamba/pkgs/xtl-0.7.5-hb8565cd_0.conda': md5 and sha256 sum unknown.
    Set safety_checks to disabled to override this warning.
warning  libmamba Could not validate package '/Users/runner/micromamba/pkgs/xtensor-0.23.10-h940c156_0/info/repodata_record.json': md5 and sha256 sum unknown.
    Set safety_checks to disabled to override this warning.
warning  libmamba Extracted package cache '/Users/runner/micromamba/pkgs/xtensor-0.23.10-h940c156_0' has no checksum
warning  libmamba Could not validate package '/Users/runner/micromamba/pkgs/xtensor-0.23.10-h940c156_0.tar.bz2': md5 and sha256 sum unknown.
    Set safety_checks to disabled to override this warning.
warning  libmamba Could not validate package '/Users/runner/micromamba/pkgs/libcxx-15.0.7-h71dddab_0/info/repodata_record.json': md5 and sha256 sum unknown.
    Set safety_checks to disabled to override this warning.
warning  libmamba Extracted package cache '/Users/runner/micromamba/pkgs/libcxx-15.0.7-h71dddab_0' has no checksum
error    libmamba Cannot find a valid extracted directory cache for 'libcxx-15.0.7-h71dddab_0.conda'
critical libmamba Package cache error.

@JohanMabille
Copy link
Member

I guess it works with micromamba 1.4.7?

@jonashaag jonashaag added the type::bug Something isn't working label Jul 11, 2023
@jonashaag
Copy link
Contributor Author

OK no it also fails with 1.4.7

@jonashaag jonashaag changed the title Mamba 1.4.8: not a SOLV file Race conditions when running multiple mamba instances at the same time Jul 11, 2023
@jonashaag
Copy link
Contributor Author

I tested all versions down to 1.3.1. We always have this problem.

I expected multiple Mamba instances not to get in each other's way due to locking. Is that not the case?

@ZhangxiJesseFeng
Copy link

I am also experiencing this issue. Identical warning leading to build failure. However in my case, it failed the docker build GitHub action but other actions that also use mamba passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants