Perforce plugin synchronization issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Perforce plugin synchronization issue

koevet-2
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
Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin synchronization issue

koevet-2
..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
Reply | Threaded
Open this post in threaded view
|

RE: Re: Perforce plugin synchronization issue

Tim Hepner

Are you running these builds on slaves or the master?


-----Original Message-----
From: koevet [mailto:[hidden email]]
Sent: Monday, June 30, 2008 12:44 AM
To: [hidden email]
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: [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
|

Re: Perforce plugin synchronization issue

Stephane Nicoll
In reply to this post by koevet-2
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 <[hidden email]> 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: [hidden email]
For additional commands, e-mail: [hidden email]




--
Large Systems Suck: This rule is 100% transitive. If you build one, you suck" -- S.Yegge
Reply | Threaded
Open this post in threaded view
|

RE: Re: Perforce plugin synchronization issue

koevet-2
In reply to this post by Tim Hepner
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
Reply | Threaded
Open this post in threaded view
|

Re: Perforce plugin synchronization issue

koevet-2
In reply to this post by Stephane Nicoll
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
Reply | Threaded
Open this post in threaded view
|

RE: RE: Re: Perforce plugin synchronization issue

Tim Hepner
In reply to this post by koevet-2
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:[hidden email]]
Sent: Friday, July 04, 2008 1:31 AM
To: [hidden email]
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:[hidden email]]
> Sent: Monday, June 30, 2008 12:44 AM
> To: [hidden email]
> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
>

--
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: [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
|

RE: RE: Re: Perforce plugin synchronization issue

koevet-2
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
Reply | Threaded
Open this post in threaded view
|

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

Tim Hepner
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:[hidden email]]
Sent: Monday, July 07, 2008 12:34 AM
To: [hidden email]
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:[hidden email]]
> Sent: Friday, July 04, 2008 1:31 AM
> To: [hidden email]
> 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:[hidden email]]
>> Sent: Monday, June 30, 2008 12:44 AM
>> To: [hidden email]
>> 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: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>>
>
> --
> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
>

--
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: [hidden email]
For additional commands, e-mail: [hidden email]


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