You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/09/09 06:51:20 UTC
[jira] [Commented] (AIRFLOW-488) AirflowException("Failed to create
remote temp file")
[ https://issues.apache.org/jira/browse/AIRFLOW-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15476123#comment-15476123 ]
ASF subversion and git services commented on AIRFLOW-488:
---------------------------------------------------------
Commit 32f3c1c5d4acac56a1ebdc36cd9a8c71ace35e5c in incubator-airflow's branch refs/heads/master from [~forevernull]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=32f3c1c ]
[AIRFLOW-488] Fix test_simple fail
Make unittest test_simple pass on all platforms
including MacOs.
Closes #1782 from forevernull/master
> 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)