t0 case execution getting DUT Failure

19 views
Skip to first unread message

Purushothaman N

unread,
Mar 30, 2023, 1:05:52 AM3/30/23
to sonicproject

Hi All ,
      Initially we executed the t0 cases at the time the cases got executed with sanity and properly executed and shows the result , now while executing its getting internal DUT failure , but all the vm's and DUT is Running , i have attached the error below , can anyone help on to this issue .

Used cli : ./run_tests.sh -n vms-kvm-t0 -d vlab-01 -c bgp/test_bgp_fact.py -f vtestbed.yaml -p /data/sonic-mgmt/tests/logs/T0-exe/29-03-2023/bgp_fact -i ../ansible/veos_vtb -e "--neighbor_type=sonic"

DEBUG:tests.common.plugins.conditional_mark:Found match "[{u'platform_tests/fwutil/test_fwutil.py': {u'skip': None, u'reason': u"Non-Mellanox platforms doesn't support fwutil for now", u'conditions': [u"asic_type not in ['mellanox']", u'https://github.com/sonic-net/sonic-mgmt/issues/7811']}}]" for test case "platform_tests/fwutil/test_fwutil.py::test_fwutil_show"

INTERNALERROR> Traceback (most recent call last):

INTERNALERROR> Traceback (most recent call last):

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/_pytest/main.py", line 206, in wrap_session

INTERNALERROR>     session.exitstatus = doit(config, session) or 0

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/_pytest/main.py", line 249, in _main

INTERNALERROR>     config.hook.pytest_collection(session=session)

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/hooks.py", line 286, in __call__

INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/manager.py", line 93, in _hookexec

INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/manager.py", line 87, in <lambda>

INTERNALERROR>     firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/callers.py", line 208, in _multicall

INTERNALERROR>     return outcome.get_result()

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/callers.py", line 81, in get_result

INTERNALERROR>     _reraise(*ex)  # noqa

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/callers.py", line 187, in _multicall

INTERNALERROR>     res = hook_impl.function(*args)

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/_pytest/main.py", line 259, in pytest_collection

INTERNALERROR>     return session.perform_collect()

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/_pytest/main.py", line 498, in perform_collect

INTERNALERROR>     session=self, config=self.config, items=items

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/hooks.py", line 286, in __call__

INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/manager.py", line 93, in _hookexec

INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/manager.py", line 87, in <lambda>

INTERNALERROR>     firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/callers.py", line 208, in _multicall

INTERNALERROR>     return outcome.get_result()

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/callers.py", line 81, in get_result

INTERNALERROR>     _reraise(*ex)  # noqa

INTERNALERROR>   File "/usr/local/lib/python2.7/dist-packages/pluggy/callers.py", line 187, in _multicall

INTERNALERROR>     res = hook_impl.function(*args)

INTERNALERROR>   File "/data/sonic-mgmt/tests/common/plugins/conditional_mark/__init__.py", line 552, in pytest_collection_modifyitems

INTERNALERROR>     conditions_logical_operator = mark_details.get('conditions_logical_operator', 'AND').upper()

INTERNALERROR> AttributeError: 'NoneType' object has no attribute 'get'

 

==================================================== 6 warnings in 16.62 seconds =====================================================

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!  Prepare DUT failed, skip testing  !!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Thanks , 
Purushothaman N

Reply all
Reply to author
Forward
0 new messages