ashb commented on pull request #19597:
URL: https://github.com/apache/airflow/pull/19597#issuecomment-972705373


   I don't get what is going on here.
   
   From 
https://github.com/apache/airflow/runs/4244820374?check_suite_focus=true#step:7:736
   
   ```
     Step 1/3 : FROM 
ghcr.io/apache/airflow/main/prod/python3.6:ed09464667f7d83e25b4eb377839b873dbc5e925
      ---> e8c11daeadcc
     Step 2/3 : COPY airflow/example_dags/ ${AIRFLOW_HOME}/dags/
      ---> e56206018bef
     Step 3/3 : COPY airflow/kubernetes_executor_templates/ 
${AIRFLOW_HOME}/pod_templates/
      ---> 7a7d6fd42db9
     Successfully built 7a7d6fd42db9
     Successfully tagged ghcr.io/apache/airflow/main/kubernetes/python3.6:latest
     The 
ghcr.io/apache/airflow/main/kubernetes/python3.6:ed09464667f7d83e25b4eb377839b873dbc5e925
 is prepared for test kubernetes deployment.
   ```
   
   ```
   Status: Downloaded newer image for 
ghcr.io/apache/airflow/main/prod/python3.6:ed09464667f7d83e25b4eb377839b873dbc5e925
   
ghcr.io/apache/airflow/main/prod/python3.6:ed09464667f7d83e25b4eb377839b873dbc5e925
   
   
~/code/airflow/airflow/kind-logs/kind_logs_2021-11-17_1473732053_tests-kubernetes
 fix-db-check-migrations-command* 56s
   ❯ docker run --rm -ti --entrypoint bash 
ghcr.io/apache/airflow/main/prod/python3.6:ed09464667f7d83e25b4eb377839b873dbc5e925
                                                                                
                                                                                
                    [9:47] ✓ !10025
   airflow@079a051c717c:/opt/airflow$ airflow db check-migrations
   [2021-11-18 09:49:11,504] {migration.py:201} INFO - Context impl SQLiteImpl.
   [2021-11-18 09:49:11,504] {migration.py:208} INFO - Will assume 
non-transactional DDL.
   [2021-11-18 09:49:12,860] {providers_manager.py:280} WARNING - The package 
apache-airflow-providers-celery is not compatible with this version of Airflow. 
The package has version 2.1.0.dev0 but the minimum supported version of the 
package is 2.1.0
   [2021-11-18 09:49:14,304] {providers_manager.py:148} WARNING - Exception 
when importing 'airflow.providers.google.leveldb.hooks.leveldb.LevelDBHook' 
from 'apache-airflow-providers-google' package: No module named 'plyvel'
   [2021-11-18 09:49:15,167] {providers_manager.py:280} WARNING - The package 
apache-airflow-providers-celery is not compatible with this version of Airflow. 
The package has version 2.1.0.dev0 but the minimum supported version of the 
package is 2.1.0
   [2021-11-18 09:49:15,169] {providers_manager.py:148} WARNING - Exception 
when importing 'airflow.providers.google.leveldb.hooks.leveldb.LevelDBHook' 
from 'apache-airflow-providers-google' package: No module named 'plyvel'
   Traceback (most recent call last):
     File "/home/airflow/.local/bin/airflow", line 8, in <module>
       sys.exit(main())
     File 
"/home/airflow/.local/lib/python3.6/site-packages/airflow/__main__.py", line 
48, in main
       args.func(args)
     File 
"/home/airflow/.local/lib/python3.6/site-packages/airflow/cli/cli_parser.py", 
line 48, in command
       return func(*args, **kwargs)
     File 
"/home/airflow/.local/lib/python3.6/site-packages/airflow/cli/commands/db_command.py",
 line 54, in check_migrations
       db.check_migrations(timeout=args.migration_wait_timeout)
     File 
"/home/airflow/.local/lib/python3.6/site-packages/airflow/utils/db.py", line 
649, in check_migrations
       f"There are still unapplied migrations after {ticker} seconds. Migration"
   TimeoutError: There are still unapplied migrations after 0 seconds. 
MigrationHead(s) in DB: set() | Migration Head(s) in Source Code: 
{'7b2661a43ba3'}
   ```
   
   So using the base image that was built from, I don't see the error that 
_then_ appeared in the logs.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to