-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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.dataset_test: test_dataset_update failed #4397
Comments
commit: f313fd4 Test outputTraceback (most recent call last): File "/workspace/tables/automl/.nox/py-3-6/lib/python3.6/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-6/lib/python3.6/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-6/lib/python3.6/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 values in weight column(4370278344944517120) must be less than 10,000." debug_error_string = "{"created":"@1596189113.676845221","description":"Error received from peer ipv4:74.125.197.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"The values in weight column(4370278344944517120) must be less than 10,000.","grpc_status":9}" > |
Hey! The error it's throwing has something to do with the weight - is this related to the API, the test, or the project config? |
The service side changed the behavior a while ago, and it changed again |
yes, takashi fixed it earlier this month. i'm wondering if they reverted that. |
commit: 32f96e4 Test outputTraceback (most recent call last): File "/workspace/tables/automl/.nox/py-3-6/lib/python3.6/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-6/lib/python3.6/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-6/lib/python3.6/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 values in weight column(4370278344944517120) must be less than 10,000." debug_error_string = "{"created":"@1596275534.091588234","description":"Error received from peer ipv4:74.125.195.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"The values in weight column(4370278344944517120) must be less than 10,000.","grpc_status":9}" > |
commit: bae7b5a Test outputTraceback (most recent call last): File "/workspace/tables/automl/.nox/py-3-6/lib/python3.6/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-6/lib/python3.6/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-6/lib/python3.6/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 values in weight column(4370278344944517120) must be less than 10,000." debug_error_string = "{"created":"@1596362331.449204503","description":"Error received from peer ipv4:74.125.142.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"The values in weight column(4370278344944517120) must be less than 10,000.","grpc_status":9}" > |
I updated the csv with the following python script: from tempfile import NamedTemporaryFile
import shutil
import csv
filename = 'bank-marketing.csv'
tempfile = NamedTemporaryFile(mode='w', delete=False)
fields = ['Age','Job','MaritalStatus','Education','Default','Balance','Housing','Loan','Contact','Day','Month','Duration','Campaign','PDays','Previous','POutcome','Deposit']
with open(filename, 'r') as csvfile, tempfile:
reader = csv.DictReader(csvfile, fieldnames=fields)
writer = csv.DictWriter(tempfile, fieldnames=fields)
for row in reader:
if row['Age'] != 'Age' and int(row['Balance']) < 10000:
print('updating row')
row['Balance'] = int(row['Balance']) + 10000
writer.writerow(row)
shutil.move(tempfile.name, filename) I hope that will fix the test. |
Oops, I misread the log:
I somehow made sure those values are guaranteed to be more than 10000. |
Note: #2941 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
commit: 4a25177
buildURL: Build Status, Sponge
status: failed
Test output
The text was updated successfully, but these errors were encountered: