History of Changes per Job

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

History of Changes per Job

Sven Reimers
Hi all,

I am not quite sure if I got this diagnosed correctly, but I will try
to describe what I assume is happening.

1. Hudson is polling SVN and detects changes.
2. Hudson triggers the build.
3. During SVN co (or update maybe) a network connection error occurs.
4. The build fails, no changelog
5. Manual restart of build (no further changes in the repository so far)
6. Successful build
7. Still no changelog

Seems Hudson gets confused in case the assumed chain of events is broken.

Anyone any ideas?

-Sven

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: History of Changes per Job

Vladimir Sizikov
Hi Sven,

I've seen similar behavior when, for example, I misconfigured SVN
settings (like, providing two URLs for two modules where one of the
modules does not exist due to error in URL), and then Hudson tries to
check out sources, fails for the second module, and no changes written
in the change log - so from the user's point of view some recent
changes in the first module will never be visible.

Thanks,
  --Vladimir

--
Vladimir Sizikov
Sun Microsystems                   [hidden email]


On Thu, Nov 16, 2006 at 08:27:16AM +0100, Sven Reimers wrote:

> Hi all,
>
> I am not quite sure if I got this diagnosed correctly, but I will try
> to describe what I assume is happening.
>
> 1. Hudson is polling SVN and detects changes.
> 2. Hudson triggers the build.
> 3. During SVN co (or update maybe) a network connection error occurs.
> 4. The build fails, no changelog
> 5. Manual restart of build (no further changes in the repository so far)
> 6. Successful build
> 7. Still no changelog
>
> Seems Hudson gets confused in case the assumed chain of events is broken.
>
> Anyone any ideas?
>
> -Sven
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: History of Changes per Job

Kohsuke Kawaguchi-2
In reply to this post by Sven Reimers

Hudson's changelog computation is based on comparing the current files
in the workspace vs the set of files after update.

So Vladimir's case makes sense to me. If the update of the 2nd module
failed, then the 1st module is already updated, so next time a build
runs it misses the update of the 1st module --- that can be fixed by
making sure that changelogs are written per module.

Sven Reimers wrote:

> Hi all,
>
> I am not quite sure if I got this diagnosed correctly, but I will try
> to describe what I assume is happening.
>
> 1. Hudson is polling SVN and detects changes.
> 2. Hudson triggers the build.
> 3. During SVN co (or update maybe) a network connection error occurs.
> 4. The build fails, no changelog
> 5. Manual restart of build (no further changes in the repository so far)
> 6. Successful build
> 7. Still no changelog
>
> Seems Hudson gets confused in case the assumed chain of events is broken.
>
> Anyone any ideas?
In you case, I'm not too sure, but could be a similar case. If you have
a console output of the broken build in step 3, could you file an issue
with that as an attachment?

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: History of Changes per Job

Kohsuke Kawaguchi-2
In reply to this post by Vladimir Sizikov

I think an issue for this in the issue tracker would be appreciated.

Vladimir Sizikov wrote:

> Hi Sven,
>
> I've seen similar behavior when, for example, I misconfigured SVN
> settings (like, providing two URLs for two modules where one of the
> modules does not exist due to error in URL), and then Hudson tries to
> check out sources, fails for the second module, and no changes written
> in the change log - so from the user's point of view some recent
> changes in the first module will never be visible.
>
> Thanks,
>   --Vladimir
>
> --
> Vladimir Sizikov
> Sun Microsystems                   [hidden email]
>
>
> On Thu, Nov 16, 2006 at 08:27:16AM +0100, Sven Reimers wrote:
>> Hi all,
>>
>> I am not quite sure if I got this diagnosed correctly, but I will try
>> to describe what I assume is happening.
>>
>> 1. Hudson is polling SVN and detects changes.
>> 2. Hudson triggers the build.
>> 3. During SVN co (or update maybe) a network connection error occurs.
>> 4. The build fails, no changelog
>> 5. Manual restart of build (no further changes in the repository so far)
>> 6. Successful build
>> 7. Still no changelog
>>
>> Seems Hudson gets confused in case the assumed chain of events is broken.
>>
>> Anyone any ideas?
>>
>> -Sven
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: History of Changes per Job

Vladimir Sizikov
On Thu, Nov 16, 2006 at 09:07:13AM -0800, Kohsuke Kawaguchi wrote:
>
> I think an issue for this in the issue tracker would be appreciated.

ISSUE #166 is filed.

Thanks,
  --Vladimir

--
Vladimir Sizikov
Sun Microsystems                   [hidden email]


>
> Vladimir Sizikov wrote:
> >Hi Sven,
> >
> >I've seen similar behavior when, for example, I misconfigured SVN
> >settings (like, providing two URLs for two modules where one of the
> >modules does not exist due to error in URL), and then Hudson tries to
> >check out sources, fails for the second module, and no changes written
> >in the change log - so from the user's point of view some recent
> >changes in the first module will never be visible.
> >
> >Thanks,
> >  --Vladimir
> >
> >--
> >Vladimir Sizikov
> >Sun Microsystems                   [hidden email]
> >
> >
> >On Thu, Nov 16, 2006 at 08:27:16AM +0100, Sven Reimers wrote:
> >>Hi all,
> >>
> >>I am not quite sure if I got this diagnosed correctly, but I will try
> >>to describe what I assume is happening.
> >>
> >>1. Hudson is polling SVN and detects changes.
> >>2. Hudson triggers the build.
> >>3. During SVN co (or update maybe) a network connection error occurs.
> >>4. The build fails, no changelog
> >>5. Manual restart of build (no further changes in the repository so far)
> >>6. Successful build
> >>7. Still no changelog
> >>
> >>Seems Hudson gets confused in case the assumed chain of events is broken.
> >>
> >>Anyone any ideas?
> >>
> >>-Sven
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [hidden email]
> >>For additional commands, e-mail: [hidden email]
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [hidden email]
> >For additional commands, e-mail: [hidden email]
> >
> >
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...