Hi Team,
We are facing a shell script run time error in log rotate. while we executing an bgp speakr test, route advertisement ipv6 script at the time of feature execution we are facing a analyzer_logrotate error. Reference log attached.
Cli Log summary:
sonic@8bb898df8aa9: /data/sonic-mgmt/tests sonic@8bb898df8aa9:/data/sonic-mgmt/tests$ ./run_tests.sh -n vms-kvm-t0 -d vlab-01 -c radv/test_radv_ipv6_ra.py -f vtestbed.yaml -i ../ansible/veos_vtb -e "--neighbor_type=sonic"
=== Preparing DUT for subsequent tests ===
Running: pytest --inventory ../ansible/veos_vtb --host-pattern vlab-01 --testbed vms-kvm-t0 --testbed_file vtestbed.yaml --log-cli-level warning --log-file-level debug --kube_master unset --showlocals --assert plain --show-capture no -rav --allow_recover --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/bgp_speaker/pretest.xml --log-file=logs/bgp_speaker/pretest.log --topology util --neighbor_type=sonic -m pretest
/usr/local/lib/python2.7/dist-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.exceptions import InvalidSignature
[1m==================================================================== test session starts ==================================================================== [0m
platform linux2 -- Python 2.7.18, pytest-4.6.11, py-1.11.0, pluggy-0.13.1
ansible: 2.8.12
rootdir: /data/sonic-mgmt/tests, inifile: pytest.ini
plugins: metadata-1.11.0, allure-pytest-2.8.22, ansible-2.2.4, forked-1.3.0, repeat-0.9.1, xdist-1.28.0, html-1.22.1, celery-4.4.7
[1mcollecting ... [0m [1m
collecting 0 items [0m [1m
collecting 1 item [0m [1m
collecting 2 items [0m [1m
collecting 620 items
Pre-test test execution results:
test_pretest.py::test_features_state[vlab-01] [32mPASSED [0m [36m [ 10%] [0m
test_pretest.py::test_cleanup_testbed[vlab-01] [32mPASSED [0m [36m [ 20%] [0m
test_pretest.py::test_disable_container_autorestart[vlab-01] [32mPASSED [0m [36m [ 30%] [0m
test_pretest.py::test_disable_rsyslog_rate_limit[vlab-01] [32mPASSED [0m [36m [ 40%] [0m
test_pretest.py::test_stop_pfcwd[vlab-01] [33mSKIPPED [0m [36m [ 50%] [0m
test_pretest.py::test_cleanup_cache [32mPASSED [0m [36m [ 60%] [0m
test_pretest.py::test_update_testbed_metadata [32mPASSED [0m [36m [ 70%] [0m
test_pretest.py::test_collect_testbed_prio [32mPASSED [0m [36m [ 80%] [0m
test_pretest.py::test_update_saithrift_ptf [33mSKIPPED [0m [36m [ 90%] [0m
test_pretest.py::test_generate_running_golden_config [32mPASSED [0m [36m
Test session status:
radv/test_radv_ipv6_ra.py::test_radv_router_advertisement[active-standby] ERROR [ 12%]
radv/test_radv_ipv6_ra.py::test_radv_router_advertisement[active-active] ERROR [ 25%]
radv/test_radv_ipv6_ra.py::test_solicited_router_advertisement[active-standby] ERROR [ 37%]
radv/test_radv_ipv6_ra.py::test_solicited_router_advertisement[active-active] ERROR [ 50%]
radv/test_radv_ipv6_ra.py::test_unsolicited_router_advertisement_with_m_flag[active-standby] ERROR [ 62%]
radv/test_radv_ipv6_ra.py::test_unsolicited_router_advertisement_with_m_flag[active-active] ERROR [ 75%]
radv/test_radv_ipv6_ra.py::test_solicited_router_advertisement_with_m_flag[active-standby] ERROR [ 87%]
radv/test_radv_ipv6_ra.py::test_solicited_router_advertisement_with_m_flag[active-active] ERROR [100%]
================================================================== short test summary info ==================================================================
ERROR radv/test_radv_ipv6_ra.py::test_radv_router_advertisement[active-standby] - Failed: Processes "['analyzer_logrotate--<MultiAsicSonicHost vlab-01>']"...
ERROR radv/test_radv_ipv6_ra.py::test_radv_router_advertisement[active-active] - Failed: Processes "['analyzer_logrotate--<MultiAsicSonicHost vlab-01>']" ...
ERROR radv/test_radv_ipv6_ra.py::test_solicited_router_advertisement[active-standby] - Failed: Processes "['analyzer_logrotate--<MultiAsicSonicHost vlab-0...
ERROR radv/test_radv_ipv6_ra.py::test_solicited_router_advertisement[active-active] - Failed: Processes "['analyzer_logrotate--<MultiAsicSonicHost vlab-01...
ERROR radv/test_radv_ipv6_ra.py::test_unsolicited_router_advertisement_with_m_flag[active-standby] - Failed: Processes "['analyzer_logrotate--<MultiAsicSo...
ERROR radv/test_radv_ipv6_ra.py::test_unsolicited_router_advertisement_with_m_flag[active-active] - Failed: Processes "['analyzer_logrotate--<MultiAsicSon...
ERROR radv/test_radv_ipv6_ra.py::test_solicited_router_advertisement_with_m_flag[active-standby] - Failed: Processes "['analyzer_logrotate--<MultiAsicSoni...
ERROR radv/test_radv_ipv6_ra.py::test_solicited_router_advertisement_with_m_flag[active-active] - Failed: Processes "['analyzer_logrotate--<MultiAsicSonic...
================================================================= 8 error in 211.03 seconds =================================================================
Thanks & Regards,
Prasath Saibaba