Junit test showing twice

View: New views
7 Messages — Rating Filter:   Alert me  

Junit test showing twice

by Rojal Pradhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I am new to Hudson. Running 1.230. I have read the thread on Junit tests showing twice but not clear on what the solution would be.

 

I would really appreciate it if I could get some pointers on what/where I should be checking to correct this.

 

 

 

---

Rojal Pradhan

 


Attention: This message and all attachments are private and may contain information that is confidential and privileged. If you receive this message in error, please notify the sender by reply email and delete the message immediately.


Re: Junit test showing twice

by Erik Ramfelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you using maven job? There is a problem with the maven job type,
that shows up if the surefire tests are run twice, then the result
from them shows up twice.

If you are not using the maven job, check if you have any left over
junit result xml files in the workspace that isnt removed when
starting a new build.

//Erik

On Wed, Jul 2, 2008 at 5:32 AM, Rojal Pradhan
<Rojal.Pradhan@...> wrote:

> I am new to Hudson. Running 1.230. I have read the thread on Junit tests
> showing twice but not clear on what the solution would be.
>
>
>
> I would really appreciate it if I could get some pointers on what/where I
> should be checking to correct this.
>
>
>
>
>
>
>
> ---
>
> Rojal Pradhan
>
>
>
> Attention: This message and all attachments are private and may contain
> information that is confidential and privileged. If you receive this message
> in error, please notify the sender by reply email and delete the message
> immediately.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Junit test showing twice

by Chris Graham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

erik.ramfelt@... wrote on 02/07/2008 19:36:34:

> Are you using maven job? There is a problem with the maven job type,
> that shows up if the surefire tests are run twice, then the result
> from them shows up twice.

That is going to be fixed?

I have the same issue, the same pom for the same project. Fine as a
freestyle, and shows up twice as a Maven job.

-Chris


**********************************************************************
CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information.

If you are not the intended recipient of this message you must:
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer immediately.

Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent.

Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI.
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Junit test showing twice

by Erik Ramfelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dont bet on it. It has been there for a while, and has been discussed
in the list one or two times.

//Erik

On Wed, Jul 2, 2008 at 12:09 PM,  <Chris_Graham@...> wrote:

> erik.ramfelt@... wrote on 02/07/2008 19:36:34:
>
>> Are you using maven job? There is a problem with the maven job type,
>> that shows up if the surefire tests are run twice, then the result
>> from them shows up twice.
>
> That is going to be fixed?
>
> I have the same issue, the same pom for the same project. Fine as a
> freestyle, and shows up twice as a Maven job.
>
> -Chris
>
>
> **********************************************************************
> CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information.
>
> If you are not the intended recipient of this message you must:
> - Not use, copy, distribute or disclose it to anyone other than the addressee;
> - Notify the sender via return email; and
> - Delete the message (and any related attachments) from your computer immediately.
>
> Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent.
>
> Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI.
> **********************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Junit test showing twice

by Chris Graham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

And as the other person said, there does not appear to be either a
resolution or a workaround, and being a maven job type, you are not
provided with much opportunity to provide overrides to defaults either...

Argh!

:-)

So, for the foreseeable future, I'll just stick with a meven based
freestyle job - works perfectly for me.

-Chris

erik.ramfelt@... wrote on 04/07/2008 08:06:34:

> Dont bet on it. It has been there for a while, and has been discussed
> in the list one or two times.
>
> //Erik
>
> On Wed, Jul 2, 2008 at 12:09 PM,  <Chris_Graham@...> wrote:
> > erik.ramfelt@... wrote on 02/07/2008 19:36:34:
> >
> >> Are you using maven job? There is a problem with the maven job type,
> >> that shows up if the surefire tests are run twice, then the result
> >> from them shows up twice.
> >
> > That is going to be fixed?
> >
> > I have the same issue, the same pom for the same project. Fine as a
> > freestyle, and shows up twice as a Maven job.
> >
> > -Chris
> >
> >
> > **********************************************************************
> > CAUTION - This message is intended for the addressee named above. It
> may contain privileged or confidential information.
> >
> > If you are not the intended recipient of this message you must:
> > - Not use, copy, distribute or disclose it to anyone other than the
addressee;

> > - Notify the sender via return email; and
> > - Delete the message (and any related attachments) from your computer
> immediately.
> >
> > Internet emails are not necessarily secure. Australian Associated
> Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related
> entities, do not accept responsibility for changes made to this message
> after it was sent.
> >
> > Unless otherwise stated, views expressed within this email are the
> author's own and do not represent those of AAMI.
> > **********************************************************************
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> > For additional commands, e-mail: users-help@...
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
> The following message has been automatically added by the Internet mail
> gateway to comply with the Group's Information Security requirements.
>
> "This e-mail has arrived via the Internet, and therefore you should be
> cautious about its origin and content. Replies which contain sensitive
> information and / or legal/contractual obligations are particularly
vulnerable.
>
> In these cases you should not reply unless you are authorised to do so,
> and adequate encryption is employed."
>
> If you have any questions, please contact the IS Service Desk.


**********************************************************************
CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information.

If you are not the intended recipient of this message you must:
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer immediately.

Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent.

Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI.
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Junit test showing twice

by kohsuke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Erik Ramfelt wrote:
> Dont bet on it. It has been there for a while, and has been discussed
> in the list one or two times.

I'm late to this thread, but is this issue already in the issue tracker?
I did a quick search but can't find it anywhere.

>
> //Erik
>
> On Wed, Jul 2, 2008 at 12:09 PM,  <Chris_Graham@...> wrote:
>> erik.ramfelt@... wrote on 02/07/2008 19:36:34:
>>
>>> Are you using maven job? There is a problem with the maven job type,
>>> that shows up if the surefire tests are run twice, then the result
>>> from them shows up twice.
>>
>> That is going to be fixed?
>>
>> I have the same issue, the same pom for the same project. Fine as a
>> freestyle, and shows up twice as a Maven job.
>>
>> -Chris
>>
>>
>> **********************************************************************
>> CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information.
>>
>> If you are not the intended recipient of this message you must:
>> - Not use, copy, distribute or disclose it to anyone other than the addressee;
>> - Notify the sender via return email; and
>> - Delete the message (and any related attachments) from your computer immediately.
>>
>> Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent.
>>
>> Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI.
>> **********************************************************************
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi@...


smime.p7s (4K) Download Attachment

Re: Junit test showing twice

by Chris Graham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Done.

https://hudson.dev.java.net/issues/show_bug.cgi?id=2068

-Chris

Kohsuke Kawaguchi <Kohsuke.Kawaguchi@...> wrote on 12/07/2008
11:40:03:

> Erik Ramfelt wrote:
> > Dont bet on it. It has been there for a while, and has been discussed
> > in the list one or two times.
>
> I'm late to this thread, but is this issue already in the issue tracker?

> I did a quick search but can't find it anywhere.
>
> >
> > //Erik
> >
> > On Wed, Jul 2, 2008 at 12:09 PM,  <Chris_Graham@...> wrote:
> >> erik.ramfelt@... wrote on 02/07/2008 19:36:34:
> >>
> >>> Are you using maven job? There is a problem with the maven job type,
> >>> that shows up if the surefire tests are run twice, then the result
> >>> from them shows up twice.
> >>
> >> That is going to be fixed?
> >>
> >> I have the same issue, the same pom for the same project. Fine as a
> >> freestyle, and shows up twice as a Maven job.
> >>
> >> -Chris
> >>
> >>
> >>
**********************************************************************
> >> CAUTION - This message is intended for the addressee named above. It
> may contain privileged or confidential information.
> >>
> >> If you are not the intended recipient of this message you must:
> >> - Not use, copy, distribute or disclose it to anyone other than the
addressee;
> >> - Notify the sender via return email; and
> >> - Delete the message (and any related attachments) from your computer

> immediately.
> >>
> >> Internet emails are not necessarily secure. Australian Associated
> Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related
> entities, do not accept responsibility for changes made to this message
> after it was sent.
> >>
> >> Unless otherwise stated, views expressed within this email are the
> author's own and do not represent those of AAMI.
> >>
**********************************************************************

> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@...
> >> For additional commands, e-mail: users-help@...
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> > For additional commands, e-mail: users-help@...
> >
> >
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   kohsuke.kawaguchi@...


**********************************************************************
CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information.

If you are not the intended recipient of this message you must:
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer immediately.

Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent.

Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI.
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price