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

updating saic results in ModuleNotFoundError: No module named 'sai_thrift' #613

Open
mgheorghe opened this issue Aug 6, 2024 · 0 comments
Assignees

Comments

@mgheorghe
Copy link
Collaborator

if we try to update SAIC to latest we get

============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-7.4.4, pluggy-1.2.0 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.7.3', 'Platform': 'Linux-5.15.0-1068-azure-x86_64-with-debian-10.13', 'Packages': {'pytest': '7.4.4', 'pluggy': '1.2.0'}, 'Plugins': {'dependency': '0.6.0', 'metadata': '3.0.0', 'html': '3.2.0'}}
rootdir: /sai-challenger/dash_tests/functional
configfile: pytest.ini
plugins: dependency-0.6.0, metadata-3.0.0, html-3.2.0
collecting ... collected 83 items

empty_test.py::test_placeholder test_placeholder
PASSED
test_vm_to_vm_commn_acl_inbound.py::TestAclInbound::test_setup SKIPPED
test_vm_to_vm_commn_acl_inbound.py::TestAclInbound::test_vm_to_vm_commn_acl_inbound SKIPPED
test_vm_to_vm_commn_acl_inbound.py::TestAclInbound::test_check_dpu_drop_reason_is_acl SKIPPED
test_vm_to_vm_commn_acl_inbound.py::TestAclInbound::test_cleanup SKIPPED
WARNING:root:No NPU specific module defined.
test_vm_to_vm_commn_acl_outbound.py::TestAclOutbound::test_setup ERROR
test_vm_to_vm_commn_acl_outbound.py::TestAclOutbound::test_vm_to_vm_commn_acl_outbound SKIPPED
test_vm_to_vm_commn_acl_outbound.py::TestAclOutbound::test_cleanup SKIPPED
test_vm_to_vm_commn_udp_bidir.py::TestUdpBidir::test_setup SKIPPED (...)
test_vm_to_vm_commn_udp_bidir.py::TestUdpBidir::test_vm_to_vm_commn_udp_bidir SKIPPED
test_vm_to_vm_commn_udp_bidir.py::TestUdpBidir::test_cleanup SKIPPED
test_vm_to_vm_commn_udp_inbound.py::TestUdpInbound::test_setup SKIPPED
test_vm_to_vm_commn_udp_inbound.py::TestUdpInbound::test_vm_to_vm_commn_udp_inbound SKIPPED
test_vm_to_vm_commn_udp_inbound.py::TestUdpInbound::test_cleanup SKIPPED
test_vm_to_vm_commn_udp_outbound.py::TestUdpOutbound::test_setup ERROR
test_vm_to_vm_commn_udp_outbound.py::TestUdpOutbound::test_vm_to_vm_commn_udp_outbound SKIPPED
test_vm_to_vm_commn_udp_outbound.py::TestUdpOutbound::test_cleanup SKIPPED
sai-api/test_sai_api_vnet_acl_in.py::TestSaiVnetAclIn::test_vnet_acl_in_create ERROR
sai-api/test_sai_api_vnet_acl_in.py::TestSaiVnetAclIn::test_vnet_acl_in_get1 SKIPPED
sai-api/test_sai_api_vnet_acl_in.py::TestSaiVnetAclIn::test_vnet_acl_in_set SKIPPED
sai-api/test_sai_api_vnet_acl_in.py::TestSaiVnetAclIn::test_vnet_acl_in_get2 SKIPPED
sai-api/test_sai_api_vnet_acl_in.py::TestSaiVnetAclIn::test_vnet_acl_in_remove ERROR
sai-api/test_sai_api_vnet_acl_out.py::TestSaiVnetAclOut::test_vnet_acl_out_create ERROR
sai-api/test_sai_api_vnet_acl_out.py::TestSaiVnetAclOut::test_vnet_acl_out_get1 SKIPPED
sai-api/test_sai_api_vnet_acl_out.py::TestSaiVnetAclOut::test_vnet_acl_out_set SKIPPED
sai-api/test_sai_api_vnet_acl_out.py::TestSaiVnetAclOut::test_vnet_acl_out_get2 SKIPPED
sai-api/test_sai_api_vnet_acl_out.py::TestSaiVnetAclOut::test_vnet_acl_out_remove ERROR
sai-api/test_sai_api_vnet_direction_lookup.py::TestSaiDirectionLookup::test_direction_lookup_create ERROR
sai-api/test_sai_api_vnet_direction_lookup.py::TestSaiDirectionLookup::test_direction_lookup_get1 SKIPPED
sai-api/test_sai_api_vnet_direction_lookup.py::TestSaiDirectionLookup::test_direction_lookup_set SKIPPED
sai-api/test_sai_api_vnet_direction_lookup.py::TestSaiDirectionLookup::test_direction_lookup_get2 SKIPPED
sai-api/test_sai_api_vnet_direction_lookup.py::TestSaiDirectionLookup::test_direction_lookup_remove ERROR
sai-api/test_sai_api_vnet_eni.py::TestSaiVnetEni::test_vnet_eni_create ERROR
sai-api/test_sai_api_vnet_eni.py::TestSaiVnetEni::test_vnet_eni_get1 SKIPPED
sai-api/test_sai_api_vnet_eni.py::TestSaiVnetEni::test_vnet_eni_set SKIPPED
sai-api/test_sai_api_vnet_eni.py::TestSaiVnetEni::test_vnet_eni_get2 SKIPPED
sai-api/test_sai_api_vnet_eni.py::TestSaiVnetEni::test_vnet_eni_remove ERROR
sai-api/test_sai_api_vnet_eni_addr.py::TestSaiVnetEniAddr::test_vnet_eni_ether_address_create ERROR
sai-api/test_sai_api_vnet_eni_addr.py::TestSaiVnetEniAddr::test_vnet_eni_ether_address_get1 SKIPPED
sai-api/test_sai_api_vnet_eni_addr.py::TestSaiVnetEniAddr::test_vnet_eni_ether_address_set SKIPPED
sai-api/test_sai_api_vnet_eni_addr.py::TestSaiVnetEniAddr::test_vnet_eni_ether_address_get2 SKIPPED
sai-api/test_sai_api_vnet_eni_addr.py::TestSaiVnetEniAddr::test_vnet_eni_ether_address_remove ERROR
sai-api/test_sai_api_vnet_in_route.py::TestSaiVnetInboundRoutingEntry::test_vnet_inbound_routing_entry_create_setup ERROR
sai-api/test_sai_api_vnet_in_route.py::TestSaiVnetInboundRoutingEntry::test_vnet_inbound_routing_entry_create SKIPPED
sai-api/test_sai_api_vnet_in_route.py::TestSaiVnetInboundRoutingEntry::test_vnet_inbound_routing_entry_get1 SKIPPED
sai-api/test_sai_api_vnet_in_route.py::TestSaiVnetInboundRoutingEntry::test_vnet_inbound_routing_entry_set SKIPPED
sai-api/test_sai_api_vnet_in_route.py::TestSaiVnetInboundRoutingEntry::test_vnet_inbound_routing_entry_get2 SKIPPED
sai-api/test_sai_api_vnet_in_route.py::TestSaiVnetInboundRoutingEntry::test_vnet_inbound_routing_entry_remove SKIPPED
sai-api/test_sai_api_vnet_in_route.py::TestSaiVnetInboundRoutingEntry::test_vnet_inbound_routing_entry_remove_cleanup SKIPPED
sai-api/test_sai_api_vnet_inbound_vpe.py::TestSaiVnetInbound::test_vnet_inbound_simple_create ERROR
sai-api/test_sai_api_vnet_inbound_vpe.py::TestSaiVnetInbound::test_vnet_inbound_simple_get1 SKIPPED
sai-api/test_sai_api_vnet_inbound_vpe.py::TestSaiVnetInbound::test_vnet_inbound_simple_set SKIPPED
sai-api/test_sai_api_vnet_inbound_vpe.py::TestSaiVnetInbound::test_vnet_inbound_simple_get2 SKIPPED
sai-api/test_sai_api_vnet_inbound_vpe.py::TestSaiVnetInbound::test_vnet_inbound_simple_remove ERROR
sai-api/test_sai_api_vnet_out_route.py::TestSaiVnetOutboundRoutingEntry::test_vnet_outbound_routing_entry_create ERROR
sai-api/test_sai_api_vnet_out_route.py::TestSaiVnetOutboundRoutingEntry::test_vnet_outbound_routing_entry_get1 SKIPPED
sai-api/test_sai_api_vnet_out_route.py::TestSaiVnetOutboundRoutingEntry::test_vnet_outbound_routing_entry_set SKIPPED
sai-api/test_sai_api_vnet_out_route.py::TestSaiVnetOutboundRoutingEntry::test_vnet_outbound_routing_entry_get2 SKIPPED
sai-api/test_sai_api_vnet_out_route.py::TestSaiVnetOutboundRoutingEntry::test_vnet_outbound_routing_entry_remove ERROR
sai-api/test_sai_api_vnet_pa_entry.py::TestSaiVnetPaEntry::test_vnet_pa_validation_entry_create ERROR
sai-api/test_sai_api_vnet_pa_entry.py::TestSaiVnetPaEntry::test_vnet_pa_validation_entry_get1 SKIPPED
sai-api/test_sai_api_vnet_pa_entry.py::TestSaiVnetPaEntry::test_vnet_pa_validation_entry_set SKIPPED
sai-api/test_sai_api_vnet_pa_entry.py::TestSaiVnetPaEntry::test_vnet_pa_validation_entry_get2 SKIPPED
sai-api/test_sai_api_vnet_pa_entry.py::TestSaiVnetPaEntry::test_vnet_pa_validation_entry_remove ERROR
sai-api/test_sai_api_vnet_vni.py::TestSaiVnetVni::test_vnet_vni_create ERROR
sai-api/test_sai_api_vnet_vni.py::TestSaiVnetVni::test_vnet_vni_get1 SKIPPED
sai-api/test_sai_api_vnet_vni.py::TestSaiVnetVni::test_vnet_vni_set SKIPPED
sai-api/test_sai_api_vnet_vni.py::TestSaiVnetVni::test_vnet_vni_get2 SKIPPED
sai-api/test_sai_api_vnet_vni.py::TestSaiVnetVni::test_vnet_vni_remove SKIPPED
tutorial/test_sai_vnet_outbound_small_scale_config_via_dpugen.py::TestSaiVnetOutbound::test_create_vnet_scale_config_generated ERROR
tutorial/test_sai_vnet_outbound_small_scale_config_via_dpugen.py::TestSaiVnetOutbound::test_remove_vnet_scale_config_generated ERROR
tutorial/test_sai_vnet_outbound_small_scale_config_via_dpugen_files.py::test_sai_vnet_outbound_small_scale_config_create_file ERROR
tutorial/test_sai_vnet_outbound_small_scale_config_via_dpugen_files.py::test_sai_vnet_outbound_small_scale_config_remove_file ERROR
tutorial/test_sai_vnet_vips_config_via_custom_gen.py::TestSaiDashVipsGenerator::test_many_vips_create_via_generator ERROR
tutorial/test_sai_vnet_vips_config_via_custom_gen.py::TestSaiDashVipsGenerator::test_many_vips_remove_via_generator ERROR
tutorial/test_sai_vnet_vips_config_via_custom_gen_files.py::test_sai_vnet_vips_config_create_file ERROR
tutorial/test_sai_vnet_vips_config_via_custom_gen_files.py::test_sai_vnet_outbound_small_scale_config_remove_file ERROR
tutorial/test_sai_vnet_vips_config_via_list_comprehension.py::TestSaiDashVipsListComprehension::test_many_vips_create_via_list_comprehension ERROR
tutorial/test_sai_vnet_vips_config_via_list_comprehension.py::TestSaiDashVipsListComprehension::test_many_vips_remove_via_list_comprehension ERROR
tutorial/test_sai_vnet_vips_config_via_list_comprehension_files.py::test_sai_vnet_vips_config_create_file ERROR
tutorial/test_sai_vnet_vips_config_via_list_comprehension_files.py::test_sai_vnet_outbound_small_scale_config_remove_file ERROR
tutorial/test_sai_vnet_vips_config_via_literal.py::TestSaiDashVipsLiteral::test_many_vips_create_via_literal ERROR
tutorial/test_sai_vnet_vips_config_via_literal.py::TestSaiDashVipsLiteral::test_many_vips_remove_via_literal ERROR

==================================== ERRORS ====================================
_________________ ERROR at setup of TestAclOutbound.test_setup _________________

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:[21](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:22)7: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:197: in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:152: in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:186: in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:101: in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
------------------------------ Captured log setup ------------------------------
WARNING  root:sai_testbed.py:1[32](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:33) No NPU specific module defined.
_________________ ERROR at setup of TestUdpOutbound.test_setup _________________

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:[39](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:40): 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:217: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:197: in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:152: in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:186: in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:101: in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
__________ ERROR at setup of TestSaiVnetAclIn.test_vnet_acl_in_create __________

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:217: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:197: in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:1[52](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:53): in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:186: in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:101: in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
__________ ERROR at setup of TestSaiVnetAclIn.test_vnet_acl_in_remove __________

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:217: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:197: in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:152: in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:186: in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:101: in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
_________ ERROR at setup of TestSaiVnetAclOut.test_vnet_acl_out_create _________

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:217: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:197: in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:152: in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:1[86](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:87): in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:101: in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
_________ ERROR at setup of TestSaiVnetAclOut.test_vnet_acl_out_remove _________

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:217: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:1[97](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:98): in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:152: in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:186: in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:[101](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:102): in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
____ ERROR at setup of TestSaiDirectionLookup.test_direction_lookup_create _____

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:217: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:197: in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:152: in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:186: in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:101: in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
____ ERROR at setup of TestSaiDirectionLookup.test_direction_lookup_remove _____

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:217: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:197: in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:[152](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:153): in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:186: in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:101: in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
____________ ERROR at setup of TestSaiVnetEni.test_vnet_eni_create _____________

exec_params = {'testbed': 'sai_dpu_client_server_snappi.json', 'traffic': False}

    @pytest.fixture(scope="session")
    def testbed_instance(exec_params):
        testbed_json = exec_params.get("testbed", None)
        if testbed_json is None:
            yield None
        else:
            testbed = SaiTestbed(f"{curdir}/../..", testbed_json, exec_params["traffic"])
>           testbed.init()

conftest.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:217: in init
    self.spawn()
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:197: in spawn
    asic = self.spawn_asic(self.base_dir, dpu_cfg, "dpu")
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_testbed.py:152: in spawn_asic
    asic = SaiDpu(params)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_dpu.py:11: in __init__
    super().__init__(cfg)
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai.py:[186](https://github.com/sonic-net/DASH/actions/runs/10275019340/job/28432883100?pr=586#step:23:187): in __init__
    self.sai_client = SaiClient.spawn(cfg["client"])
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_client.py:101: in spawn
    from sai_client.sai_thrift_client.sai_thrift_client import SaiThriftClient
/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module>
    from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import re
    from itertools import zip_longest
    import ipaddress
    import json
>   from sai_thrift import sai_headers
E   ModuleNotFoundError: No module named 'sai_thrift'

/usr/local/lib/python3.7/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_utils.py:5: ModuleNotFoundError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant