Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - ci: Use Ubuntu 22.04 runner for run-examples, run-examples-on-wasm jobs #6875

Closed
wants to merge 2 commits into from

Conversation

oliviacrain
Copy link
Contributor

@oliviacrain oliviacrain commented Dec 7, 2022

Objective

  • The run-examples-on-wasm job fails on Ubuntu 22.04, when it was previously working on Ubuntu 20.04. Playwright 1.22.1 (the version currently pinned by us) fails trying to install system dependencies that were renamed between Ubuntu 20.04 and 22.04.
  • The run-examples job previously failed on Ubuntu 22.04 with errors consistent with those listed in this upstream mesa bug.
  • Fixes Update CI to run on Ubuntu Latest #6832

Solution

@oliviacrain
Copy link
Contributor Author

I don't think the affected job will run on this PR- please see the included link to where I ran this in my fork, if you want to see the logs.

@alice-i-cecile alice-i-cecile added A-Build-System Related to build systems or continuous integration C-Dependencies A change to the crates that Bevy depends on O-Web Specific to web (WASM) builds labels Dec 7, 2022
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good detective work! These changes seem reasonable, and it's plausible that this would have broken CI.

@alice-i-cecile
Copy link
Member

bors try

bors bot added a commit that referenced this pull request Dec 7, 2022
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Dec 7, 2022
@mockersf
Copy link
Member

mockersf commented Dec 7, 2022

Could you also try updating ubuntu for job run-examples? Your fix is good but it should have hit the same issue as that job, unless GitHub also fixed something else on their runner.

@oliviacrain oliviacrain changed the title ci: Upgrade playwright to 1.28.1 to fix run-examples-on-wasm job on Ubuntu 22.04 ci: Use Ubuntu 22.04 runner for run-examples, run-examples-on-wasm jobs Dec 8, 2022
@oliviacrain
Copy link
Contributor Author

@mockersf Done! Updated PR title and description to match.

@mockersf
Copy link
Member

mockersf commented Dec 8, 2022

Bors r+

bors bot pushed a commit that referenced this pull request Dec 8, 2022
…bs (#6875)

# Objective

- The `run-examples-on-wasm` job fails on Ubuntu 22.04, when it was previously working on Ubuntu 20.04. Playwright 1.22.1 (the version currently pinned by us) fails trying to install system dependencies that were renamed between Ubuntu 20.04 and 22.04.
- The `run-examples` job previously failed on Ubuntu 22.04 with errors consistent with those listed in [this upstream mesa bug](https://gitlab.freedesktop.org/mesa/mesa/-/issues/7819).
- Fixes #6832

## Solution

- Upgrade `playwright` to the latest [v1.28.1](https://github.com/microsoft/playwright/releases/tag/v1.28.1) release. Ubuntu 22.04 support was [added](microsoft/playwright#14588) in [v1.23.0](https://github.com/microsoft/playwright/releases/tag/v1.23.0). The [test now passes on 22.04](https://github.com/oliviacrain/bevy/actions/runs/3633583112/jobs/6130757397), and the output screenshots are unchanged from previous job outputs.
- Use `ubuntu-latest` for the `run-examples` job. No other modifications necessary. The [PPA we pull mesa from](https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers) rebuilt the package for 22.04 with the [upstream fix](https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20145/diffs?commit_id=b3d1ae19f2f4d93cf0a5f45a598149ac4e8e05aa).
@bors bors bot changed the title ci: Use Ubuntu 22.04 runner for run-examples, run-examples-on-wasm jobs [Merged by Bors] - ci: Use Ubuntu 22.04 runner for run-examples, run-examples-on-wasm jobs Dec 8, 2022
@bors bors bot closed this Dec 8, 2022
alradish pushed a commit to alradish/bevy that referenced this pull request Jan 22, 2023
…bs (bevyengine#6875)

# Objective

- The `run-examples-on-wasm` job fails on Ubuntu 22.04, when it was previously working on Ubuntu 20.04. Playwright 1.22.1 (the version currently pinned by us) fails trying to install system dependencies that were renamed between Ubuntu 20.04 and 22.04.
- The `run-examples` job previously failed on Ubuntu 22.04 with errors consistent with those listed in [this upstream mesa bug](https://gitlab.freedesktop.org/mesa/mesa/-/issues/7819).
- Fixes bevyengine#6832

## Solution

- Upgrade `playwright` to the latest [v1.28.1](https://github.com/microsoft/playwright/releases/tag/v1.28.1) release. Ubuntu 22.04 support was [added](microsoft/playwright#14588) in [v1.23.0](https://github.com/microsoft/playwright/releases/tag/v1.23.0). The [test now passes on 22.04](https://github.com/oliviacrain/bevy/actions/runs/3633583112/jobs/6130757397), and the output screenshots are unchanged from previous job outputs.
- Use `ubuntu-latest` for the `run-examples` job. No other modifications necessary. The [PPA we pull mesa from](https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers) rebuilt the package for 22.04 with the [upstream fix](https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20145/diffs?commit_id=b3d1ae19f2f4d93cf0a5f45a598149ac4e8e05aa).
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
…bs (bevyengine#6875)

# Objective

- The `run-examples-on-wasm` job fails on Ubuntu 22.04, when it was previously working on Ubuntu 20.04. Playwright 1.22.1 (the version currently pinned by us) fails trying to install system dependencies that were renamed between Ubuntu 20.04 and 22.04.
- The `run-examples` job previously failed on Ubuntu 22.04 with errors consistent with those listed in [this upstream mesa bug](https://gitlab.freedesktop.org/mesa/mesa/-/issues/7819).
- Fixes bevyengine#6832

## Solution

- Upgrade `playwright` to the latest [v1.28.1](https://github.com/microsoft/playwright/releases/tag/v1.28.1) release. Ubuntu 22.04 support was [added](microsoft/playwright#14588) in [v1.23.0](https://github.com/microsoft/playwright/releases/tag/v1.23.0). The [test now passes on 22.04](https://github.com/oliviacrain/bevy/actions/runs/3633583112/jobs/6130757397), and the output screenshots are unchanged from previous job outputs.
- Use `ubuntu-latest` for the `run-examples` job. No other modifications necessary. The [PPA we pull mesa from](https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers) rebuilt the package for 22.04 with the [upstream fix](https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20145/diffs?commit_id=b3d1ae19f2f4d93cf0a5f45a598149ac4e8e05aa).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Build-System Related to build systems or continuous integration C-Dependencies A change to the crates that Bevy depends on O-Web Specific to web (WASM) builds S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update CI to run on Ubuntu Latest
4 participants