Skip to content

Conversation

xupefei
Copy link
Contributor

@xupefei xupefei commented Nov 1, 2024

What changes were proposed in this pull request?

This PR disables a flaky test SparkSessionJobTaggingAndCancellationSuite.Cancellation APIs in SparkSession are isolated (failure example: https://github.com/apache/spark/actions/runs/10915451051/job/30295259985). The flakiness is caused by CI sometimes creating only 2 threads instead of the requested 3. We should refactor the test to use only 2 threads.

I created https://issues.apache.org/jira/browse/SPARK-50205 to fix and re-enable this test case.

Why are the changes needed?

To keep the CI green.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

N/A.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the SQL label Nov 1, 2024
@xupefei
Copy link
Contributor Author

xupefei commented Nov 1, 2024

@dongjoon-hyun Could you review this PR?

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, please attach the failure links into the PR description.

@xupefei xupefei changed the title [SPARK-50205][SQL] Disable flaky test Cancellation APIs in SparkSession are isolated [SPARK-50207][SQL] Disable flaky test Cancellation APIs in SparkSession are isolated Nov 1, 2024
@xupefei xupefei changed the title [SPARK-50207][SQL] Disable flaky test Cancellation APIs in SparkSession are isolated [SPARK-49696][SPARK-50207][SQL] Disable flaky test Cancellation APIs in SparkSession are isolated Nov 1, 2024
@xupefei xupefei requested a review from dongjoon-hyun November 1, 2024 15:40
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-49696][SPARK-50207][SQL] Disable flaky test Cancellation APIs in SparkSession are isolated [SPARK-49696][SQL][TESTS] Disable flaky test Cancellation APIs in SparkSession are isolated Nov 1, 2024
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM (Pending CIs). I revised the PR title properly, @xupefei .

Please re-triggered the failed test pipeline.

@dongjoon-hyun
Copy link
Member

Although we have still two failures, there are irrelevant to this test only PR . Let me merge this. Thank you, @xupefei .

[info] *** 2 TESTS FAILED ***
[error] Failed tests:
[error] 	org.apache.spark.sql.connect.service.SparkConnectSessionHolderSuite

@dongjoon-hyun
Copy link
Member

Merged to master. SPARK-49696 is assigned to you, @xupefei .

Screenshot 2024-11-02 at 15 55 20

@xupefei xupefei deleted the SPARK-50205 branch November 6, 2024 22:29
@xupefei
Copy link
Contributor Author

xupefei commented Nov 6, 2024

Merged to master. SPARK-49696 is assigned to you, @xupefei .

Screenshot 2024-11-02 at 15 55 20

Thank you. I'll work on that ticket.

@dongjoon-hyun
Copy link
Member

Oh, no~ The issue SPARK-49696 was assigned to you as a recognition of this PR. There is not thing for you to work with it further, @xupefei. :)

Thank you. I'll work on that ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants