amoghrajesh commented on PR #53332:
URL: https://github.com/apache/airflow/pull/53332#issuecomment-3112426362

   This is how a sample run would look like:
   ```
   (airflow) ➜  airflow git:(docker-compose-task-sdk-integration) ✗ breeze 
testing task-sdk-integration-tests
   Good version of Docker: 28.2.2.
   Good version of docker-compose: 2.36.2
   Executable permissions on entrypoints are OK
   Running task SDK integration tests with PROD image: 
ghcr.io/apache/airflow/main/prod/python3.10
   Using Task SDK version: 1.1.0
   warning: The package `pandas==2.1.4` does not have an extra named `postgres`
         Built apache-airflow-task-sdk @ 
file:///Users/amoghdesai/Documents/OSS/repos/airflow/task-sdk
         Built apache-airflow-task-sdk-tests @ 
file:///Users/amoghdesai/Documents/OSS/repos/airflow/task-sdk-tests
         Built apache-airflow-core @ 
file:///Users/amoghdesai/Documents/OSS/repos/airflow/airflow-core
         Built apache-airflow-devel-common @ 
file:///Users/amoghdesai/Documents/OSS/repos/airflow/devel-common
         Built apache-airflow-providers-common-sql @ 
file:///Users/amoghdesai/Documents/OSS/repos/airflow/providers/common/sql
         Built apache-airflow-providers-standard @ 
file:///Users/amoghdesai/Documents/OSS/repos/airflow/providers/standard
         Built apache-airflow @ 
file:///Users/amoghdesai/Documents/OSS/repos/airflow
   Uninstalled 8 packages in 101ms
   Installed 8 packages in 34ms
   Installing apache-airflow-task-sdk==1.1.0 via pytest_sessionstart...
   Installing from: /Users/amoghdesai/Documents/OSS/repos/airflow/task-sdk
   Installing to current UV environment...
   Current Python: 
/Users/amoghdesai/Documents/OSS/repos/airflow/.venv/bin/python3
   Running command: uv pip install 
/Users/amoghdesai/Documents/OSS/repos/airflow/task-sdk
   Using Python 3.12.9 environment at: 
/Users/amoghdesai/Documents/OSS/repos/airflow/.venv
   Resolved 120 packages in 278ms
         Built apache-airflow-task-sdk @ 
file:///Users/amoghdesai/Documents/OSS/repos/airflow/task-sdk
   Prepared 1 package in 231ms
   Uninstalled 1 package in 2ms
   Installed 1 package in 4ms
    ~ apache-airflow-task-sdk==1.1.0 (from 
file:///Users/amoghdesai/Documents/OSS/repos/airflow/task-sdk)
   Task SDK installed successfully to UV environment via pytest_sessionstart!
   Verifying task Task installation via pytest_sessionstart...
   ✅ Task SDK import successful via pytest_sessionstart
   ========================================================================== 
test session starts 
==========================================================================
   platform darwin -- Python 3.12.9, pytest-8.4.1, pluggy-1.6.0 -- 
/Users/amoghdesai/Documents/OSS/repos/airflow/.venv/bin/python3
   cachedir: .pytest_cache
   rootdir: /Users/amoghdesai/Documents/OSS/repos/airflow/task-sdk-tests
   configfile: pyproject.toml
   plugins: unordered-0.7.0, instafail-0.5.0, anyio-4.9.0, timeouts-1.2.1, 
xdist-3.8.0, time-machine-2.16.0, custom-exit-code-0.3.0, icdiff-0.9, 
rerunfailures-15.1, cov-6.2.1, kgb-7.2, mock-3.14.1, asyncio-0.25.0, 
requests-mock-1.12.1
   asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
   setup timeout: 0.0s, execution timeout: 0.0s, teardown timeout: 0.0s
   collected 1 item                                                             
                                                                                
           
   
   tests/task_sdk_tests/test_task_sdk_health.py::test_task_sdk_health Tests are 
run in 
/private/var/folders/ww/wv3dswrd0hj2jymcq20l70nc0000gn/T/pytest-of-amoghdesai/pytest-134/airflow-task-sdk-test0
   WARN[0000] The "AIRFLOW_UID" variable is not set. Defaulting to a blank 
string. 
   WARN[0000] The "AIRFLOW_UID" variable is not set. Defaulting to a blank 
string. 
   [+] Running 4/5
   [+] Running 4/5low-task-sdk-test0_default                Created             
                                                                                
       0.1s 
   [+] Running 4/5low-task-sdk-test0_default                Created             
                                                                                
       0.1s 
   [+] Running 5/5low-task-sdk-test0_default                Created             
                                                                                
       0.1s 
    ✔ Network airflow-task-sdk-test0_default                Created             
                                                                                
       0.1s 
    ✔ Container airflow-task-sdk-test0-postgres-1           Healthy             
                                                                                
      29.1s 
    ✔ Container airflow-task-sdk-test0-airflow-init-1       Exited              
                                                                                
      29.1s 
    ✔ Container airflow-task-sdk-test0-airflow-apiserver-1  Healthy             
                                                                                
      44.0s 
    ✔ Container airflow-task-sdk-test0-airflow-scheduler-1  Healthy             
                                                                                
      60.5s 
   Docker compose started for task SDK test
   
   ✅ Task SDK client imported successfully!
   Making health check request...
   [2025-07-24T13:17:48.861+0530] {_client.py:1026} INFO - HTTP Request: GET 
http://localhost:8080/execution/health/ping "HTTP/1.1 200 OK"
   ======================== Health Check Response =========================
   Status Code: 200
   Response: {'ok': ['airflow.api_fastapi.auth.tokens.JWTValidator'], 
'failing': {}}
   ========================================================================
   Docker compose instance deleted
   PASSED
   
   ===================================================================== 1 
passed in 66.43s (0:01:06) 
======================================================================
   ```


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