Skip to content
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

[SPARK-48163][CONNECT][TESTS] Disable SparkConnectServiceSuite.SPARK-43923: commands send events - get_resources_command #46425

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented May 7, 2024

What changes were proposed in this pull request?

This PR aims to disable a flaky test, SparkConnectServiceSuite.SPARK-43923: commands send events - get_resources_command, temporarily.

To re-enable this, SPARK-48164 is created as a blocker issue for 4.0.0.

Why are the changes needed?

This test case was added at Apache Spark 3.5.0, but it has been flaky and causes many re-tries in our GitHub Action CI environment.

[info] - SPARK-43923: commands send events ((get_resources_command {
[info] }
[info] ,None)) *** FAILED *** (35 milliseconds)
[info]   VerifyEvents.this.listener.executeHolder.isDefined was false (SparkConnectServiceSuite.scala:873)

This PR aims to stabilize CI first and to focus this flaky issue as a blocker level before going on Spark Connect GA in SPARK-48164 before Apache Spark 4.0.0.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

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

No.

…-43923: commands send events - get_resources_command`
@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon . I believe this will give a proper and better visibility to this test case issue before Connect GA.

@dongjoon-hyun
Copy link
Member Author

Thank you, @yaooqinn .

@dongjoon-hyun
Copy link
Member Author

Merged to master for Apache Spark 4.0.0-preview.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-48163 branch May 7, 2024 04:40
dongjoon-hyun added a commit that referenced this pull request May 7, 2024
### What changes were proposed in this pull request?

This PR aims to merge connect back to the original test pipeline to reduce the maximum concurrency of GitHub Action by one.
- https://infra.apache.org/github-actions-policy.html
  > All workflows SHOULD have a job concurrency level less than or equal to 15.

### Why are the changes needed?

This is a partial recover from the following.
- #45107

We stabilized the root cause of #45107 via the following PRs. In addition we will disable a flaky test case if exists.

- #46395
- #46396
- #46425

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

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

No.

Closes #46441 from dongjoon-hyun/SPARK-48174.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
@yaooqinn
Copy link
Member

yaooqinn commented May 8, 2024

It looks like the failure just downshifted to the next one

[info] - SPARK-43923: commands send events ((extension {
[info]   type_url: "type.googleapis.com/spark.connect.ExamplePluginCommand"
[info]   value: "\n\vSPARK-43923"
[info] }
[info] ,None)) *** FAILED *** (23 milliseconds)
[info]   VerifyEvents.this.listener.executeHolder.isDefined was false (SparkConnectServiceSuite.scala:876)

@HyukjinKwon
Copy link
Member

😢

@HyukjinKwon
Copy link
Member

Let me just revert it out for now .....

@dongjoon-hyun
Copy link
Member Author

Thank you for reporting and reverting, @yaooqinn and @HyukjinKwon .

Ya, I agree. It's not a single command event issue. It seems that the whole gridTest is flaky or SparkConnectServiceSuite is flaky by itself.

@dongjoon-hyun
Copy link
Member Author

I'll re-try later~

JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
…-43923: commands send events - get_resources_command`

### What changes were proposed in this pull request?

This PR aims to disable a flaky test, `SparkConnectServiceSuite.SPARK-43923: commands send events - get_resources_command`, temporarily.

To re-enable this, SPARK-48164 is created as a blocker issue for 4.0.0.

### Why are the changes needed?

This test case was added at `Apache Spark 3.5.0`, but it has been flaky and causes many re-tries in our GitHub Action CI environment.

- apache#42454

- https://github.com/apache/spark/actions/runs/8979348499/job/24661200052
```
[info] - SPARK-43923: commands send events ((get_resources_command {
[info] }
[info] ,None)) *** FAILED *** (35 milliseconds)
[info]   VerifyEvents.this.listener.executeHolder.isDefined was false (SparkConnectServiceSuite.scala:873)
```

This PR aims to stabilize CI first and to focus this flaky issue as a blocker level before going on `Spark Connect GA` in SPARK-48164 before Apache Spark 4.0.0.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

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

No.

Closes apache#46425 from dongjoon-hyun/SPARK-48163.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
### What changes were proposed in this pull request?

This PR aims to merge connect back to the original test pipeline to reduce the maximum concurrency of GitHub Action by one.
- https://infra.apache.org/github-actions-policy.html
  > All workflows SHOULD have a job concurrency level less than or equal to 15.

### Why are the changes needed?

This is a partial recover from the following.
- apache#45107

We stabilized the root cause of apache#45107 via the following PRs. In addition we will disable a flaky test case if exists.

- apache#46395
- apache#46396
- apache#46425

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

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

No.

Closes apache#46441 from dongjoon-hyun/SPARK-48174.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants