remove sudo from run_cmd for TestQstat_oneline_json_dsv

Description

both tests from TestQstat_oneline_json_dsv are failing due to following error.

2017-12-11 11:15:03,569 INFOCLI2 x43-64-sles11sp3: sudo -H sh /tmp/PtlPbsiqveTI
2017-12-11 11:15:03,577 ERROR err: ['sudo: no tty present and no askpass program specified']

Following piece of code needs to be updated. remove sudo call from all occurrences of run_cmd
os.chmod(qstat_json_script, 0755)
run_script = 'sh ' + qstat_json_script
json_ret = self.du.run_cmd(
self.server.hostname, cmd=run_script, sudo=True)

Acceptance Criteria

None

Status

Assignee

Jitendra Kumar Rajak

Reporter

anamika upadhyay

Severity

3-High

OS

None

Start Date

None

Pull Request URL

Story Points

1

Components

Fix versions

Priority

High
Configure