Commit graph

1037 commits

Author SHA1 Message Date
Fernando Jiménez Moreno
a042f85083 Dump box tree state into json files and display it on layout 2020 viewer 2020-02-21 11:11:00 +01:00
Fernando Jiménez Moreno
aaa3cd9a59 Display fragment tree info on layout viewer 2020-02-21 11:11:00 +01:00
Fernando Jiménez Moreno
67706f9c0b Add fragment debug id 2020-02-21 11:11:00 +01:00
Fernando Jiménez Moreno
84dd334160 Display fragment tree on layout viewer 2020-02-21 11:11:00 +01:00
bors-servo
cdd5dc17aa
Auto merge of #25736 - Darkspirit:ossl, r=jdm
Add OpenSSL 1.1.1 build check, Update HSTS Preload list

* This variant also works with cross-compilation. PR should fail in CI on Android at first:
  The net crate successfully compiled after switching to OpenSSL 1.1.1 on Android. It seemed openssl.sh doesn't need any changes.(?)
* Updated HSTS preload list and public suffix list.
* Configured OpenSSL [SECLEVEL=2](https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_security_level.html) like [Debian](https://wiki.debian.org/ContinuousIntegration/TriagingTips/openssl-1.1.1) Stable:
  > As a result RSA, DSA and DH keys shorter than [2048 bits](16a5a9bb78/docs/BR.md (6153-subscriber-certificates)) and ECC keys shorter than 224 bits are prohibited.
* Although all other crates compile I generally get a `libscript-fe019dd3e0a4e06d.rlib: bad extended name index at 8` error on simpleservo_jniapi, I guess Debian Testing is too new and I just haven't found the right steps so far.
./mach build -d --android
```
  = note: /home/darkspirit/github/servo/android-toolchains/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/darkspirit/github/servo/target/android/armv7-linux-androideabi/debug/deps/libscript-fe019dd3e0a4e06d.rlib: bad extended name index at 8
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          toolchain: /home/darkspirit/github/servo/android-toolchains/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin
          libs dir: /home/darkspirit/github/servo/android-toolchains/ndk/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a
          sysroot: /home/darkspirit/github/servo/android-toolchains/ndk/platforms/android-21/arch-arm
          targetdir: /home/darkspirit/github/servo/target/android/armv7-linux-androideabi/debug/build/simpleservo_jniapi-26ef18debb5b3630/out/../../..
```

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25708, fix #25619.
2020-02-14 12:57:22 -05:00
Simon Sapin
3aa69fd731 Install virtualenv through APT, in Docker images
Fix https://github.com/servo/servo/issues/25757
2020-02-13 22:37:59 +01:00
Jan Andre Ikenmeyer
ad9ee36e7b
Switch Android to OpenSSL 1.1.1d 2020-02-12 13:51:35 +01:00
wpt-pr-bot
c48934a24f macos: wpt: install pip & virtualenv for Python3 2020-01-25 21:07:58 +00:00
marmeladema
19cc74f07d Run first test-wpt chunk with python3 in CI 2020-01-24 13:53:54 +00:00
Josh Matthews
1c379c8728
Slightly increase timeout for linux tidy+unit task. 2020-01-15 09:49:47 -05:00
Tuncer Ayaz
f2fedd87fc CI: build Linux amd64 --media-stack=dummy 2020-01-14 16:18:51 +00:00
bors-servo
821de45da8
Auto merge of #25451 - kunalmohan:19308-AccountableRefCell, r=jdm
Add accountable-refcell as optional build time feature

<!-- Please describe your changes on the following line: -->
It can be used with the format `./mach build --features refcell_backtrace`.

---
<!-- 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 #19308  (GitHub issue number if applicable)

<!-- Either: -->
- [X] These changes do not require tests because it adds a optional build-time feature only.

<!-- 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. -->
2020-01-08 15:44:41 -05:00
Kunal Mohan
02c1612cb0
Add accountable-refcell as optional build time feature 2020-01-08 09:44:41 +05:30
Simon Sapin
01b44f695b Group WPT chunks together in Treeherder 2020-01-07 15:30:06 +01:00
Simon Sapin
56895198f4 Add timing for Android CI bootstrap 2020-01-02 16:11:20 +01:00
Simon Sapin
f93c03cda3 Install rust-docs rustup component in ./mach doc 2020-01-02 15:48:11 +01:00
Simon Sapin
1110cac184 mach + rustup: use the minimal profile and install rustc-dev 2020-01-02 15:48:11 +01:00
Alan Jeffrey
b5943f5ab3 Disable the gstreamer plugin build for windows 2019-12-20 13:35:55 -06:00
marmeladema
4fc5154dd1 Make mach test-tidy --self-test compatible with Python3 2019-12-14 12:42:47 +00:00
bors-servo
9f1d469490
Auto merge of #25164 - servo:linux-processes, r=jdm
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-12 14:26:37 -05:00
bors-servo
b3b72cb9e3
Auto merge of #25239 - marmeladema:issue-23607/test-tidy-no-wpt, r=jdm
Make `mach test-tidy --no-wpt` compatible with Python3

Make `mach test-tidy --no-wpt` compatible with Python3
See also #23607

After this pull request, all python files (except WPT) will be checked for Python3 syntax compatibility.

---
<!-- 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: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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-11 15:26:09 -05:00
marmeladema
0032b3cdd1 Run mach test-tidy --no-wpt checks with Python3 in CI 2019-12-11 16:23:10 +00:00
marmeladema
7b5fabe855 Fix tidiness errors for Python3 compatibility across whole repo 2019-12-11 16:03:20 +00:00
bors-servo
e900c22105
Auto merge of #24716 - servo:jdm-patch-36, r=nox
Install gperf for linux CI builds.

Fixes #24715.
2019-12-10 20:00:50 -05:00
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