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

Source Cart.com: investigate CI tests failing #5346

Closed
marcosmarxm opened this issue Aug 11, 2021 · 0 comments · Fixed by #5465
Closed

Source Cart.com: investigate CI tests failing #5346

marcosmarxm opened this issue Aug 11, 2021 · 0 comments · Fixed by #5465
Assignees
Labels

Comments

@marcosmarxm
Copy link
Member

Current Behavior

https://dnsgjos7lj2fu.cloudfront.net/tests/summary/source-cart/
Last 2 runs failed.

Expected Behavior

CI should pass.

Logs

Logs extracted from CI output

LOG
self = <source_acceptance_test.tests.test_full_refresh.TestFullRefresh object at 0x7f170b36b2d0>
connector_config = SecretDict(******)
configured_catalog = ConfiguredAirbyteCatalog(streams=[ConfiguredAirbyteStream(stream=AirbyteStream(name='customers_cart', json_schema=***'ty...fresh'>, cursor_field=['updated_at'***, destination_sync_mode=<DestinationSyncMode.append: 'append'>, primary_key=None)***)
docker_runner = <source_acceptance_test.utils.connector_runner.ConnectorRunner object at 0x7f170b2f0890>

    def test_sequential_reads(self, connector_config, configured_catalog, docker_runner: ConnectorRunner):
        configured_catalog = full_refresh_only_catalog(configured_catalog)
        output = docker_runner.call_read(connector_config, configured_catalog)
        records_1 = [message.record.data for message in output if message.type == Type.RECORD***
    
        output = docker_runner.call_read(connector_config, configured_catalog)
        records_2 = [message.record.data for message in output if message.type == Type.RECORD***
    
>       assert not (
            set(map(serialize, records_1)) - set(map(serialize, records_2))
        ), "The two sequential reads should produce either equal set of records or one of them is a strict subset of the other"
E       AssertionError: The two sequential reads should produce either equal set of records or one of them is a strict subset of the other
E       assert not (***'***"adcode": "", "adcode_id": "0", "additional_fees": "0.0", "admin_comments": "", "affiliate_id": "0", "campaign_code...s": "", "store_id": "2", "subtotal": "101.97", "tax_total": "0.0", "updated_at": "2021-01-18T18:17:36.89-06:00"***', ...*** - ***'***"adcode": "", "adcode_id": "0", "additional_fees": "0.0", "admin_comments": "", "affiliate_id": "0", "campaign_code...s": "", "store_id": "2", "subtotal": "101.97", "tax_total": "0.0", "updated_at": "2021-01-18T18:17:36.89-06:00"***', ...***)
E        +  where ***'***"adcode": "", "adcode_id": "0", "additional_fees": "0.0", "admin_comments": "", "affiliate_id": "0", "campaign_code...s": "", "store_id": "2", "subtotal": "101.97", "tax_total": "0.0", "updated_at": "2021-01-18T18:17:36.89-06:00"***', ...*** = set(<map object at 0x7f170b2fded0>)
E        +    where <map object at 0x7f170b2fded0> = map(serialize, [***'adcode': '', 'adcode_id': None, 'affiliate_id': None, 'alternate_phone_number': '', ...*** ***'adcode': '', 'adcode_id...ate_phone_number': '', ...*** ***'adcode': '', 'adcode_id': 0, 'affiliate_id': 0, 'alternate_phone_number': '', ...*** ...***)
E        +  and   ***'***"adcode": "", "adcode_id": "0", "additional_fees": "0.0", "admin_comments": "", "affiliate_id": "0", "campaign_code...s": "", "store_id": "2", "subtotal": "101.97", "tax_total": "0.0", "updated_at": "2021-01-18T18:17:36.89-06:00"***', ...*** = set(<map object at 0x7f16f7bcbed0>)
E        +    where <map object at 0x7f16f7bcbed0> = map(serialize, [***'adcode': '', 'adcode_id': None, 'affiliate_id': None, 'alternate_phone_number': '', ...*** ***'adcode': '', 'adcode_id...ate_phone_number': '', ...*** ***'adcode': '', 'adcode_id': 0, 'affiliate_id': 0, 'alternate_phone_number': '', ...*** ...***)

/usr/local/lib/python3.7/site-packages/source_acceptance_test/tests/test_full_refresh.py:42: AssertionError
=========================== short test summary info ============================
FAILED test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0***

@marcosmarxm marcosmarxm added type/bug Something isn't working area/connectors Connector related issues labels Aug 11, 2021
@antixar antixar self-assigned this Aug 16, 2021
@antixar antixar linked a pull request Aug 17, 2021 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants