Closed Bug 973512 Opened 10 years ago Closed 10 years ago

The "marionette_js_stable_check" action might exceed the limit time on Travis.

Categories

(Testing Graveyard :: JSMarionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evanxd, Assigned: eragonj)

References

Details

Attachments

(1 file)

The "marionette_js_stable_check" action might exceed the limit time(50 mins) on Travis.
We do not need to build the profile for each time doing "make test-integration" in the "marionette_js_stable_check" action.

Do not build a profile with doing "make test-integration" if there is already a profile.
It will save much time, and the action might not exceed 50 minutes.
Summary: The "marionette_js_stable_check" action might exceed the limit time(50 mins) on Travis. → The "marionette_js_stable_check" action might exceed the limit time on Travis.
Hi Yuren,

How do you think about that
we avoid building a profile, if there is profile there?
Flags: needinfo?(yurenju.mozilla)
Discussed with Evan offline.
Flags: needinfo?(yurenju.mozilla)
Depends on: 969215
This bug is related with Bug 969215.
If Bug 969215 is fixed, then we should remove the patch of Bug 973512 from the code base.
Took this bug !
Assignee: evanxd → ejchen
And thanks for the EJ's help. :)
Assignee: ejchen → evanxd
Assignee: evanxd → ejchen
https://travis-ci.org/mozilla-b2g/gaia/builds/19168856
  
Yean, with this patch, we just only build once and run tests 30 times and it really accelerates the process for marionette tests !
Attached file patch on master
Hi Evan & Yurenju,

can you guys help me take a look at this patch !? 

Big thanks :P
Attachment #8378170 - Flags: review?(yurenju.mozilla)
Attachment #8378170 - Flags: review?(evanxd)
Comment on attachment 8378170 [details] [review]
patch on master

Hi Gareth,

Could you give feedback for the patch.
Thanks. :)
Attachment #8378170 - Flags: feedback?(gaye)
Comment on attachment 8378170 [details] [review]
patch on master

r=yurenju if you use |PROFILE_FOLDER=profile-test make| to generate and use |make test-integration-test| to run tests without building profile.

please make sure travis-ci is green with your last change
Attachment #8378170 - Flags: review?(yurenju.mozilla) → review+
Hi EJ,

The Bug 973876 is already landed.
Comment on attachment 8378170 [details] [review]
patch on master

I'm fine with it, if yuren r+ the patch.
Attachment #8378170 - Flags: review?(evanxd)
(In reply to EJ Chen [:eragonj][:小龍哥] from comment #11)
> Some related information :
> http://docs.travis-ci.com/user/build-configuration/#Build-Timeouts

The 50 mins timeout is a big issue we need to consider,
or some job might have timeout issue.
Hi Yurenju, after discussing with Evan, we decided to break this job into 5 different jobs so that we can make sure we won't hit 50 minutes timeout issue. (http://docs.travis-ci.com/user/build-configuration/#Build-Timeouts).

What do you think :) ?
Flags: needinfo?(yurenju.mozilla)
We think if we break this job into 5 different jobs would dispatch the loads and make each test not to exceed 50 mins timeout. And I made a test on bubble-tea branch here (https://travis-ci.org/mozilla-b2g/gaia/builds/19551056)
(In reply to EJ Chen [:eragonj][:小龍哥] from comment #15)
> We think if we break this job into 5 different jobs would dispatch the loads
> and make each test not to exceed 50 mins timeout. And I made a test on
> bubble-tea branch here
> (https://travis-ci.org/mozilla-b2g/gaia/builds/19551056)

I think we could do the way first.
I filed a follow up bug 976448.
Once we have the reporter, I think we should remove the 30 times things.
(In reply to Evan Tseng [:evanxd][:愛聞插低] from comment #16)
> (In reply to EJ Chen [:eragonj][:小龍哥] from comment #15)
> > We think if we break this job into 5 different jobs would dispatch the loads
> > and make each test not to exceed 50 mins timeout. And I made a test on
> > bubble-tea branch here
> > (https://travis-ci.org/mozilla-b2g/gaia/builds/19551056)
> 
> I think we could do the way first.
> I filed a follow up bug 976448.
> Once we have the reporter, I think we should remove the 30 times things.

Yeah, based on our off-line discussions with Yurenju, let's land this patch first !
See Also: → 976448
Flags: needinfo?(yurenju.mozilla)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Attachment #8378170 - Flags: feedback?(gaye)
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: