tests.system.gapic.v1beta1.test_system_tables_client_v1.TestSystemTablesClient: test_set_weight_column failed
flaky-bot opened this issue · 1 comments
Note: #310 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
commit: 06d11c6
buildURL: Build Status, Sponge
status: failed
Test output
self =@vpcsc_config.skip_if_inside_vpcsc def test_set_weight_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="Duration") 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["Duration"].name.endswith(
"/{}".format(metadata.weight_column_spec_id) )
E assert False
E + where False = <built-in method endswith of str object at 0x7f86adec4e70>('/6379621551053996032')
E + where <built-in method endswith of str object at 0x7f86adec4e70> = 'projects/1065521786570/locations/us-central1/datasets/TBL6211369883725201408/tableSpecs/3647440709146902528/columnSpecs/1767935532626608128'.endswith
E + where 'projects/1065521786570/locations/us-central1/datasets/TBL6211369883725201408/tableSpecs/3647440709146902528/columnSpecs/1767935532626608128' = name: "projects/1065521786570/locations/us-central1/datasets/TBL6211369883725201408/tableSpecs/3647440709146902528/col...count: 1573\n valid_value_count: 45211\n}\netag: "AB3BwFpQyqLlSlkfDcnJnW-fGpNEQowKaQzCoqJo9F7k4Qs3d7-19m_Ss1Of57kqT4="\n.name
E + and '/6379621551053996032' = <built-in method format of str object at 0x7f86bcbc42b0>('6379621551053996032')
E + where <built-in method format of str object at 0x7f86bcbc42b0> = '/{}'.format
E + and '6379621551053996032' = primary_table_spec_id: "3647440709146902528"\ntarget_column_spec_id: "615014028019761152"\nweight_column_spec_id: "63796...384"\n value {\n cramers_v: 0.01072063304507692\n }\n}\nstats_update_time {\n seconds: 1673324799\n nanos: 336917000\n}\n.weight_column_spec_idtests/system/gapic/v1beta1/test_system_tables_client_v1.py:189: AssertionError
Test passed for commit 3f94922 (Build Status, Sponge)! Closing this issue.