Commit Graph

1013 Commits

Author SHA1 Message Date
bors-servo
8d4cedb911 Auto merge of #24575 - marmeladema:issue-23607/compat, r=SimonSapin
Enable some mach commands to be run with python3

This change finally enable the following commands to be run with python3:
* `build`
* `test-unit`
* `package`

As previously explained, `test-tidy` will require more work in the wpt repository directly. Maybe `test-tidy --no-wpt` is achievable relatively quickly though.

For possible remaining bits that might need to be worked on, see https://github.com/servo/servo/issues/23607

---
<!-- 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

<!-- Either: -->
- [x] There are tests for these 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. -->
2019-12-10 16:34:10 -05:00
Simon Sapin
2bacf69d15 Taskcluster: install packages for Python 3 in Docker tasks 2019-12-10 16:11:02 +00:00
marmeladema
64e9c0ee23 taskcluster: change some mach commands to use python3 under linux 2019-12-10 16:11:02 +00:00
Simon Sapin
c4cf31f72f Increase parallelism on Linux WPT testing
The time taken by each chunk is uneven, with WPT-1 the longest
before this change at 30~45 minutes. This reduces it to 15~20 minutes.

Surprisingly, increasing the number of processes seems to also make
`test_element_in_collection` in `/webdriver/tests/execute_script/cyclic.py`
**unexpectedly pass**. This happened reliably in three different runs:

https://community-tc.services.mozilla.com/tasks/S9O27WJvSa6j2PSjcRcbBA/runs/2
2019-12-10 14:39:38 +01:00
Simon Sapin
648de3984a Avoid spaces in treeherder tags
The are visually separated by each other by only a space
2019-12-10 12:33:48 +01:00
Simon Sapin
9c93ca6580 Distinguish Layout 2020 build task in Treeherder 2019-12-10 12:33:40 +01:00
bors-servo
58d2fb786d Auto merge of #25171 - servo:u, r=jdm
Install dependencies for the WPT update task

Fix https://github.com/servo/servo/issues/25169
2019-12-09 20:29:55 -05:00
marmeladema
00cf7452ef Generate per python version virtualenv 2019-12-09 19:31:45 +00:00
bors-servo
2d2cd2b7d7 Auto merge of #25048 - asajeffrey:gstplugin-glmemory, r=ferjm
GStreamer plugin should use GLMemory

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

Get the gstreamer servosrc plugin to generate frames in GLMemory rather than main memory.

---
<!-- 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 #24831
- [x] These changes do not require tests because it's an embedding perf issue

<!-- 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. -->
2019-12-06 16:12:42 -05:00
Alan Jeffrey
445ee9b59f Disable gstreamer-in-gstreamer on windows CI 2019-12-06 15:06:57 -06:00
Simon Sapin
3811c5935f Install dependencies for the WPT update task
Fix https://github.com/servo/servo/issues/25169
2019-12-06 17:12:33 +01:00
Simon Sapin
fbc10d0137 Increase parallelism in macOS WPT testing
… now that remaining dual-core workers have been upgraded to quad-cores.

Also reduces the number of WPT chunks since per-task overhead becomes more siginificant when tasks are becoming shorter.
2019-12-06 01:33:39 +01:00
Simon Sapin
7435f6afa2 Move WPT sync-from-upstream task to Linux 2019-12-05 16:14:33 +01:00
Simon Sapin
4cbbb625d0 Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03) 2019-12-04 12:29:17 +01:00
Simon Sapin
0ac021c1a5 Include test output in filtered WPT logs 2019-12-03 16:49:23 +01:00
Josh Matthews
1936fb6637 Extend WPT update job timeout. 2019-11-29 09:44:44 -05:00
Josh Matthews
5ebccf22f5 Force GitForWindows to be closer to the front of PATH on CI than moztools. 2019-11-27 11:59:33 -05:00
Josh Matthews
9b5c79fccc Update Git for Windows on CI. 2019-11-27 11:37:15 -05:00
Simon Sapin
9a4bc23ff0 Add decision task support for try=wpt-2020
This also needs support in Homu’s configuration file
2019-11-27 11:25:10 +01:00
Simon Sapin
98e6f21d02 Run WPT for Layout 2020 on CI 2019-11-26 16:22:58 +01:00
Simon Sapin
cbc3f8a421 Linux release build CI: time virtualenv creation and cargo fetch 2019-11-26 16:22:58 +01:00
Alan Jeffrey
0ee6695e4e Run bootstrap-gstreamer in CI 2019-11-25 10:13:15 -06:00
Alan Jeffrey
69acec137d Add a gstreamer servosrc plugin 2019-11-25 10:12:05 -06:00
bors-servo
0d549e8146 Auto merge of #24841 - servo:jdm-patch-31, r=Manishearth
Useful scripts for interacting with WPT logs

These are scripts I used to generate the list in https://github.com/servo/servo/issues/24828, analyze test failures for #23290, and disable slow tests.
2019-11-22 21:06:18 -05:00
bors-servo
834a0409b9 Auto merge of #24811 - servo:fail-fast, r=jdm
Fix updating the GitHub Status as soon as any TC task fails

… rather than only when the entire task group is resolved. This allows Homu to more quickly be notified of a failure, and move on to the next PR in the queue sooner.

(Plus drive-by Brewfile fix.)
2019-11-22 19:38:49 -05:00
Josh Matthews
41d1ecac64 Fix visual indent error. 2019-11-22 14:34:26 -05:00
Josh Matthews
804780f933 Add explanatory comment for wpt_result_analyzer.py. 2019-11-22 13:23:43 -05:00
Josh Matthews
0c294de4a7 Add explanatory comment to wpt-timing.py. 2019-11-22 13:19:28 -05:00
Josh Matthews
cc1aadfd20 Add explanatory comment for wpt-summarize.py. 2019-11-22 13:14:30 -05:00
Josh Matthews
6cad3dbe3f Remove unused import. 2019-11-22 13:03:41 -05:00
Josh Matthews
46af28a0e1 Fix tidy issues in wpt-summarize.py. 2019-11-22 13:03:18 -05:00
Josh Matthews
5867e115c2 Fix tidy issues in wpt-timing.py. 2019-11-22 12:58:42 -05:00
Josh Matthews
ed715fc16f Add a script to report timing data for all tests in a WPT log. 2019-11-22 12:47:19 -05:00
Josh Matthews
a634d90e4a Add a script to extra logs for particular test filenames from full WPT logs. 2019-11-22 12:46:36 -05:00
Josh Matthews
4c8216129e Add script to summarize WPT test directories with failing tests. 2019-11-22 12:42:50 -05:00
Simon Sapin
77089ef44e Fix updating the GitHub Status as soon as any TC task fails
… rather than only when the entire task group is resolved.
This allows Homu to more quickly be notified of a failure,
and move on to the next PR in the queue sooner.
2019-11-22 18:14:27 +01:00
Simon Sapin
4dbdd255a1 Remove support for shallow clones. The bundle is already shallow. 2019-11-22 18:14:26 +01:00
Simon Sapin
3a8bb531a0 Fetch repository from artifacts rather than GitHub 2019-11-22 18:14:26 +01:00
Simon Sapin
55a8158d17 Decision taks: add artifacts of the repository’s contents 2019-11-22 16:09:03 +01:00
Simon Sapin
a11dc7006f Add Windows support to with_curl_artifact_script 2019-11-22 16:09:03 +01:00
Simon Sapin
b96a36c131 Move mkdir call out of with_curl_script 2019-11-22 16:09:02 +01:00
Simon Sapin
83921dbc99 Deduplicate task dependencies 2019-11-22 16:09:02 +01:00
Simon Sapin
203a06ff24 Fix Brewfile’s for running Servo without bulding it 2019-11-22 16:09:02 +01:00
bors-servo
91b612f8df Auto merge of #24692 - paulrouget:checkcpp-tc, r=jdm
Run test-tidy with CPP files check on Windows
2019-11-21 12:11:37 -05:00
Paul Rouget
b71774d8fe Run test-tidy on Windows 2019-11-21 09:56:39 +01:00
Simon Sapin
34287e5342 Move WPT Linux from Buildbot to Taskcluster
Update expectations as differences don’t look intermittent:
https://github.com/servo/servo/pull/24785#issuecomment-555602259

Fixes https://github.com/servo/servo/issues/23569
2019-11-19 18:37:29 +01:00
Simon Sapin
81a03c1a18 Tweak WPT task names and config 2019-11-19 17:46:10 +01:00
Simon Sapin
b38fd6b21f Fix run.dockerfile to actually be able to run current Servo
… and avoid runtime errors about missing gstreamer plugins
2019-11-19 17:38:47 +01:00
Simon Sapin
67b0b97d4f Zero-pad the chunk number in WPT task names 2019-11-18 11:21:38 +01:00
Simon Sapin
e5f6333832 Only use high prority for macOS when testing a PR for merging. 2019-11-18 11:05:49 +01:00