Skip to content

Commit fccb890

Browse files
author
Stephen Sun
committed
[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 sonic-net/sonic-buildimage#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 <[email protected]>
1 parent a506edf commit fccb890

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ansible/roles/test/tasks/neighbour-mac-noptf.yml

-10
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@
107107
v6_nei: "{{ v6_intf_nei }}"
108108
when: v6_nei is not defined
109109

110-
#### Temporary added to capture more log for debug ####
111-
- name: turn on the debug log for orchagent, nbrmgrd and neighsyncd
112-
shell: swssloglevel -l DEBUG -c orchagent; swssloglevel -l DEBUG -c neighsyncd; swssloglevel -l DEBUG -c nbrmgrd;
113-
become: yes
114-
115110
- name: add an ipv6 entry for Ethernet0 if not find v6 neighbor
116111
command: "/sbin/ifconfig Ethernet0 inet6 add {{ v6_intf_ip }}"
117112
when: v6_nei is not defined
@@ -160,11 +155,6 @@
160155
become: yes
161156

162157
always:
163-
#### turn off the debug log ####
164-
- name: turn off the debug log for orchagent, nbrmgrd and neighsyncd
165-
shell: swssloglevel -l NOTICE -c orchagent; swssloglevel -l NOTICE -c neighsyncd; swssloglevel -l NOTICE -c nbrmgrd;
166-
become: yes
167-
168158
- name: reset all changes
169159
include: "roles/test/tasks/common_tasks/reload_config.yml"
170160
vars:

0 commit comments

Comments
 (0)