aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
...
| * Aggregate unexpected results into logsMartin Robinson2023-02-141-0/+3
| | | | | | | | | | | | This makes it easier to run `update-wpt` based on results from the bots. A future version of this could aggregate all unexpected results that were not filtered as intermittents.
* | Update gst plugin for videoconvert & videoscale elementsMukilan Thiyagarajan2023-02-111-2/+1
|/
* wpt: Make WPT result formatting logic independent of ServoHandlerMartin Robinson2023-02-041-0/+1
| | | | | | | | This will allow results to be formatted by other parts of the code (such as the intermittent filtering) code. Previously, formatting was handled in ServoHandler, which was a bit strange as it's really only necessary for GroupingFormatter and the intermittent filtering code. This also allows the results to be properly typed by the Python typing system.
* Auto merge of #29294 - servo:integrate-filter-intermittents, r=delanbors-servo2023-01-271-114/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Integrate filter-intermittents into test-wptMartin Robinson2023-01-241-114/+7
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Invalidate latest nightly files in CloudFront.Mukilan Thiyagarajan2023-01-261-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Update clangfmt version.Josh Matthews2023-01-241-1/+1
| |
* | Update LLVM toolchain version for WindowsMukilan Thiyagarajan2023-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Make `mach` work on Python 3.11Andreu Botella2023-01-221-1/+1
|/
* Remove unused salt bootstrapping process.Josh Matthews2023-01-193-151/+0
|
* Auto merge of #29238 - servo:ci-fail-install-deps, r=jdmbors-servo2023-01-171-4/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Fail faster on CI when Linux bootstrap fails Raise an exception when dependencies fail to install. Also split the run phase of the Linux bootstrap so that either of these failing commands will cause the job to fail. <!-- 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 just change minor script issues.
| * Fail faster on CI when Linux bootstrap failsMartin Robinson2023-01-131-4/+6
| | | | | | | | | | | | Raise an exception when dependencies fail to install. Also split the run phase of the Linux bootstrap so that either of these failing commands will cause the job to fail.
* | Simplify Python code for running WPT testsMartin Robinson2023-01-131-45/+7
|/ | | | | | | | | | | Combine `run.py` and `update.py` into `servowpt.py` in order to allow them to share code. Import them directly into the mach script to avoid having to call `compile` and `exec` on the code. This makes it clearer how they are executed. In addition, move all of the setup into `setupwpt.py` to avoid differences between tests executed via mach and not. Finally, be more ambitious when detecting the build to use. If none was specified, try to use the one that exists between "release" and "debug."
* mach filter-intermittents: add progress and --json output modeDelan Azabani2023-01-101-3/+17
|
* Bump setuptools from 65.3.0 to 65.5.1 in /pythondependabot[bot]2022-12-271-1/+1
| | | | | | | | | | | | | | Bumps [setuptools](https://github.com/pypa/setuptools) from 65.3.0 to 65.5.1. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst) - [Commits](https://github.com/pypa/setuptools/compare/v65.3.0...v65.5.1) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* Arch Linux patch for mach tools.michaelgrigoryan252022-12-151-0/+2
|
* Removed a typoMichael G2022-11-281-1/+1
|
* Added required dependencies for FedoraMichael G2022-11-281-1/+2
|
* Keep WPT import path around while running lints.Josh Matthews2022-11-091-1/+1
|
* Update allowed license string.Josh Matthews2022-10-161-0/+1
|
* Upgrade setuptools.Josh Matthews2022-09-041-1/+1
|
* Update bootstrap.pysagu2022-08-271-1/+1
| | | support Ubuntu 22.04
* Remove unnecessary always succeed flagcybai2022-08-161-8/+2
|
* Run WPT sync nightly on GitHub Actioncybai2022-08-162-3/+14
|
* Auto merge of #28909 - teymour-aldridge:minor-updates, r=jdmbors-servo2022-08-061-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor updates --- <!-- 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 #28905 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they are very small changes <!-- 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. -->
| * Fix ./mach bootstrap on fedora.Teymour Aldridge2022-08-031-0/+1
| |
* | Update clangfmt version.Josh Matthews2022-08-061-1/+1
| |
* | Upgade to LLVM 14 on Windows.Josh Matthews2022-08-051-1/+1
|/
* Update bootstrap to support Pop!_OS 22.04Thomas Hansen2022-04-291-2/+8
| | | linux mint kde neon too
* Unbreak lldb invocations.Josh Matthews2022-03-081-2/+1
|
* Update rustc to 3/6 nightly.Josh Matthews2022-03-061-1/+1
|
* Upgrade setuptools.Josh Matthews2022-02-061-1/+1
|
* Allow bootstrap on Pop!_OS 21.10Wu Yu Wei2021-12-301-1/+3
|
* Update more deprecated python imports.Max von Forell2021-12-262-3/+3
| | | | Signed-off-by: Max von Forell <max@vonforell.de>
* Update deprecated python import.Josh Matthews2021-12-211-1/+1
|
* Vendor mach-1.0.0.Josh Matthews2021-12-2124-1/+2850
|
* update Ubuntu version check to > 21.10Gio de Guzman2021-12-152-2/+2
| | | | Update clang-format version check to use find() instead of startswith() to deal with distro-specific discrepancy
* chore(mach): update the required clang-format version to 13yvt2021-10-161-1/+1
|
* chore(mach): update the required clang-format version to 12yvt2021-10-041-1/+1
|
* chore(mach): upgrade `blessings` to 1.7yvt2021-09-201-1/+1
|
* Auto merge of #28598 - witte:simpleservo-macos, r=jdmbors-servo2021-09-141-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix simpleservo binary check on macos <!-- Please describe your changes on the following line: --> When compiling libsimpleservo on MacOS 11.5.2 I would get an error at the end of the process saying ``` Error running mach: ['build', '-d', '--libsimpleservo'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You can invoke |./mach busted| to check if this issue is already on file. If it isn't, please use |./mach busted file| to report it. If |./mach busted| is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: servo.command_base.BuildNotFound: No Servo binary found. Perhaps you forgot to run `./mach build`? File "/Users/yuriwitte/_HtmlTests/servo/python/servo/build_commands.py", line 734, in build self.get_binary_path(release, dev, target=target, simpleservo=libsimpleservo) File "/Users/yuriwitte/_HtmlTests/servo/python/servo/command_base.py", line 394, in get_binary_path raise BuildNotFound('No Servo binary found.' ``` The binary is there, it's just that `get_binary_path` on `command_base.py` checks for a libsimpleservo **.so** instead of a **.dylib**. This pr fixes this check. --- <!-- 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: didn't find a specific issue for this, but these two are also related to file extensions on MacOS: https://github.com/servo/servo/issues/27654 https://github.com/servo/servo/issues/27318 <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because: they _are_ the tests I guess? <!-- 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. -->
| * Fix simpleservo binary check on macosYuri Witte2021-09-121-1/+6
| |
* | docs: clarify 'clean' commandFlorian-Schoenherr2021-08-211-2/+2
|/ | | | Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com>
* mach: cleanup after dropping Python 2 supportDavid Heidelberg2021-07-191-3/+3
| | | | Signed-off-by: David Heidelberg <david@ixit.cz>
* Auto merge of #28473 - jdm:codesign-build, r=jdmbors-servo2021-07-021-2/+2
|\ | | | | | | Enable codesigning for non-nightly UWP builds
| * Load codesigning secret without JSON.Josh Matthews2021-07-021-2/+2
| |
* | bootstrap: add support for Ubuntu 21.04Tristan Matthews2021-07-021-1/+1
| | | | | | | | Signed-off-by: Tristan Matthews <tmatth@videolan.org>
* | Auto merge of #28463 - mkg20001:nixos-mach, r=jdmbors-servo2021-06-251-0/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add NixOS support to mach and automatically re-launch mach in nix-shell <!-- Please describe your changes on the following line: --> This is a followup for #28454 which adds nixos support directly to mach, saving the user from typing `nix-shell` everytime --- <!-- 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 just extend mach <!-- 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. -->
| * | extend message about nixOS shellMaciej Krüger2021-06-211-2/+6
| | |
| * | add NixOS support to mach and automatically re-launch mach in nix-shellMaciej Krüger2021-06-041-0/+6
| |/