Commit graph

45810 commits

Author SHA1 Message Date
bors-servo
0dd7e4e772
Auto merge of #29322 - mrobinson:tidy-sooner, r=jdm
Run `test-tidy` sooner for pull requests

This lets the builder fail sooner when there is an issue with the style.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because they are a small change to the CI.
2023-02-03 01:38:09 +01:00
Martin Robinson
cc1ccf8aff ci: Produce a single WPT log artifact
GitHub supports adding files to an artifact in parallel, as long as the
filenames are unique. This makes it easier to download build results
when more than a single builder fails.
2023-02-02 15:54:04 +01:00
Martin Robinson
37e0b6feb8 Run test-tidy sooner for pull requests
This lets the builder fail sooner when there is an issue
with the style.
2023-02-02 15:42:31 +01:00
bors-servo
d581131f1c
Auto merge of #29318 - mukilan:upgrade-nightly-2023-02-01, r=delan
Upgrade the Rust toolchain to 'nightly-2023-02-01'

<!-- Please describe your changes on the following line: -->

This change should address the failing nightly [rustc test jobs](https://github.com/servo/servo/actions/workflows/nightly-rust.yml)

For reference, these are the [relevant](https://github.com/rust-lang/rust/pull/107206) [PRs](https://github.com/rust-lang/rust/pull/104170) in rustc that I could find.

Signed-off-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./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 there are existing unit tests for script_plugins that do pass.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2023-02-02 13:53:44 +01:00
bors-servo
eb5c79243f
Auto merge of #29321 - servo:wpt_update_02-02-2023, r=servo-wpt-sync
Sync WPT with upstream (02-02-2023)

Automated downstream sync of changes from upstream as of 02-02-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-02-02 02:55:54 +01:00
WPT Sync Bot
ec63c43030 Update web-platform-tests to revision b'd1192ca239e944dc6cdbcd079e1c16227e08e30c' 2023-02-02 01:55:40 +00:00
bors-servo
69b272b4e1
Auto merge of #29317 - delan:structured-subtest-results, r=mrobinson
wpt: retain raw results for unexpected tests and subtests

ServoHandler currently processes the raw results for unexpected tests and subtests on the fly, discarding the test_end (test) or test_status (subtest) event data once it has generated output for the events.

This patch retains that event data in ServoHandler.test_failures and ServoHandler.subtest_failures, allowing servowpt.py to send structured data about unexpected tests and subtests to the dashboard (servo/intermittent-tracker#5), e.g.

```diff
diff --git a/tests/wpt/servowpt.py b/tests/wpt/servowpt.py
index fee6dcf2df..ac3e46e36d 100644
--- a/tests/wpt/servowpt.py
+++ b/tests/wpt/servowpt.py
@@ -27,6 +27,7 @@ import update  # noqa: F401,E402

 TRACKER_API = "https://build.servo.org/intermittent-tracker"
 TRACKER_API_ENV_VAR = "INTERMITTENT_TRACKER_API"
+TRACKER_DASHBOARD_SECRET_ENV_VAR = "INTERMITTENT_TRACKER_DASHBOARD_SECRET"
 GITHUB_API_TOKEN_ENV_VAR = "INTERMITTENT_TRACKER_GITHUB_API_TOKEN"

@@ -145,6 +146,48 @@ def run_tests(**kwargs):
     logger.add_handler(handler)

     wptrunner.run_tests(**kwargs)
+
+    if TRACKER_DASHBOARD_SECRET_ENV_VAR in os.environ:
+        body = []
+        for failure in handler.test_failures:
+            # print(f'>>> {repr(failure)}')
+            body.append({
+                'path': failure['test'],
+                'subtest': None,
+                'expected': failure['expected'],
+                'actual': failure['status'],
+                'time': failure['time'] // 1000,
+                'message': failure.get('message'),
+                'stack': failure.get('stack'),
+                'branch': os.environ.get('SERVO_BRANCH'),
+                'build_url': os.environ.get('SERVO_BUILD_URL'),
+                'pull_url': os.environ.get('SERVO_PULL_URL'),
+            })
+        for (path, failures) in handler.subtest_failures.items():
+            for failure in failures:
+                # print(f'>>> {repr(failure)}')
+                body.append({
+                    'path': path,
+                    'subtest': failure['subtest'],
+                    'expected': failure['expected'],
+                    'actual': failure['status'],
+                    'time': failure['time'] // 1000,
+                    'message': failure.get('message'),
+                    'stack': failure.get('stack'),
+                    'branch': os.environ.get('SERVO_BRANCH'),
+                    'build_url': os.environ.get('SERVO_BUILD_URL'),
+                    'pull_url': os.environ.get('SERVO_PULL_URL'),
+                })
+        request = urllib.request.Request(
+            f'{os.environ.get(TRACKER_API_ENV_VAR, TRACKER_API)}/dashboard/attempts',
+            method='POST',
+            data=json.dumps(body).encode('utf-8'),
+            headers={
+                'Authorization': f'Bearer {os.environ[TRACKER_DASHBOARD_SECRET_ENV_VAR]}',
+                'Content-Type': 'application/json',
+            })
+        urllib.request.urlopen(request)
+
     if handler.unexpected_results and filter_intermittents_output:
         all_filtered = filter_intermittents(
             handler.unexpected_results,
```

---
<!-- 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
- [ ] These changes do not require tests because ___
2023-02-01 17:35:52 +01:00
dependabot[bot]
50c9a11fc3
Bump unicode-segmentation from 1.9.0 to 1.10.1
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.9.0 to 1.10.1.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases)
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits/v1.10.1)

---
updated-dependencies:
- dependency-name: unicode-segmentation
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 16:25:52 +00:00
Mukilan Thiyagarajan
5738a16dcb Upgrade the Rust toolchain to 'nightly-2023-02-01'
Signed-off-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
2023-02-01 19:38:06 +05:30
Delan Azabani
beab561eea retain raw test_end events for failing tests without subtests 2023-02-01 19:23:19 +08:00
Delan Azabani
0a5ae8e938 wpt: structured subtest results 2023-02-01 16:50:52 +08:00
dependabot[bot]
5ac5a62a99
Bump futures-channel from 0.3.25 to 0.3.26
Bumps [futures-channel](https://github.com/rust-lang/futures-rs) from 0.3.25 to 0.3.26.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.25...0.3.26)

---
updated-dependencies:
- dependency-name: futures-channel
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 16:22:47 +00:00
bors-servo
4aac7e4d3c
Auto merge of #29313 - servo:wpt_update_31-01-2023, r=servo-wpt-sync
Sync WPT with upstream (31-01-2023)

Automated downstream sync of changes from upstream as of 31-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-31 04:56:27 +01:00
WPT Sync Bot
48c9556bb6 Update web-platform-tests to revision b'94be51cc50986018ab25e8a952bf234862ef3e5f' 2023-01-31 01:40:55 +00:00
bors-servo
400d0af63d
Auto merge of #29311 - servo:dependabot/cargo/futures-channel-0.3.25, r=jdm
Bump futures-channel from 0.3.21 to 0.3.25

Bumps [futures-channel](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.25.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/releases">futures-channel's releases</a>.</em></p>
<blockquote>
<h2>0.3.25</h2>
<ul>
<li>Fix soundness issue in <code>join!</code> and <code>try_join!</code> macros (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2649">#2649</a>)</li>
<li>Implement <code>Clone</code> for <code>sink::Drain</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2650">#2650</a>)</li>
</ul>
<h2>0.3.24</h2>
<ul>
<li>Fix incorrect termination of <code>select_with_strategy</code> streams (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2635">#2635</a>)</li>
</ul>
<h2>0.3.23</h2>
<ul>
<li>Work around MSRV increase due to a cargo bug.</li>
</ul>
<h2>0.3.22</h2>
<ul>
<li>Fix <code>Sync</code> impl of <code>BiLockGuard</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2570">#2570</a>)</li>
<li>Fix partial iteration in <code>FuturesUnordered</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2574">#2574</a>)</li>
<li>Fix false detection of inner panics in <code>Shared</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2576">#2576</a>)</li>
<li>Add <code>Mutex::lock_owned</code> and <code>Mutex::try_lock_owned</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2571">#2571</a>)</li>
<li>Add <code>io::copy_buf_abortable</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2507">#2507</a>)</li>
<li>Remove <code>Unpin</code> bound from <code>TryStreamExt::into_async_read</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2599">#2599</a>)</li>
<li>Make <code>run_until_stalled</code> handle self-waking futures (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2593">#2593</a>)</li>
<li>Use <code>FuturesOrdered</code> in <code>try_join_all</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2556">#2556</a>)</li>
<li>Fix orderings in <code>LocalPool</code> waker (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2608">#2608</a>)</li>
<li>Fix <code>stream::Chunk</code> adapters size hints (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2611">#2611</a>)</li>
<li>Add <code>push_front</code> and <code>push_back</code> to <code>FuturesOrdered</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2591">#2591</a>)</li>
<li>Deprecate <code>FuturesOrdered::push</code> in favor of <code>FuturesOrdered::push_back</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2591">#2591</a>)</li>
<li>Performance improvements (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2583">#2583</a>, <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2626">#2626</a>)</li>
<li>Documentation improvements (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2579">#2579</a>, <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2604">#2604</a>, <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2613">#2613</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures-channel's changelog</a>.</em></p>
<blockquote>
<h1>0.3.25 - 2022-10-20</h1>
<ul>
<li>Fix soundness issue in <code>join!</code> and <code>try_join!</code> macros (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2649">#2649</a>)</li>
<li>Implement <code>Clone</code> for <code>sink::Drain</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2650">#2650</a>)</li>
</ul>
<h1>0.3.24 - 2022-08-29</h1>
<ul>
<li>Fix incorrect termination of <code>select_with_strategy</code> streams (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2635">#2635</a>)</li>
</ul>
<h1>0.3.23 - 2022-08-14</h1>
<ul>
<li>Work around MSRV increase due to a cargo bug.</li>
</ul>
<h1>0.3.22 - 2022-08-14</h1>
<ul>
<li>Fix <code>Sync</code> impl of <code>BiLockGuard</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2570">#2570</a>)</li>
<li>Fix partial iteration in <code>FuturesUnordered</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2574">#2574</a>)</li>
<li>Fix false detection of inner panics in <code>Shared</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2576">#2576</a>)</li>
<li>Add <code>Mutex::lock_owned</code> and <code>Mutex::try_lock_owned</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2571">#2571</a>)</li>
<li>Add <code>io::copy_buf_abortable</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2507">#2507</a>)</li>
<li>Remove <code>Unpin</code> bound from <code>TryStreamExt::into_async_read</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2599">#2599</a>)</li>
<li>Make <code>run_until_stalled</code> handle self-waking futures (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2593">#2593</a>)</li>
<li>Use <code>FuturesOrdered</code> in <code>try_join_all</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2556">#2556</a>)</li>
<li>Fix orderings in <code>LocalPool</code> waker (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2608">#2608</a>)</li>
<li>Fix <code>stream::Chunk</code> adapters size hints (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2611">#2611</a>)</li>
<li>Add <code>push_front</code> and <code>push_back</code> to <code>FuturesOrdered</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2591">#2591</a>)</li>
<li>Deprecate <code>FuturesOrdered::push</code> in favor of <code>FuturesOrdered::push_back</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2591">#2591</a>)</li>
<li>Performance improvements (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2583">#2583</a>, <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2626">#2626</a>)</li>
<li>Documentation improvements (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2579">#2579</a>, <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2604">#2604</a>, <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2613">#2613</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="77d82198c5"><code>77d8219</code></a> Release 0.3.25</li>
<li><a href="44dc9ef033"><code>44dc9ef</code></a> Fix soundness hole in join macros (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2649">#2649</a>)</li>
<li><a href="521f2ae50b"><code>521f2ae</code></a> Implement <code>Clone</code> for <code>Drain</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2650">#2650</a>)</li>
<li><a href="5364e6c086"><code>5364e6c</code></a> Fix clippy::unnecessary_cast warning</li>
<li><a href="485875f100"><code>485875f</code></a> Ignore unreachable_pub lint</li>
<li><a href="624a7ec917"><code>624a7ec</code></a> Update no_atomic_cas.rs</li>
<li><a href="8d2f385454"><code>8d2f385</code></a> Remove some double trait bounds (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2645">#2645</a>)</li>
<li><a href="0118f5c8f8"><code>0118f5c</code></a> Fix CI (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2644">#2644</a>)</li>
<li><a href="174cb01d5b"><code>174cb01</code></a> Release 0.3.24</li>
<li><a href="ce6bee08c7"><code>ce6bee0</code></a> Update no_atomic_cas.rs</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.25">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures-channel&package-manager=cargo&previous-version=0.3.21&new-version=0.3.25)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-01-30 23:03:07 +01:00
dependabot[bot]
4a9e56178e
Bump futures-channel from 0.3.21 to 0.3.25
Bumps [futures-channel](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.25.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.25)

---
updated-dependencies:
- dependency-name: futures-channel
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 16:11:51 +00:00
bors-servo
fbc2ac00fb
Auto merge of #29308 - servo:wpt_update_30-01-2023, r=servo-wpt-sync
Sync WPT with upstream (30-01-2023)

Automated downstream sync of changes from upstream as of 30-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-30 05:09:23 +01:00
WPT Sync Bot
a8371a92fd Update web-platform-tests to revision b'8c2b82d9aa621baeecb06fb346dbce0d19945861' 2023-01-30 01:34:14 +00:00
bors-servo
623e741885
Auto merge of #29307 - servo:wpt_update_29-01-2023, r=servo-wpt-sync
Sync WPT with upstream (29-01-2023)

Automated downstream sync of changes from upstream as of 29-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-29 02:42:40 +01:00
WPT Sync Bot
879f987fc2 Update web-platform-tests to revision b'7b1babebddf2f0fdd866fa8b83b8621b86590fc9' 2023-01-29 01:42:28 +00:00
bors-servo
5baf417a51
Auto merge of #29306 - servo:wpt_update_28-01-2023, r=jdm
Sync WPT with upstream (28-01-2023)

Automated downstream sync of changes from upstream as of 28-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-28 14:11:50 +01:00
Josh Matthews
a128b63088
Remove intermittent timeout. 2023-01-28 01:21:29 -05:00
Josh Matthews
4e7856f33b
Remove intermittent timeout. 2023-01-28 01:20:46 -05:00
WPT Sync Bot
32cc2e03c4 Update web-platform-tests to revision b'544363de4568baf9ae90d71e4822661edc546650' 2023-01-28 01:52:20 +00:00
bors-servo
4d5a804d03
Auto merge of #29294 - servo:integrate-filter-intermittents, r=delan
Integrate filter-intermittents into test-wpt

This change integrates the `filter-intermittents` command into `test-wpt`. This is in preparation for future work on tracking intermittent failures. This change also:
- Removes `ServoJsonFormatter` and replaces it with a generic WPT log handler which tracks unexpected results.
- The intermittent filter is now controlled via environment variables and the GitHub version requires a token instead of credentials.
- Output is saved to a single file and is always text.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because they are changes to build infrastructure.
2023-01-27 15:43:47 +01:00
bors-servo
9dfae50c5e
Auto merge of #29300 - servo:wpt_update_26-01-2023, r=jdm
Sync WPT with upstream (26-01-2023)

Automated downstream sync of changes from upstream as of 26-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-26 17:14:46 +01:00
bors-servo
5a0b67cfc4
Auto merge of #29303 - servo:invalidate-latest-nightly-from-cloudfront, r=mrobinson
Invalidate latest nightly files in CloudFront.

After a new nightly build is uploaded to S3, bust the cache in CloudFront Edge servers with the CreateInvalidation AWS API.

For each platform we use the `/nightly/<platform>/servo-latest.<ext>*` pattern to invalidate both package and sha256 files. As part of this change, a new policy has been attached to the "download.servo.org-uploads-from-travis" IAM user
to allow the "cloudfront:CreateInvalidation" action.

Since CloudFront [invalidates every version][1] of the cached file, regardless of the headers used for that version, this change should invalidate the different caches for 'Accept-Encoding' header.

[1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they update nightly upload process. Changes have been *partially* validated using [manual run ](https://github.com/servo/servo/actions/runs/4012975660/jobs/6892315365)

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2023-01-26 15:23:21 +01:00
Mukilan Thiyagarajan
e4764e7661 Invalidate latest nightly files in CloudFront.
After a new nightly build is uploaded to S3,
bust the cache in CloudFront Edge servers with
the CreateInvalidation AWS API.

For each platform we use the
`/nightly/<platform>/servo-latest.<ext>*`
pattern to invalidate both package and sha256
files. As part of this change, a new policy
has been attached to the
"download.servo.org-uploads-from-travis" IAM user
to allow the "cloudfront:CreateInvalidation" action.

Since CloudFront [invalidates every version][1]
of the cached file, regardless of the headers used
for that version, this change should invalidate the
different caches for 'Accept-Encoding' header.

[1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects

Closes #29034

Signed-off-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
2023-01-26 18:15:37 +05:30
Martin Robinson
423cc34cb0 Bump euclid to 0.22
- Also updates raqote to latest with an upgrade of font-kit to 0.11
  applied on as a patch
- Update lyon_geom to the latest version

Major change:

- All matrices are now stored in row major order. This means that
  parameters to rotation functions no longer should be negated.
- `post_...()` functions are now named `then()`. `pre_transform()` is removed,
  so `then()` is used and the order of operations changed.
2023-01-26 08:59:21 +01:00
bors-servo
4f355f5877
Auto merge of #29299 - mrobinson:fix-upstream-wpt-changes, r=jdm
Fix upstreaming of WPT changes

The GitHub Action needs access to Servo repository secrets, so switch to using the 'pull_request_target' event. Since these PRs have more complete access to the Servo repository, do not execute the version of the upstream script that comes with the PR. Instead, simply fetch the changes. To make this work, the script no longer expects the PR commit to be checked out, merely that they exist in the repository somewhere.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes
2023-01-26 03:01:03 +01:00
WPT Sync Bot
cda7a10498 Update web-platform-tests to revision b'89142292ab8c7f3564d978a76fdabc66626c421e' 2023-01-26 01:45:06 +00:00
bors-servo
7f838a4f5f
Auto merge of #29298 - mukilan:remove-uwp-jobs, r=jdm
Remove UWP/HoloLens CI & Nightly jobs.

Servo [TSC has decided][1] to halt support for UWP platform. This PR only removes the CI & Nightly jobs and doesn't modify any code related to UWP support.

[1]: https://github.com/servo/project/blob/master/governance/tsc/tsc-2023-01-23.md#supported-platforms

Signed-off-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>

<!-- Please describe your changes on the following line: -->

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they are  removing  CI jobs and not modifying code.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2023-01-25 19:27:44 +01:00
Mukilan Thiyagarajan
8f60df4fdc Remove UWP/HoloLens CI & Nightly jobs.
Servo [TSC has decided][1] to halt support for UWP
platform. This PR only removes the CI & Nightly jobs
and doesn't modify any code related to UWP support.

[1]: https://github.com/servo/project/blob/master/governance/tsc/tsc-2023-01-23.md#supported-platforms

Signed-off-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
2023-01-25 22:04:57 +05:30
bors-servo
b8b6086c52
Auto merge of #29297 - servo:wpt_update_25-01-2023, r=servo-wpt-sync
Sync WPT with upstream (25-01-2023)

Automated downstream sync of changes from upstream as of 25-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-25 13:58:47 +01:00
Martin Robinson
a18baf6719 Fix upstreaming of WPT changes
The GitHub Action needs access to Servo repository secrets, so switch to
using the 'pull_request_target' event. Since these PRs have more
complete access to the Servo repository, do not execute the version of
the upstream script that comes with the PR. Instead, simply fetch the
changes. To make this work, the script no longer expects the PR commit
to be checked out, merely that they exist in the repository somewhere.
2023-01-25 12:17:59 +01:00
WPT Sync Bot
a6bc3e1a73 Update web-platform-tests to revision b'704eebbe6af5b43643971e96e33a0c979fba2904' 2023-01-25 01:36:16 +00:00
bors-servo
cc76ec3373
Auto merge of #29295 - mukilan:fix-win-msvc-nighly, r=jdm
Revert LLVM downgrade & fix nighly build

<!-- Please describe your changes on the following line: -->
Windows MSCV nightly builds have been failing
since Jan 18. The failure is similar to the
one @delan identified & fixed, where CI build started
to fail after the version of LLVM included in
Github Actions runner images was bumped from
14 to 15.

As discussed on Zulip, we have existing support
in ./mach bootstrap to download the LLVM binaries
from our s3 bucket. Following the documented
[process][1], new LLVM 15.0.5 binaries have now been
uploaded to S3.

I've validated that the windows msvc build no longer fails:
https://github.com/mukilan/servo/actions/runs/3996453221/jobs/6856528077

[1]: https://github.com/servo/servo/wiki/Upgrading-the-windows-LLVM-binaries

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they modify only CI steps that have been validated by manual run.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2023-01-25 00:47:59 +01:00
Josh Matthews
85a04cc8a7
Update clangfmt version. 2023-01-24 18:45:04 -05:00
bors-servo
f8e014d0ba
Auto merge of #29293 - CYBAI:sync-pr-comment, r=jdm
Approve PR automatically after WPT sync successfully

This PR will utilize the `gh pr comment` command to comment `r+` as @servo-wpt-sync so that we can merge WPT sync PRs more easily.

---

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because it's related to the WPT sync CI job
2023-01-24 22:13:21 +01:00
Mukilan Thiyagarajan
ed2974a280 Revert "Auto merge of #29270 - delan:fix-windows-builds, r=<try>"
This reverts commit 7a885032e6, reversing
changes made to f70857906d.

Since we have now uploaded the LLVM 15.0.5
binaries to S3 so that `mach boostrap` can use
them directly, we no longer need to downgrade the
LLVM in GitHub runner image.
2023-01-24 20:47:28 +05:30
Mukilan Thiyagarajan
a9ccf935ad Update LLVM toolchain version for Windows
Windows MSCV nightly builds have been failing
since Jan 18. The failure is similar to the
one @delan identified where the CI build started
to fail after the version of LLVM included in
Github Actions runner images was bumped from
14 to 15.

As discussed on Zulip, we already have support
in ./mach bootstrap to download the LLVM binaries
from our s3 bucket. Following the documented
[process], new LLVM 15.0.5 binaries have been
uploaded to S3.

This PR updates the bootstrap script to use this
new LLVM version.

[process]: https://github.com/servo/servo/wiki/Upgrading-the-windows-LLVM-binaries

Signed-off-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
2023-01-24 20:46:34 +05:30
Martin Robinson
d294a71397 Integrate filter-intermittents into test-wpt
This change integrates the filter-intermittents command into test-wpt.
This is in preparation for future work on tracking intermittent
failures. This change also:
- Removes the SrvoJson logger and replaces it with a generic WPT log
  handler which tracks unexpected results.
- The intermittent filter is now controlled via environment variables
  and the GitHub version requires a token instead of credentials.
- Output is saved to a single file and is always text.
2023-01-24 15:10:09 +01:00
cybai
9b9a7aea02 Approve PR automatically after WPT sync successfully 2023-01-24 11:22:23 +09:00
bors-servo
941bd6a579
Auto merge of #29290 - servo:dependabot/cargo/rayon-core-1.10.2, r=jdm
Bump rayon-core from 1.10.1 to 1.10.2

Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.10.1 to 1.10.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/master/RELEASES.md">rayon-core's changelog</a>.</em></p>
<blockquote>
<h1>Release rayon-core 1.10.2 (2023-01-22)</h1>
<ul>
<li>Fixed miri-reported UB for SharedReadOnly tags protected by a call.</li>
</ul>
<h1>Release rayon 1.6.1 (2022-12-09)</h1>
<ul>
<li>Simplified <code>par_bridge</code> to only pull one item at a time from the iterator,
without batching. Threads that are waiting for iterator items will now block
appropriately rather than spinning CPU. (Thanks <a href="https://github.com/njaard"><code>@​njaard</code></a>!)</li>
<li>Added protection against recursion in <code>par_bridge</code>, so iterators that also
invoke rayon will not cause mutex recursion deadlocks.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b6cdc9da7a"><code>b6cdc9d</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/1013">#1013</a></li>
<li><a href="c0c5fd1fd6"><code>c0c5fd1</code></a> Release rayon-core 1.10.2</li>
<li><a href="8cee824f51"><code>8cee824</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/1011">#1011</a></li>
<li><a href="f880d02dec"><code>f880d02</code></a> Add a virtual wrapper for &amp;Latch</li>
<li><a href="a46e1f89b3"><code>a46e1f8</code></a> Use pointers instead of <code>&amp;self</code> in <code>Latch::set</code></li>
<li><a href="ed988539eb"><code>ed98853</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/1010">#1010</a></li>
<li><a href="063b4065b1"><code>063b406</code></a> Fix ownership invalidation of saved scope panics</li>
<li><a href="0cc5912c18"><code>0cc5912</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/1009">#1009</a></li>
<li><a href="e4ba8d16f3"><code>e4ba8d1</code></a> Improve rayon-core/tests/stack_overflow_crash.rs</li>
<li><a href="1cacc82972"><code>1cacc82</code></a> chmod -x rayon-core/src/broadcast/test.rs</li>
<li>Additional commits viewable in <a href="https://github.com/rayon-rs/rayon/compare/rayon-core-v1.10.1...rayon-core-v1.10.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rayon-core&package-manager=cargo&previous-version=1.10.1&new-version=1.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-01-24 00:55:42 +01:00
dependabot[bot]
96eca999b6
Bump rayon-core from 1.10.1 to 1.10.2
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.10.1...rayon-core-v1.10.2)

---
updated-dependencies:
- dependency-name: rayon-core
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 16:18:45 +00:00
bors-servo
82b3d1043c
Auto merge of #29288 - andreubotella:support-python3.11, r=jdm
Make `mach` work on Python 3.11

This PR fixes the bug where `mach` fails when run on Python 3.11. It also reverts #29124, which added a workaround for this bug on the documentation.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #29107 (already closed due to the workaround in #29124, but this PR fixes it)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they only involve tooling and documentation

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2023-01-23 09:48:15 +01:00
bors-servo
c650934765
Auto merge of #29287 - servo:wpt_update_22-01-2023, r=jdm
Sync WPT with upstream (22-01-2023)

Automated downstream sync of changes from upstream as of 22-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-23 03:02:12 +01:00
Andreu Botella
2c1d67642f Revert "Updated README to fix compatibility issues on Fedora."
This reverts commit 4e997ff334.
2023-01-22 05:13:30 +01:00
Andreu Botella
d7be53a70e Make mach work on Python 3.11 2023-01-22 05:13:30 +01:00
WPT Sync Bot
02cb6d44e5 Update web-platform-tests to revision b'ece751218b0ba35e99fa900bfd2a2d89c4bb69da' 2023-01-22 01:42:09 +00:00