Closed paolousero closed 9 years ago
By the way, that was me who created an issue under Paolo's name. but he's the one who came across it.
Were you in the import die when that ran?
On Jun 13, 2015, at 8:10 PM, Paolo Usero notifications@github.com wrote:
I think the rm command fails because it doesn't do a force/recursive removal.
. > dpa version work -s 1
Please describe the work done in this version:
reverting back
Confirm version creation: 0003 PTask: roomba=seq=masterlayout=layout=matchBoardsScaled
Source version: 0001 v2 description: reverting back
Version up [y/n]? y
Successfully sourced: roomba=seq=masterlayout=layout=matchBoardsScaled [latest]
New version successfully created in the database.
Successfully provisioned directory for version: 3
Copying forward subscriptions: roomba=gen=charLarry=model=hero=products=charLarry=workfile=0007 roomba=gen=charZoid=model=hero=products=charZoidModel=workfile=0031 roomba=gen=envMediumShell=model=hero=products=envMediumShell=workfile=0003 roomba=gen=envRockyAlcove=model=hero=products=envRockyAlcove=workfile=0009 roomba=gen=envSimpleShell=model=hero=products=envSimpleShell=workfile=0001 roomba=gen=envSmallShell=model=hero=products=envSmallShell=workfile=0002 roomba=gen=utilCamera=model=hero=products=utilCamera_model=workfile=0002
Successfully sourced: roomba=seq=masterlayout=layout=matchBoardsScaled@0001
Successfully copied source version into the work directory.
Refreshing subscriptions.
Cleaning up existing import directory. rsync: failed to set times on "/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global/envMediumShell/workfile": No such file or directory (2) dpa.refresh.subs ERROR: Failed to remove old import dir: [Errno 39] Directory not empty: '/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global' dpa.version.work ERROR: Failed to refresh subs on disk: Failed to remove old import dir: [Errno 39] Directory not empty: '/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global' dpa.cli ERROR: Failed to refresh subs on disk: Failed to remove old import dir: [Errno 39] Directory not empty: '/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global' Traceback (most recent call last): File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/dpa/action/init.py", line 81, in cli instance() File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/dpa/action/init.py", line 182, in call raise e ActionError: Failed to refresh subs on disk: Failed to remove old import dir: [Errno 39] Directory not empty: '/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global' (pipe-release)[20:03][l0013] roomba=seq=masterlayout=layout=matchBoardsScaled : . > rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
— Reply to this email directly or view it on GitHub.
IIRC, it does use a recursive remove. Not sure how it would work otherwise.
Other possibility is a permissions issue. Can you run dpa refresh subs manually? Or rm the import for manually and refresh?
Sent from my iPhone
On Jun 13, 2015, at 8:11 PM, Gina notifications@github.com wrote:
By the way, that was me - sorry. I was under Paolo's name.
— Reply to this email directly or view it on GitHub.
dpa refresh sub always fixes the problem.
Pratham came across a similar issue (missing reference when opening the new versioned maya workfile) earlier but I wasn't aware of an error when he dpa version work with a source to an old version....so I didn't think to dpa fail it/create an issue then.
On Sat, Jun 13, 2015 at 8:22 PM, Josh Tomlinson notifications@github.com wrote:
IIRC, it does use a recursive remove. Not sure how it would work otherwise.
Other possibility is a permissions issue. Can you run dpa refresh subs manually? Or rm the import for manually and refresh?
Sent from my iPhone
On Jun 13, 2015, at 8:11 PM, Gina notifications@github.com wrote:
By the way, that was me - sorry. I was under Paolo's name.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/Clemson-DPA/dpa-pipe/issues/38#issuecomment-111765372 .
I think I was in the root of the ptask.
(pipe-release)[20:03][l0013] roomba=seq=masterlayout=layout=matchBoardsScaled : . > dpa version work -s 1
Oh... Sourcing an old version rsync's entire ptask dir. Having files open will likely break stuff in that scenario. Is it possible there were any files in the ptask that were open when you ran that?
Sent from my iPhone
On Jun 13, 2015, at 8:26 PM, Gina notifications@github.com wrote:
dpa refresh sub always fixes the problem.
Pratham came across a similar issue (missing reference when opening the new versioned maya workfile) earlier but I wasn't aware of an error when he dpa version work with a source to an old version....so I didn't think to dpa fail it/create an issue then.
On Sat, Jun 13, 2015 at 8:22 PM, Josh Tomlinson notifications@github.com wrote:
IIRC, it does use a recursive remove. Not sure how it would work otherwise.
Other possibility is a permissions issue. Can you run dpa refresh subs manually? Or rm the import for manually and refresh?
Sent from my iPhone
On Jun 13, 2015, at 8:11 PM, Gina notifications@github.com wrote:
By the way, that was me - sorry. I was under Paolo's name.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/Clemson-DPA/dpa-pipe/issues/38#issuecomment-111765372 .
— Reply to this email directly or view it on GitHub.
Paolo says possibly.
On Sat, Jun 13, 2015 at 8:43 PM, Josh Tomlinson notifications@github.com wrote:
Oh... Sourcing an old version rsync's entire ptask dir. Having files open will likely break stuff in that scenario. Is it possible there were any files in the ptask that were open when you ran that?
Sent from my iPhone
On Jun 13, 2015, at 8:26 PM, Gina notifications@github.com wrote:
dpa refresh sub always fixes the problem.
Pratham came across a similar issue (missing reference when opening the new versioned maya workfile) earlier but I wasn't aware of an error when he dpa version work with a source to an old version....so I didn't think to dpa fail it/create an issue then.
On Sat, Jun 13, 2015 at 8:22 PM, Josh Tomlinson < notifications@github.com> wrote:
IIRC, it does use a recursive remove. Not sure how it would work otherwise.
Other possibility is a permissions issue. Can you run dpa refresh subs manually? Or rm the import for manually and refresh?
Sent from my iPhone
On Jun 13, 2015, at 8:11 PM, Gina notifications@github.com wrote:
By the way, that was me - sorry. I was under Paolo's name.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub < https://github.com/Clemson-DPA/dpa-pipe/issues/38#issuecomment-111765372>
.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/Clemson-DPA/dpa-pipe/issues/38#issuecomment-111765958 .
I feel fairly confident that it's the result of being in the directory and/or having files open in there that are being removed. As time permits I'll try to do some testing.
I think the rm command fails because it doesn't do a force/recursive removal.
. > dpa version work -s 1
Please describe the work done in this version:
Source version: 0001 v2 description: reverting back
Version up [y/n]? y
Successfully sourced: roomba=seq=masterlayout=layout=matchBoardsScaled [latest]
New version successfully created in the database.
Successfully provisioned directory for version: 3
Copying forward subscriptions: roomba=gen=charLarry=model=hero=products=charLarry=workfile=0007 roomba=gen=charZoid=model=hero=products=charZoidModel=workfile=0031 roomba=gen=envMediumShell=model=hero=products=envMediumShell=workfile=0003 roomba=gen=envRockyAlcove=model=hero=products=envRockyAlcove=workfile=0009 roomba=gen=envSimpleShell=model=hero=products=envSimpleShell=workfile=0001 roomba=gen=envSmallShell=model=hero=products=envSmallShell=workfile=0002 roomba=gen=utilCamera=model=hero=products=utilCamera_model=workfile=0002
Successfully sourced: roomba=seq=masterlayout=layout=matchBoardsScaled@0001
Successfully copied source version into the work directory.
Refreshing subscriptions.
Cleaning up existing import directory. rsync: failed to set times on "/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global/envMediumShell/workfile": No such file or directory (2) dpa.refresh.subs ERROR: Failed to remove old import dir: [Errno 39] Directory not empty: '/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global' dpa.version.work ERROR: Failed to refresh subs on disk: Failed to remove old import dir: [Errno 39] Directory not empty: '/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global' dpa.cli ERROR: Failed to refresh subs on disk: Failed to remove old import dir: [Errno 39] Directory not empty: '/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global' Traceback (most recent call last): File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/dpa/action/init.py", line 81, in cli instance() File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/dpa/action/init.py", line 182, in call raise e ActionError: Failed to refresh subs on disk: Failed to remove old import dir: [Errno 39] Directory not empty: '/DPA/moosefs/dpa/projects/roomba/seq/masterlayout/layout/matchBoardsScaled/import/global' (pipe-release)[20:03][l0013] roomba=seq=masterlayout=layout=matchBoardsScaled : . > rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]