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

tables/automl test fails with google.api_core.exceptions.FailedPrecondition: 400 The weight column 1549132718699184128, has negative values. #4172

Closed
tmatsuo opened this issue Jun 25, 2020 · 1 comment
Assignees
Labels
api: automl Issues related to the AutoML API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@tmatsuo
Copy link
Contributor

tmatsuo commented Jun 25, 2020

Build

Log:

Traceback (most recent call last):
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.FAILED_PRECONDITION
	details = "The weight column 1549132718699184128, has negative values."
	debug_error_string = "{"created":"@1593126928.274781498","description":"Error received from peer ipv4:74.125.20.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"The weight column 1549132718699184128, has negative values.","grpc_status":9}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/tables/automl/dataset_test.py", line 85, in test_dataset_update
    dataset = ensure_dataset_ready()
  File "/workspace/tables/automl/dataset_test.py", line 56, in ensure_dataset_ready
    automl_tables_dataset.update_dataset(
  File "/workspace/tables/automl/automl_tables_dataset.py", line 202, in update_dataset
    response = client.set_target_column(
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/automl_v1beta1/tables/tables_client.py", line 1431, in set_target_column
    return self.auto_ml_client.update_dataset(request, **kwargs)
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/automl_v1beta1/gapic/auto_ml_client.py", line 444, in update_dataset
    return self._inner_api_calls["update_dataset"](
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__
    return wrapped_func(*args, **kwargs)
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 281, in retry_wrapped_func
    return retry_target(
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 184, in retry_target
    return target()
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
    return func(*args, **kwargs)
  File "/workspace/tables/automl/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.FailedPrecondition: 400 The weight column 1549132718699184128, has negative values.
@tmatsuo tmatsuo self-assigned this Jun 25, 2020
@tmatsuo tmatsuo added api: automl Issues related to the AutoML API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jun 25, 2020
@tmatsuo
Copy link
Contributor Author

tmatsuo commented Jun 26, 2020

covered by #4177 and #4178

@tmatsuo tmatsuo closed this as completed Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: automl Issues related to the AutoML API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

1 participant