Closed Bug 557910 Opened 14 years ago Closed 14 years ago

disable 32bit build testing on snow leopard

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: anodelman, Assigned: anodelman)

References

Details

Attachments

(2 files, 4 obsolete files)

Per irc discussion with shaver.  We may want this ability in future, but it is of a higher priority to get 64 bit builds tested on 64 bit platforms - so we'll disable this for now and turn it back on once we have appropriate support in the graph server to differentiate between these two types of builds.

This bug should cover disabling the tests themselves along with updating the graph server in some way to mark the old tests as having been done with 32 bit builds.
Blocks: 556125
Assignee: nobody → anodelman
Attachment #437671 - Flags: review?(catlee)
Sounds great!  I think just deleting the old graph server rows would actually be fine.
For reals?  I'm off to go write a big old remove statement!
Proposed removal of 32bit build on 64bit platform test results:

delete from rest_run_values where exists (select test_runs.id from test_run_values, test_runs, machines where test_runs.id = test_run_values.test_run_id and  test_runs.machine_id = machines.id and machines.name like "%talos-r3-snow%";);

delete form test_runs where exists (select test_runs.id from test_runs, machines where test_runs.machine_id = machines.id and machines.name like "%talos-r3-snow%");
Based on irc feedback from catlee.
Attachment #437671 - Attachment is obsolete: true
Attachment #437684 - Flags: review?(catlee)
Attachment #437671 - Flags: review?(catlee)
Comment on attachment 437684 [details] [diff] [review]
don't test 32bit mac builds on 64bit mac slaves (take 2)

>                 PLATFORMS['linux64']['slave_platforms'] + \
>                 PLATFORMS['win32']['slave_platforms'] + \
>                 PLATFORMS['macosx']['slave_platforms']
>+                PLATFORMS['macosx64']['slave_platforms']

You need a '+ \' on the previous line

> 
> BRANCH_UNITTEST_VARS = {
>     'hghost': 'hg.mozilla.org',
>@@ -213,12 +218,16 @@
>         "http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/bm-xserve08-mozilla1.9.0/",
>         "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.9.0/",
>         ],
>+    'macosx64': [
>+        ""
>+        ],

I think it's safer to set this to [], instead of [""].
Attachment #437684 - Flags: review?(catlee) → review-
Also includes talos-staging-pool update (some macosx64 changes were already accidentally checked in there, this just repairs them).
Attachment #437684 - Attachment is obsolete: true
Attachment #437690 - Flags: review?(catlee)
Attachment #437690 - Flags: review?(catlee) → review+
Blocks: 557311
Attachment #437691 - Flags: review?(catlee)
Attachment #437691 - Flags: review?(catlee) → review-
Comment on attachment 437691 [details]
sql for removing 32-on-64 testing results

>delete from test_run_values where exists (select test_runs.id from test_run_values, test_runs, machines where test_runs.id = test_run_values.test_run_id and  test_runs.machine_id = machines.id and machines.name like "%talos-r3-snow%";);

I'm pretty sure this will end up deleting all rows in test_run_values.  At least, 'select * from test_run_values where exists (...)' selects all 160 million rows in the production db.


>delete form test_runs where exists (select test_runs.id from test_runs, machines where test_runs.machine_id = machines.id and machines.name like "%talos-r3-snow%");

Same issue.

Also, strings need to be single quoted.
Comment on attachment 437690 [details] [diff] [review]
[checked in]don't test 32bit mac builds on 64bit mac slaves (take 3)

changeset:   2295:a5946519dc4a
Attachment #437690 - Attachment description: don't test 32bit mac builds on 64bit mac slaves (take 3) → [checked in]don't test 32bit mac builds on 64bit mac slaves (take 3)
Attachment #437690 - Flags: checked-in+
No longer doing any testing on snow leopard till graph server is repaired.

Applied patch to staging/production and reconfig-ed.  Will require another reconfig to turn on 64-on-64 testing.
That 'exists' stuff wasn't working right.  This solution is a lot simpler and doesn't remove the entire test_runs/test_run_values tables.
Attachment #437963 - Flags: review?(catlee)
Attachment #437963 - Attachment description: sql for removing 32-on-64 testing results → sql for removing 32-on-64 testing results (take 2)
Attachment #437691 - Attachment is obsolete: true
No longer blocks: 557311
Comment on attachment 437963 [details]
sql for removing 32-on-64 testing results (take 2)

First query matches 563635 rows in my test of an older production snapshot, and the second one matches 18718 rows.  A brief inspection of some of the matched rows looks good.
Attachment #437963 - Flags: review?(catlee) → review+
Same as before, but uses a temporary table with foreign key constraints to make it run faster.

I ran this on stage and it looks like all the snow leopard data is gone.
Attachment #437963 - Attachment is obsolete: true
Attachment #438124 - Flags: review?(catlee)
Attachment #438124 - Flags: review?(catlee) → review+
Depends on: 558444
Snow leopard up and reporting, testing 64bit macosx builds only.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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: