root@4abbbd37af0f:~/stephens/sonic-mgmt/tests# grep -E "skip restore .* to avoid repeating operating physical interface|restoring .* physical interface|setting .* physical interface|skip set .* to avoid repeating operating physical interface|skip reset .* to avoid repeating operating physical interface|resetting .* physical interface|remove script to retrieve port mapping|Return the previously retrievd port mapping|Retrieve port mapping from DUT failed|get portmap|Retrieving port mapping from DUT|Got portmap" sfpexample.txt INFO root:test_sfp.py:71 Retrieving port mapping from DUT INFO root:test_sfp.py:111 Got portmap {u'Ethernet8': [2], u'Ethernet0': [0], u'Ethernet4': [1], u'Ethernet108': [20], u'Ethernet100': [19], u'Ethernet104': [20], u'Ethernet68': [17], u'Ethernet96': [19], u'Ethernet124': [21], u'Ethernet92': [19], u'Ethernet120': [21], u'Ethernet52': [13], u'Ethernet56': [14], u'Ethernet76': [18], u'Ethernet72': [18], u'Ethernet64': [16], u'Ethernet32': [8], u'Ethernet16': [4], u'Ethernet36': [9], u'Ethernet12': [3], u'Ethernet88': [19], u'Ethernet116': [20], u'Ethernet80': [18], u'Ethernet112': [20], u'Ethernet84': [18], u'Ethernet48': [12], u'Ethernet44': [11], u'Ethernet40': [10], u'Ethernet28': [7], u'Ethernet60': [15], u'Ethernet20': [5], u'Ethernet24': [6]} INFO root:test_sfp.py:149 resetting Ethernet8 physical interface 2 INFO root:test_sfp.py:149 resetting Ethernet0 physical interface 0 INFO root:test_sfp.py:149 resetting Ethernet4 physical interface 1 INFO root:test_sfp.py:149 resetting Ethernet108 physical interface 20 INFO root:test_sfp.py:149 resetting Ethernet100 physical interface 19 INFO root:test_sfp.py:146 skip reset Ethernet104 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:146 skip reset Ethernet96 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:149 resetting Ethernet124 physical interface 21 INFO root:test_sfp.py:146 skip reset Ethernet92 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:146 skip reset Ethernet120 to avoid repeating operating physical interface 21 INFO root:test_sfp.py:149 resetting Ethernet52 physical interface 13 INFO root:test_sfp.py:149 resetting Ethernet56 physical interface 14 INFO root:test_sfp.py:149 resetting Ethernet76 physical interface 18 INFO root:test_sfp.py:146 skip reset Ethernet72 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:149 resetting Ethernet32 physical interface 8 INFO root:test_sfp.py:149 resetting Ethernet16 physical interface 4 INFO root:test_sfp.py:149 resetting Ethernet36 physical interface 9 INFO root:test_sfp.py:149 resetting Ethernet12 physical interface 3 INFO root:test_sfp.py:149 resetting Ethernet28 physical interface 7 INFO root:test_sfp.py:146 skip reset Ethernet88 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:149 resetting Ethernet24 physical interface 6 INFO root:test_sfp.py:146 skip reset Ethernet116 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:146 skip reset Ethernet80 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:146 skip reset Ethernet112 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:146 skip reset Ethernet84 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:149 resetting Ethernet48 physical interface 12 INFO root:test_sfp.py:149 resetting Ethernet44 physical interface 11 INFO root:test_sfp.py:149 resetting Ethernet40 physical interface 10 INFO root:test_sfp.py:149 resetting Ethernet64 physical interface 16 INFO root:test_sfp.py:149 resetting Ethernet60 physical interface 15 INFO root:test_sfp.py:149 resetting Ethernet20 physical interface 5 INFO root:test_sfp.py:149 resetting Ethernet68 physical interface 17 INFO root:test_sfp.py:67 Return the previously retrievd port mapping INFO root:test_sfp.py:186 Got portmap {u'Ethernet8': [2], u'Ethernet0': [0], u'Ethernet4': [1], u'Ethernet108': [20], u'Ethernet100': [19], u'Ethernet104': [20], u'Ethernet68': [17], u'Ethernet96': [19], u'Ethernet124': [21], u'Ethernet92': [19], u'Ethernet120': [21], u'Ethernet52': [13], u'Ethernet56': [14], u'Ethernet76': [18], u'Ethernet72': [18], u'Ethernet64': [16], u'Ethernet32': [8], u'Ethernet16': [4], u'Ethernet36': [9], u'Ethernet12': [3], u'Ethernet88': [19], u'Ethernet116': [20], u'Ethernet80': [18], u'Ethernet112': [20], u'Ethernet84': [18], u'Ethernet48': [12], u'Ethernet44': [11], u'Ethernet40': [10], u'Ethernet28': [7], u'Ethernet60': [15], u'Ethernet20': [5], u'Ethernet24': [6]} INFO root:test_sfp.py:204 setting Ethernet8 physical interface 2 INFO root:test_sfp.py:204 setting Ethernet0 physical interface 0 INFO root:test_sfp.py:204 setting Ethernet4 physical interface 1 INFO root:test_sfp.py:204 setting Ethernet108 physical interface 20 INFO root:test_sfp.py:204 setting Ethernet100 physical interface 19 INFO root:test_sfp.py:201 skip set Ethernet104 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:201 skip set Ethernet96 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:204 setting Ethernet124 physical interface 21 INFO root:test_sfp.py:201 skip set Ethernet92 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:201 skip set Ethernet120 to avoid repeating operating physical interface 21 INFO root:test_sfp.py:204 setting Ethernet52 physical interface 13 INFO root:test_sfp.py:204 setting Ethernet56 physical interface 14 INFO root:test_sfp.py:204 setting Ethernet76 physical interface 18 INFO root:test_sfp.py:201 skip set Ethernet72 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:204 setting Ethernet32 physical interface 8 INFO root:test_sfp.py:204 setting Ethernet16 physical interface 4 INFO root:test_sfp.py:204 setting Ethernet36 physical interface 9 INFO root:test_sfp.py:204 setting Ethernet12 physical interface 3 INFO root:test_sfp.py:204 setting Ethernet28 physical interface 7 INFO root:test_sfp.py:201 skip set Ethernet88 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:204 setting Ethernet24 physical interface 6 INFO root:test_sfp.py:201 skip set Ethernet116 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:201 skip set Ethernet80 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:201 skip set Ethernet112 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:201 skip set Ethernet84 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:204 setting Ethernet48 physical interface 12 INFO root:test_sfp.py:204 setting Ethernet44 physical interface 11 INFO root:test_sfp.py:204 setting Ethernet40 physical interface 10 INFO root:test_sfp.py:204 setting Ethernet64 physical interface 16 INFO root:test_sfp.py:204 setting Ethernet60 physical interface 15 INFO root:test_sfp.py:204 setting Ethernet20 physical interface 5 INFO root:test_sfp.py:204 setting Ethernet68 physical interface 17 INFO root:test_sfp.py:225 restoring Ethernet8 physical interface 2 INFO root:test_sfp.py:225 restoring Ethernet0 physical interface 0 INFO root:test_sfp.py:225 restoring Ethernet4 physical interface 1 INFO root:test_sfp.py:225 restoring Ethernet108 physical interface 20 INFO root:test_sfp.py:225 restoring Ethernet100 physical interface 19 INFO root:test_sfp.py:222 skip restore Ethernet104 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:222 skip restore Ethernet96 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:225 restoring Ethernet124 physical interface 21 INFO root:test_sfp.py:222 skip restore Ethernet92 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:222 skip restore Ethernet120 to avoid repeating operating physical interface 21 INFO root:test_sfp.py:225 restoring Ethernet52 physical interface 13 INFO root:test_sfp.py:225 restoring Ethernet56 physical interface 14 INFO root:test_sfp.py:225 restoring Ethernet76 physical interface 18 INFO root:test_sfp.py:222 skip restore Ethernet72 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:225 restoring Ethernet32 physical interface 8 INFO root:test_sfp.py:225 restoring Ethernet16 physical interface 4 INFO root:test_sfp.py:225 restoring Ethernet36 physical interface 9 INFO root:test_sfp.py:225 restoring Ethernet12 physical interface 3 INFO root:test_sfp.py:225 restoring Ethernet28 physical interface 7 INFO root:test_sfp.py:222 skip restore Ethernet88 to avoid repeating operating physical interface 19 INFO root:test_sfp.py:225 restoring Ethernet24 physical interface 6 INFO root:test_sfp.py:222 skip restore Ethernet116 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:222 skip restore Ethernet80 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:222 skip restore Ethernet112 to avoid repeating operating physical interface 20 INFO root:test_sfp.py:222 skip restore Ethernet84 to avoid repeating operating physical interface 18 INFO root:test_sfp.py:225 restoring Ethernet48 physical interface 12 INFO root:test_sfp.py:225 restoring Ethernet44 physical interface 11 INFO root:test_sfp.py:225 restoring Ethernet40 physical interface 10 INFO root:test_sfp.py:225 restoring Ethernet64 physical interface 16 INFO root:test_sfp.py:225 restoring Ethernet60 physical interface 15 INFO root:test_sfp.py:225 restoring Ethernet20 physical interface 5 INFO root:test_sfp.py:225 restoring Ethernet68 physical interface 17 INFO root:test_sfp.py:23 remove script to retrieve port mapping