apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
36.45k stars 14.11k forks source link

Status of testing of Apache Airflow 2.5.2rc2 #30028

Closed pierrejeambrun closed 1 year ago

pierrejeambrun commented 1 year ago

We have a kind request for all the contributors to the latest Apache Airflow RC 2.5.2rc2.

Could you please help us to test the RC versions of Airflow?

Please let us know in the comment if the issue is addressed in the latest RC.

Thanks to all who contributed to the release (probably not a complete list!): @Gollum999 @snjypl @auvipy @amoghrajesh @antonio-antuan @bharat99k @vchiapaikeo @SamWheating @jose-workpath @tseruga @akrava @Josersanvil @Thomas-McKanna @ashb @SoxMax @bdsoha @vedantlodha @lewijw @hussein-awala @arjunanan6 @dependabot[bot] @yangguoaws @kaxil @Limess @surabathini @jedcunningham @dstandish @pshrivastava27 @ecerulm @ttben @casra-developers @josh-fell @duke8585 @ephraimbuddy @michaelmicheal @farhan0syakir @okayhooni @lorenzomagni @bbovenzi @kolfild26 @potiuk @aliotta @alejandrofm @cosinequanon @enriqueayala @uranusjr @vincbeck @Taragolis

Committer

auvipy commented 1 year ago

how should I report?

amoghrajesh commented 1 year ago

@pierrejeambrun what is the best way to test this?

pierrejeambrun commented 1 year ago

@auvipy you can directly report in this issue your findings. And if the change (PR) you tested is working as expected or not. (Or any other issue you noticed in the release candidate)

@amoghrajesh The easiest way is to install the release candidate in a fresh virtualenv, then run airflow in standalone mode and test changes there. (If you have a dev environment for airflow you can also upgrade there and see if everything is working as expected)

vchiapaikeo commented 1 year ago

https://github.com/apache/airflow/pull/29410 is still looking good.

We did see an unrelated issue from https://github.com/apache/airflow/pull/29821 but that seems to be a user error on our end that we need to correct. Thank you @hussein-awala for that fix!

image image
amoghrajesh commented 1 year ago

https://github.com/apache/airflow/pull/29756 looks good on the RC build. Performed small multiple tests, one snippet attached to this comment. @pierrejeambrun

https://user-images.githubusercontent.com/35884252/224530091-8ecfadd3-c5a1-4607-a208-13068e7f07f2.mov

potiuk commented 1 year ago

To be continued (have to hurry now)

potiuk commented 1 year ago
^Xroot@f8d4a86cf3ef:~/airflow# ls -la airflow.cfg
-rw------- 1 root root 51764 Mar 12 11:36 airflow.cfg
⌁ ⌂23.88 [jarek:~/airflow] [airflow-astroid] % ls -la standalone_admin_password.txt
-rw-------  1 jarek  staff  16 Mar 12 12:48 standalone_admin_password.txt
Screenshot 2023-03-12 at 12 58 17

rather than exit 1 and:

> airflow config get-value celery broker_url
The section [celery] is not found in config.
potiuk commented 1 year ago

All looks good for my fixes - except the two issues where it "looks" good but I cannot test it easily and I would love to get confirmation :)

hussein-awala commented 1 year ago

I've tested #29076, #29212, #29451, #29606, #29821 and they all look good.

BMFH commented 1 year ago

I've checked #29054. It works fine.

Josersanvil commented 1 year ago

Tested #29791 in the 2.5.2rc1 docker tag and it looks good 🙂

josh-fell commented 1 year ago

29399 and #29545 look good!

bbovenzi commented 1 year ago

29066, #29703, #29367, #29042, and #29600 look good

SamWheating commented 1 year ago

Tested https://github.com/apache/airflow/pull/29860 in breeze after pulling the 2.5.2rc1 tag, looks like it works as expected.

Tried to create a DAGRun from an inactive DAG, and got a 404 rather than a 500:


curl -X POST localhost:8080/api/v1/dags/data_warehouse_dag_o259owoo3s/dagRuns -d '{"dag_run_id":"string2","logical_date":"2019-08-24T14:15:24Z","execution_date":"2019-08-24T14:15:24Z","conf":{},"note":"strings"}'  -H 'Content-Type: application/json'

{
  "detail": "DAG with dag_id: 'data_warehouse_dag_o259owoo3s' not found",
  "status": 404,
  "title": "DAG not found", 
  "type": "https://airflow.apache.org/docs/apache-airflow/2.5.2/stable-rest-api-ref.html#section/Errors/NotFound"                       
}
pierrejeambrun commented 1 year ago

A bug was found in rc1 that necessitate an rc2 (constraints). I think we can safely assume that what was tested for rc1 is still working in rc2. Feel free to do more testing. The issue has been updated to target 2.5.2rc2

akrava commented 1 year ago

Tested #29454 in 2.5.2rc2, looks good.

okayhooni commented 1 year ago

Tested #29056 (minor fix for handling error on cluster policy itself) and looks good. image

But i think it's better to use repr(e) than str(e) for showing error class name on web UI message.

self.import_errors[dag.fileloc] = str(e) -> self.import_errors[dag.fileloc] = repr(e)

could I modify this line now?

pierrejeambrun commented 1 year ago

Thanks to everyone that helped testing 2.5.2rc1 and 2.5.2rc2. :pray:

Closing as 2.5.2 has been released based on 2.5.2rc2 :tada:

josh-fell commented 1 year ago

:tada: Thanks for organizing @pierrejeambrun!