bazelbuild / bazelbuild/bazel

macOS "failed to create installation symlink"

Open
#11,867 5 comments 0 reactions 0 assignees View on GitHub
P2 team-OSS type: bug
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 18h
Merged PRs (30d)
75

Description

We see this flake occasionally on macOS:

```
FATAL: failed to create installation symlink '/private/var/tmp/_bazel_iosci/4988be46b65c576ca5906aacc315f576/install': (error: 2): No such file or directory
```

### Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

It's unclear how to repro this since it's quite flaky, but we see it at least once per day in our CI infra.

### What operating system are you running Bazel on?

macOS

### What's the output of `bazel info release`?

3.4.1

### Have you found anything relevant by searching the web?

https://github.com/bazelbuild/continuous-integration/issues/197

Contributor guide

Open the contributing guide

Research direction

Start with the reported macOS error and compare the linked continuous-integration issue, github.com/bazelbuild/continuous-integration/issues/197. Investigate the CI environment and conditions around creation of the installation symlink. Done means identifying a reproducible failure condition and documenting or fixing it so the CI flake no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.