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

test_igmp_snooping_modified_query (Failed) #405

Open
hubogee opened this issue Oct 3, 2023 · 0 comments
Open

test_igmp_snooping_modified_query (Failed) #405

hubogee opened this issue Oct 3, 2023 · 0 comments
Labels
regression issue found in regression

Comments

@hubogee
Copy link
Contributor

hubogee commented Oct 3, 2023

Build: 2023-09-27-0724

Test Results: http://10.36.118.11/TestResults/10-02-2023-20-20-02-096352_functional/report_suite_group_functional.html?sort=result&visible=failed,error,xpassed,rerun

Test results will be automatically removed in 14 days

device = [Ixia Traffic Generator: 10.36.118.111], config_file_name = None
streams = {"['10.36.118.199:1:10_1.1.1.3/24', '10.36.118.199:1:11_1.1.1.4/24', '10.36.118.199:1:12_1.1.1.5/24'] -> Broadcast": {..., '10.36.118.199:1:11_1.1.1.4/24', '10.36.118.199:1:12_1.1.1.5/24'], 'ip_source': '10.36.118.199:1:9_1.1.1.2/24', ...}}
force_update = True

async def tgen_utils_setup_streams(device, config_file_name, streams, force_update=True):
    """
    - if there is a tgen config file then try to load it
    - else creates the streams and saves it and download a copy for future use.
    - start the protocols and resolve arp.
    """
    res = -1
    if not force_update and os.path.exists(config_file_name):
        device.applog.info(f'Loading Tgen config file {config_file_name}')
        out = await TrafficGen.load_config(
            input_data=[{device.host_name: [{'config_file_name': config_file_name}]}]
        )
        res = out[0][device.host_name]['rc']
    if res != 0:
        for s in streams.keys():
            device.applog.info(f'Setting up Tgen traffic for {s}')
            out = await TrafficGen.set_traffic(
                input_data=[{device.host_name: [{'name': s, 'pkt_data': streams[s]}]}]
            )
            device.applog.info(out)
            assert out[0][device.host_name]['rc'] == 0, f'Setting tgen traffic failed.\n{out}'
        device.applog.info(f'Saving Tgen config file {config_file_name}')
        out = await TrafficGen.save_config(
            input_data=[{device.host_name: [{'config_file_name': config_file_name}]}]
        )
    device.applog.info('Starting Protocols')
    out = await TrafficGen.start_protocols(input_data=[{device.host_name: [{}]}])
    device.applog.info(out)
  assert out[0][device.host_name]['rc'] == 0, out[0][device.host_name]['result']

E AssertionError: Timeout - no response after 20s.

@hubogee hubogee changed the title test_igmp_snooping_modified_query failed test_igmp_snooping_modified_query (Failed) Oct 3, 2023
@isgmano isgmano added the regression issue found in regression label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression issue found in regression
Projects
None yet
Development

No branches or pull requests

2 participants