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 2022/04/04 20:35:57 UTC

[GitHub] [airflow] MatrixManAtYrService commented on issue #15952: DockerOperator tries to push bytes to XCom, fails to serialize

MatrixManAtYrService commented on issue #15952:
URL: https://github.com/apache/airflow/issues/15952#issuecomment-1087989165

   @eladkal It appears to have been fixed:
   
   ```
   ❯ pip freeze | grep apache-airflow
   
       apache-airflow==2.2.5
       apache-airflow-providers-docker==2.5.2
       apache-airflow-providers-ftp==2.1.2
       apache-airflow-providers-http==2.1.2
       apache-airflow-providers-imap==2.2.3
       apache-airflow-providers-sqlite==2.1.3
   
   ❯ airflow dags test hello_docker $(date +%Y-%m-%dT%H:%M:%SZ)
   
       ...
       [2022-04-04 14:32:04,064] {taskinstance.py:1446} INFO - Exporting the following env vars:
       AIRFLOW_CTX_DAG_OWNER=airflow
       AIRFLOW_CTX_DAG_ID=hello_docker
       AIRFLOW_CTX_TASK_ID=say_hi
       AIRFLOW_CTX_EXECUTION_DATE=2022-04-04T14:31:58+00:00
       AIRFLOW_CTX_DAG_RUN_ID=backfill__2022-04-04T14:31:58+00:00
       [2022-04-04 14:32:07,987] {taskinstance.py:1278} INFO - Marking task as SUCCESS. dag_id=hello_docker, task_id=say_hi, execution_date=20220404T143158, start_date=20220404T203159, end_date=20220404T203207
       [2022-04-04 14:32:08,003] {dagrun.py:545} INFO - Marking run <DagRun hello_docker @ 2022-04-04T14:31:58+00:00: backfill__2022-04-04T14:31:58+00:00, externally triggered: False> successful
       [2022-04-04 14:32:08,003] {dagrun.py:590} INFO - DagRun Finished: dag_id=hello_docker, execution_date=2022-04-04T14:31:58+00:00, run_id=backfill__2022-04-04T14:31:58+00:00, run_start_date=2022-04-04 20:31:59.034772+00:00, run_end_date=2022-04-04 20:32:08.003461+00:00, run_duration=8.968689, state=success, external_trigger=False, run_type=backfill, data_interval_start=2022-04-04T14:31:58+00:00, data_interval_end=2022-04-04T14:31:58+00:00, dag_hash=None
       [2022-04-04 14:32:08,003] {backfill_job.py:386} INFO - [backfill progress] | finished run 1 of 1 | tasks waiting: 0 | succeeded: 1 | running: 0 | failed: 0 | skipped: 0 | deadlocked: 0 | not ready: 0
       [2022-04-04 14:32:08,006] {backfill_job.py:851} INFO - Backfill done. Exiting.
   
   ❯ sqlite3 airflow.db 'select value from xcom;'
   
       "Hello World"
   ```


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