{"action":"created","issue":{"url":"https://api.github.com/repos/radical-cybertools/radical.pilot/issues/988","repository_url":"https://api.github.com/repos/radical-cybertools/radical.pilot","labels_url":"https://api.github.com/repos/radical-cybertools/radical.pilot/issues/988/labels{/name}","comments_url":"https://api.github.com/repos/radical-cybertools/radical.pilot/issues/988/comments","events_url":"https://api.github.com/repos/radical-cybertools/radical.pilot/issues/988/events","html_url":"https://github.com/radical-cybertools/radical.pilot/issues/988","id":143743887,"number":988,"title":"Spark: local.localhost_spark","user":{"login":"drelu","id":222015,"avatar_url":"https://avatars.githubusercontent.com/u/222015?v=3","gravatar_id":"","url":"https://api.github.com/users/drelu","html_url":"https://github.com/drelu","followers_url":"https://api.github.com/users/drelu/followers","following_url":"https://api.github.com/users/drelu/following{/other_user}","gists_url":"https://api.github.com/users/drelu/gists{/gist_id}","starred_url":"https://api.github.com/users/drelu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drelu/subscriptions","organizations_url":"https://api.github.com/users/drelu/orgs","repos_url":"https://api.github.com/users/drelu/repos","events_url":"https://api.github.com/users/drelu/events{/privacy}","received_events_url":"https://api.github.com/users/drelu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/radical-cybertools/radical.pilot/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/radical-cybertools/radical.pilot/labels/saga","name":"saga","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"andre-merzky","id":1319674,"avatar_url":"https://avatars.githubusercontent.com/u/1319674?v=3","gravatar_id":"","url":"https://api.github.com/users/andre-merzky","html_url":"https://github.com/andre-merzky","followers_url":"https://api.github.com/users/andre-merzky/followers","following_url":"https://api.github.com/users/andre-merzky/following{/other_user}","gists_url":"https://api.github.com/users/andre-merzky/gists{/gist_id}","starred_url":"https://api.github.com/users/andre-merzky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andre-merzky/subscriptions","organizations_url":"https://api.github.com/users/andre-merzky/orgs","repos_url":"https://api.github.com/users/andre-merzky/repos","events_url":"https://api.github.com/users/andre-merzky/events{/privacy}","received_events_url":"https://api.github.com/users/andre-merzky/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-26T19:55:49Z","updated_at":"2016-03-26T21:55:25Z","closed_at":null,"body":"Trying to run RP with Spark (`af60db814eb66fdab0fed99bf3ea321da88e5480` in `feature/resource_cfg_to_agent_spark`):\r\n\r\n```\r\npdesc = rp.ComputePilotDescription()\r\npdesc.resource = \"local.localhost_spark\"  \r\npdesc.cores    = 2\r\npdesc.cleanup  = False\r\npilot = pmgr.submit_pilots(pdesc)\r\numgr.add_pilots(pilot)\r\n```\r\n\r\nI am getting the following error:\r\n\r\n```\r\n2016-03-26 15:48:52,734: radical.pilot       : MainProcess                     : PilotLauncherWorker-1: ERROR   : Using bootstrapper /Users/xxx/anaconda2/lib/python2.7/site-packages/radical/pilot/bootstrapper/bootstrap_1.sh\r\nCopying bootstrapper 'file://localhost/Users/xxx/anaconda2/lib/python2.7/site-packages/radical/pilot/bootstrapper/bootstrap_1.sh' to agent sandbox (<saga.filesystem.directory.Directory object at 0x1172bead0>).\r\nCopying sdist 'file://localhost/Users/xxx/anaconda2/lib/python2.7/site-packages/radical/utils/radical.utils-0.40.tar.gz' to sandbox (file://localhost/Users/xxx/radical.pilot.sandbox/rp.session.b152.hm.vpn.lrz.de.xxx.016886.0001-pilot.0000/).\r\nCopying sdist 'file://localhost/Users/xxx/anaconda2/lib/python2.7/site-packages/saga/saga-python-0.40.1.tar.gz' to sandbox (file://localhost/Users/xxx/radical.pilot.sandbox/rp.session.b152.hm.vpn.lrz.de.xxx.016886.0001-pilot.0000/).\r\nCopying sdist 'file://localhost/Users/xxx/anaconda2/lib/python2.7/site-packages/radical/pilot/controller/..//radical.pilot-v0.40.1-17-gaf60db8-feature-resource-cfg-to-agent-spark.tar.gz' to sandbox (file://localhost/Users/xxx/radical.pilot.sandbox/rp.session.b152.hm.vpn.lrz.de.xxxx.016886.0001-pilot.0000/).\r\nWriting agent configuration to file '/var/folders/2l/tqpv1wn90cd6blxb6961dqtw0000gn/T/rp_agent_cfg_diryUMIHp/agent_0.cfg'.\r\nCopying agent configuration file 'file://localhost/var/folders/2l/tqpv1wn90cd6blxb6961dqtw0000gn/T/rp_agent_cfg_diryUMIHp/agent_0.cfg' to sandbox (file://localhost/Users/xxx/radical.pilot.sandbox/rp.session.b152.hm.vpn.lrz.de.xxx.016886.0001-pilot.0000/).\r\nPilot launching failed! (failed to run bootstrap: (127)(/bin/sh: /Users/xxx/.saga/adaptors/shell_job/wrapper.sh: No such file or directory\r\n) (/Users/xxx/anaconda2/lib/python2.7/site-packages/saga/adaptors/shell/shell_job.py +605 (initialize)  :  raise saga.NoSuccess (\"failed to run bootstrap: (%s)(%s)\" % (ret, out))))\r\nTraceback (most recent call last):\r\n  File \"/Users/xxx/anaconda2/lib/python2.7/site-packages/radical/pilot/controller/pilot_launcher_worker.py\", line 714, in run\r\n    js = saga.job.Service(js_url, session=self._session)\r\n  File \"/Users/xxx/anaconda2/lib/python2.7/site-packages/saga/job/service.py\", line 115, in __init__\r\n    url, session, ttype=_ttype)\r\n  File \"/Users/xxx/anaconda2/lib/python2.7/site-packages/saga/base.py\", line 101, in __init__\r\n    self._init_task = self._adaptor.init_instance (adaptor_state, *args, **kwargs)\r\n  File \"/Users/xxx/anaconda2/lib/python2.7/site-packages/saga/adaptors/cpi/decorators.py\", line 57, in wrap_function\r\n    return sync_function (self, *args, **kwargs)\r\n  File \"/Users/xxx/anaconda2/lib/python2.7/site-packages/saga/adaptors/shell/shell_job.py\", line 507, in init_instance\r\n    self.initialize ()\r\n  File \"/Users/xxx/anaconda2/lib/python2.7/site-packages/saga/adaptors/shell/shell_job.py\", line 605, in initialize\r\n    raise saga.NoSuccess (\"failed to run bootstrap: (%s)(%s)\" % (ret, out))\r\nNoSuccess: failed to run bootstrap: (127)(/bin/sh: /Users/xxx/.saga/adaptors/shell_job/wrapper.sh: No such file or directory\r\n) (/Users/xxx/anaconda2/lib/python2.7/site-packages/saga/adaptors/shell/shell_job.py +605 (initialize)  :  raise saga.NoSuccess (\"failed to run bootstrap: (%s)(%s)\" % (ret, out)))\r\n```"},"comment":{"url":"https://api.github.com/repos/radical-cybertools/radical.pilot/issues/comments/201936886","html_url":"https://github.com/radical-cybertools/radical.pilot/issues/988#issuecomment-201936886","issue_url":"https://api.github.com/repos/radical-cybertools/radical.pilot/issues/988","id":201936886,"user":{"login":"drelu","id":222015,"avatar_url":"https://avatars.githubusercontent.com/u/222015?v=3","gravatar_id":"","url":"https://api.github.com/users/drelu","html_url":"https://github.com/drelu","followers_url":"https://api.github.com/users/drelu/followers","following_url":"https://api.github.com/users/drelu/following{/other_user}","gists_url":"https://api.github.com/users/drelu/gists{/gist_id}","starred_url":"https://api.github.com/users/drelu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drelu/subscriptions","organizations_url":"https://api.github.com/users/drelu/orgs","repos_url":"https://api.github.com/users/drelu/repos","events_url":"https://api.github.com/users/drelu/events{/privacy}","received_events_url":"https://api.github.com/users/drelu/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T21:55:25Z","updated_at":"2016-03-26T21:55:25Z","body":"Installation Procedure:\r\n\r\n$ git checkout feature/resource_cfg_to_agent_spark\r\n$ git rev-parse HEAD\r\naf60db814eb66fdab0fed99bf3ea321da88e5480\r\n$ pip install --upgrade .\r\n\r\n$ ls -la /Users/xxx/anaconda2/lib/python2.7/site-packages/saga/adaptors/shell/\r\ntotal 496\r\ndrwxr-xr-x  13 xxx  staff    442 Mar 26 15:25 .\r\ndrwxr-xr-x  22 xxx  staff    748 Mar 26 15:25 ..\r\n-rw-r--r--   1 xxx  staff      0 Mar 26 15:25 __init__.py\r\n-rw-r--r--   1 xxx  staff    204 Mar 26 15:25 __init__.pyc\r\n-rw-r--r--   1 xxx  staff  47137 Mar 26 15:25 shell_file.py\r\n-rw-r--r--   1 xxx  staff  36296 Mar 26 15:25 shell_file.pyc\r\n-rw-r--r--   1 xxx  staff  56624 Mar 26 15:25 shell_job.py\r\n-rw-r--r--   1 xxx  staff  44917 Mar 26 15:25 shell_job.pyc\r\n-rw-r--r--   1 xxx  staff  12191 Mar 26 15:25 shell_resource.py\r\n-rw-r--r--   1 xxx  staff  12070 Mar 26 15:25 shell_resource.pyc\r\n-rw-r--r--   1 xxx  staff    307 Mar 26 15:25 shell_wrapper.py\r\n-rw-r--r--   1 xxx  staff    498 Mar 26 15:25 shell_wrapper.pyc\r\n-rw-r--r--   1 xxx  staff  24902 Mar 26 15:25 shell_wrapper.sh\r\n"}}