Skip to content

[CI] Browser tests are failing in macos-latest due to Puppeteer #1001

@smoya

Description

@smoya

Description

Current browser tests are broken in MacOS due to a timeout. See the following run as example: https://github.com/asyncapi/parser-js/actions/runs/9348904713/job/25775243162?pr=999#step:10:443

Google Chrome_PikQRSCy

I've tried increasing timeouts, but it always ends with such a timeout.
After a deep investigation, I discovered the issue happens when trying to start a new browser instance through Puppeteer.

But why this is happening suddenly?

macos-latest GitHub-hosted runner tag was migrated (through a 12 weeks of rolling update) from pointing to macos-12 to macos-14. Not that exactly, but in practical effects, that's what happened.
The issue comes with this new macos-14 version: macos-14 is now on Apple Silicon (arm64) and not Intel anymore..

Steps I follow but didn't fix the issue

  1. I decided to upgrade Puppeteer to latest version because I saw there was people complaining about an incompatibility with M2/M3 Apple chipsets. Suddenly tests on Linux were also failing due to the same timeout.

  2. TODO

Possible solutions

  1. To downgrade to macos-13, at least until we find the issue and a remediation. That would require modifying the global workflow file at https://github.com/asyncapi/.github/blob/master/.github/workflows/if-nodejs-pr-testing.yml

cc @derberg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions