Closed Bug 556530 Opened 12 years ago Closed 12 years ago

move Talos from cvs into Mercurial

Categories

(Testing :: Talos, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhford, Assigned: anodelman)

References

Details

(Whiteboard: [talos])

Attachments

(1 file, 1 obsolete file)

I am noticing a lot of N900s failing their testing runs because of CVS being killed midstream or failing to start.

I have imported talos using the mercurial convert extension by doing:

1. enable convert extension by adding this to ~/.hgrc
[extensions]
hgext.convert=

2. created a mapping file for usernames (this is not an exhaustive list)
cat > authors << EOF
anodelman%mozilla.com=Alice Nodelman <alice@mozilla.com>
catlee%mozilla.com=Chris AtLee <catlee@mozilla.com>
lsblakk%mozilla.com=Lukas Blakk <lblakk@mozilla.com>
asasaki%mozilla.com=Aki Sasaki <asasaki@mozilla.com>
EOF

3. check out talos and pageloader
cvs -d :pserver:anonymous@63.245.209.14:/cvsroot co -d talos mozilla/testing/performance/talos
cvs -d :pserver:anonymous@63.245.209.14:/cvsroot co -d pageloader mozilla/layout/tools/pageloader

4. convert CVS -> HG
hg convert --authors=authors talos
hg convert --authors=authors pageloader

5. push to my user repository
hg push ssh://hg.mozilla.org/users/jford_mozilla.com/talos
hg push ssh://hg.mozilla.org/users/jford_mozilla.com/pageloader

6. Copy+modify generate-tpcomponent to work with this format

I have merged the pageloader and talos to form one repository at 
http://hg.mozilla.org/users/jford_mozilla.com/talos-tp-merged

to do this I cloned my talos repository, cloned my pageloader into the talos dir, rm -rf .hg .hgtags in pageloader dir.  I copied the generate-tpcomponent.py script into the talos directory and modified it to work without needing a seperate checkout of pageloader


I don't know if we care about history.  If we don't, instead of doing the hg convert we could do

cd talos
find -name CVS -exec rm -rf {} \;
hg addremove
Priority: -- → P5
This is mostly dependent upon having hg installed on all talos slaves.
We probably need Aravind (or somebody) to port the CVS commit hook to an hg hook.
But, yes please :)
OS: Mac OS X → All
Hardware: x86 → All
(In reply to comment #1)
> This is mostly dependent upon having hg installed on all talos slaves.

aiui, installing hg on all the new rev3 talos slaves has been done as part of bug#548768.
Whiteboard: [talos]
From reading comment#0, it seems like this bug is about taking existing talos and pageloader code checked into cvs, and moving it to hg. Tweaking summary to match.

Moving this bug to Testing:General. Once this is fixed, please file a separate bug in mozilla.org/ReleaseEngineering for us to change our automation to pull from hg instead of cvs.
Component: Release Engineering → General
Product: mozilla.org → Testing
QA Contact: release → general
Summary: Put Talos + Pageloader in Mercurial → Put Talos + Pageloader from cvs into Mercurial
Version: other → unspecified
Moving to Talos component.
Component: General → Talos
Assignee: nobody → anodelman
Just need a zip of the talos code on the build server.

This gets us away from a dependency of having hg installed on all talos slaves.
Attachment #473801 - Flags: review?(catlee)
Pageloader already in hg repo, updating summary to indicate as such.
Summary: Put Talos + Pageloader from cvs into Mercurial → move Talos from cvs into Mercurial
Comment on attachment 473801 [details] [diff] [review]
download talos per run as zip from build server

easy peasy!  needs testing before landing.
Attachment #473801 - Flags: review?(catlee) → review+
Depends on: 595002
Depends on: 595007
(In reply to comment #8)
> Comment on attachment 473801 [details] [diff] [review]
> download talos per run as zip from build server
> 
> easy peasy!  needs testing before landing.

also, we can get rid of references to cvsRoot.
Initial push to http://hg.mozilla.org/build/talos/ complete.

I did convert history and updated all the user names.  Looks okay to me.
Staging overnight to ensure that everything works correctly.
Comment on attachment 474890 [details] [diff] [review]
[checked in] download talos per run as zip from build server (take 2)

Going green in staging.
Attachment #474890 - Flags: review?(catlee)
Attachment #474890 - Flags: review?(catlee) → review+
Blocks: 598507
Blocks: 596132
I'm seeing jobs pulling Talos from the .zip now. All done here?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 474890 [details] [diff] [review]
[checked in] download talos per run as zip from build server (take 2)

a71cf27a8478
Attachment #474890 - Attachment description: download talos per run as zip from build server (take 2) → [checked in] download talos per run as zip from build server (take 2)
You need to log in before you can comment on or make changes to this bug.