Closed Bug 972160 Opened 10 years ago Closed 10 years ago

Run specific marionette tests for multiple times on Travis

Categories

(Testing Graveyard :: JSMarionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.4 S1 (14feb)

People

(Reporter: evanxd, Assigned: evanxd)

References

Details

(Whiteboard: [ft:system-platform])

Attachments

(2 files)

78 bytes, text/x-github-pull-request
Details
46 bytes, text/x-github-pull-request
gduan
: review+
yurenju
: feedback+
Details | Review
We would like to make sure the tests are stable enough.
So we let the tests run many times continually for a pull request.
Attached file WIP PR
Summary: Run marionette tests at specific times on Travis → Run specific marionette tests for multiple times on Travis
Comment on attachment 8375307 [details]
WIP PR

>https://github.com/evanxd/gaia/commit/2bd7bb516b109e1ac19ec0957888841c12ee94e3
Attachment #8375307 - Attachment mime type: text/plain → text/x-github-pull-request
Blocks: 969265
This patch is for current build script architecture.
https://github.com/evanxd/gaia/commit/6a0ad528fd0d0fb5db6d7e82f74082b6fdf2a881
Attached file Pull request
Hi George,

Please help me to review the patch.
You could check-pick the it and change any marionette test to trigger 30 times running in CI_ACTION=marionette_js_check on Travis.

Thanks. :)
Attachment #8376689 - Flags: review?(gduan)
The https://github.com/mozilla-b2g/gaia/pull/16244 pull request cannot be accessed now, GitHub seems have some issues now.
Yeah, GitHub is back now. :D
Comment on attachment 8376689 [details] [review]
Pull request

Hi Evan,
I've updated my comments in github. We can discuss it on Mon.

1. can't we just use git command to find the changed files of last commit and run the test? So that we can run it remotely and locally by simply a |make pull-request-marionette-test|
2. is it a must-pass test from now?
3. some nit, please check.
Attachment #8376689 - Flags: review?(gduan) → review?(yurenju.mozilla)
Attachment #8376689 - Flags: review?(yurenju.mozilla)
Hi George,

Thanks for the comments.

For 1, there might be more than one commit in a pull request.
For 2, we could let the action in `allowed failures` area first. After we make sure the action is stable, then we could move the `must pass` area.
For 3, already updated in GitHub page.

Thanks.
Comment on attachment 8376689 [details] [review]
Pull request

Hi George,

I already updated the patch.
Please help me to review the patch again.
Thanks. :)
Attachment #8376689 - Flags: review?(gduan)
Comment on attachment 8376689 [details] [review]
Pull request

Thanks, Evan. It's a very helpful tool 
r=gduan

Hi Yuren,
would you mind to take a look at this patch ?
Thanks.
Attachment #8376689 - Flags: review?(gduan)
Attachment #8376689 - Flags: review+
Attachment #8376689 - Flags: feedback?(yurenju.mozilla)
Comment on attachment 8376689 [details] [review]
Pull request

Evan, you should handle exit value of `RUN_SPECIFIC_TESTS` or we will always get green state of travis-ci.
Attachment #8376689 - Flags: feedback?(yurenju.mozilla)
(In reply to Yuren [:yurenju][:小朱] from comment #11)
> Comment on attachment 8376689 [details] [review]
> Pull request
> 
> Evan, you should handle exit value of `RUN_SPECIFIC_TESTS` or we will always
> get green state of travis-ci.

Hi Yuren,

I already fixed that.
Thanks for the tips.
master: https://github.com/mozilla-b2g/gaia/commit/9ea16d757a290de5b374d809e43dc1e99f4f802d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [ft:system-platform]
Target Milestone: --- → 1.4 S1 (14feb)
Hey Evan,

I think it might have made sense to have more discussion about whether we want to be using travis resources for this. Don't get me wrong - it's awesome that you took initiative to do this, but there may have been other ways to accomplish this using fewer resources. In the future, please run patches like this one by another marionettejs owner/peer (see https://wiki.mozilla.org/Modules/Core#JS_Marionette_Harness_and_Tools).
Hi Gareth,

Got it.
I will follow the way.

Thanks.
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: