increase the dedicated time for TestSoftWalltime.test_soft_extend_dedicated

Description

in the test we are setting the dedicated time to following
now = int(time.time())
self.scheduler.add_dedicated_time(start=now + 60, end=now + 180)

but since function do not consider the seconds, test failed due to following

2017-12-04 18:30:57,055 INFOCLI2 x52-rhel7: sudo -H /opt/tools/wrappers/cp -p /tmp/PtlPbsnMoQ9T /var/spool/pbs/sched_priv/dedicated_time
2017-12-04 18:30:57,089 INFOCLI2 x52-rhel7: sudo -H /opt/tools/wrappers/chmod 0644 /var/spool/pbs/sched_priv/dedicated_time
2017-12-04 18:30:57,121 INFOCLI2 x52-rhel7: sudo -H /opt/tools/wrappers/chown root /var/spool/pbs/sched_priv/dedicated_time
2017-12-04 18:30:57,153 INFOCLI2 x52-rhel7: sudo -H /opt/tools/wrappers/chgrp root /var/spool/pbs/sched_priv/dedicated_time
2017-12-04 18:30:57,185 INFO scheduler x52-rhel7: sent signal -HUP
2017-12-04 18:30:57,185 INFOCLI2 x52-rhel7: sudo -H kill -HUP 25014
2017-12-04 18:30:57,220 INFO job: executable set to /bin/sleep with arguments: 100
2017-12-04 18:30:57,220 INFOCLI x52-rhel7: sudo -H -u pbsuser /opt/pbs/bin/qsub -l walltime=180 – /bin/sleep 100
2017-12-04 18:30:57,608 INFO submit to x52-rhel7 as pbsuser: job 21.x52-rhel7 OrderedDict([('Resource_List.walltime', 180)])
2017-12-04 18:30:57,609 INFO alter on x52-rhel7: 21.x52-rhel7 {'Resource_List.soft_walltime': 5}
2017-12-04 18:30:57,609 INFOCLI x52-rhel7: /opt/pbs/bin/qalter -l soft_walltime=5 21.x52-rhel7
2017-12-04 18:30:57,875 INFOCLI x52-rhel7: /opt/pbs/bin/qstat -f 21.x52-rhel7
2017-12-04 18:30:57,911 INFO expect on server x52-rhel7: job_state = R && substate = 42 job 21.x52-rhel7 got: job_state = Q
2017-12-04 18:30:58,412 INFOCLI x52-rhel7: /opt/pbs/bin/qmgr -c set server scheduling=True
2017-12-04 18:30:58,726 INFOCLI x52-rhel7: /opt/pbs/bin/qstat -f 21.x52-rhel7

When job picked up by scheduler for running it was < 5s hence it did not run.

dedicated file is updated with following:
12/04/2017 18:31 12/04/2017 18:33

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

anamika upadhyay

Severity

3-High

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

High