[ 
https://issues.apache.org/jira/browse/SPARK-57145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruifeng Zheng updated SPARK-57145:
----------------------------------
    Description: 
The {{onQueryTerminated}} callback fires asynchronously after {{{}q.stop(){}}}, 
so the {{listener_terminated_events}} table is sometimes not yet written when 
the test first reads it. This makes the test flaky; it has failed on the 
{{Build / Python-only (master, Python 3.12, MacOS26)}} scheduled workflow on:
 * 2026-05-23 — 
[https://github.com/apache/spark/actions/runs/26346300968/job/77556662680]
 * 2026-05-25 — 
[https://github.com/apache/spark/actions/runs/26423905857/job/77783724134]

Both failed with the same exception at the same line.

> Fix flaky test_listener_events_spark_command on macos
> -----------------------------------------------------
>
>                 Key: SPARK-57145
>                 URL: https://issues.apache.org/jira/browse/SPARK-57145
>             Project: Spark
>          Issue Type: Test
>          Components: PySpark
>    Affects Versions: 4.3.0
>            Reporter: Ruifeng Zheng
>            Priority: Major
>
> The {{onQueryTerminated}} callback fires asynchronously after 
> {{{}q.stop(){}}}, so the {{listener_terminated_events}} table is sometimes 
> not yet written when the test first reads it. This makes the test flaky; it 
> has failed on the {{Build / Python-only (master, Python 3.12, MacOS26)}} 
> scheduled workflow on:
>  * 2026-05-23 — 
> [https://github.com/apache/spark/actions/runs/26346300968/job/77556662680]
>  * 2026-05-25 — 
> [https://github.com/apache/spark/actions/runs/26423905857/job/77783724134]
> Both failed with the same exception at the same line.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to