tests.system.gapic.v1beta1.test_system_tables_client_v1.TestSystemTablesClient: test_set_weight_and_target_column failed
flaky-bot opened this issue · 2 comments
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 0d68382
buildURL: Build Status, Sponge
status: failed
Test output
self =@vpcsc_config.skip_if_inside_vpcsc def test_set_weight_and_target_column(self): client = automl_v1beta1.TablesClient(project=PROJECT, region=REGION) dataset = self.ensure_dataset_ready(client) client.set_weight_column(dataset=dataset, column_spec_display_name="Day") client.set_target_column(dataset=dataset, column_spec_display_name="Campaign") columns = {c.display_name: c for c in client.list_column_specs(dataset=dataset)} dataset = client.get_dataset(dataset_name=dataset.name) metadata = dataset.tables_dataset_metadata
assert columns["Day"].name.endswith(
"/{}".format(metadata.weight_column_spec_id) )
E assert False
E + where False = <built-in method endswith of str object at 0x7fc8596b93f0>('/1767935532626608128')
E + where <built-in method endswith of str object at 0x7fc8596b93f0> = 'projects/1065521786570/locations/us-central1/datasets/TBL6211369883725201408/tableSpecs/3647440709146902528/columnSpecs/6379621551053996032'.endswith
E + where 'projects/1065521786570/locations/us-central1/datasets/TBL6211369883725201408/tableSpecs/3647440709146902528/columnSpecs/6379621551053996032' = name: "projects/1065521786570/locations/us-central1/datasets/TBL6211369883725201408/tableSpecs/3647440709146902528/col...84\n }\n }\n valid_value_count: 45211\n}\netag: "AB3BwFoKuXn_JS_7xYzNYLIpFCAyTbBkFediqTJy33RTPnAPfmj_8jxCF3yUYIPhJnQ="\n.name
E + and '/1767935532626608128' = <built-in method format of str object at 0x7fc86a73b3b0>('1767935532626608128')
E + where <built-in method format of str object at 0x7fc86a73b3b0> = '/{}'.format
E + and '1767935532626608128' = primary_table_spec_id: "3647440709146902528"\ntarget_column_spec_id: "615014028019761152"\nweight_column_spec_id: "17679...9984"\n value {\n cramers_v: 0.04501227044410678\n }\n}\nstats_update_time {\n seconds: 1641518586\n nanos: 90522000\n}\n.weight_column_spec_idtests/system/gapic/v1beta1/test_system_tables_client_v1.py:202: AssertionError
Looks like this issue is flaky. 😟
I'm going to leave this open and stop commenting.
A human should fix and close this.
When run at the same commit (0d68382), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).
Closing this issue, as we haven't seen a failure recently. Will reopen and investigate if it occurs again.