Searched refs:traceback (Results 1 - 25 of 51) sorted by relevance

123

/trex/scripts/automation/trex_control_plane/stl/trex_stl_lib/
H A Dtrex_stl_exceptions.py3 import traceback namespace
16 self.stack = traceback.extract_stack()
19 self.tb = traceback.extract_tb(sys.exc_info()[2])
43 self.tb = traceback.extract_stack()
49 self.tb = traceback.extract_stack()
54 self.tb = traceback.extract_stack()
65 self.tb = traceback.extract_stack()
72 self.tb = traceback.extract_stack()
H A Dtrex_stl_hltapi.py238 raise Exception('Unknown exception, look traceback')
365 return HLT_ERR('Could not init stateless client %s: %s' % (device, e if isinstance(e, STLError) else traceback.format_exc()))
371 return HLT_ERR('Could not connect to device %s: %s' % (device, e if isinstance(e, STLError) else traceback.format_exc()))
381 return HLT_ERR('Could not acquire ports %s: %s' % (port_list, e if isinstance(e, STLError) else traceback.format_exc()))
391 return HLT_ERR('Error in reset traffic: %s' % e if isinstance(e, STLError) else traceback.format_exc())
407 return HLT_ERR('Unable to determine which ports to release: %s' % e if isinstance(e, STLError) else traceback.format_exc())
411 return HLT_ERR('Unable to stop traffic %s: %s' % (port_list, e if isinstance(e, STLError) else traceback.format_exc()))
415 return HLT_ERR('Unable to remove all streams %s: %s' % (port_list, e if isinstance(e, STLError) else traceback.format_exc()))
419 return HLT_ERR('Unable to release ports %s: %s' % (port_list, e if isinstance(e, STLError) else traceback.format_exc()))
447 return HLT_ERR(e if isinstance(e, STLError) else traceback
[all...]
/trex/scripts/automation/trex_control_plane/stl/examples/
H A Drpc_proxy_server.py4 import traceback namespace
46 return ERR(traceback.format_exc())
59 return ERR(traceback.format_exc())
74 return HLT_ERR(traceback.format_exc())
87 return ERR(traceback.format_exc())
95 return HLT_ERR(traceback.format_exc())
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/32bit/zmq/eventloop/minitornado/
H A Dstack_context.py122 def exit(self, type, value, traceback):
124 context.__exit__(type, value, traceback)
142 def __exit__(self, type, value, traceback):
144 self.exit(type, value, traceback)
171 ``exc_info`` triple ``(type, value, traceback)`` will be passed to the
184 def exit(self, type, value, traceback):
186 return self.exception_handler(type, value, traceback)
195 def __exit__(self, type, value, traceback):
198 return self.exception_handler(type, value, traceback)
223 def __exit__(self, type, value, traceback)
[all...]
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/64bit/zmq/eventloop/minitornado/
H A Dstack_context.py122 def exit(self, type, value, traceback):
124 context.__exit__(type, value, traceback)
142 def __exit__(self, type, value, traceback):
144 self.exit(type, value, traceback)
171 ``exc_info`` triple ``(type, value, traceback)`` will be passed to the
184 def exit(self, type, value, traceback):
186 return self.exception_handler(type, value, traceback)
195 def __exit__(self, type, value, traceback):
198 return self.exception_handler(type, value, traceback)
223 def __exit__(self, type, value, traceback)
[all...]
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs4/64bit/zmq/eventloop/minitornado/
H A Dstack_context.py122 def exit(self, type, value, traceback):
124 context.__exit__(type, value, traceback)
142 def __exit__(self, type, value, traceback):
144 self.exit(type, value, traceback)
171 ``exc_info`` triple ``(type, value, traceback)`` will be passed to the
184 def exit(self, type, value, traceback):
186 return self.exception_handler(type, value, traceback)
195 def __exit__(self, type, value, traceback):
198 return self.exception_handler(type, value, traceback)
223 def __exit__(self, type, value, traceback)
[all...]
/trex/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/eventloop/minitornado/
H A Dstack_context.py122 def exit(self, type, value, traceback):
124 context.__exit__(type, value, traceback)
142 def __exit__(self, type, value, traceback):
144 self.exit(type, value, traceback)
171 ``exc_info`` triple ``(type, value, traceback)`` will be passed to the
184 def exit(self, type, value, traceback):
186 return self.exception_handler(type, value, traceback)
195 def __exit__(self, type, value, traceback):
198 return self.exception_handler(type, value, traceback)
223 def __exit__(self, type, value, traceback)
[all...]
/trex/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/64bit/zmq/eventloop/minitornado/
H A Dstack_context.py122 def exit(self, type, value, traceback):
124 context.__exit__(type, value, traceback)
142 def __exit__(self, type, value, traceback):
144 self.exit(type, value, traceback)
171 ``exc_info`` triple ``(type, value, traceback)`` will be passed to the
184 def exit(self, type, value, traceback):
186 return self.exception_handler(type, value, traceback)
195 def __exit__(self, type, value, traceback):
198 return self.exception_handler(type, value, traceback)
223 def __exit__(self, type, value, traceback)
[all...]
/trex/scripts/external_libs/scapy-2.3.1/python2/scapy/
H A Derror.py17 import logging,traceback,time namespace
27 stk = traceback.extract_stack()
H A Dbase_classes.py211 import traceback namespace
213 for tb in traceback.extract_stack()+[("??",-1,None,"")]:
/trex/scripts/external_libs/scapy-2.3.1/python3/scapy/
H A Derror.py17 import logging,traceback,time namespace
27 stk = traceback.extract_stack()
H A Dbase_classes.py212 import traceback namespace
214 for tb in traceback.extract_stack()+[("??",-1,None,"")]:
/trex/scripts/external_libs/nose-1.3.4/python2/nose/
H A Dfailure.py3 from traceback import format_tb
H A Dpyversion.py6 import traceback namespace
202 # traceback.format_exception() doesn't take kindly to that (it expects an
207 ''.join(traceback.format_tb(tb)),
213 ''.join(traceback.format_exception(*exc_info)),
/trex/scripts/external_libs/nose-1.3.4/python3/nose/
H A Dfailure.py3 from traceback import format_tb
H A Dpyversion.py6 import traceback namespace
202 # traceback.format_exception() doesn't take kindly to that (it expects an
207 ''.join(traceback.format_tb(tb)),
213 ''.join(traceback.format_exception(*exc_info)),
/trex/linux_dpdk/
H A Dc_dumbpreproc.py26 import re, sys, os, string, traceback namespace
/trex/scripts/automation/regression/stateful_tests/
H A Dtrex_rx_test.py9 import traceback namespace
65 self.fail('Expected key in TRex result was not found.\n%s' % traceback.print_exc())
86 print(traceback.print_exc())
/trex/scripts/automation/trex_control_plane/stl/services/scapy_server/
H A Dscapy_zmq_server.py5 import traceback namespace
149 self.logger.info('Exception info: %s' % traceback.format_exc())
157 self.logger.error('Unexpected Error: %s' % traceback.format_exc())
/trex/scripts/automation/trex_control_plane/server/
H A DCCustomLogger.py102 def __exit__(self, type, value, traceback):
/trex/scripts/automation/trex_control_plane/stf/trex_stf_lib/
H A DCCustomLogger.py96 def __exit__(self, type, value, traceback):
/trex/scripts/automation/regression/
H A Dhltapi_playground.py6 import traceback namespace
13 raise Exception('Unknown exception, look traceback')
189 print(traceback.print_exc())
/trex/scripts/external_libs/python-daemon-2.0.5/test/
H A Dscaffold.py182 def failUnlessFunctionInTraceback(self, traceback, function, msg=None):
183 """ Fail if the function is not in the traceback.
185 :param traceback: The traceback object to interrogate.
191 traceback.
194 levels in the traceback object ``traceback``.
199 current_traceback = traceback
/trex/scripts/external_libs/jsonrpclib-pelix-0.2.5/jsonrpclib/
H A DSimpleJSONRPCServer.py47 import traceback namespace
377 err_lines = traceback.format_exc().splitlines()
449 err_lines = traceback.format_exc().splitlines()
/trex/scripts/external_libs/rednose-0.4.1/
H A Drednose.py269 """formats the file / lineno / function line of a traceback element"""
293 """format a traceback"""
338 import traceback namespace
348 to traceback.extract_stack())
359 stack = traceback.extract_stack(limit=3)[0]
370 traceback.print_exc(sys.stderr)

Completed in 16 milliseconds

123