Hi,

So your running MbUnit 2.3 RTM and NCover? Which version of NCover? In a CI
process its sometimes hard to tell where the fault may lie because you
have 3 different applications sat on top of MbUnit. I'd like you to try a
few things.

Run some manual tests, using MbUnit/NCover on the command line try seeing if
you get this issue (just to take CCNet out of the loop for a while).
Run the same test again using NAnt.
In CCNet run MbUnit/NCover via the command line in NAnt rather than the NAnt
task (if your using the task).
I am not sure if this will interfere with your code coverage plans (I guess
Phil or Steve will need to ok it) but for testing purposes could you
possibly run MbUnit in your CI process with out running it through NCover
and see if this happens.

Thanks

Andy

On 2/14/07, Simone Chiaretta <[EMAIL PROTECTED]> wrote:
>
> Also, must add that I'm running it inside the NCover instrumentation
> process
>
> On 2/14/07, Simone Chiaretta < [EMAIL PROTECTED]> wrote:
> >
> > No, not any unmanaged code or COM things
> > If that can help, I just saw this after we upgraded to a new version
> > sometimes around nov-dic (sorry, don't remember exactly when that happened)
> >
> > On 2/14/07, Andrew Stopford <[EMAIL PROTECTED]> wrote:
> > >
> > > Hmm ok thanks Simone. Has anyone else run into this while using
> > > NAnt/CCNet/MbUnit ?
> > >
> > > It sounds like something is holding up the appdomain to prevent is
> > > being dumped in the first run. I assume that all database and file code is
> > > being closed off and disposed in the right way. Your not using any
> > > unmanaged/COM code at all?
> > >
> > > Andy
> > >
> > >
> > > On 2/13/07, Simone Chiaretta <[EMAIL PROTECTED] > wrote:
> > > >
> > > > The problem is that this is happening frequently...
> > > > at least every 5-6 builds
> > > >
> > > > Simo
> > > >
> > > > On 2/14/07, Andrew Stopford < [EMAIL PROTECTED] > wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > This may have been a one off and the force build has sorted it
> > > > > out. If it keeps doing it then we can invesigate further.
> > > > >
> > > > > Andy
> > > > >
> > > > > On 2/13/07, Simone Chiaretta <[EMAIL PROTECTED] > wrote:
> > > > > >
> > > > > > Hi
> > > > > > I'm using MbUnit inside our CCNET installation for subtext.
> > > > > > Every now and then the build fails because of a problem with
> > > > > > MbUnit
> > > > > >
> > > > > > it executes all the tests and the I've got this error:
> > > > > >
> > > > > > [exec] All Tests finished: 545 tests, 531 success, 0 failures,
> > > > > > 14 ignored in 58.890625 seconds
> > > > > > [exec] System.ApplicationException : Failed unloading domain
> > > > > > ---> System.CannotUnloadAppDomainException: Error while
> > > > > > unloading appdomain. (Exception from HRESULT: 0x80131015)
> > > > > > [exec] at System.AppDomain.Unload(AppDomain domain)
> > > > > > [exec] at MbUnit.Core.Remoting.SeparateTestDomain.Unload()
> > > > > > [exec] --- End of inner exception stack trace ---
> > > > > > [exec] at MbUnit.Core.Remoting.SeparateTestDomain.Unload()
> > > > > > [exec] at MbUnit.Core.Remoting.TestDomainBase.Dispose()
> > > > > > [exec] at MbUnit.Core.Graph.TestDomainDependencyGraph.Clear()
> > > > > > [exec] at MbUnit.Core.Graph.TestDomainDependencyGraph.Dispose()
> > > > > > [exec] at MbUnit.Core.Cons.MainClass.Main()
> > > > > >
> > > > > > If I force the build (I re run everything) it works again...
> > > > > >
> > > > > > Any idea of why that could happen?
> > > > > > Here is the sample of the full build log:
> > > > > >
> > > > > > http://haacked.dyndns.org/ccnet/server/local/project/SubText-1.9/build/log20070212225554.xml/NAntOutputBuildReport.aspx#failure
> > > > > >
> > > > > >
> > > > > > Thank you
> > > > > > Simone
> > > > > >
> > > > > > --
> > > > > > Simone Chiaretta
> > > > > > www.piyosailing.com/S
> > > > > > Any sufficiently advanced technology is indistinguishable from
> > > > > > magic
> > > > > > "Life is short, play hard"
> > > > > >
> > > > > >
> > > >
> > > >
> > > > --
> > > > Simone Chiaretta
> > > > www.piyosailing.com/S
> > > > Any sufficiently advanced technology is indistinguishable from magic
> > > >
> > > > "Life is short, play hard"
> > > >
> > > >
> >
> >
> > --
> > Simone Chiaretta
> > www.piyosailing.com/S
> > Any sufficiently advanced technology is indistinguishable from magic
> > "Life is short, play hard"
> >
>
>
>
> --
> Simone Chiaretta
> www.piyosailing.com/S
> Any sufficiently advanced technology is indistinguishable from magic
> "Life is short, play hard"
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to