Skip to content

Installing homebrew + openMPI randomly fails on macos-latest runner #7742

Description

@perazz

Description

See fortran-lang/fpm#939

When the CI step works, it runs smooth and fast, e.g.:
https://github.com/perazz/fpm/actions/runs/5303750239/jobs/9599600174
(homebrew openmpi installation step took 29s)

More often, it fails after trying to update plenty of homebrew packages for up to ~30-40 minutes
(sometimes, it seems like the same updates are launched by multiple threads simultaneously). For example:
https://github.com/fortran-lang/fpm/actions/runs/5303789007/jobs/9599788424

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

2.305.0

Is it regression?

It appeared recently

Expected behavior

OpenMPI is pulled from a brew bottle, its installation should be nearly instantaneous and more importantly it should work just fine.

Actual behavior

Installation fails after a long time trying to upload all sorts of homebrew packages:

https://github.com/fortran-lang/fpm/actions/runs/5303789007/jobs/9599788424

Repro steps

Run action 'metapackage-tests' from fortran-lang/fpm

https://github.com/fortran-lang/fpm/actions/workflows/meta.yml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions