Perforce plugin synchronization issue

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

Perforce plugin synchronization issue

by koevet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have five projects building against a Perforce instance. Each project uses its own client workspace and all the projects use the same depot path.
We moved some files from a folder to another folder and committed to Perforce. Those changes are not reflected in Hudson. The Hudson workspace for one of the 5 projects still contains the "old" directory structure. I have even used the "One Time Force Sync" flag with no success.

What am I missing?

Thanks
Luciano

Re: Perforce plugin synchronization issue

by koevet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

..anyone? :)


koevet wrote:
Hello,

I have five projects building against a Perforce instance. Each project uses its own client workspace and all the projects use the same depot path.
We moved some files from a folder to another folder and committed to Perforce. Those changes are not reflected in Hudson. The Hudson workspace for one of the 5 projects still contains the "old" directory structure. I have even used the "One Time Force Sync" flag with no success.

What am I missing?

Thanks
Luciano

RE: Re: Perforce plugin synchronization issue

by Tim Hepner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Are you running these builds on slaves or the master?


-----Original Message-----
From: koevet [mailto:lfiandesio@...]
Sent: Monday, June 30, 2008 12:44 AM
To: users@...
Subject: Re: Perforce plugin synchronization issue


..anyone? :)



koevet wrote:
>
> Hello,
>
> I have five projects building against a Perforce instance. Each
project
> uses its own client workspace and all the projects use the same depot
> path.
> We moved some files from a folder to another folder and committed to
> Perforce. Those changes are not reflected in Hudson. The Hudson
workspace
> for one of the 5 projects still contains the "old" directory
structure. I
> have even used the "One Time Force Sync" flag with no success.
>
> What am I missing?
>
> Thanks
> Luciano
>
>

--
View this message in context:
http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422p1
8190262.html
Sent from the Hudson users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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: Perforce plugin synchronization issue

by Stephane Nicoll-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This project has been built recently? Double check that the name of the workspace is unique.

S.

On Thu, Jun 26, 2008 at 1:14 PM, koevet <lfiandesio@...> wrote:

Hello,

I have five projects building against a Perforce instance. Each project uses
its own client workspace and all the projects use the same depot path.
We moved some files from a folder to another folder and committed to
Perforce. Those changes are not reflected in Hudson. The Hudson workspace
for one of the 5 projects still contains the "old" directory structure. I
have even used the "One Time Force Sync" flag with no success.

What am I missing?

Thanks
Luciano

--
View this message in context: http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422p18131422.html
Sent from the Hudson users mailing list archive at Nabble.com.


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




--
Large Systems Suck: This rule is 100% transitive. If you build one, you suck" -- S.Yegge

RE: Re: Perforce plugin synchronization issue

by koevet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

unfortunately I'm not sure against which node I'm running the builds. The Perforce administrator doesn't seem to know either...scary I know.
Anyway, is there a difference between running against slave or master?

Thanks
Luciano

Tim Hepner wrote:
Are you running these builds on slaves or the master?


-----Original Message-----
From: koevet [mailto:lfiandesio@yahoo.com]
Sent: Monday, June 30, 2008 12:44 AM
To: users@hudson.dev.java.net
Subject: Re: Perforce plugin synchronization issue


..anyone? :)



koevet wrote:
>
> Hello,
>
> I have five projects building against a Perforce instance. Each
project
> uses its own client workspace and all the projects use the same depot
> path.
> We moved some files from a folder to another folder and committed to
> Perforce. Those changes are not reflected in Hudson. The Hudson
workspace
> for one of the 5 projects still contains the "old" directory
structure. I
> have even used the "One Time Force Sync" flag with no success.
>
> What am I missing?
>
> Thanks
> Luciano
>
>

--
View this message in context:
http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422p1
8190262.html
Sent from the Hudson users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net

Re: Perforce plugin synchronization issue

by koevet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Stephane

I have double checked the job configuration and each build has a unique name.
I use:
[workspace_name]_[job_name]

Thanks
Luciano

Stephane Nicoll-2 wrote:
This project has been built recently? Double check that the name of the
workspace is unique.

S.

On Thu, Jun 26, 2008 at 1:14 PM, koevet <lfiandesio@yahoo.com> wrote:

>
> Hello,
>
> I have five projects building against a Perforce instance. Each project
> uses
> its own client workspace and all the projects use the same depot path.
> We moved some files from a folder to another folder and committed to
> Perforce. Those changes are not reflected in Hudson. The Hudson workspace
> for one of the 5 projects still contains the "old" directory structure. I
> have even used the "One Time Force Sync" flag with no success.
>
> What am I missing?
>
> Thanks
> Luciano
>
> --
> View this message in context:
> http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422p18131422.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
> For additional commands, e-mail: users-help@hudson.dev.java.net
>
>


--
Large Systems Suck: This rule is 100% transitive. If you build one, you
suck" -- S.Yegge

RE: RE: Re: Perforce plugin synchronization issue

by Tim Hepner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you are building a project on more than one machine you will see
this.  This could be on a master and a slave or two slaves.  The reason
is the perforce plugin currently only uses one client workspace for each
project.  So if files are deleted from the depot the next machine to
build will delete them properly.  Because perforce tracks this on the
server, the next machine to build using the same client workspace will
assume they are already deleted.  Even a force sync on the corrupt
machine will not fix this.
        I have a fix for this but I still need to get it approved and
get commit access.  I'll let you know.  If you are only building
projects on the master then you have a different problem.  It sounds to
me like client workspace is being shared.
        -Tim

-----Original Message-----
From: koevet [mailto:lfiandesio@...]
Sent: Friday, July 04, 2008 1:31 AM
To: users@...
Subject: RE: Re: Perforce plugin synchronization issue


Hello,

unfortunately I'm not sure against which node I'm running the builds.
The Perforce administrator doesn't seem to know either...scary I know.
Anyway, is there a difference between running against slave or master?

Thanks
Luciano


Tim Hepner wrote:

>
>
> Are you running these builds on slaves or the master?
>
>
> -----Original Message-----
> From: koevet [mailto:lfiandesio@...]
> Sent: Monday, June 30, 2008 12:44 AM
> To: users@...
> Subject: Re: Perforce plugin synchronization issue
>
>
> ..anyone? :)
>
>
>
> koevet wrote:
>>
>> Hello,
>>
>> I have five projects building against a Perforce instance. Each
> project
>> uses its own client workspace and all the projects use the same depot

>> path.
>> We moved some files from a folder to another folder and committed to
>> Perforce. Those changes are not reflected in Hudson. The Hudson
> workspace
>> for one of the 5 projects still contains the "old" directory
> structure. I
>> have even used the "One Time Force Sync" flag with no success.
>>
>> What am I missing?
>>
>> Thanks
>> Luciano
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422
> p1
> 8190262.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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@...
>
>
>

--
View this message in context:
http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422p1
8275218.html
Sent from the Hudson users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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: RE: Re: Perforce plugin synchronization issue

by koevet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Tim,

thanks for the very detailed answer.
I'm building the projects on a single master server. No slaves used.
I have double checked the workspace names and they are definitively unique.

Thanks
Luciano
Tim Hepner wrote:
If you are building a project on more than one machine you will see
this.  This could be on a master and a slave or two slaves.  The reason
is the perforce plugin currently only uses one client workspace for each
project.  So if files are deleted from the depot the next machine to
build will delete them properly.  Because perforce tracks this on the
server, the next machine to build using the same client workspace will
assume they are already deleted.  Even a force sync on the corrupt
machine will not fix this.
        I have a fix for this but I still need to get it approved and
get commit access.  I'll let you know.  If you are only building
projects on the master then you have a different problem.  It sounds to
me like client workspace is being shared.
        -Tim

-----Original Message-----
From: koevet [mailto:lfiandesio@yahoo.com]
Sent: Friday, July 04, 2008 1:31 AM
To: users@hudson.dev.java.net
Subject: RE: Re: Perforce plugin synchronization issue


Hello,

unfortunately I'm not sure against which node I'm running the builds.
The Perforce administrator doesn't seem to know either...scary I know.
Anyway, is there a difference between running against slave or master?

Thanks
Luciano


Tim Hepner wrote:
>
>
> Are you running these builds on slaves or the master?
>
>
> -----Original Message-----
> From: koevet [mailto:lfiandesio@yahoo.com]
> Sent: Monday, June 30, 2008 12:44 AM
> To: users@hudson.dev.java.net
> Subject: Re: Perforce plugin synchronization issue
>
>
> ..anyone? :)
>
>
>
> koevet wrote:
>>
>> Hello,
>>
>> I have five projects building against a Perforce instance. Each
> project
>> uses its own client workspace and all the projects use the same depot

>> path.
>> We moved some files from a folder to another folder and committed to
>> Perforce. Those changes are not reflected in Hudson. The Hudson
> workspace
>> for one of the 5 projects still contains the "old" directory
> structure. I
>> have even used the "One Time Force Sync" flag with no success.
>>
>> What am I missing?
>>
>> Thanks
>> Luciano
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422
> p1
> 8190262.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
> For additional commands, e-mail: users-help@hudson.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
> For additional commands, e-mail: users-help@hudson.dev.java.net
>
>
>

--
View this message in context:
http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422p1
8275218.html
Sent from the Hudson users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net

RE: RE: RE: Re: Perforce plugin synchronization issue

by Tim Hepner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you run the same perforce commands that hudson is running do you see
the same problem?  The log file for the build should show all the
commands that hudson is  issuing.  

-----Original Message-----
From: koevet [mailto:lfiandesio@...]
Sent: Monday, July 07, 2008 12:34 AM
To: users@...
Subject: RE: RE: Re: Perforce plugin synchronization issue


Hello Tim,

thanks for the very detailed answer.
I'm building the projects on a single master server. No slaves used.
I have double checked the workspace names and they are definitively
unique.

Thanks
Luciano

Tim Hepner wrote:
>
> If you are building a project on more than one machine you will see
> this.  This could be on a master and a slave or two slaves.  The
> reason is the perforce plugin currently only uses one client workspace

> for each project.  So if files are deleted from the depot the next
> machine to build will delete them properly.  Because perforce tracks
> this on the server, the next machine to build using the same client
> workspace will assume they are already deleted.  Even a force sync on
> the corrupt machine will not fix this.
> I have a fix for this but I still need to get it approved and
get
> commit access.  I'll let you know.  If you are only building projects
> on the master then you have a different problem.  It sounds to me like

> client workspace is being shared.
> -Tim
>
> -----Original Message-----
> From: koevet [mailto:lfiandesio@...]
> Sent: Friday, July 04, 2008 1:31 AM
> To: users@...
> Subject: RE: Re: Perforce plugin synchronization issue
>
>
> Hello,
>
> unfortunately I'm not sure against which node I'm running the builds.
> The Perforce administrator doesn't seem to know either...scary I know.
> Anyway, is there a difference between running against slave or master?

>
> Thanks
> Luciano
>
>
> Tim Hepner wrote:
>>
>>
>> Are you running these builds on slaves or the master?
>>
>>
>> -----Original Message-----
>> From: koevet [mailto:lfiandesio@...]
>> Sent: Monday, June 30, 2008 12:44 AM
>> To: users@...
>> Subject: Re: Perforce plugin synchronization issue
>>
>>
>> ..anyone? :)
>>
>>
>>
>> koevet wrote:
>>>
>>> Hello,
>>>
>>> I have five projects building against a Perforce instance. Each
>> project
>>> uses its own client workspace and all the projects use the same
>>> depot
>
>>> path.
>>> We moved some files from a folder to another folder and committed to

>>> Perforce. Those changes are not reflected in Hudson. The Hudson
>> workspace
>>> for one of the 5 projects still contains the "old" directory
>> structure. I
>>> have even used the "One Time Force Sync" flag with no success.
>>>
>>> What am I missing?
>>>
>>> Thanks
>>> Luciano
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Perforce-plugin-synchronization-issue-tp1813142
>> 2
>> p1
>> 8190262.html
>> Sent from the Hudson users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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@...
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422
> p1
> 8275218.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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@...
>
>
>

--
View this message in context:
http://www.nabble.com/Perforce-plugin-synchronization-issue-tp18131422p1
8311463.html
Sent from the Hudson users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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@...

LightInTheBox - Buy quality products at wholesale price