-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
breeze test parallel #23715
breeze test parallel #23715
Conversation
a4ad59b
to
694e380
Compare
9be5fe1
to
b5fe319
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
I think it needs quite a bit more changes :). More details in #23538 (comment) |
fdb2de5
to
537c58c
Compare
da3abda
to
c489755
Compare
e67d8af
to
1436ce7
Compare
@@ -313,6 +369,30 @@ def tests( | |||
verbose=verbose, | |||
dry_run=dry_run, | |||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@potiuk I have rebased the changes in main
and currently, I have changes to run the test in parallel and the changes you have added include showing the limited progress.
I need to add the option to show the limited progress in parallel tests alone or both parallel and usual test flow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the "limited" output should be always enabled when parallell is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just opened a PR to remove the option in Helm tests here: #26144
1436ce7
to
22c71e5
Compare
@Bowrna there are conflicts to resolve |
image_tag: Optional[str], | ||
mount_sources: str, | ||
skip_cleanup: bool, | ||
include_success_outputs: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove limit_progress_output
parameter altogether (from both helm_tests and testing). Once we get parallel running, the limit_progess_output should be always enabled when run in parallel and disabled when not, so we do not need another flag there.
013e9d1
to
b20fc44
Compare
Hey @Bowrna - see https://github.com/apache/airflow/actions/runs/2983790915 : When you have a bug in the workflow - you will see exclamation mark and detailed explanation :
|
fe96f3c
to
bc42ae8
Compare
06ec88e
to
b4e088a
Compare
@potiuk I am facing issues in CI workflow in breeze parallel tests But I am not sure why it's failing and can't figure out much from the error logs. Can you help me how I could understand this part better? I tried running it on my machine and it failed in different steps with error below
|
b4e088a
to
3780dc8
Compare
@potiuk when you get time, please give some directions in resolving this issue. Thanks |
The thing here is that you should override (like it is in the original code) the port number for each "tests" command. Each of the tests run a command which is run here needs a different port number when run in paralllel and in the original code I am dynamically generating the port number so that they are different. This is a bit "arcane" so if you feel like this might be too difficult, I can take over that one? |
Yes @potiuk I think you can take over that part and I will watch how you are doing the dynamic allocation of port number. So that I can take over something like that next time and do it |
3780dc8
to
48932ad
Compare
This reverts commit 516c17cf252b332be6d2d886d38c6a289cb9bbf1.
48932ad
to
9c3c1a9
Compare
I think #26612 will likely get it obsolete :). |
@potiuk Oh, I see! I didn't notice the changes you are making in that PR. Let me check it now. |
@Bowrna do we still need this PR? |
Ah no. It's implemented already :) |
relates to: #23538
closes: #23538
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragement file, named
{pr_number}.significant.rst
, in newsfragments.