race condition in TestSoftWalltime.test_soft_walltime_extend and test_soft_walltime_extend_hook

Description

Sometime tests are failing due to following, not get the expected estimated.soft_walltime value. Looking more closely the time has passed hence soft_walltime is set to future time. Looks like need to increase the soft_walltime in the test.

2017-12-04 05:14:40,180 INFO expect on server x43-64-sles11sp3: no data for estimated.soft_walltime ~ 00:00:10|10 job 35.x43-64-sles11sp3
2017-12-04 05:14:40,180 INFOCLI x43-64-sles11sp3: /opt/pbs/bin/qstat -f 35.x43-64-sles11sp3
2017-12-04 05:14:40,198 INFO expect on server x43-64-sles11sp3: estimated.soft_walltime ~ 00:00:10|10 job 35.x43-64-sles11sp3 attempt: 2 ... OK
2017-12-04 05:14:46,205 INFO manager on x43-64-sles11sp3: set server {'scheduling': 'True'}
2017-12-04 05:14:46,205 INFOCLI x43-64-sles11sp3: /opt/pbs/bin/qmgr -c set server scheduling=True
2017-12-04 05:14:46,227 INFOCLI x43-64-sles11sp3: /opt/pbs/bin/qstat -f 35.x43-64-sles11sp3
2017-12-04 05:14:46,245 INFO expect on server x43-64-sles11sp3: estimated.soft_walltime ~ 00:00:15|15 job 35.x43-64-sles11sp3 got: estimated.soft_walltime = 10
2017-12-04 05:14:46,746 INFOCLI x43-64-sles11sp3: /opt/pbs/bin/qmgr -c set server scheduling=True
2017-12-04 05:14:46,769 INFOCLI x43-64-sles11sp3: /opt/pbs/bin/qstat -f 35.x43-64-sles11sp3
2017-12-04 05:14:46,785 INFO expect on server x43-64-sles11sp3: estimated.soft_walltime ~ 00:00:15|15 job 35.x43-64-sles11sp3 attempt: 2 got: estimated.soft_walltime = 20
2017-12-04 05:14:47,286 INFOCLI x43-64-sles11sp3: /opt/pbs/bin/qmgr -c set server scheduling=True

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

anamika upadhyay

Severity

2-Medium

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

Medium
Configure