setup-micromamba icon indicating copy to clipboard operation
setup-micromamba copied to clipboard

Error removing `micromamba-shell` in cleanup step

Open jonashaag opened this issue 2 years ago • 4 comments

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'
  }

jonashaag avatar Aug 17 '23 10:08 jonashaag

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

almostintuitive avatar Sep 29 '23 18:09 almostintuitive

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.

robertodr avatar Oct 04 '23 13:10 robertodr

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

pavelzw avatar Oct 04 '23 14:10 pavelzw

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

robertodr avatar Oct 05 '23 14:10 robertodr