PTL not logging any error when job is timing out

Description

While running a performance test, which has a timeout of 10000 secs, the test took longer and eventually killed by PTL but there are no logs for that.

2017-10-31 07:31:46,858 INFO submit to x53-c6p6 as pbsuser2: job 77230.x53-c6p6 OrderedDict([('destination', 'workq'), ('group_list', tstgrp03), ('Resource_List.walltime', 72), ('Resource_List.select', '1:ncpus=2')])
2017-10-31 07:31:46,859 INFOCLI x53-c6p6: sudo -H -u pbsuser2 /opt/pbs/bin/qsub -q workq -W group_list=tstgrp03 -l walltime=72 -l select=1:ncpus=2 – /bin/sleep 100
2017-10-31 07:31:47,487 DEBUG2 Saving post analysis data...
2017-10-31 07:31:47,539 DEBUG2 x53-c6p6: /opt/tools/wrappers/mkdir -p -m 0755 /home/pbsroot/18.2.0.20171018010818/314314/TestJobEquivClassPerf/test_server_queue_limit
2017-10-31 07:31:47,704 DEBUG2 out: []
2017-10-31 07:31:47,705 DEBUG err: []
2017-10-31 07:31:47,705 DEBUG rc: 0

overall report is also not reporting this but a different problem

2017-10-31 07:31:49,743 INFO ERROR: test_server_queue_limit (tests.performance.pbs_equiv_classes_perf.TestJobEquivClassPerf)

2017-10-31 07:31:49,743 INFO __m_oo_m__
2017-10-31 07:31:49,743 INFO Traceback (most recent call last):
File "/home/pbsroot/TEST/tmp/18.2.0.20171018010818/lib/python2.7/site-packages/nose/case.py", line 133, in run
self.runTest(result)
File "/home/pbsroot/TEST/tmp/18.2.0.20171018010818/lib/python2.7/site-packages/nose/case.py", line 151, in runTest
test(result)
File "/opt/pbs/python/lib/python2.7/unittest/case.py", line 393, in _call_
return self.run(*args, **kwds)
File "/opt/pbs/python/lib/python2.7/unittest/case.py", line 353, in run
result.addError(self, sys.exc_info())
File "/home/pbsroot/TEST/tmp/18.2.0.20171018010818/lib/python2.7/site-packages/nose/proxy.py", line 131, in addError
plugins.addError(self.test, err)
File "/home/pbsroot/TEST/tmp/18.2.0.20171018010818/lib/python2.7/site-packages/nose/plugins/manager.py", line 99, in _call_
return self.call(*arg, **kw)
File "/home/pbsroot/TEST/tmp/18.2.0.20171018010818/lib/python2.7/site-packages/nose/plugins/manager.py", line 167, in simple
result = meth(*arg, **kw)
File "/home/pbsroot/TEST/tmp/18.2.0.20171018010818/lib/python2.7/site-packages/ptl/utils/plugins/ptl_test_data.py", line 313, in addError
self.__save_home(test, 'ERROR', err)
File "/home/pbsroot/TEST/tmp/18.2.0.20171018010818/lib/python2.7/site-packages/ptl/utils/plugins/ptl_test_data.py", line 171, in __save_home
ret = self.du.run_cmd(svr_host, cmd, sudo=True, level=logging.DEBUG2)
File "/home/pbsroot/TEST/tmp/18.2.0.20171018010818/lib/python2.7/site-packages/ptl/utils/pbs_dshutils.py", line 881, in run_cmd
stderr=stderr, cwd=cwd, env=env)
File "/opt/pbs/python/lib/python2.7/subprocess.py", line 390, in _init_
errread, errwrite)
File "/opt/pbs/python/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 7] Argument list too long

2017-10-31 07:31:49,744 INFO ================================================================================
error: test_server_queue_limit (tests.performance.pbs_equiv_classes_perf.TestJobEquivClassPerf)
Test cases with failures: TestJobEquivClassPerf.test_server_queue_limit
Test suites with failures: TestJobEquivClassPerf
run: 1, succeeded: 0, failed: 0, errors: 1, skipped: 0, timedout: 0
Tests run in 2:46:43.585346

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

High