Closed Bug 675283 Opened 14 years ago Closed 14 years ago

Run Tracemonkey tests on mozilla-inbound for changes involving js/src

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ehsan.akhgari, Assigned: mozilla)

References

Details

Attachments

(4 files, 1 obsolete file)

The js team needs some special kinds of tests to be run on js/src changes (as they are on the Tracemonkey branch now). I'm filing this bug to get those tests on mozilla-inbound, to allow the js team to completely switch to mozilla-inbound. catlee told me that this is possible. I'm sure he'll add a comment about how it should be done.
I think we just need to change the spidermonkey project configs to look at mozilla-inbound instead of tracemonkey.
I'd include check-valgrind in the list of "some special kinds of tests."
(In reply to comment #0) > to allow the js team to completely switch to > mozilla-inbound. Does that mean the Tracemonkey branch is going away?
Attached patch tracemonkey tests on inbound (obsolete) — Splinter Review
If we're getting rid of Tracemonkey, this is probably right. If we're not, this may be a bit too much.
Attachment #549976 - Flags: review?(bhearsum)
Comment on attachment 549976 [details] [diff] [review] tracemonkey tests on inbound Review of attachment 549976 [details] [diff] [review]: ----------------------------------------------------------------- ::: mozilla/config.py @@ +893,5 @@ > 'macosx': PLATFORM_VARS['macosx']['env'], > 'macosx-debug': PLATFORM_VARS['macosx-debug']['env'], > }, > 'hgurl': 'http://hg.mozilla.org', > + 'repo_path': '/integration/mozilla-inbound', Drop the leading slash here, we don't use it elsewhere (and I'm not sure whether it will bust something or not...). Note that this also stops running them on TraceMonkey, which will be a problem if the switch-to-inbound plan is aborted. ::: mozilla/project_branches.py @@ +99,5 @@ > + 'linux-debug': { > + 'enable_valgrind_checktests': True, > + }, > + 'linux64-debug': { > + 'enable_valgrind_checktests': True, Can we get a separate bug on file for this? These are currently run _only_ on TraceMonkey, and it seems like we ought to be running them everywhere instead of just on inbound -- I don't have the insight to say for sure, though. @@ +112,5 @@ > 'remote-tp4m': 1, > 'remote-tp4m_nochrome': 1, > 'remote-twinopen': 1, > 'remote-tzoom': 1, > + 'v8': 1, Same thing for this.
The goal here is to get rid of the TraceMonkey branch, yes.
(In reply to comment #5) > ::: mozilla/project_branches.py > @@ +99,5 @@ > > + 'linux-debug': { > > + 'enable_valgrind_checktests': True, > > + }, > > + 'linux64-debug': { > > + 'enable_valgrind_checktests': True, > > Can we get a separate bug on file for this? These are currently run _only_ > on TraceMonkey, and it seems like we ought to be running them everywhere > instead of just on inbound -- I don't have the insight to say for sure, > though. Does this just call "make check-valgrind"? If so, it would probably be easier to do that in js/src/Makefile.in as part of "make check".
Comment on attachment 549976 [details] [diff] [review] tracemonkey tests on inbound r+ for the config.py part and the build_space changes. I'd like to see some discussion and/or sign off on what to do about the valgrind check tests and v8 stuff, though (put them everywhere vs. only on inbound vs. only on m-c/inbound etc.). Probably should happen in a separate bug.
Attachment #549976 - Flags: review?(bhearsum) → review-
(In reply to comment #8) > Comment on attachment 549976 [details] [diff] [review] [diff] [details] [review] > tracemonkey tests on inbound > > r+ for the config.py part and the build_space changes. I'd like to see some > discussion and/or sign off on what to do about the valgrind check tests and > v8 stuff, though (put them everywhere vs. only on inbound vs. only on > m-c/inbound etc.). Probably should happen in a separate bug. Is this acceptable to the developers on this bug?
Assignee: nobody → aki
Attached patch as requestedSplinter Review
(In reply to comment #8) > Comment on attachment 549976 [details] [diff] [review] [diff] [details] [review] > tracemonkey tests on inbound > > r+ for the config.py part and the build_space changes. I'd like to see some > discussion and/or sign off on what to do about the valgrind check tests and > v8 stuff, though (put them everywhere vs. only on inbound vs. only on > m-c/inbound etc.). Probably should happen in a separate bug. This is the patch with only the config.py part and build_space changes. Marking as r+ and leaving it up to the TM folks to start the v8/valgrind discussion and/or bug.
Attachment #551498 - Flags: review+
Flags: needs-reconfig?
(In reply to Aki Sasaki [:aki] from comment #10) > Marking as r+ and leaving it up to the TM folks to start the v8/valgrind > discussion and/or bug. I don't have any strong opinions; Paul, do you?
> (In reply to Aki Sasaki [:aki] from comment #10) > > Marking as r+ and leaving it up to the TM folks to start the v8/valgrind > > discussion and/or bug. What does v8 refer to here? I wasn't aware of anything in our test suite that involved v8. I'm not sure what to do about valgrind because I don't fully understand when |make check-valgrind| is run. Can you give me more details about this? (I'm trying to determine whether just adding a Makefile rule like "check:: check-valgrind" will solve this.)
(In reply to Paul Biggar from comment #13) > > (In reply to Aki Sasaki [:aki] from comment #10) > > > Marking as r+ and leaving it up to the TM folks to start the v8/valgrind > > > discussion and/or bug. > > What does v8 refer to here? I wasn't aware of anything in our test suite > that involved v8. I don't know, but a Talos suite involving v8 was running on Tracemonkey. http://is.gd/eLcgAZ shows the WinNT 6.1 graph. > I'm not sure what to do about valgrind because I don't fully understand when > |make check-valgrind| is run. Can you give me more details about this? (I'm > trying to determine whether just adding a Makefile rule like "check:: > check-valgrind" will solve this.) It looks like a 'make check-valgrind' inside of js/src, which we don't do anywhere else. If 'make check' in the top of objdir were changed to also run 'make check-valgrind' in js/src, that would be the same thing, but would run in other branches as well. I'm not sure what this means in terms of overall build time; if 'make check-valgrind' takes a long time, we may not want to do it on every build.
(In reply to Aki Sasaki [:aki] from comment #14) > (In reply to Paul Biggar from comment #13) > > > (In reply to Aki Sasaki [:aki] from comment #10) > > > > Marking as r+ and leaving it up to the TM folks to start the v8/valgrind > > > > discussion and/or bug. > > > > What does v8 refer to here? I wasn't aware of anything in our test suite > > that involved v8. > > I don't know, but a Talos suite involving v8 was running on Tracemonkey. > http://is.gd/eLcgAZ shows the WinNT 6.1 graph. Ah, and this ran on no other trees? I guess we want this then. > > I'm not sure what to do about valgrind because I don't fully understand when > > |make check-valgrind| is run. Can you give me more details about this? (I'm > > trying to determine whether just adding a Makefile rule like "check:: > > check-valgrind" will solve this.) > > It looks like a 'make check-valgrind' inside of js/src, which we don't do > anywhere else. I meant in terms of the infratructure, when is it run? Is valgrind installed on all machines? Was |make check-valgrind| run on every push on TM, or selectively depending on the build machine selected, or something else? > I'm not sure what this means in terms of overall build time; if 'make > check-valgrind' takes a long time, we may not want to do it on every build. I think only a very small number of JS tests use valgrind, and the build time barely increases. I'm thinking we should just run it unconditionally.
> I think only a very small number of JS tests use valgrind, Yes, it's only 3, IIRC> > and the build > time barely increases. I'm thinking we should just run it unconditionally. Yes please!
(In reply to Nicholas Nethercote [:njn] from comment #16) > > and the build > > time barely increases. I'm thinking we should just run it unconditionally. > > Yes please! I measured this. It adds 30s to a debug build on Mac.
(In reply to Paul Biggar from comment #15) > (In reply to Aki Sasaki [:aki] from comment #14) > > (In reply to Paul Biggar from comment #13) > > > > (In reply to Aki Sasaki [:aki] from comment #10) > > > > > Marking as r+ and leaving it up to the TM folks to start the v8/valgrind > > > > > discussion and/or bug. > > > > > > What does v8 refer to here? I wasn't aware of anything in our test suite > > > that involved v8. > > > > I don't know, but a Talos suite involving v8 was running on Tracemonkey. > > http://is.gd/eLcgAZ shows the WinNT 6.1 graph. > > Ah, and this ran on no other trees? I guess we want this then. Ok. Per comment 5: (In reply to Ben Hearsum [:bhearsum] from comment #5) > Can we get a separate bug on file for this? These are currently run _only_ > on TraceMonkey, and it seems like we ought to be running them everywhere > instead of just on inbound -- I don't have the insight to say for sure, > though. This may be asking for more information than you currently have as well. Do we need more discussion, or is just-inbound or all-branches an easy decision to make here? (In reply to Paul Biggar from comment #15) > I meant in terms of the infratructure, when is it run? Is valgrind installed > on all machines? Was |make check-valgrind| run on every push on TM, or > selectively depending on the build machine selected, or something else? It looks like |make check-valgrind| was run on every push on TM. Pretty sure we don't selectively install valgrind; our build slaves [of a particular platform] should be identical. > I think only a very small number of JS tests use valgrind, and the build > time barely increases. I'm thinking we should just run it unconditionally. Ok. Does that mean adding |make check-valgrind| as a |make check| makefile dependency and removing the conditional enable_valgrind_checktests on the buildbot configs side?
(In reply to Aki Sasaki [:aki] from comment #18) > Ok. Per comment 5: > > (In reply to Ben Hearsum [:bhearsum] from comment #5) > > Can we get a separate bug on file for this? These are currently run _only_ > > on TraceMonkey, and it seems like we ought to be running them everywhere > > instead of just on inbound -- I don't have the insight to say for sure, > > though. > > This may be asking for more information than you currently have as well. > Do we need more discussion, or is just-inbound or all-branches an easy > decision to make here? If this ran only on TM, then we only need it on mozilla-inbound. It may be nice to have it elsewhere (and feel free to do that), but I wouldn't feel compelled t do it everywhere unless someone speaks up. > (In reply to Paul Biggar from comment #15) > Does that mean adding |make check-valgrind| as a |make check| makefile > dependency and removing the conditional enable_valgrind_checktests on the > buildbot configs side? I'll make the change in js/src/Makefile.in, and you can remove the buildbot configs. check-valgrind won't exist anymore. I'll file a bug in a moment.
Depends on: 677433
per comment 19. Using hg diff -U20 for enough context =P
Attachment #549976 - Attachment is obsolete: true
Attachment #551664 - Flags: review?(bhearsum)
Attachment #551664 - Flags: review?(bhearsum) → review+
Noticed that there are a bunch of spidermonkey tests running red on the Tracemonkey tinderbox page (hidden). http://tinderbox.mozilla.org/showbuilds.cgi?tree=TraceMonkey&noignore=1 This patch gets them pulling from mozilla-inbound instead of tracemonkey. Followup patch coming to send them to the mozilla-inbound tree.
Attachment #551826 - Flags: review?(bhearsum)
Attachment #551826 - Flags: review?(bhearsum) → review+
Attachment #551828 - Flags: review?(bhearsum) → review+
Comment on attachment 551828 [details] [diff] [review] send spidermonkey results to the mozilla-inbound tinderbox page http://hg.mozilla.org/build/buildbot-configs/rev/92012edde182
Attachment #551828 - Flags: checked-in+
With the build/tools checkin, we got an orange on mozilla-inbound_linux-debug_spidermonkey-notracejit rather than a red. It'll appear on the mozilla-inbound page after a reconfig.
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: needs-reconfig?
Resolution: --- → FIXED
Depends on: 678435
Blocks: 683970
We're only running the v8 test suite on mozilla-inbound. Is this still the expected coverage? My question in other words: "is this a suite that should close the Firefox tree?". If the answer is "no" then we can leave it as is. If it is, then we should enable it in most places.
What is the reason that we run "v8" only on inbound?
(In reply to Armen Zambrano G. [:armenzg] - Release Engineer from comment #27) > What is the reason that we run "v8" only on inbound? bug 733490 asks the same question!
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: