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

Error removing micromamba-shell in cleanup step #130

Open
jonashaag opened this issue Aug 17, 2023 · 4 comments
Open

Error removing micromamba-shell in cleanup step #130

jonashaag opened this issue Aug 17, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@jonashaag
Copy link
Collaborator

https://github.com/mamba-org/mamba/actions/runs/5881601796/job/15950428165

Removing micromamba run shell ...
Deinitialize micromamba for bash
  node:internal/process/promises:279
              triggerUncaughtException(err, true /* fromPromise */);
              ^
  
  [Error: ENOENT: no such file or directory, stat '/usr/local/bin/micromamba-shell'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'stat',
    path: '/usr/local/bin/micromamba-shell'
  }
@almostintuitive
Copy link

almostintuitive commented Sep 29, 2023

We're also bumping into this, on a self-hosted runner, even with caching set to false. do you have any advice? (on linux)

@robertodr
Copy link

We're also hitting this on a self-hosted runner (macOS ARM64). Caching is also not enabled. Since the clean-up fails, any subsequent job fails at the startup since the ~/micromamba folder is already present.

@pavelzw
Copy link
Member

pavelzw commented Oct 4, 2023

An easy fix should be to use generate-run-shell: false. I'll try to take a look at the underlying issue.

@robertodr
Copy link

@pavelzw that does the trick for me! Thank you!

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

No branches or pull requests

4 participants