Closed
Bug 438954
Opened 17 years ago
Closed 17 years ago
Create a VMWare Workstation 6 Linux unit test VM on tinderbox
Categories
(Release Engineering :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: roc, Assigned: phong)
References
Details
Attachments
(1 file)
We're constantly bugged by random test failures especially, lately, on centos5. One really powerful way to track these down would be to use VMWare Workstation 6's record-and-reply feature to record the test runs of a unit test tinderbox. If the tests fail, we can save the log (and the snapshot at the start of the test run) and developers can rerun the exact test run and debug the failure with VMWare's patched gdb.
You seem to be able to run Workstation 6.5 beta as a guest in an ESX host:
http://www.thincomputing.net/blog/vmware-workstation-6.5-beta-1-refresh-re-adds-esx-support.html
Please please please find a way to make this happen.
Updated•17 years ago
|
Assignee: reed → nobody
Component: Tinderbox Platforms → Release Engineering
QA Contact: dbaron → release
Updated•17 years ago
|
Assignee: nobody → lukasblakk
Updated•17 years ago
|
Priority: -- → P2
Comment 1•17 years ago
|
||
Would it work for you to have a downloadable version of a current unittest vm, similar to the one here: http://wiki.mozilla.org/ReferencePlatforms/Linux-Public
If that would meet your needs, we can ask for a clone of qm-centos5-03 which has been having intermittent failures on tests and this clone can be scrubbed and turned into a downloadable vm.
Status: NEW → ASSIGNED
| Reporter | ||
Comment 2•17 years ago
|
||
That would be a good start, but we really also need that VM running in Tinderbox in recording mode so that when an intermittent failure appears, people will notice and and we can debug that particular failure from the record.
Comment 3•17 years ago
|
||
This really would be a fantastic way to catch the failures on Linux and make them reproducible. Perhaps we can just spin up a new VM instance of the centos machines with recording on?
Comment 4•17 years ago
|
||
AFAIK the VM has to be running in Workstation to make this work, right? I don't think we have any VMs running in Workstation, they're all on ESX. (Although IT is the right group to ask that question of).
Comment 5•17 years ago
|
||
(In reply to comment #4)
> AFAIK the VM has to be running in Workstation to make this work, right? I don't
> think we have any VMs running in Workstation, they're all on ESX. (Although IT
> is the right group to ask that question of).
I believe this is true. It's a Workstation 6+ feature, afaik.
Comment 6•17 years ago
|
||
Justin: Not sure what RelEng can do here. Should this bug be assigned to IT for setup of VMware workstation?
Assignee: lukasblakk → nobody
Status: ASSIGNED → NEW
Component: Release Engineering → Release Engineering: Future
Priority: P2 → P3
Comment 7•17 years ago
|
||
All our infra is ESX or GSX, which does not support the record-replay. What I'd suggest is see if we see the issues on the mac mini that Lukas is setting up, if not, put Workstation on the windows mini and try it out. We can get releng the license and hardware, and help with the p2v, but should be a joint thing headed (I think) by releng based on the output of the tests. Sound ok?
Comment 8•17 years ago
|
||
We now know there are for sure code/test related issues that would be good to debug (see my post in newsgroups). Mention this so we don't block this behind the physical hardware setup. If in practice we are resource constrained this can wait. If we have a VM Image + Wiki docs I'd be happy to setup an instance on my local mini set to track this down.
Comment 9•17 years ago
|
||
given we'll have the image, we should be able to bring up another mini at the same time and hand off to Lukas for setup (or anyone else for that matter). Does anyone care what guest OS is (linux/windows)? Linux would prob be easiest given it doesn't need a windows license.
Comment 10•17 years ago
|
||
Needs to be linux - also to be useful we will have to be able to hand the image (or local machine access) to a developer once it fails.
Comment 11•17 years ago
|
||
And I'm seriously happy to do this locally - not a threat to get you to over-prioritize this :-)
| Reporter | ||
Comment 12•17 years ago
|
||
If we set up a standalone Linux Workstation VM on dedicated hardware and it never goes randomly orange, then at least we've learned something, and we have one good test box for Tinderbox :-).
Comment 13•17 years ago
|
||
So this is going to be a mini running the CentOS 5 ref platform we use for unittest. Phong has the image for this.
Can we call it
bm-centos5-workstation-01.build.mozilla.org
Unless anyone wants it to be on a different network than build. If it's on the build network, I can connect it to the staging-master unittest staging waterfall.
| Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → phong
Status: ASSIGNED → NEW
| Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 14•17 years ago
|
||
The mini is on your desk. Let me know when it's ready for me to move it to the colo.
| Assignee | ||
Comment 15•17 years ago
|
||
Do we have any progress on this?
Comment 16•17 years ago
|
||
I'm still working on this intermittently over the week.
Comment 17•17 years ago
|
||
I'll need a VMWare workstation serial number. The evaluation one that I got has expired already. Do we have one?
Status: ASSIGNED → NEW
Comment 18•17 years ago
|
||
There's probably one allocated to me that I'm not using anymore - Lukas can take that one, if it exists.
Comment 19•17 years ago
|
||
So, I have VMWare workstation setup, and tried to use the downloadable ref platform and set the recording feature, but I ran into this error.
I will try to create a new vm from scratch next and see what happens.
Comment 20•17 years ago
|
||
Phong - i'm going to put this box back on your desk, if you can put it up on the build network as:
moz2-linux-workstation.build.mozilla.org
then i can continue to tweak on it from Toronto.
| Assignee | ||
Comment 21•17 years ago
|
||
can you put a note on it so I don't it mixed up with other mini on my desk.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 22•17 years ago
|
||
moz2-linux-workstation.build.mozilla.org
10.2.71.180
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 23•17 years ago
|
||
Did the "try this out" portion of this bug get spun out somewhere else? I can't seem to find the bug if it did. Note that Chris Pearce got record and replay debugging working locally in workstation:
http://pearce.org.nz/2009/03/setting-up-vmware-to-record-replay-and.html
Comment 24•17 years ago
|
||
I've posted feedback on my experience using record-replay here:
http://communities.vmware.com/thread/199654
I found that it's hampered by its slow speed, and unreliability. If it was faster, it would be considerably more awesome. It still can be useful, but it's slow and somewhat frustrating to use.
Comment 25•16 years ago
|
||
Moving closed Future bugs into Release Engineering in preparation for removing the Future component.
Component: Release Engineering: Future → Release Engineering
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•