Commit graph

959 commits

Author SHA1 Message Date
Martin Robinson
bf61f5404c Fix permissions of etc/ci/wpt-nightly-update.sh
The permissions were mistakenly modified in a previous change.

Fixes #29550.
2023-03-28 11:04:47 +02:00
Martin Robinson
95bfad3ac5 Add Layout 2020 support to nightly WPT update 2023-03-24 18:33:07 +01:00
Martin Robinson
e09b05e618 Be more verbose when a command fails in the WPT upstream script 2023-03-23 13:11:16 +01:00
Martin Robinson
ec9cbeefd8 Merge forbidden panic check into test-tidy
This cleans up the GitHub actions yaml a bit and ensures that developers
are running this check locally before submitting changes. In addition,
it allows adding tests for this check. Finally, this change fixes the
tidy tests by upgrading voluptuous for Python 3.10 as well as by
reverting an inadvertent change for NixOS compatibility on one of the
dummy testing files.
2023-03-22 15:37:56 +01:00
Martin Robinson
5e30ce8532 Filter unknown flaky tests when filtering known intermittents
There are two kinds of flaky/intermittent tests in Servo. The
traditional kind is the test that fails on the CI, but has an associated
bug indicating that the test is an intermittent failure. Many of these
tests have completely unstable results, for instance those where an
unpredictable set of subtests fail. It's impossible to generate stable
results for these, so we have traditionally simply discard these
unexpected results.

Another kind of intermittent test is one that will produce an expected
result when rerun (ie will flake). Some of these are also labeled with
bugs, while some are not. In some cases, there is flakiness in some core
Servo functionality that can lead to *any* test flaking, such as a race
condition that can lead to an early screenshot for reftests. When these
kinds of tests do not have associated bugs, they cause the CI to fail.
In this case, it is impossible to label these tests as intermittent
because it can literally be any test.

This change, reruns failed tests in order to detect unlabeled tests in
the second category. Instead of blocking the CI when the second run
leads to expected results, the CI will now pass, but the flake will be
reported to the new flakiness dashboard. This prevents unrelated flakes
from slowing down the merge queue.
2023-02-21 12:10:02 +01:00
Martin Robinson
2784c0e69d Add support for the intermittent dashboard
Use the new intermittent dashboard to report intermittents and get
information about open bugs. This is now used to filter out
known-intermittents from results. In addition, this also allows the
scripts to report bug information to the GitHub. Display that in all
output.
2023-02-15 12:59:33 +01:00
Martin Robinson
5b3f147110 Make two small improvements to try result comment
Sort the test names alphabetically so that they are stable between try
runs and also include the action URL in the comment when possible.
2023-02-10 16:50:53 +01:00
Martin Robinson
d2a66fef0c Output test results as a GitHub comment
After filtering intermittents, output the results as JSON. Update the
GitHub workflow to aggregate this JSON data into an artifact and use the
aggregated data to generate a GitHub comment with details about the try
run. The idea here is that this comment will make it easier to track
intermittent tests and notice when a change affects a test marked as
intermittent -- either causing it to permanently fail or fixing it.
2023-02-04 17:11:02 +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
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
Martin Robinson
772e086677 Enable the Github Action-based WPT upstream script 2023-01-20 20:19:27 +01:00
Martin Robinson
659597281b Add a script to upstream WPT changes via a GitHub Action
This is a modified version of the webhook found at
servo/upstream_wpt_webhook and deployed via SaltStack. It is updated to
use modern Python and to assume that GitHub Actions will fetch the
appropriate source code locally before the script is run.

Fixes #29206.
Fixes #23798.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2023-01-17 11:49:56 +01:00
yvt
57eb5a56d1 chore(nix): replace pkgconfig with pkg-config
`pkgconfig` has been renamed to `pkg-config` in nixpkgs.
2022-10-07 01:40:54 +09:00
yvt
71a6a00d26 chore(nix): add AppKit to buildInputs on Darwin
Signed-off-by: yvt <i@yvt.jp>
2022-09-16 00:37:07 +09:00
cybai
49d94cb08b Run WPT sync nightly on GitHub Action 2022-08-16 00:14:55 +09:00
Nathan Lefler
881e01ab7e Update nix-shell package names
"xlibs" has been renamed to "xorg"
"x11" has been renamed to "xlibsWrapper"

Signed-off-by: Nathan Lefler <nathan@lefler.me>
2022-07-31 23:57:58 +00:00
Greg Myers
829a736f96
Fix typos in markdown files
Fixes a number of typographical errors across
markdown documentation files.
2022-01-14 16:46:10 -07:00
yvt
e4cd5a1c96 chore(nix): define LD_LIBRARY_PATH outside shellHook
For consistency with other environment variables defined in the same
file.
2021-10-16 01:27:59 +09:00
yvt
e61d7f808a chore(nix): add libxkbcommon to LD_LIBRARY_PATH 2021-10-16 01:27:59 +09:00
yvt
9e71bd6a70 chore(ci): remove the auto-generation of main.yml 2021-07-18 21:35:24 +09:00
bors-servo
42d7892d88
Auto merge of #28473 - jdm:codesign-build, r=jdm
Enable codesigning for non-nightly UWP builds
2021-07-02 18:23:22 -04:00
Josh Matthews
57bc79b0d5 Use codesigning in UWP builds. 2021-07-02 18:22:49 -04:00
yvt
262a41dd2a Use #!/usr/bin/env bash in shell scripts for NixOS compatibility
Signed-off-by: yvt <i@yvt.jp>
2021-06-14 22:06:09 +09:00
Maciej Krüger
9d0b06ac54
add etc/shell.nix for nix/nixOS 2021-05-31 00:28:37 +02:00
Josh Matthews
629953c622 Disable remaining taskcluster jobs. 2021-05-29 16:05:02 -04:00
Josh Matthews
fe25aef578 Add missing CI checks. 2021-05-29 16:05:02 -04:00
Josh Matthews
e2c240887d Disable UWP taskcluster jobs. 2021-05-29 16:05:02 -04:00
Josh Matthews
172274d484 Add UWP builds to github actions. 2021-05-29 16:05:02 -04:00
Josh Matthews
4138d04186 Fail CI if workflow needs regenerating. 2021-05-24 20:19:18 -04:00
Josh Matthews
89069e8e19 Remove duplicate linux jobs from taskcluster. 2021-05-24 16:39:00 -04:00
Josh Matthews
b391e3aa57 Remove last mac jobs from taskcluster. 2021-05-23 13:39:08 -04:00
Paulo E. Castro
ad2eaa57ed
Remove deprecated functions with the move to GitHub actions. 2021-04-30 17:45:17 +01:00
Paulo E. Castro
0df5f1c5cf
Comment TaskCluster wpt tests 2021-04-28 22:31:37 +01:00
Paulo E. Castro
1bfa45f236
Run WPT tests (linux) 2021-04-28 22:31:35 +01:00
bors-servo
5dd0cba51d
Auto merge of #27865 - servo:github-actions-dev, r=jdm
Add Github Actions workflow for mac/linux/windows builds
2021-03-11 21:08:05 -05:00
Josh Matthews
c66255ba5e Copy to C: on Windows instead of manually cloning. 2021-03-06 12:44:29 -05:00
Josh Matthews
3ce71cda73 Add build github actions workflows for mac/windows/linux. 2021-02-26 04:20:22 -05:00
Josh Matthews
4547a17121
Fix doc build. 2021-02-25 15:25:23 -05:00
Josh Matthews
9e928a487e
Fix UWP nightly build. 2021-02-25 15:20:34 -05:00
Josh Matthews
04b89d1b53
Fix doc build under py3. 2021-02-24 23:03:27 -05:00
Josh Matthews
2e205ecafc
Fix python2ism in doc upload. 2021-02-19 10:23:42 -05:00
Josh Matthews
2f5e2ccb66 Remove python2 from CI. 2021-02-18 09:36:24 -05:00
Josh Matthews
03ba1d891c Ensure all CI uses clang-cl on Windows. 2021-02-18 09:35:47 -05:00
Josh Matthews
30da8eca2f Replace embedded Python 3 distribution in CI with full installation. 2021-02-18 09:35:46 -05:00
Vincent Ricard
a627dde0d0 Port some code to Python3 2021-02-18 09:35:46 -05:00
Josh Matthews
277c3b03f4
More syntax errors. 2021-02-09 00:05:50 -05:00
Josh Matthews
d446482741
Fix syntax error. 2021-02-08 23:56:26 -05:00
Josh Matthews
07cc14719b
Update pip when building docker image. 2021-02-08 23:55:27 -05:00
Josh Matthews
231c2db8af
Use explicit python in Windows CI. 2021-02-06 14:15:57 -05:00
Josh Matthews
ccf79ea6dc
Use 2.7-compatible get-pip in docker build. 2021-02-01 09:32:38 -05:00