Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sonic-swss: Code changes for WRED and ECN statistics #2750

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Merge branch 'master' into rpmarvell_wred_statistics_swss_changes

46d7c40
Select commit
Loading
Failed to load commit list.
Open

sonic-swss: Code changes for WRED and ECN statistics #2750

Merge branch 'master' into rpmarvell_wred_statistics_swss_changes
46d7c40
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Azure.sonic-swss failed Dec 11, 2024 in 2h 11m 1s

Build #20241210.32 had test failures

Details

Tests

  • Failed: 1 (0.11%)
  • Passed: 832 (92.86%)
  • Other: 63 (7.03%)
  • Total: 896
Code coverage

  • 48922 of 65909 lines covered (74.23%)

Annotations

Check failure on line 5141 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Azure.sonic-swss

Build log #L5141

Bash exited with code '123'.

Check failure on line 6758 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Azure.sonic-swss

Build log #L6758

Bash exited with code '123'.

Check failure on line 1 in test_flex_counters[wred_queue_counter]

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Azure.sonic-swss

test_flex_counters[wred_queue_counter]

AssertionError: No ID list for counter Ethernet0:0
Raw output
self = <test_flex_counters.TestFlexCounters object at 0x7fc994a73310>
dvs = <conftest.DockerVirtualSwitch object at 0x7fc994ba1e20>
counter_type = 'wred_queue_counter'

    @pytest.mark.parametrize("counter_type", counter_group_meta.keys())
    def test_flex_counters(self, dvs, counter_type):
>       self.verify_flex_counter_flow(dvs, counter_group_meta[counter_type])

test_flex_counters.py:138: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
dvslib/dvs_flex_counter.py:112: in verify_flex_counter_flow
    self.verify_flex_counters_populated(counter_map, counter_stat)
dvslib/dvs_flex_counter.py:78: in verify_flex_counters_populated
    self.wait_for_id_list(stat, name, oid)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <test_flex_counters.TestFlexCounters object at 0x7fc994a73310>
stat = 'WRED_ECN_QUEUE_STAT_COUNTER', name = 'Ethernet0:0'
oid = 'oid:0x15000000000025'

    def wait_for_id_list(self, stat, name, oid):
        for retry in range(NUMBER_OF_RETRIES):
            id_list = self.flex_db.db_connection.hgetall("FLEX_COUNTER_TABLE:" + stat + ":" + oid).items()
            if len(id_list) > 0:
                return
            else:
                time.sleep(1)
    
>       assert False, "No ID list for counter " + str(name)
E       AssertionError: No ID list for counter Ethernet0:0

dvslib/dvs_flex_counter.py:41: AssertionError