OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
12 stars 24 forks source link

Automated UI failures in Mac build for 24.0.6 #777

Open turkeylurkey opened 4 months ago

turkeylurkey commented 4 months ago

PR #1258 Attempt #2

71 tests completed, 10 failed

turkeylurkey commented 4 months ago

I tried with different versions of MacOS to see if that would affect the pass rate. It does. image Potentially we should update our build to use these O/S versions.

We could also ask for assistance from github to see if there are parameters to select faster machines to run the Mac tests.

turkeylurkey commented 4 months ago

The GitHub docs explain that the mac-latest O/S runs on M1 with 7GB RAM. This may not be enough for IntelliJ even with fast swap. The macOS-13 and macOS-12 run on x86 which is slower but they get 14GB RAM.

https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners

turkeylurkey commented 4 months ago

Use a configuration action like for Windows but try to get more RAM.

     - name: Configure pagefile
        if: contains(matrix.os, 'windows')
        uses: al-cheb/configure-pagefile-action@v1.2
        with:
          minimum-size: 8GB
          maximum-size: 10GB
          disk-root: "C:"
turkeylurkey commented 2 months ago

To get more RAM maybe we could sign up for a free trial to experiment.

Features not included in the trial

- For GitHub Actions, increased minutes, job concurrency, and larger runners

https://docs.github.com/en/enterprise-cloud@latest/admin/overview/setting-up-a-trial-of-github-enterprise-cloud

turkeylurkey commented 1 month ago

Modified some of the timeouts to increase them to allow more time for the slow Mac VM to respond. In most cases the robot checks every 2s so the increase should not affect other platforms which have successful tests.

turkeylurkey commented 1 month ago

These tests should be fixed by the latest pull request but we should open more issues for new failures and add them to this epic.