I got two errors and I could not find where they are coming from, if anyone can 
have a look, it would be great. Curiously the labels is set to be None.

```======================================================================
23) FAIL: test_exec 
(tests.contrib.operators.test_dataflow_operator.DataFlowPythonOperatorTest)
----------------------------------------------------------------------
   Traceback (most recent call last):
    .tox/py27-backend_mysql-env_docker/lib/python2.7/site-packages/mock/mock.py 
line 1305 in patched
      return func(*args, **keywargs)
    tests/contrib/operators/test_dataflow_operator.py line 115 in test_exec
      PY_OPTIONS)
    .tox/py27-backend_mysql-env_docker/lib/python2.7/site-packages/mock/mock.py 
line 948 in assert_called_once_with
      return self.assert_called_with(*args, **kwargs)
    .tox/py27-backend_mysql-env_docker/lib/python2.7/site-packages/mock/mock.py 
line 937 in assert_called_with
      six.raise_from(AssertionError(_error_message(cause)), cause)
    .tox/py27-backend_mysql-env_docker/lib/python2.7/site-packages/six.py line 
737 in raise_from
      raise value
   AssertionError: Expected call: 
start_python_dataflow('test-dataflow-pipeline', {'labels': {'airflow-version': 
'v2-0-0-dev0-incubating', 'foo': 'bar'}, 'project': 'test', 'output': 
'gs://test/output', 'staging_location': 'gs://test/staging'}, <ANY>, ['-m'])
   Actual call: start_python_dataflow('test-dataflow-pipeline', {None: 
'gs://test/output'}, <MagicMock 
name='GoogleCloudBucketHelper().google_cloud_to_local()' id='140656824535376'>, 
['-m'])
======================================================================
24) FAIL: testSuccessfulRun 
(tests.contrib.operators.test_mlengine_operator_utils.CreateEvaluateOpsTest)
----------------------------------------------------------------------
   Traceback (most recent call last):
    tests/contrib/operators/test_mlengine_operator_utils.py line 125 in 
testSuccessfulRun
      ['-m'])
    .tox/py27-backend_mysql-env_docker/lib/python2.7/site-packages/mock/mock.py 
line 948 in assert_called_once_with
      return self.assert_called_with(*args, **kwargs)
    .tox/py27-backend_mysql-env_docker/lib/python2.7/site-packages/mock/mock.py 
line 937 in assert_called_with
      six.raise_from(AssertionError(_error_message(cause)), cause)
    .tox/py27-backend_mysql-env_docker/lib/python2.7/site-packages/six.py line 
737 in raise_from
      raise value
   AssertionError: Expected call: start_python_dataflow('{{task.task_id}}', 
{'metric_keys': 'err', 'prediction_path': 'gs://legal-bucket/fake-output-path', 
'metric_fn_encoded': 
'gAJjZGlsbC5fZGlsbApfY3JlYXRlX2Z1bmN0aW9uCnEAKGNkaWxsLl9kaWxsCl9sb2FkX3R5cGUKcQFVCENvZGVUeXBlcQKFcQNScQQoSwFLAUsBSlNgAQBVBGQCAFNxBU5HP7mZmZmZmZpHP7mZmZmZmZqFcQaHcQcpVQF4cQiFcQlVPC9hcHAvdGVzdHMvY29udHJpYi9vcGVyYXRvcnMvdGVzdF9tbGVuZ2luZV9vcGVyYXRvcl91dGlscy5weXEKVQg8bGFtYmRhPnELS0lVAHEMKSl0cQ1ScQ59cQ9oC05OfXEQdHERUnESLg==',
 'labels': {'airflow-version': 'v2-0-0-dev0-incubating'}}, 
'airflow.contrib.operators.mlengine_prediction_summary', ['-m'])
   Actual call: start_python_dataflow('{{task.task_id}}', {None: 
{'airflow-version': 'v2-0-0-dev0-incubating'}}, 
'airflow.contrib.operators.mlengine_prediction_summary', ['-m'])
```

[ Full content available at: 
https://github.com/apache/incubator-airflow/pull/3981 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to