reanahub / reana-workflow-engine-yadage

REANA Workflow Engine Yadage
http://reana-workflow-engine-yadage.readthedocs.io/
MIT License
0 stars 35 forks source link

check recast demo with 0.8.0-alpha.4 #210

Closed tiborsimko closed 2 years ago

tiborsimko commented 3 years ago

Observed with 0.8.0-alpha.4 on DEV:

/build2/atnight/localbuilds/nightlies/21.2/AnalysisBase/athena/PhysicsAnalysis/D3PDTools/EventLoop/Root/Driver.cxx:107:exception: could not create output directory /var/reana/users/7271942f-5da3-4cdc-a293-1eb3406a0544/workflows/ed6e9fb4-8e4e-46c6-9ef3-883df4cc1b47/eventselection/submitDir

The "could not create output directory" message is the same. One workflow uses kubernetes_uid, but the other does not, so it does not seem to be related to UID/GID business.

Let's install NFS locally (as described in https://github.com/reanahub/reana-commons/pull/306) and investigate where the problem is.

tiborsimko commented 3 years ago

Update: the BSM demo works well actually, it is only the RECAST demo that doesn't.

tiborsimko commented 3 years ago

@audrium The effect can be seen in r-d-a-recast's reana-debug.yaml when used with classical Kind deployment (without NFS).

$ reana-client run -w debug -f ./reana-debug.yaml
...
$ reana-client logs -w debug 
bash: recast_xsecs.txt: Permission denied

$  grep -v 'kubernetes_uid' reana-debug.yaml > reana-debug-bis.yaml
$ reana-client run -w debug-bis -f ./reana-debug-bis.yaml
...
$ reana-client ls -w debug-bis | grep png                
statanalysis/fitresults/pre.png                     10142   2021-10-20T06:29:32
statanalysis/fitresults/post.png                    10120   2021-10-20T06:29:32
statanalysis/fitresults/limit.png                   17047   2021-10-20T06:29:33
tiborsimko commented 2 years ago

Regarding the recast demo example, it now works exactly the same for 0.7 as for 0.8. Hence closing this issue. There are some UID/GID matters regarding debug workflow that we could improve upon, but this can be part of another issue.