Skip to content

Instantly share code, notes, and snippets.

@ryanditjia
Last active September 10, 2020 11:15
Show Gist options
  • Select an option

  • Save ryanditjia/d0fd1ba5294b1c7af0912a431687d26a to your computer and use it in GitHub Desktop.

Select an option

Save ryanditjia/d0fd1ba5294b1c7af0912a431687d26a to your computer and use it in GitHub Desktop.
Error Airflow
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
INFO:__main__:Initializing service
INFO:__main__:Starting call to '__main__.init', this is the 1st time calling it.
INFO:__main__:Service finished initializing
DB: postgresql+psycopg2://postgres:***@db_airflow:5432/fairphonic_airflow
[2020-09-10 10:19:47,944] {db.py:378} INFO - Creating tables
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> e3a246e0dc1, current schema
INFO [alembic.runtime.migration] Running upgrade e3a246e0dc1 -> 1507a7289a2f, create is_encrypted
INFO [alembic.runtime.migration] Running upgrade 1507a7289a2f -> 13eb55f81627, maintain history for compatibility with earlier migrations
INFO [alembic.runtime.migration] Running upgrade 13eb55f81627 -> 338e90f54d61, More logging into task_instance
INFO [alembic.runtime.migration] Running upgrade 338e90f54d61 -> 52d714495f0, job_id indices
INFO [alembic.runtime.migration] Running upgrade 52d714495f0 -> 502898887f84, Adding extra to Log
INFO [alembic.runtime.migration] Running upgrade 502898887f84 -> 1b38cef5b76e, add dagrun
INFO [alembic.runtime.migration] Running upgrade 1b38cef5b76e -> 2e541a1dcfed, task_duration
INFO [alembic.runtime.migration] Running upgrade 2e541a1dcfed -> 40e67319e3a9, dagrun_config
INFO [alembic.runtime.migration] Running upgrade 40e67319e3a9 -> 561833c1c74b, add password column to user
INFO [alembic.runtime.migration] Running upgrade 561833c1c74b -> 4446e08588, dagrun start end
INFO [alembic.runtime.migration] Running upgrade 4446e08588 -> bbc73705a13e, Add notification_sent column to sla_miss
INFO [alembic.runtime.migration] Running upgrade bbc73705a13e -> bba5a7cfc896, Add a column to track the encryption state of the 'Extra' field in connection
INFO [alembic.runtime.migration] Running upgrade bba5a7cfc896 -> 1968acfc09e3, add is_encrypted column to variable table
INFO [alembic.runtime.migration] Running upgrade 1968acfc09e3 -> 2e82aab8ef20, rename user table
INFO [alembic.runtime.migration] Running upgrade 2e82aab8ef20 -> 211e584da130, add TI state index
INFO [alembic.runtime.migration] Running upgrade 211e584da130 -> 64de9cddf6c9, add task fails journal table
INFO [alembic.runtime.migration] Running upgrade 64de9cddf6c9 -> f2ca10b85618, add dag_stats table
INFO [alembic.runtime.migration] Running upgrade f2ca10b85618 -> 4addfa1236f1, Add fractional seconds to mysql tables
INFO [alembic.runtime.migration] Running upgrade 4addfa1236f1 -> 8504051e801b, xcom dag task indices
INFO [alembic.runtime.migration] Running upgrade 8504051e801b -> 5e7d17757c7a, add pid field to TaskInstance
INFO [alembic.runtime.migration] Running upgrade 5e7d17757c7a -> 127d2bf2dfa7, Add dag_id/state index on dag_run table
INFO [alembic.runtime.migration] Running upgrade 127d2bf2dfa7 -> cc1e65623dc7, add max tries column to task instance
2020-09-10 10:19:50.236929: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:19:50.236992: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
[]
0
INFO [alembic.runtime.migration] Running upgrade cc1e65623dc7 -> bdaa763e6c56, Make xcom value column a large binary
INFO [alembic.runtime.migration] Running upgrade bdaa763e6c56 -> 947454bf1dff, add ti job_id index
INFO [alembic.runtime.migration] Running upgrade 947454bf1dff -> d2ae31099d61, Increase text size for MySQL (not relevant for other DBs' text types)
INFO [alembic.runtime.migration] Running upgrade d2ae31099d61 -> 0e2a74e0fc9f, Add time zone awareness
INFO [alembic.runtime.migration] Running upgrade d2ae31099d61 -> 33ae817a1ff4, kubernetes_resource_checkpointing
INFO [alembic.runtime.migration] Running upgrade 33ae817a1ff4 -> 27c6a30d7c24, kubernetes_resource_checkpointing
INFO [alembic.runtime.migration] Running upgrade 27c6a30d7c24 -> 86770d1215c0, add kubernetes scheduler uniqueness
INFO [alembic.runtime.migration] Running upgrade 86770d1215c0, 0e2a74e0fc9f -> 05f30312d566, merge heads
INFO [alembic.runtime.migration] Running upgrade 05f30312d566 -> f23433877c24, fix mysql not null constraint
INFO [alembic.runtime.migration] Running upgrade f23433877c24 -> 856955da8476, fix sqlite foreign key
INFO [alembic.runtime.migration] Running upgrade 856955da8476 -> 9635ae0956e7, index-faskfail
INFO [alembic.runtime.migration] Running upgrade 9635ae0956e7 -> dd25f486b8ea, add idx_log_dag
INFO [alembic.runtime.migration] Running upgrade dd25f486b8ea -> bf00311e1990, add index to taskinstance
INFO [alembic.runtime.migration] Running upgrade 9635ae0956e7 -> 0a2a5b66e19d, add task_reschedule table
INFO [alembic.runtime.migration] Running upgrade 0a2a5b66e19d, bf00311e1990 -> 03bc53e68815, merge_heads_2
INFO [alembic.runtime.migration] Running upgrade 03bc53e68815 -> 41f5f12752f8, add superuser field
INFO [alembic.runtime.migration] Running upgrade 41f5f12752f8 -> c8ffec048a3b, add fields to dag
INFO [alembic.runtime.migration] Running upgrade c8ffec048a3b -> dd4ecb8fbee3, Add schedule interval to dag
INFO [alembic.runtime.migration] Running upgrade dd4ecb8fbee3 -> 939bb1e647c8, task reschedule fk on cascade delete
INFO [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 6e96a59344a4, Make TaskInstance.pool not nullable
INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> d38e04c12aa2, add serialized_dag table
Revision ID: d38e04c12aa2
Revises: 6e96a59344a4
Create Date: 2019-08-01 14:39:35.616417
INFO [alembic.runtime.migration] Running upgrade d38e04c12aa2 -> b3b105409875, add root_dag_id to DAG
INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> 74effc47d867, change datetime to datetime2(6) on MSSQL tables
INFO [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 004c1210f153, increase queue name size limit
INFO [alembic.runtime.migration] Running upgrade c8ffec048a3b -> a56c9515abdc, Remove dag_stat table
INFO [alembic.runtime.migration] Running upgrade a56c9515abdc, 004c1210f153, 74effc47d867, b3b105409875 -> 08364691d074, Merge the four heads back together
INFO [alembic.runtime.migration] Running upgrade 08364691d074 -> fe461863935f, increase_length_for_connection_password
INFO [alembic.runtime.migration] Running upgrade fe461863935f -> 7939bcff74ba, Add DagTags table
INFO [alembic.runtime.migration] Running upgrade 7939bcff74ba -> a4c2fd67d16b, add pool_slots field to task_instance
INFO [alembic.runtime.migration] Running upgrade a4c2fd67d16b -> 852ae6c715af, Add RenderedTaskInstanceFields table
INFO [alembic.runtime.migration] Running upgrade 852ae6c715af -> 952da73b5eff, add dag_code table
INFO [alembic.runtime.migration] Running upgrade 952da73b5eff -> a66efa278eea, Add Precision to execution_date in RenderedTaskInstanceFields table
INFO [alembic.runtime.migration] Running upgrade a66efa278eea -> da3f683c3a5a, Add dag_hash Column to serialized_dag table
[]
0
Done.
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
[2020-09-10 10:20:00,928] {__init__.py:50} INFO - Using executor CeleryExecutor
[2020-09-10 10:20:00,935] {scheduler_job.py:1367} INFO - Starting the scheduler
[2020-09-10 10:20:00,935] {scheduler_job.py:1375} INFO - Running execute loop for -1 seconds
[2020-09-10 10:20:00,935] {scheduler_job.py:1376} INFO - Processing each file at most -1 times
[2020-09-10 10:20:00,935] {scheduler_job.py:1379} INFO - Searching for files in /app/airflow/dags
[2020-09-10 10:20:00,956] {scheduler_job.py:1381} INFO - There are 1 files in /app/airflow/dags
[2020-09-10 10:20:00,956] {scheduler_job.py:1438} INFO - Resetting orphaned tasks for active dag runs
[2020-09-10 10:20:00,974] {dag_processing.py:562} INFO - Launched DagFileProcessorManager with pid: 30
[2020-09-10 10:20:00,980] {settings.py:55} INFO - Configured default timezone <Timezone [UTC]>
[2020-09-10 10:20:01,014] {__init__.py:50} INFO - Using executor CeleryExecutor
[2020-09-10 10:20:01,014] {dagbag.py:417} INFO - Filling up the DagBag from /app/airflow/dags
2020-09-10 10:20:02.247226: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:02.247226: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:02.247348: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-09-10 10:20:02.247348: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
[]
0
Running the Gunicorn Server with:
Workers: 4 sync
Host: 0.0.0.0:8080

Timeout: 120
Logfiles: - -
=================================================================
[2020-09-10 10:20:07 +0000] [34] [INFO] Starting gunicorn 20.0.4
[2020-09-10 10:20:07 +0000] [34] [INFO] Listening at: http://0.0.0.0:8080 (34)
[2020-09-10 10:20:07 +0000] [34] [INFO] Using worker: sync
[2020-09-10 10:20:07 +0000] [37] [INFO] Booting worker with pid: 37
[2020-09-10 10:20:07 +0000] [38] [INFO] Booting worker with pid: 38
[2020-09-10 10:20:07 +0000] [39] [INFO] Booting worker with pid: 39
[2020-09-10 10:20:07 +0000] [40] [INFO] Booting worker with pid: 40
2020-09-10 10:20:08.537216: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:08.583418: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[[[2020-09-10 10:20:09,031] {2020-09-10 10:20:09,0312020-09-10 10:20:09,031__init__.py:] {50} INFO] {__init__.py: - Using executor __init__.py:50} INFOCeleryExecutor50} INFO[ - Using executor - Using executor CeleryExecutor
CeleryExecutor
2020-09-10 10:20:09,031] {__init__.py:50} INFO[[[2020-09-10 10:20:09,0322020-09-10 10:20:09,032] {2020-09-10 10:20:09,032] {dagbag.py:] {dagbag.py:417} INFOdagbag.py:417} INFO - Filling up the DagBag from 417} INFO - Filling up the DagBag from /app/airflow/dags - Filling up the DagBag from /app/airflow/dags
/app/airflow/dags
- Using executor CeleryExecutor
[2020-09-10 10:20:09,033] {dagbag.py:417} INFO - Filling up the DagBag from /app/airflow/dags
2020-09-10 10:20:10.473699: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:10.473675: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:10.473684: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:10.474595: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-09-10 10:20:10.474611: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-09-10 10:20:10.473684: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:10.474856: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-09-10 10:20:10.475616: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
[]
0
[]
0
[]
0
[]
0
/usr/local/lib/python3.8/site-packages/airflow/www/gunicorn_config.py:27: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
settings.GUNICORN_WORKER_READY_PREFIX + setproctitle.getproctitle()
/usr/local/lib/python3.8/site-packages/airflow/www/gunicorn_config.py:27: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
settings.GUNICORN_WORKER_READY_PREFIX + setproctitle.getproctitle()
[2020-09-10 10:20:25 +0000] [38] [INFO] Parent changed, shutting down: <Worker 38>
[2020-09-10 10:20:25 +0000] [39] [INFO] Parent changed, shutting down: <Worker 39>
[2020-09-10 10:20:25 +0000] [38] [INFO] Worker exiting (pid: 38)
[2020-09-10 10:20:25 +0000] [39] [INFO] Worker exiting (pid: 39)
/usr/local/lib/python3.8/site-packages/airflow/www/gunicorn_config.py:27: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
settings.GUNICORN_WORKER_READY_PREFIX + setproctitle.getproctitle()
[2020-09-10 10:20:25 +0000] [40] [INFO] Parent changed, shutting down: <Worker 40>
[2020-09-10 10:20:25 +0000] [40] [INFO] Worker exiting (pid: 40)
/usr/local/lib/python3.8/site-packages/airflow/www/gunicorn_config.py:27: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
settings.GUNICORN_WORKER_READY_PREFIX + setproctitle.getproctitle()
[2020-09-10 10:20:26 +0000] [37] [INFO] Parent changed, shutting down: <Worker 37>
[2020-09-10 10:20:26 +0000] [37] [INFO] Worker exiting (pid: 37)
2020-09-10 10:20:30.562767: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:30.587652: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:20:36.231659: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:36.231737: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:20:40.840567: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:40.840634: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:20:44.836030: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:44.836193: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:20:48.806571: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:48.806647: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:20:52.789074: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:52.789142: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:20:56.963052: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:20:56.963118: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:21:00.986731: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:21:00.986820: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:21:04.993526: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:21:04.993596: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:21:08.884267: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:21:08.884333: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:21:13.026843: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:21:13.026920: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2020-09-10 10:21:17.040530: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-10 10:21:17.040608: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment