You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "forevernull (JIRA)" <ji...@apache.org> on 2016/09/06 11:10:21 UTC
[jira] [Assigned] (AIRFLOW-488) AirflowException("Failed to create
remote temp file")
[ https://issues.apache.org/jira/browse/AIRFLOW-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
forevernull reassigned AIRFLOW-488:
-----------------------------------
Assignee: forevernull
> AirflowException("Failed to create remote temp file")
> -----------------------------------------------------
>
> Key: AIRFLOW-488
> URL: https://issues.apache.org/jira/browse/AIRFLOW-488
> Project: Apache Airflow
> Issue Type: Bug
> Environment: System: Mac OS X EI Capitian 10.11.6
> python : Python 2.7.12
> Reporter: forevernull
> Assignee: forevernull
> Priority: Minor
>
> when I run unit-test , it says:
> {quote}
> root: INFO: Executing <Task(SSHExecuteOperator): test> on 2015-01-01 00:00:00
> root: DEBUG: SSH cmd: ['ssh', u'localhost', '-o', 'ControlMaster=no', '-o', 'BatchMode=yes', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-q', 'mktemp', '--tmpdir', 'test_XXXXXX']
> root: ERROR: Failed to create remote temp file
> Traceback (most recent call last):
> File "/Users/gawain/src/incubator-airflow/airflow/models.py", line 1264, in run
> result = task_copy.execute(context=context)
> File "/Users/gawain/src/incubator-airflow/airflow/contrib/operators/ssh_execute_operator.py", line 129, in execute
> self.task_id) as remote_file_path:
> File "/Users/gawain/src/incubator-airflow/airflow/contrib/operators/ssh_execute_operator.py", line 65, in __enter__
> raise AirflowException("Failed to create remote temp file")
> AirflowException: Failed to create remote temp file
> root: INFO: Marking task as FAILED.
> root: ERROR: Failed to create remote temp file
> {quote}
> You can modify **run_unit_test.py"" and add "nosetests tests.contrib.operators.ssh_execute_operator:SSHExecuteOperatorTest.test_simple" to test.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)