Closed SrinivasMushnoori closed 4 years ago
I successuffly reproduced the error with the full master and devel stack:
python : 2.7.16
pythonpath :
virtualenv : /Users/mturilli/Virtualenvs/ra_fix_93
radical.analytics : v0.60.0-4-g93c19e7@devel
radical.pilot : 0.61.0-v0.61.0-67-g04c87616@devel
radical.saga : 0.60.0-v0.60.0-13-g934bbd66@devel
radical.utils : 0.60.2-v0.60.2-1-g1537e00@devel
----
python : 2.7.16
pythonpath :
virtualenv : /Users/mturilli/Virtualenvs/ra_fix_93
radical.analytics : v0.60.1-1-gad022e6@master
radical.pilot : 0.61.0-v0.61.0@master
radical.saga : 0.60.0-v0.60.0@master
radical.utils : 0.60.2-v0.60.2-1-g1537e00@master
I will work at this with the full devel stack. Would this work for you or do you need RU in master?
I do not specifically need it to be in master, a fix in devel is more than fine, happy to work with that,
The issues seems to be an error in how RP saves the pilot ID in the units json. from printing json['unit']
:
[{
[...]
u'description': {
[...]
u'pilot': u'',
[...]
}
[...]
u'pilot': u'agent_0.executing.0.child.func_exec.0000.000',
[...]
}]
@andre-merzky, I went down the prof_utils.py
->utils/session.py
->db_utils.py
but I did not find the culprit. I am wondering whether the issue is in populating mongodb at runtime?
Hi @SrinivasMushnoori , @mturilli ,
some of the profile entries had the function executor ID set as pilot ID, and the profile parser could not find any information about that 'pilot', and barfed. That is fixed now in the RP branch rct/comm
, which should not create correct profiles. For your session, all it needs is to replace the string agent_0.executing.0.child.func_exec.0000.000
with pilot.0000
in the json file, and the profiles become usable by RA. It would be best to rerun the test thought to get clean profile events.
That is fixed now in the RP branch rct/comm, which should not create correct profiles.
not -> now :-P
Thanks Andre. I'll test and get back to you.
Here's the session I am working with. JSON file included.
Running any analytics script gives the following error:
Note that I am running this in a Jupyter Notebook. Here's a super stripped down analytics script to reproduce the error:
Happy to help debug.
EDIT:
radical-stack
is