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

Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled #3334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Create counter for the queue to which the host CPU traffic is sent

c2cea72
Select commit
Loading
Failed to load commit list.
Open

Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled #3334

Create counter for the queue to which the host CPU traffic is sent
c2cea72
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Azure.sonic-swss failed Nov 7, 2024 in 2h 36m 33s

Build #20241107.11 had test failures

Details

Tests

  • Failed: 56 (6.17%)
  • Passed: 799 (88.09%)
  • Other: 52 (5.73%)
  • Total: 907
Code coverage

  • 43818 of 61128 lines covered (71.68%)

Annotations

Check failure on line 19109 in Build log

See this annotation in the file changed.

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

Build log #L19109

Bash exited with code '123'.

Check failure on line 19380 in Build log

See this annotation in the file changed.

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

Build log #L19380

Bash exited with code '123'.

Check failure on line 70 in Build log

See this annotation in the file changed.

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

Build log #L70

Bash exited with code '1'.

Check failure on line 1 in test_acl_flow

See this annotation in the file changed.

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

test_acl_flow

test setup failure
Raw output
tp = <class 'AssertionError'>, value = None, tb = None

    def reraise(tp, value, tb=None):
        try:
            if value is None:
                value = tp()
            if value.__traceback__ is not tb:
>               raise value.with_traceback(tb)

/usr/lib/python3/dist-packages/six.py:702: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
conftest.py:1878: in dvs
    return manage_dvs(log_path, dvs_env)
conftest.py:1838: in update_dvs
    dvs = DockerVirtualSwitch(name, imgname, keeptb, new_dvs_env, log_path, max_cpu, forcedvs, buffer_model = buffer_model, enable_coverage=enable_coverage)
conftest.py:427: in __init__
    self.check_ready_status_and_init_db()
conftest.py:511: in check_ready_status_and_init_db
    self.check_services_ready()
conftest.py:549: in check_services_ready
    wait_for_result(_polling_function, service_polling_config)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

polling_function = <function DockerVirtualSwitch.check_services_ready.<locals>._polling_function at 0x7f519bedeee0>
polling_config = PollingConfig(polling_interval=1, timeout=60, strict=True)
failure_message = None

    def wait_for_result(
        polling_function: Callable[[], Tuple[bool, Any]],
        polling_config: PollingConfig = PollingConfig(),
        failure_message: str = None,
    ) -> Tuple[bool, Any]:
        """Run `polling_function` periodically using the specified `polling_config`.
    
        Args:
            polling_function: The function being polled. The function cannot take any arguments and
                must return a status which indicates if the function was succesful or not, as well as
                some return value.
            polling_config: The parameters to use to poll the polling function.
            failure_message: The message to print if the call times out. This will only take effect
                if the PollingConfig is set to strict.
    
        Returns:
            If the polling function succeeds, then this method will return True and the output of the
            polling function.
    
            If it does not succeed within the provided timeout, it will return False and whatever the
            output of the polling function was on the final attempt.
        """
        for _ in range(polling_config.iterations()):
            status, result = polling_function()
    
            if status:
                return (True, result)
    
            time.sleep(polling_config.polling_interval)
    
        if polling_config.strict:
            message = failure_message or f"Operation timed out after {polling_config.timeout} seconds with result {result}"
>           assert False, message
E           AssertionError: Operation timed out after 60 seconds with result {'arp_update': 'STOPPED', 'bgpd': 'STOPPED', 'buffermgrd': 'RUNNING', 'coppmgrd': 'RUNNING', 'fabricmgrd': 'RUNNING', 'fdbsyncd': 'RUNNING', 'fpmsyncd': 'RUNNING', 'gbsyncd': 'STOPPED', 'gearsyncd': 'STOPPED', 'intfmgrd': 'RUNNING', 'natmgrd': 'RUNNING', 'natsyncd': 'RUNNING', 'nbrmgrd': 'RUNNING', 'neighsyncd': 'RUNNING', 'orchagent': 'EXITED', 'portmgrd': 'RUNNING', 'portsyncd': 'RUNNING', 'redis-chassis': 'STOPPED', 'redis-server': 'RUNNING', 'restore_neighbors': 'STOPPED', 'rsyslogd': 'RUNNING', 'sflowmgrd': 'RUNNING', 'start.sh': 'EXITED', 'staticd': 'RUNNING', 'syncd': 'RUNNING', 'teammgrd': 'RUNNING', 'teamsyncd': 'RUNNING', 'tunnelmgrd': 'RUNNING', 'vlanmgrd': 'RUNNING', 'vrfmgrd': 'RUNNING', 'vxlanmgrd': 'RUNNING', 'zebra': 'RUNNING'}

dvslib/dvs_common.py:60: AssertionError

Check failure on line 1 in test_acl_group

See this annotation in the file changed.

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

test_acl_group

test setup failure
Raw output
tp = <class 'AssertionError'>, value = None, tb = None

    def reraise(tp, value, tb=None):
        try:
            if value is None:
                value = tp()
            if value.__traceback__ is not tb:
>               raise value.with_traceback(tb)

/usr/lib/python3/dist-packages/six.py:702: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
conftest.py:1878: in dvs
    return manage_dvs(log_path, dvs_env)
conftest.py:1838: in update_dvs
    dvs = DockerVirtualSwitch(name, imgname, keeptb, new_dvs_env, log_path, max_cpu, forcedvs, buffer_model = buffer_model, enable_coverage=enable_coverage)
conftest.py:427: in __init__
    self.check_ready_status_and_init_db()
conftest.py:511: in check_ready_status_and_init_db
    self.check_services_ready()
conftest.py:549: in check_services_ready
    wait_for_result(_polling_function, service_polling_config)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

polling_function = <function DockerVirtualSwitch.check_services_ready.<locals>._polling_function at 0x7f519bedeee0>
polling_config = PollingConfig(polling_interval=1, timeout=60, strict=True)
failure_message = None

    def wait_for_result(
        polling_function: Callable[[], Tuple[bool, Any]],
        polling_config: PollingConfig = PollingConfig(),
        failure_message: str = None,
    ) -> Tuple[bool, Any]:
        """Run `polling_function` periodically using the specified `polling_config`.
    
        Args:
            polling_function: The function being polled. The function cannot take any arguments and
                must return a status which indicates if the function was succesful or not, as well as
                some return value.
            polling_config: The parameters to use to poll the polling function.
            failure_message: The message to print if the call times out. This will only take effect
                if the PollingConfig is set to strict.
    
        Returns:
            If the polling function succeeds, then this method will return True and the output of the
            polling function.
    
            If it does not succeed within the provided timeout, it will return False and whatever the
            output of the polling function was on the final attempt.
        """
        for _ in range(polling_config.iterations()):
            status, result = polling_function()
    
            if status:
                return (True, result)
    
            time.sleep(polling_config.polling_interval)
    
        if polling_config.strict:
            message = failure_message or f"Operation timed out after {polling_config.timeout} seconds with result {result}"
>           assert False, message
E           AssertionError: Operation timed out after 60 seconds with result {'arp_update': 'STOPPED', 'bgpd': 'STOPPED', 'buffermgrd': 'RUNNING', 'coppmgrd': 'RUNNING', 'fabricmgrd': 'RUNNING', 'fdbsyncd': 'RUNNING', 'fpmsyncd': 'RUNNING', 'gbsyncd': 'STOPPED', 'gearsyncd': 'STOPPED', 'intfmgrd': 'RUNNING', 'natmgrd': 'RUNNING', 'natsyncd': 'RUNNING', 'nbrmgrd': 'RUNNING', 'neighsyncd': 'RUNNING', 'orchagent': 'EXITED', 'portmgrd': 'RUNNING', 'portsyncd': 'RUNNING', 'redis-chassis': 'STOPPED', 'redis-server': 'RUNNING', 'restore_neighbors': 'STOPPED', 'rsyslogd': 'RUNNING', 'sflowmgrd': 'RUNNING', 'start.sh': 'EXITED', 'staticd': 'RUNNING', 'syncd': 'RUNNING', 'teammgrd': 'RUNNING', 'teamsyncd': 'RUNNING', 'tunnelmgrd': 'RUNNING', 'vlanmgrd': 'RUNNING', 'vrfmgrd': 'RUNNING', 'vxlanmgrd': 'RUNNING', 'zebra': 'RUNNING'}

dvslib/dvs_common.py:60: AssertionError

Check failure on line 1 in test_acl_rule_after_group_bind

See this annotation in the file changed.

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

test_acl_rule_after_group_bind

test setup failure
Raw output
tp = <class 'AssertionError'>, value = None, tb = None

    def reraise(tp, value, tb=None):
        try:
            if value is None:
                value = tp()
            if value.__traceback__ is not tb:
>               raise value.with_traceback(tb)

/usr/lib/python3/dist-packages/six.py:702: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
conftest.py:1878: in dvs
    return manage_dvs(log_path, dvs_env)
conftest.py:1838: in update_dvs
    dvs = DockerVirtualSwitch(name, imgname, keeptb, new_dvs_env, log_path, max_cpu, forcedvs, buffer_model = buffer_model, enable_coverage=enable_coverage)
conftest.py:427: in __init__
    self.check_ready_status_and_init_db()
conftest.py:511: in check_ready_status_and_init_db
    self.check_services_ready()
conftest.py:549: in check_services_ready
    wait_for_result(_polling_function, service_polling_config)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

polling_function = <function DockerVirtualSwitch.check_services_ready.<locals>._polling_function at 0x7f519bedeee0>
polling_config = PollingConfig(polling_interval=1, timeout=60, strict=True)
failure_message = None

    def wait_for_result(
        polling_function: Callable[[], Tuple[bool, Any]],
        polling_config: PollingConfig = PollingConfig(),
        failure_message: str = None,
    ) -> Tuple[bool, Any]:
        """Run `polling_function` periodically using the specified `polling_config`.
    
        Args:
            polling_function: The function being polled. The function cannot take any arguments and
                must return a status which indicates if the function was succesful or not, as well as
                some return value.
            polling_config: The parameters to use to poll the polling function.
            failure_message: The message to print if the call times out. This will only take effect
                if the PollingConfig is set to strict.
    
        Returns:
            If the polling function succeeds, then this method will return True and the output of the
            polling function.
    
            If it does not succeed within the provided timeout, it will return False and whatever the
            output of the polling function was on the final attempt.
        """
        for _ in range(polling_config.iterations()):
            status, result = polling_function()
    
            if status:
                return (True, result)
    
            time.sleep(polling_config.polling_interval)
    
        if polling_config.strict:
            message = failure_message or f"Operation timed out after {polling_config.timeout} seconds with result {result}"
>           assert False, message
E           AssertionError: Operation timed out after 60 seconds with result {'arp_update': 'STOPPED', 'bgpd': 'STOPPED', 'buffermgrd': 'RUNNING', 'coppmgrd': 'RUNNING', 'fabricmgrd': 'RUNNING', 'fdbsyncd': 'RUNNING', 'fpmsyncd': 'RUNNING', 'gbsyncd': 'STOPPED', 'gearsyncd': 'STOPPED', 'intfmgrd': 'RUNNING', 'natmgrd': 'RUNNING', 'natsyncd': 'RUNNING', 'nbrmgrd': 'RUNNING', 'neighsyncd': 'RUNNING', 'orchagent': 'EXITED', 'portmgrd': 'RUNNING', 'portsyncd': 'RUNNING', 'redis-chassis': 'STOPPED', 'redis-server': 'RUNNING', 'restore_neighbors': 'STOPPED', 'rsyslogd': 'RUNNING', 'sflowmgrd': 'RUNNING', 'start.sh': 'EXITED', 'staticd': 'RUNNING', 'syncd': 'RUNNING', 'teammgrd': 'RUNNING', 'teamsyncd': 'RUNNING', 'tunnelmgrd': 'RUNNING', 'vlanmgrd': 'RUNNING', 'vrfmgrd': 'RUNNING', 'vxlanmgrd': 'RUNNING', 'zebra': 'RUNNING'}

dvslib/dvs_common.py:60: AssertionError

Check failure on line 1 in test_empty_acl_group_binding

See this annotation in the file changed.

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

test_empty_acl_group_binding

test setup failure
Raw output
tp = <class 'AssertionError'>, value = None, tb = None

    def reraise(tp, value, tb=None):
        try:
            if value is None:
                value = tp()
            if value.__traceback__ is not tb:
>               raise value.with_traceback(tb)

/usr/lib/python3/dist-packages/six.py:702: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
conftest.py:1878: in dvs
    return manage_dvs(log_path, dvs_env)
conftest.py:1838: in update_dvs
    dvs = DockerVirtualSwitch(name, imgname, keeptb, new_dvs_env, log_path, max_cpu, forcedvs, buffer_model = buffer_model, enable_coverage=enable_coverage)
conftest.py:427: in __init__
    self.check_ready_status_and_init_db()
conftest.py:511: in check_ready_status_and_init_db
    self.check_services_ready()
conftest.py:549: in check_services_ready
    wait_for_result(_polling_function, service_polling_config)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

polling_function = <function DockerVirtualSwitch.check_services_ready.<locals>._polling_function at 0x7f519bedeee0>
polling_config = PollingConfig(polling_interval=1, timeout=60, strict=True)
failure_message = None

    def wait_for_result(
        polling_function: Callable[[], Tuple[bool, Any]],
        polling_config: PollingConfig = PollingConfig(),
        failure_message: str = None,
    ) -> Tuple[bool, Any]:
        """Run `polling_function` periodically using the specified `polling_config`.
    
        Args:
            polling_function: The function being polled. The function cannot take any arguments and
                must return a status which indicates if the function was succesful or not, as well as
                some return value.
            polling_config: The parameters to use to poll the polling function.
            failure_message: The message to print if the call times out. This will only take effect
                if the PollingConfig is set to strict.
    
        Returns:
            If the polling function succeeds, then this method will return True and the output of the
            polling function.
    
            If it does not succeed within the provided timeout, it will return False and whatever the
            output of the polling function was on the final attempt.
        """
        for _ in range(polling_config.iterations()):
            status, result = polling_function()
    
            if status:
                return (True, result)
    
            time.sleep(polling_config.polling_interval)
    
        if polling_config.strict:
            message = failure_message or f"Operation timed out after {polling_config.timeout} seconds with result {result}"
>           assert False, message
E           AssertionError: Operation timed out after 60 seconds with result {'arp_update': 'STOPPED', 'bgpd': 'STOPPED', 'buffermgrd': 'RUNNING', 'coppmgrd': 'RUNNING', 'fabricmgrd': 'RUNNING', 'fdbsyncd': 'RUNNING', 'fpmsyncd': 'RUNNING', 'gbsyncd': 'STOPPED', 'gearsyncd': 'STOPPED', 'intfmgrd': 'RUNNING', 'natmgrd': 'RUNNING', 'natsyncd': 'RUNNING', 'nbrmgrd': 'RUNNING', 'neighsyncd': 'RUNNING', 'orchagent': 'EXITED', 'portmgrd': 'RUNNING', 'portsyncd': 'RUNNING', 'redis-chassis': 'STOPPED', 'redis-server': 'RUNNING', 'restore_neighbors': 'STOPPED', 'rsyslogd': 'RUNNING', 'sflowmgrd': 'RUNNING', 'start.sh': 'EXITED', 'staticd': 'RUNNING', 'syncd': 'RUNNING', 'teammgrd': 'RUNNING', 'teamsyncd': 'RUNNING', 'tunnelmgrd': 'RUNNING', 'vlanmgrd': 'RUNNING', 'vrfmgrd': 'RUNNING', 'vxlanmgrd': 'RUNNING', 'zebra': 'RUNNING'}

dvslib/dvs_common.py:60: AssertionError