Skip to content

CI: run WPT tests on macOS#29201

Merged
bors-servo merged 8 commits intoservo:masterfrom
delan:ci-mac-wpt
Jan 13, 2023
Merged

CI: run WPT tests on macOS#29201
bors-servo merged 8 commits intoservo:masterfrom
delan:ci-mac-wpt

Conversation

@delan
Copy link
Member

@delan delan commented Jan 4, 2023

This patch uncomments and fixes the mac-wpt job in the main workflow, with a few changes:

  • we downgrade python3 and pip3 to 3.9, because inspect.getargspec was removed in 3.11
  • we download the real Servo artifact, rather than the fake Servo for testing

We also align the rest of the job (other than --timeout-multiplier) to be as close as possible to linux-wpt, based on the assumption that linux-wpt is more up to date. This includes:

  • setting strategy.fail-fast to false
  • adding a failure() condition to the “Archive logs” step
  • adding the chunk id to log filenames

There are some failing WPT tests, so for now the job is not required to succeed.

Example run: https://github.com/delan/servo/actions/runs/3837530905


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Run WPT tests (macOS) #28284 (GitHub issue number if applicable)
  • There are tests for these changes OR
  • These changes do not require tests because they affect the CI configuration

@delan
Copy link
Member Author

delan commented Jan 4, 2023

oops, hit ctrl+enter by accident, but i’ve finished the description now!

@jdm
Copy link
Member

jdm commented Jan 4, 2023

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit 55c4c7b with merge a991ee7...

bors-servo added a commit that referenced this pull request Jan 4, 2023
CI: run WPT tests on macOS

This patch uncomments and fixes the mac-wpt job in the main workflow, with a few changes:

* we downgrade python3 and pip3 to 3.9, because inspect.getargspec was [removed in 3.11](https://docs.python.org/3/whatsnew/3.11.html#removed)
    * we should apparently move to [inspect.getfullargspec](https://docs.python.org/3/library/inspect.html#inspect.getfullargspec)
* we download the real Servo artifact, rather than the fake Servo for testing

We also align the rest of the job (other than `--timeout-multiplier`) to be as close as possible to linux-wpt, based on the assumption that linux-wpt is more up to date. This includes:

* setting strategy.fail-fast to false
* adding a failure() condition to the “Archive logs” step
* adding the chunk id to log filenames

There are some failing WPT tests, so for now the job is not required to succeed.

Example run: <https://github.com/delan/servo/actions/runs/3837530905>

---

- [ ] ~~`./mach build -d` does not report any errors~~
- [ ] ~~`./mach test-tidy` does not report any errors~~
- [x] These changes fix #28284 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect the CI configuration
@andreubotella
Copy link
Contributor

andreubotella commented Jan 4, 2023

For the record, mach only ever seems to use the args property of inspect.getargspec(), and that is unchanged in inspect.getfullargspec(). In fact, in Python 3.10 getargspec is implemented as a wrapper over getfullargspec that passes through some of its properties, including args. So updating mach to support Python 3.11 should be trivial.

@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@delan
Copy link
Member Author

delan commented Jan 5, 2023

@bors-servo try

@bors-servo
Copy link
Contributor

@delan: 🔑 Insufficient privileges: not in try users

@jdm
Copy link
Member

jdm commented Jan 5, 2023

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit 9f91b36 with merge 8c8fabd...

bors-servo added a commit that referenced this pull request Jan 5, 2023
CI: run WPT tests on macOS

This patch uncomments and fixes the mac-wpt job in the main workflow, with a few changes:

* we downgrade python3 and pip3 to 3.9, because inspect.getargspec was [removed in 3.11](https://docs.python.org/3/whatsnew/3.11.html#removed)
    * we should apparently move to [inspect.getfullargspec](https://docs.python.org/3/library/inspect.html#inspect.getfullargspec)
* we download the real Servo artifact, rather than the fake Servo for testing

We also align the rest of the job (other than `--timeout-multiplier`) to be as close as possible to linux-wpt, based on the assumption that linux-wpt is more up to date. This includes:

* setting strategy.fail-fast to false
* adding a failure() condition to the “Archive logs” step
* adding the chunk id to log filenames

There are some failing WPT tests, so for now the job is not required to succeed.

Example run: <https://github.com/delan/servo/actions/runs/3837530905>

---

- [ ] ~~`./mach build -d` does not report any errors~~
- [ ] ~~`./mach test-tidy` does not report any errors~~
- [x] These changes fix #28284 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect the CI configuration
@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@delan
Copy link
Member Author

delan commented Jan 5, 2023

@bors-servo try

@bors-servo
Copy link
Contributor

@delan: 🔑 Insufficient privileges: not in try users

@delan
Copy link
Member Author

delan commented Jan 9, 2023

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit 2d2668e with merge 1e1cef4...

bors-servo added a commit that referenced this pull request Jan 9, 2023
CI: run WPT tests on macOS

This patch uncomments and fixes the mac-wpt job in the main workflow, with a few changes:

* we downgrade python3 and pip3 to 3.9, because inspect.getargspec was [removed in 3.11](https://docs.python.org/3/whatsnew/3.11.html#removed)
    * we should apparently move to [inspect.getfullargspec](https://docs.python.org/3/library/inspect.html#inspect.getfullargspec)
* we download the real Servo artifact, rather than the fake Servo for testing

We also align the rest of the job (other than `--timeout-multiplier`) to be as close as possible to linux-wpt, based on the assumption that linux-wpt is more up to date. This includes:

* setting strategy.fail-fast to false
* adding a failure() condition to the “Archive logs” step
* adding the chunk id to log filenames

There are some failing WPT tests, so for now the job is not required to succeed.

Example run: <https://github.com/delan/servo/actions/runs/3837530905>

---

- [ ] ~~`./mach build -d` does not report any errors~~
- [ ] ~~`./mach test-tidy` does not report any errors~~
- [x] These changes fix #28284 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect the CI configuration
@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@delan
Copy link
Member Author

delan commented Jan 9, 2023

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Trying commit 2d2668e with merge 21e40ad...

bors-servo added a commit that referenced this pull request Jan 9, 2023
CI: run WPT tests on macOS

This patch uncomments and fixes the mac-wpt job in the main workflow, with a few changes:

* we downgrade python3 and pip3 to 3.9, because inspect.getargspec was [removed in 3.11](https://docs.python.org/3/whatsnew/3.11.html#removed)
    * we should apparently move to [inspect.getfullargspec](https://docs.python.org/3/library/inspect.html#inspect.getfullargspec)
* we download the real Servo artifact, rather than the fake Servo for testing

We also align the rest of the job (other than `--timeout-multiplier`) to be as close as possible to linux-wpt, based on the assumption that linux-wpt is more up to date. This includes:

* setting strategy.fail-fast to false
* adding a failure() condition to the “Archive logs” step
* adding the chunk id to log filenames

There are some failing WPT tests, so for now the job is not required to succeed.

Example run: <https://github.com/delan/servo/actions/runs/3837530905>

---

- [ ] ~~`./mach build -d` does not report any errors~~
- [ ] ~~`./mach test-tidy` does not report any errors~~
- [x] These changes fix #28284 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect the CI configuration
@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@delan
Copy link
Member Author

delan commented Jan 10, 2023

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Trying commit 2d2668e with merge e1dd70d...

bors-servo added a commit that referenced this pull request Jan 10, 2023
CI: run WPT tests on macOS

This patch uncomments and fixes the mac-wpt job in the main workflow, with a few changes:

* we downgrade python3 and pip3 to 3.9, because inspect.getargspec was [removed in 3.11](https://docs.python.org/3/whatsnew/3.11.html#removed)
    * we should apparently move to [inspect.getfullargspec](https://docs.python.org/3/library/inspect.html#inspect.getfullargspec)
* we download the real Servo artifact, rather than the fake Servo for testing

We also align the rest of the job (other than `--timeout-multiplier`) to be as close as possible to linux-wpt, based on the assumption that linux-wpt is more up to date. This includes:

* setting strategy.fail-fast to false
* adding a failure() condition to the “Archive logs” step
* adding the chunk id to log filenames

There are some failing WPT tests, so for now the job is not required to succeed.

Example run: <https://github.com/delan/servo/actions/runs/3837530905>

---

- [ ] ~~`./mach build -d` does not report any errors~~
- [ ] ~~`./mach test-tidy` does not report any errors~~
- [x] These changes fix #28284 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect the CI configuration
@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@CYBAI
Copy link
Member

CYBAI commented Jan 11, 2023

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Trying commit 2d2668e with merge a694471...

bors-servo added a commit that referenced this pull request Jan 11, 2023
CI: run WPT tests on macOS

This patch uncomments and fixes the mac-wpt job in the main workflow, with a few changes:

* we downgrade python3 and pip3 to 3.9, because inspect.getargspec was [removed in 3.11](https://docs.python.org/3/whatsnew/3.11.html#removed)
    * we should apparently move to [inspect.getfullargspec](https://docs.python.org/3/library/inspect.html#inspect.getfullargspec)
* we download the real Servo artifact, rather than the fake Servo for testing

We also align the rest of the job (other than `--timeout-multiplier`) to be as close as possible to linux-wpt, based on the assumption that linux-wpt is more up to date. This includes:

* setting strategy.fail-fast to false
* adding a failure() condition to the “Archive logs” step
* adding the chunk id to log filenames

There are some failing WPT tests, so for now the job is not required to succeed.

Example run: <https://github.com/delan/servo/actions/runs/3837530905>

---

- [ ] ~~`./mach build -d` does not report any errors~~
- [ ] ~~`./mach test-tidy` does not report any errors~~
- [x] These changes fix #28284 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect the CI configuration
@bors-servo
Copy link
Contributor

☀️ Test successful - checks-github
State: approved= try=True

@delan delan requested a review from jdm January 11, 2023 09:44
@delan
Copy link
Member Author

delan commented Jan 11, 2023

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

📌 Commit 2d2668e has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit 2d2668e with merge 17a4590...

bors-servo added a commit that referenced this pull request Jan 11, 2023
CI: run WPT tests on macOS

This patch uncomments and fixes the mac-wpt job in the main workflow, with a few changes:

* we downgrade python3 and pip3 to 3.9, because inspect.getargspec was [removed in 3.11](https://docs.python.org/3/whatsnew/3.11.html#removed)
    * we should apparently move to [inspect.getfullargspec](https://docs.python.org/3/library/inspect.html#inspect.getfullargspec)
* we download the real Servo artifact, rather than the fake Servo for testing

We also align the rest of the job (other than `--timeout-multiplier`) to be as close as possible to linux-wpt, based on the assumption that linux-wpt is more up to date. This includes:

* setting strategy.fail-fast to false
* adding a failure() condition to the “Archive logs” step
* adding the chunk id to log filenames

There are some failing WPT tests, so for now the job is not required to succeed.

Example run: <https://github.com/delan/servo/actions/runs/3837530905>

---

- [ ] ~~`./mach build -d` does not report any errors~~
- [ ] ~~`./mach test-tidy` does not report any errors~~
- [x] These changes fix #28284 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect the CI configuration
@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@jdm
Copy link
Member

jdm commented Jan 12, 2023

Yikes.

@delan
Copy link
Member Author

delan commented Jan 12, 2023

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Testing commit 2d2668e with merge 806db67...

@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@bors-servo
Copy link
Contributor

☀️ Test successful - checks-github
Approved by: jdm
Pushing 806db67 to master...

@bors-servo bors-servo merged commit 806db67 into servo:master Jan 13, 2023
@delan delan deleted the ci-mac-wpt branch January 13, 2023 13:25
bors-servo added a commit that referenced this pull request Jan 17, 2023
CI: disable mac-wpt job in main workflow

In theory, the new mac-wpt jobs added in #29201 are harmless since they aren’t required for the main workflow to succeed, but in practice, the runners are so slow to assign and run that they break the build.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect the CI configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run WPT tests (macOS)

5 participants