You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/07/17 19:47:14 UTC
[GitHub] [airflow] mik-laj commented on issue #5602: [AIRFLOW-4983]
Feature/dataflow operator python3
mik-laj commented on issue #5602: [AIRFLOW-4983] Feature/dataflow operator python3
URL: https://github.com/apache/airflow/pull/5602#issuecomment-512542057
Travis is sad:
```
[fail] 0.00% tests.contrib.utils.test_mlengine_operator_utils.CreateEvaluateOpsTest.testSuccessfulRun: 0.0159s
```
```
======================================================================
43) FAIL: testSuccessfulRun (tests.contrib.utils.test_mlengine_operator_utils.CreateEvaluateOpsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
tests/contrib/utils/test_mlengine_operator_utils.py line 116 in testSuccessfulRun
['-m'])
/usr/lib/python3.5/unittest/mock.py line 803 in assert_called_once_with
return self.assert_called_with(*args, **kwargs)
/usr/lib/python3.5/unittest/mock.py line 792 in assert_called_with
raise AssertionError(_error_message()) from cause
AssertionError: Expected call: start_python_dataflow('{{task.task_id}}', {'prediction_path': 'gs://legal-bucket/fake-output-path', 'metric_fn_encoded': b'gANjZGlsbC5fZGlsbApfY3JlYXRlX2Z1bmN0aW9uCnEAKGNkaWxsLl9kaWxsCl9sb2FkX3R5cGUKcQFYCAAAAENvZGVUeXBlcQKFcQNScQQoSwFLAEsBSwFLU0MEZAIAU3EFTkc/uZmZmZmZmkc/uZmZmZmZmoVxBodxBylYAQAAAHhxCIVxCVg4AAAAL2FwcC90ZXN0cy9jb250cmliL3V0aWxzL3Rlc3RfbWxlbmdpbmVfb3BlcmF0b3JfdXRpbHMucHlxClgIAAAAPGxhbWJkYT5xC0tCQwBxDCkpdHENUnEOfXEPaAtOTn1xEHRxEVJxEi4=', 'labels': {'airflow-version': 'v2-0-0-dev0'}, 'metric_keys': 'err'}, 'airflow.contrib.utils.mlengine_prediction_summary', ['-m'])
Actual call: start_python_dataflow('{{task.task_id}}', {'prediction_path': 'gs://legal-bucket/fake-output-path', 'metric_fn_encoded': b'gANjZGlsbC5fZGlsbApfY3JlYXRlX2Z1bmN0aW9uCnEAKGNkaWxsLl9kaWxsCl9sb2FkX3R5cGUKcQFYCAAAAENvZGVUeXBlcQKFcQNScQQoSwFLAEsBSwFLU0MEZAIAU3EFTkc/uZmZmZmZmkc/uZmZmZmZmoVxBodxBylYAQAAAHhxCIVxCVg4AAAAL2FwcC90ZXN0cy9jb250cmliL3V0aWxzL3Rlc3RfbWxlbmdpbmVfb3BlcmF0b3JfdXRpbHMucHlxClgIAAAAPGxhbWJkYT5xC0tCQwBxDCkpdHENUnEOfXEPaAtOTn1xEHRxEVJxEi4=', 'labels': {'airflow-version': 'v2-0-0-dev0'}, 'metric_keys': 'err'}, 'airflow.contrib.utils.mlengine_prediction_summary', ['-m'], py_interpreter='python2')
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services