airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Maheshwari (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-488) AirflowException("Failed to create remote temp file")
Date Fri, 09 Sep 2016 06:52:22 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sumit Maheshwari resolved AIRFLOW-488.
--------------------------------------
    Resolution: Fixed

Issue resolved by pull request #1782
[https://github.com/apache/incubator-airflow/pull/1782]

> 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)

Mime
View raw message