From fccb890f8a4e7219b8b737d614dd35a77a67656a Mon Sep 17 00:00:00 2001 From: Stephen Sun Date: Wed, 29 May 2019 11:32:39 +0300 Subject: [PATCH] [local] Remove the workaround in neighbour_mac_noptf, which temporarily adjust the log level to DEBUG for orchagent, neighsync and nbrmgrd ahead of nd test and recover to INFO after that. This workaround was introduced in order to provide detailed debug information for the issue https://github.com/Azure/sonic-buildimage/issues/2414 (DUT takes more than 7 seconds to finish update ip v6 neighbor). However, we found those information can hardly help. Signed-off-by: Stephen Sun --- ansible/roles/test/tasks/neighbour-mac-noptf.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ansible/roles/test/tasks/neighbour-mac-noptf.yml b/ansible/roles/test/tasks/neighbour-mac-noptf.yml index 1b181fb38c0..66828bf442e 100644 --- a/ansible/roles/test/tasks/neighbour-mac-noptf.yml +++ b/ansible/roles/test/tasks/neighbour-mac-noptf.yml @@ -107,11 +107,6 @@ v6_nei: "{{ v6_intf_nei }}" when: v6_nei is not defined - #### Temporary added to capture more log for debug #### - - name: turn on the debug log for orchagent, nbrmgrd and neighsyncd - shell: swssloglevel -l DEBUG -c orchagent; swssloglevel -l DEBUG -c neighsyncd; swssloglevel -l DEBUG -c nbrmgrd; - become: yes - - name: add an ipv6 entry for Ethernet0 if not find v6 neighbor command: "/sbin/ifconfig Ethernet0 inet6 add {{ v6_intf_ip }}" when: v6_nei is not defined @@ -160,11 +155,6 @@ become: yes always: - #### turn off the debug log #### - - name: turn off the debug log for orchagent, nbrmgrd and neighsyncd - shell: swssloglevel -l NOTICE -c orchagent; swssloglevel -l NOTICE -c neighsyncd; swssloglevel -l NOTICE -c nbrmgrd; - become: yes - - name: reset all changes include: "roles/test/tasks/common_tasks/reload_config.yml" vars: