Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIntermittents #12629
Intermittents #12629
Conversation
highfive
commented
Jul 28, 2016
|
Heads up! This PR modifies the following files:
|
|
r? @aneeshusa |
|
|
||
| for test_type in wpt css; do | ||
| while read test_name; do | ||
| echo " - Checking $test_name" |
This comment has been minimized.
This comment has been minimized.
wafflespeanut
Jul 29, 2016
Member
Maybe a better message? like, "Checking $test_name because it's a known intermittent..."
This comment has been minimized.
This comment has been minimized.
notriddle
Jul 29, 2016
Author
Contributor
It's inside a script called check_intermittents, and every CI system in the world shows which command was run before its actual stdout. The only reason I included - Checking was to help distinguish it from the output of wptrunner itself.
|
This is a great idea! |
| @@ -27,6 +27,14 @@ mac-nightly: | |||
| - ./mach package --release | |||
| - ./etc/ci/upload_nightly.sh mac | |||
|
|
|||
| linux-intermittent: | |||
This comment has been minimized.
This comment has been minimized.
aneeshusa
Aug 4, 2016
Member
CI doesn't read from this file yet, it's currently reading from buildbot/master/files/config/steps.yml file in the saltfs repo, which is where we'll need to make this change.
Also, let's name these linux-rel-intermittent and mac-rel-intermittent for consistency.
| @@ -0,0 +1,14 @@ | |||
| #!/bin/sh | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Part of servo/servo#12629
| for test_type in wpt css; do | ||
| while read test_name; do | ||
| echo " - Checking $test_name" | ||
| ./mach test-${test_type} --release --repeat $REPEAT_COUNT "$test_name" > tmp_log.txt |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Aug 4, 2016
Member
Let's append to the log file always and have Buildbot handle showing the log (per this comment). Also, please use the full form and quotes "${some_variable}" for the variables (test_type and REPEAT_COUNT).
| while read test_name; do | ||
| echo " - Checking $test_name" | ||
| ./mach test-${test_type} --release --repeat $REPEAT_COUNT "$test_name" > tmp_log.txt | ||
| if [ $? != 0 ]; then |
This comment has been minimized.
This comment has been minimized.
| cat tmp_log.txt | ||
| exit $? | ||
| fi | ||
| done < etc/ci/former_intermittents_${test_type}.txt |
This comment has been minimized.
This comment has been minimized.
| fi | ||
| done < etc/ci/former_intermittents_${test_type}.txt | ||
| done | ||
|
|
This comment has been minimized.
This comment has been minimized.
| @@ -0,0 +1,13 @@ | |||
| #!/usr/bin/env bash | |||
| REPEAT_COUNT=100 | |||
This comment has been minimized.
This comment has been minimized.
|
LGTM aside from the one nit, please also rebase on a new master (to pull in some new shell lints) and squash the fixups. |
|
Rebased and moved. |
|
Please fix the tidy failures. |
|
@bors-servo r+ |
|
|
Intermittents We probably want to have Buildbot run that script. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12435, #11574, and #11561 - [X] These changes do not require tests because reasons <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12629) <!-- Reviewable:end -->
Part of servo/servo#12629
|
|
Call intermittent checker Part of servo/servo#12629 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/453) <!-- Reviewable:end -->
Call intermittent checker Part of servo/servo#12629 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/453) <!-- Reviewable:end -->
Call intermittent checker Part of servo/servo#12629 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/453) <!-- Reviewable:end -->
notriddle commentedJul 28, 2016
•
edited by larsbergstrom
We probably want to have Buildbot run that script.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is