Closed pierrejeambrun closed 1 year ago
how should I report?
@pierrejeambrun what is the best way to test this?
@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)
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!
https://github.com/apache/airflow/pull/29756 looks good on the RC build. Performed small multiple tests, one snippet attached to this comment. @pierrejeambrun
To be continued (have to hurry now)
Both standard config and standalone password file have user-only permissions:
^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
> airflow config get-value celery broker_url
redis://redis:6379/0
rather than exit 1 and:
> airflow config get-value celery broker_url
The section [celery] is not found in config.
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 :)
I've tested #29076, #29212, #29451, #29606, #29821 and they all look good.
I've checked #29054. It works fine.
Tested #29791 in the 2.5.2rc1
docker tag and it looks good 🙂
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"
}
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
Tested #29454 in 2.5.2rc2
, looks good.
Tested #29056 (minor fix for handling error on cluster policy itself) and looks good.
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?
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:
:tada: Thanks for organizing @pierrejeambrun!
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.
pytest
(#28204): @potiuk @Taragolis Linked issues:pytest
(#28177)pytest
(#28177)" (#28196)airflow connections add
(#28922): @Taragolispytest
(#29086): @auvipynote
in payload (#28825)prev_logical_date
variable offset-aware (#29454): @akravaimportlib-metadata
backport to< 5.0.0
(#29924, #30069) @potiukThanks 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