Closed Bug 1026036 Opened 10 years ago Closed 10 years ago

Please move Tinderbox components to graveyard

Categories

(bugzilla.mozilla.org :: Infrastructure, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: emorley, Assigned: fubar)

References

Details

Now that we're no longer using Tinderbox, please can we move the following to their respective graveyard components (only in the last month or so was there yet another bug filed under them that should have been elsewhere).

 	Webtools 	  Tinderbox
	Webtools 	  Tinderbox2
	Webtools 	  Tinderbox3 
 	mozilla.org 	  Tinderbox Configuration 

Thanks! :-)
Depends on: tinderbox-death
To satisfy requirements for this bug, I need to have an admin run two perl scripts on
the production BMO Bugzilla server. The scripts will synchronize the target milestones and version from the old product to the graveyard product. The second script will move current bugs from the old product/component to the graveyard product/component.

1. cd to the web root for BMO (cgi files for Bugzilla)
2. # perl contrib/reorg-tools/syncmsandversions.pl "Webtools" "Webtools Graveyard"
3. # perl contrib/reorg-tools/movecomponent.pl "Webtools" "Webtools Graveyard" "Tinderbox" "doit"
4. # perl contrib/reorg-tools/movecomponent.pl "Webtools" "Webtools Graveyard" "Tinderbox2" "doit"
5. # perl contrib/reorg-tools/movecomponent.pl "Webtools" "Webtools Graveyard" "Tinderbox3" "doit"

The mozilla.org :: Tinderbox Configuration, I will move manually as there are only a couple bugs.

Thanks
dkl
Assignee: nobody → server-ops-webops
Component: Administration → WebOps: Bugzilla
Product: bugzilla.mozilla.org → Infrastructure & Operations
QA Contact: nmaul
Version: Production → other
First command ran fine, but second threw a rod:

# time perl contrib/reorg-tools/movecomponent.pl "Webtools" "Webtools Graveyard" "Tinderbox" "doit"
About to move the component 'Tinderbox'
From 'Webtools'
To 'Webtools Graveyard'

Press <Ctrl-C> to stop or <Enter> to continue...

Moving 'Tinderbox' from 'Webtools' to 'Webtools Graveyard'...

DBD::mysql::db do failed: Duplicate entry '59-Tinderbox' for key 'components_product_id_idx' [for Statement "UPDATE components SET product_id = ? WHERE id = ?"] at contrib/reorg-tools/movecomponent.pl line 113.

real	0m2.696s
user	0m0.670s
sys	0m0.075s
Assignee: server-ops-webops → klibby
Flags: needinfo?(dkl)
(In reply to Kendall Libby [:fubar] from comment #2)
> First command ran fine, but second threw a rod:
> 
> # time perl contrib/reorg-tools/movecomponent.pl "Webtools" "Webtools
> Graveyard" "Tinderbox" "doit"
> About to move the component 'Tinderbox'
> From 'Webtools'
> To 'Webtools Graveyard'
> 
> Press <Ctrl-C> to stop or <Enter> to continue...
> 
> Moving 'Tinderbox' from 'Webtools' to 'Webtools Graveyard'...
> 
> DBD::mysql::db do failed: Duplicate entry '59-Tinderbox' for key
> 'components_product_id_idx' [for Statement "UPDATE components SET product_id
> = ? WHERE id = ?"] at contrib/reorg-tools/movecomponent.pl line 113.
> 
> real	0m2.696s
> user	0m0.670s
> sys	0m0.075s

My bad. Got ahead of myself on the other component that I did manually. Please try again now.

dkl
Flags: needinfo?(dkl)
All set.

bugzillaadm.private.scl3# time perl contrib/reorg-tools/syncmsandversions.pl "Webtools" "Webtools Graveyard"

real	0m0.501s
user	0m0.437s
sys	0m0.037s

bugzillaadm.private.scl3# time perl contrib/reorg-tools/movecomponent.pl "Webtools" "Webtools Graveyard" "Tinderbox" "doit"
About to move the component 'Tinderbox'
From 'Webtools'
To 'Webtools Graveyard'

Press <Ctrl-C> to stop or <Enter> to continue...

Moving 'Tinderbox' from 'Webtools' to 'Webtools Graveyard'...

Touching user profile data for 708 bugs.
Updated 3597 users.

real	0m10.065s
user	0m1.768s
sys	0m0.502s

bugzillaadm.private.scl3# time perl contrib/reorg-tools/movecomponent.pl "Webtools" "Webtools Graveyard" "Tinderbox2" "doit"
About to move the component 'Tinderbox2'
From 'Webtools'
To 'Webtools Graveyard'

Press <Ctrl-C> to stop or <Enter> to continue...

Moving 'Tinderbox2' from 'Webtools' to 'Webtools Graveyard'...

Touching user profile data for 46 bugs.
Updated 234 users.

real	0m3.131s
user	0m0.765s
sys	0m0.092s

bugzillaadm.private.scl3# time perl contrib/reorg-tools/movecomponent.pl "Webtools" "Webtools Graveyard" "Tinderbox3" "doit"
About to move the component 'Tinderbox3'
From 'Webtools'
To 'Webtools Graveyard'

Press <Ctrl-C> to stop or <Enter> to continue...

Moving 'Tinderbox3' from 'Webtools' to 'Webtools Graveyard'...

Touching user profile data for 20 bugs.
Updated 82 users.

real	0m1.899s
user	0m0.703s
sys	0m0.066s
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Thank you :-)
Component: WebOps: Bugzilla → Infrastructure
Product: Infrastructure & Operations → bugzilla.mozilla.org
You need to log in before you can comment on or make changes to this bug.