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 2020/12/04 13:56:53 UTC

[GitHub] [airflow] MarlonAbeykoon opened a new issue #12808: Task exited with return code Negsignal.SIGABRT

MarlonAbeykoon opened a new issue #12808:
URL: https://github.com/apache/airflow/issues/12808


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the following questions.
   Don't worry if they're not all applicable; just try to include what you can :-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   <!--
   
   IMPORTANT!!!
   
   PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
   NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
   
   PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
   
   Please complete the next sections or the issue will be closed.
   These questions are the first thing we need to know to understand the context.
   
   -->
   
   **Apache Airflow version**:
   1.10.12
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   N/A
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**: hardware 2.5 GHz Quad-Core Intel Core i7 16 GB
   - **OS** (e.g. from /etc/os-release): macOS Catelina 10.15.7 (19H15)
   - **Kernel** (e.g. `uname -a`): 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64
   - **Install tools**:
   - **Others**: Python 3.6.12
   
   **What happened**:
   When use [this](https://github.com/simple-salesforce/simple-salesforce) library via an operator, I get this error 
   `{local_task_job.py:102} INFO - Task exited with return code Negsignal.SIGABRT`
   which causes the DAG to fail.
   The exact line that happens this is [here](https://github.com/simple-salesforce/simple-salesforce/blob/master/simple_salesforce/login.py#L200) when it tries to make an HTTP request.
   BUT this works fine when I test the task using the command `airflow test salesforce_sync salesforceSync 2020-02-28`
   issue only arises when it's executed in airflow. The webserver also prints the following error.
   ```
   objc[3861]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
   objc[3861]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
   ```
   
   <!-- (please include exact error messages if you can) -->
   
   
   **What you expected to happen**:
   
   This should work as it works when I check the task using `test` command without the return code `Negsignal.SIGABRT` 
   
   <!-- What do you think went wrong? -->
   
   **How to reproduce it**:
   pip install simple-salesforce==1.10.1
   
   A dag task should call this
   
   ```
   from simple_salesforce import Salesforce
   sf = Salesforce(
               username='email@.example.com',
               password='password',
               security_token='token',
               domain='test'
           )
   ```
   
   <!---
   
   As minimally and precisely as possible. Keep in mind we do not have access to your cluster or dags.
   
   If you are using kubernetes, please attempt to recreate the issue using minikube or kind.
   
   ## Install minikube/kind
   
   - Minikube https://minikube.sigs.k8s.io/docs/start/
   - Kind https://kind.sigs.k8s.io/docs/user/quick-start/
   
   If this is a UI bug, please provide a screenshot of the bug or a link to a youtube video of the bug in action
   
   You can include images using the .md style of
   ![alt text](http://url/to/img.png)
   
   To record a screencast, mac users can use QuickTime and then create an unlisted youtube video with the resulting .mov file.
   
   --->
   
   
   **Anything else we need to know**:
   This always happens for the said scenario but not others. Having a try-catch won't work.
   <!--
   
   How often does this problem occur? Once? Every time etc?
   
   Any relevant logs to include? Put them here in side a detail tag:
   <details><summary>x.log</summary> lots of stuff </details>
   
   -->
   


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



[GitHub] [airflow] kirill-zaitsev removed a comment on issue #12808: Task exited with return code Negsignal.SIGABRT

Posted by GitBox <gi...@apache.org>.
kirill-zaitsev removed a comment on issue #12808:
URL: https://github.com/apache/airflow/issues/12808#issuecomment-933278894


   @kaxil Hi, the issue 'Task exited with return code Negsignal.SIGABRT' appears with Airflow 1.10.15 running on Container-Optimized OS (on K8s cluster) as well. The case is for long-running sensor tasks. Do you have any solution for that?


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #12808: Task exited with return code Negsignal.SIGABRT

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #12808:
URL: https://github.com/apache/airflow/issues/12808#issuecomment-738797589


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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



[GitHub] [airflow] potiuk commented on issue #12808: Task exited with return code Negsignal.SIGABRT

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #12808:
URL: https://github.com/apache/airflow/issues/12808#issuecomment-933307841


   > @kaxil Hi, the issue 'Task exited with return code Negsignal.SIGABRT' appears with Airflow 1.10.15 running on Container-Optimized OS (on K8s cluster) as well. The case is for long-running sensor tasks. Do you have any solution for that?
   
   It might be completely unrelated. The same message does not mean that this is the same circumstances or even the same root cause. I think if you have such problem @kirillz1, you need to gather all the evidences (logs, circumstances, docker file, describe when it happens, what your deployment is etc. and open a new issue -  definitely a more elaborated description of your problem is needed. 


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kirillz1 commented on issue #12808: Task exited with return code Negsignal.SIGABRT

Posted by GitBox <gi...@apache.org>.
kirillz1 commented on issue #12808:
URL: https://github.com/apache/airflow/issues/12808#issuecomment-933278894


   @kaxil Hi, the issue 'Task exited with return code Negsignal.SIGABRT' appears with Container-Optimized OS (on K8s cluster) as well. Do you have any solution for that?


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kirillz1 edited a comment on issue #12808: Task exited with return code Negsignal.SIGABRT

Posted by GitBox <gi...@apache.org>.
kirillz1 edited a comment on issue #12808:
URL: https://github.com/apache/airflow/issues/12808#issuecomment-933278894


   @kaxil Hi, the issue 'Task exited with return code Negsignal.SIGABRT' appears with Container-Optimized OS (on K8s cluster) as well. The case is for long-running sensor tasks. Do you have any solution for that?


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil closed issue #12808: Task exited with return code Negsignal.SIGABRT

Posted by GitBox <gi...@apache.org>.
kaxil closed issue #12808:
URL: https://github.com/apache/airflow/issues/12808


   


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



[GitHub] [airflow] kaxil commented on issue #12808: Task exited with return code Negsignal.SIGABRT

Posted by GitBox <gi...@apache.org>.
kaxil commented on issue #12808:
URL: https://github.com/apache/airflow/issues/12808#issuecomment-738854764


   This is because of the new update in MacOS.
   
   Check https://airflow.apache.org/blog/airflow-1.10.10/#running-airflow-on-macos
   
   Add the following to your `.bashrc` / `.zshrc`
   
   ```
   export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
   ```


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



[GitHub] [airflow] kirillz1 edited a comment on issue #12808: Task exited with return code Negsignal.SIGABRT

Posted by GitBox <gi...@apache.org>.
kirillz1 edited a comment on issue #12808:
URL: https://github.com/apache/airflow/issues/12808#issuecomment-933278894


   @kaxil Hi, the issue 'Task exited with return code Negsignal.SIGABRT' appears with Airflow 1.10.15 running on Container-Optimized OS (on K8s cluster) as well. The case is for long-running sensor tasks. Do you have any solution for that?


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org