{"action":"created","issue":{"url":"https://api.github.com/repos/PBSPro/pbspro/issues/896","repository_url":"https://api.github.com/repos/PBSPro/pbspro","labels_url":"https://api.github.com/repos/PBSPro/pbspro/issues/896/labels{/name}","comments_url":"https://api.github.com/repos/PBSPro/pbspro/issues/896/comments","events_url":"https://api.github.com/repos/PBSPro/pbspro/issues/896/events","html_url":"https://github.com/PBSPro/pbspro/pull/896","id":383547806,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyOTg4OTc2","number":896,"title":"TestQrun is failing while running qrun command due to permission issue","user":{"login":"Mahalty","id":18323131,"node_id":"MDQ6VXNlcjE4MzIzMTMx","avatar_url":"https://avatars2.githubusercontent.com/u/18323131?v=4","gravatar_id":"","url":"https://api.github.com/users/Mahalty","html_url":"https://github.com/Mahalty","followers_url":"https://api.github.com/users/Mahalty/followers","following_url":"https://api.github.com/users/Mahalty/following{/other_user}","gists_url":"https://api.github.com/users/Mahalty/gists{/gist_id}","starred_url":"https://api.github.com/users/Mahalty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mahalty/subscriptions","organizations_url":"https://api.github.com/users/Mahalty/orgs","repos_url":"https://api.github.com/users/Mahalty/repos","events_url":"https://api.github.com/users/Mahalty/events{/privacy}","received_events_url":"https://api.github.com/users/Mahalty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-22T13:59:38Z","updated_at":"2018-11-26T06:40:26Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/PBSPro/pbspro/pulls/896","html_url":"https://github.com/PBSPro/pbspro/pull/896","diff_url":"https://github.com/PBSPro/pbspro/pull/896.diff","patch_url":"https://github.com/PBSPro/pbspro/pull/896.patch"},"body":"<!--- Please review your changes in preview mode -->\r\n<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n#### Bug/feature Description\r\n* TestQrun is failing while running qrun command due to permission issue\r\n\r\n#### Affected Platform(s)\r\n* ALL\r\n\r\n#### Cause / Analysis / Design\r\n* In the test we are running job using qrun(using run_cmd function with as_script to True) which ends up asking for sudo password\r\n\r\n#### Solution Description\r\n* Instead of using run_cmd to run the job, use runjob server's API\r\n\r\n#### Testing logs/output\r\n* [TestQrun_afterfix.txt](https://github.com/PBSPro/pbspro/files/2608272/TestQrun_afterfix.txt)\r\n* [TestQrun_bfr_fix.txt](https://github.com/PBSPro/pbspro/files/2608273/TestQrun_bfr_fix.txt)\r\n\r\n#### Checklist:\r\n<!--- Use the preview button to see the checkboxes/links properly. -->\r\n<!--- Go over the following points, and put an `x` (without spaces around it) in the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] I have joined the **[pbspro community forum](http://community.pbspro.org/)**.\r\n- [x] My pull request contains a **single, signed** commit. See **[setting up gpg signature](https://pbspro.atlassian.net/wiki/display/DG/Signing+Your+Git+Commits)**.\r\n- [x] My code follows the **[coding style](https://pbspro.atlassian.net/wiki/display/DG/Coding+Standards)** of this project.\r\n- [ ] My change requires project documentation. See **[required documentation checklist](https://pbspro.atlassian.net/wiki/display/DG/Checklist+for+Developing+Features+and+Bug+Fixes)** for details.\r\n- [ ] I have added documentation in the **[project documentation area](https://pbspro.atlassian.net/wiki/display/PD)**.\r\n- [ ] I have added new **PTL test(s) to my commit**. (See **[using PTL for testing](https://pbspro.atlassian.net/wiki/display/DG/Using+PTL+for+Testing)**) *(or)*\r\n- [ ] I have added  **manual test(s) to this pull request and explained why PTL is not appropriate** for this case.\r\n- [ ] All new and existing automated tests have passed. (See **[running automated PTL tests](https://pbspro.atlassian.net/wiki/display/DG/PTL+Quick+Start+Guide)**).\r\n- [x] I have attached **test logs to this pull request** as evidence of testing/verification.\r\n\r\n\r\n__***For further information please visit the [Developer Guide Home](https://pbspro.atlassian.net/wiki/display/DG/Developer+Guide+Home).***__\r\n"},"comment":{"url":"https://api.github.com/repos/PBSPro/pbspro/issues/comments/441534076","html_url":"https://github.com/PBSPro/pbspro/pull/896#issuecomment-441534076","issue_url":"https://api.github.com/repos/PBSPro/pbspro/issues/896","id":441534076,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTUzNDA3Ng==","user":{"login":"Mahalty","id":18323131,"node_id":"MDQ6VXNlcjE4MzIzMTMx","avatar_url":"https://avatars2.githubusercontent.com/u/18323131?v=4","gravatar_id":"","url":"https://api.github.com/users/Mahalty","html_url":"https://github.com/Mahalty","followers_url":"https://api.github.com/users/Mahalty/followers","following_url":"https://api.github.com/users/Mahalty/following{/other_user}","gists_url":"https://api.github.com/users/Mahalty/gists{/gist_id}","starred_url":"https://api.github.com/users/Mahalty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mahalty/subscriptions","organizations_url":"https://api.github.com/users/Mahalty/orgs","repos_url":"https://api.github.com/users/Mahalty/repos","events_url":"https://api.github.com/users/Mahalty/events{/privacy}","received_events_url":"https://api.github.com/users/Mahalty/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T06:40:26Z","updated_at":"2018-11-26T06:40:26Z","author_association":"CONTRIBUTOR","body":"Latest execution logs:\r\n[Latest_Execution_logs_TestQrun.txt](https://github.com/PBSPro/pbspro/files/2614345/Latest_Execution_logs_TestQrun.txt)\r\n"}}
{"actor":{"display_login":"Mahalty"}}