You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "Ma77Ball (via GitHub)" <gi...@apache.org> on 2026/06/23 22:10:01 UTC

[PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Ma77Ball opened a new pull request, #5915:
URL: https://github.com/apache/texera/pull/5915

   ### What changes were proposed in this PR?
   - Switch the two CSV-sourced tests in `ReconfigurationIntegrationSpec` from `smallCsvScanOpDesc` (100 rows) to `mediumCsvScanOpDesc` (100k rows), so the workflow is still running when `pauseWorkflow` lands.
   - This removes a timing race: with a 100-row source the run could reach COMPLETED before pause took effect, so `PauseHandler.pauseWorkflow` emitted COMPLETED instead of PAUSED and `TestUtils.shouldReconfigure`s 10s `pausedReached` await timed out.
   - Aligns the integration spec with its non-flaky siblings `ReconfigurationSpec` and `PauseSpec`, which already use `mediumCsvScanOpDesc` for the same pause/reconfigure/resume flow.
   ### Any related issues, documentation, discussions?
   Closes: #5913
   ### How was this PR tested?
   - `sbt "WorkflowExecutionService/Test/compile"` compiles cleanly with the change.
   - Full run requires the `amber-integration` stack (Python UDF + Postgres/MinIO/Lakekeeper) that CI provisions; could not run locally. Reviewer: run the `amber-integration` job (or `sbt "WorkflowExecutionService/testOnly *ReconfigurationIntegrationSpec"` in that environment) and confirm all 3 tests pass across repeated runs.
   - Expect a `workflow paused` log line for every test run (the flaky run showed fewer pauses than test runs).
   ### Was this PR authored or co-authored using generative AI tooling?
   Co-authored with Claude Opus 4.8 in compliance with ASF


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on PR #5915:
URL: https://github.com/apache/texera/pull/5915#issuecomment-4827661001

   that's not a final fix right? if medium dataset is also processed fast enough, the same issue could happen?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #5915:
URL: https://github.com/apache/texera/pull/5915#discussion_r3488732844


##########
amber/src/test/integration/org/apache/texera/amber/engine/e2e/ReconfigurationIntegrationSpec.scala:
##########
@@ -166,8 +166,14 @@ class ReconfigurationIntegrationSpec
   ): Map[OperatorIdentity, List[Tuple]] =
     TestUtils.shouldReconfigure(system, ctx, operators, links, targetOps, newOpExecInitInfo)
 
+  private def boundedCsvSource() = {
+    val src = TestOperators.mediumCsvScanOpDesc()
+    src.limit = Some(10000)
+    src
+  }

Review Comment:
   `boundedCsvSource` calls `TestOperators.mediumCsvScanOpDesc()` but then sets `src.limit = Some(10000)`. This changes the effective input from the full medium CSV (used unbounded in `PauseSpec`/`ReconfigurationSpec`) down to 10k tuples (see `CSVScanSourceOpExec`, which does `tupleIterator.take(desc.limit.get)`), which conflicts with the PR/issue rationale of using the full medium source to ensure the workflow stays running long enough for `pauseWorkflow` to land. Consider removing the limit (or setting it to match the intended 100k) to avoid reintroducing the pause-vs-completion race on fast runs.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on PR #5915:
URL: https://github.com/apache/texera/pull/5915#issuecomment-4814301571

   /request-review @aglinxinyuan 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang merged PR #5915:
URL: https://github.com/apache/texera/pull/5915


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on PR #5915:
URL: https://github.com/apache/texera/pull/5915#issuecomment-4859898396

   It is definitely worth to keep. Reconfiguration and all interactive features are mainly used in Python UDFs. 
   
   Let's improve the test for long term stability.  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #5915:
URL: https://github.com/apache/texera/pull/5915#issuecomment-4783954115

   <!-- texera-benchmarks-comment -->
   ## ⚠️ Benchmark changes need a look
   
   🟢 2 better · 🔴 3 worse · ⚪ 10 noise (<±5%) · 0 without baseline
   
   > Compared against main `a0154d5` benchmarked on **this same runner**, so the delta is largely free of cross-runner hardware noise. The "7d avg" column still reflects the gh-pages dashboard. Treat <±5% as noise unless repeated.
   
   [Dashboard](https://apache.github.io/texera/dev/bench/) · [Run](https://github.com/apache/texera/actions/runs/28060511755)
   
   | | config | throughput | MB/s | latency | max Δ latest / 7d |
   |---|---|---:|---:|---:|---:|
   | 🔴 | bs=10 sw=10 sl=64 | 407 | 0.248 | 25,527/29,126/29,126 us | 🟢 -23.1% / 🟢 -16.7% |
   | 🔴 | bs=100 sw=10 sl=64 | 799 | 0.488 | 121,771/156,976/156,976 us | 🔴 +9.5% / 🔴 +12.3% |
   | ⚪ | bs=1000 sw=10 sl=64 | 942 | 0.575 | 1,053,106/1,119,112/1,119,112 us | ⚪ within ±5% / 🔴 -9.5% |
   
   <details><summary>Baseline details</summary>
   
   Latest main `a0154d5` from same runner
   
   | config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
   |---|---|---:|---:|---:|---:|---:|
   | bs=10 sw=10 sl=64 | throughput | 407 tuples/sec | 423 tuples/sec | 410.82 tuples/sec | -3.8% | -0.9% |
   | bs=10 sw=10 sl=64 | MB/s | 0.248 MB/s | 0.258 MB/s | 0.251 MB/s | -3.9% | -1.1% |
   | bs=10 sw=10 sl=64 | p50 | 25,527 us | 23,970 us | 23,785 us | +6.5% | +7.3% |
   | bs=10 sw=10 sl=64 | p95 | 29,126 us | 37,865 us | 34,980 us | -23.1% | -16.7% |
   | bs=10 sw=10 sl=64 | p99 | 29,126 us | 37,865 us | 34,980 us | -23.1% | -16.7% |
   | bs=100 sw=10 sl=64 | throughput | 799 tuples/sec | 825 tuples/sec | 891.94 tuples/sec | -3.2% | -10.4% |
   | bs=100 sw=10 sl=64 | MB/s | 0.488 MB/s | 0.504 MB/s | 0.544 MB/s | -3.2% | -10.4% |
   | bs=100 sw=10 sl=64 | p50 | 121,771 us | 118,410 us | 112,277 us | +2.8% | +8.5% |
   | bs=100 sw=10 sl=64 | p95 | 156,976 us | 143,326 us | 139,802 us | +9.5% | +12.3% |
   | bs=100 sw=10 sl=64 | p99 | 156,976 us | 143,326 us | 139,802 us | +9.5% | +12.3% |
   | bs=1000 sw=10 sl=64 | throughput | 942 tuples/sec | 952 tuples/sec | 1,041 tuples/sec | -1.1% | -9.5% |
   | bs=1000 sw=10 sl=64 | MB/s | 0.575 MB/s | 0.581 MB/s | 0.635 MB/s | -1.0% | -9.5% |
   | bs=1000 sw=10 sl=64 | p50 | 1,053,106 us | 1,051,481 us | 972,714 us | +0.2% | +8.3% |
   | bs=1000 sw=10 sl=64 | p95 | 1,119,112 us | 1,072,771 us | 1,023,057 us | +4.3% | +9.4% |
   | bs=1000 sw=10 sl=64 | p99 | 1,119,112 us | 1,072,771 us | 1,023,057 us | +4.3% | +9.4% |
   
   </details>
   
   <details><summary>Raw CSV</summary>
   
   ```csv
   config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
   0,10,10,64,20,491.66,200,128000,407,0.248,25527.12,29125.52,29125.52
   1,100,10,64,20,2503.64,2000,1280000,799,0.488,121770.96,156976.08,156976.08
   2,1000,10,64,20,21239.32,20000,12800000,942,0.575,1053105.60,1119112.39,1119112.39
   ```
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on PR #5915:
URL: https://github.com/apache/texera/pull/5915#issuecomment-4848592676

   maybe we need manually backport? I removed the v1.2 label


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #5915:
URL: https://github.com/apache/texera/pull/5915#issuecomment-4783922995

   <!-- texera-reviewer-suggestion -->
   ### Automated Reviewer Suggestions
   
   Based on the `git blame` history of the changed files, we recommend the following reviewers:
   
   - No candidates found from `git blame` history.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #5915:
URL: https://github.com/apache/texera/pull/5915#issuecomment-4783974592

   ### :x: 2 Tests Failed:
   | Tests completed | Failed | Passed | Skipped |
   |---|---|---|---|
   | 7 | 2 | 5 | 0 |
   <details><summary>View the top 2 failed test(s) by shortest run time</summary>
   
   > <pre><code class="language-python">org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec::Engine should be able to modify a python UDF worker in workflow</code></pre>
   > <details><summary>Stack Traces | 67.6s run time</summary>
   > 
   > > <pre><code class="language-python">com.twitter.util.TimeoutException: 5.seconds
   > > 	at com.twitter.util.Promise.ready(Promise.scala:680)
   > > 	at com.twitter.util.Promise.result(Promise.scala:689)
   > > 	at com.twitter.util.Await$.$anonfun$result$1(Awaitable.scala:155)
   > > 	at com.twitter.concurrent.LocalScheduler$Activation.blocking(Scheduler.scala:189)
   > > 	at com.twitter.concurrent.LocalScheduler.blocking(Scheduler.scala:256)
   > > 	at com.twitter.concurrent.Scheduler$.blocking(Scheduler.scala:85)
   > > 	at com.twitter.util.Await$.result(Awaitable.scala:155)
   > > 	at org.apache.texera.amber.engine.e2e.TestUtils$.shouldReconfigure(TestUtils.scala:314)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.shouldReconfigure(ReconfigurationIntegrationSpec.scala:167)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.$anonfun$new$1(ReconfigurationIntegrationSpec.scala:194)
   > > 	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
   > > 	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
   > > 	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
   > > 	at org.scalatest.Transformer.apply(Transformer.scala:22)
   > > 	at org.scalatest.Transformer.apply(Transformer.scala:20)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
   > > 	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
   > > 	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.super$withFixture(ReconfigurationIntegrationSpec.scala:78)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.$anonfun$withFixture$1(ReconfigurationIntegrationSpec.scala:78)
   > > 	at org.scalatest.Retries.withRetry(Retries.scala:345)
   > > 	at org.scalatest.Retries.withRetry$(Retries.scala:344)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.withRetry(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.Retries.withRetry(Retries.scala:205)
   > > 	at org.scalatest.Retries.withRetry$(Retries.scala:205)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.withRetry(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.withFixture(ReconfigurationIntegrationSpec.scala:78)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
   > > 	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.org$scalatest$BeforeAndAfterEach$$super$runTest(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
   > > 	at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.runTest(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
   > > 	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
   > > 	at scala.collection.immutable.List.foreach(List.scala:323)
   > > 	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
   > > 	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
   > > 	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
   > > 	at scala.collection.immutable.List.foreach(List.scala:323)
   > > 	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
   > > 	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
   > > 	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.runTests(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.Suite.run(Suite.scala:1114)
   > > 	at org.scalatest.Suite.run$(Suite.scala:1096)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
   > > 	at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.org$scalatest$BeforeAndAfterAll$$super$run(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
   > > 	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
   > > 	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.run(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
   > > 	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
   > > 	at sbt.TestRunner.runTest$1(TestFramework.scala:153)
   > > 	at sbt.TestRunner.run(TestFramework.scala:168)
   > > 	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
   > > 	at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
   > > 	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
   > > 	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
   > > 	at sbt.TestFunction.apply(TestFramework.scala:348)
   > > 	at sbt.Tests$.$anonfun$toTask$1(Tests.scala:436)
   > > 	at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
   > > 	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
   > > 	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
   > > 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
   > > 	at sbt.Execute.work(Execute.scala:292)
   > > 	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
   > > 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
   > > 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
   > > 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   > > 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
   > > 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   > > 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   > > 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   > > 	at java.base/java.lang.Thread.run(Thread.java:840)</code></pre>
   > 
   > </details>
   
   
   > <pre><code class="language-python">org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec::Engine should be able to modify two python UDFs in workflow</code></pre>
   > <details><summary>Stack Traces | 126s run time</summary>
   > 
   > > <pre><code class="language-python">com.twitter.util.TimeoutException: 1.minutes
   > > 	at com.twitter.util.Promise.ready(Promise.scala:680)
   > > 	at com.twitter.util.Promise.result(Promise.scala:689)
   > > 	at com.twitter.util.Await$.$anonfun$result$1(Awaitable.scala:155)
   > > 	at com.twitter.concurrent.LocalScheduler$Activation.blocking(Scheduler.scala:189)
   > > 	at com.twitter.concurrent.LocalScheduler.blocking(Scheduler.scala:256)
   > > 	at com.twitter.concurrent.Scheduler$.blocking(Scheduler.scala:85)
   > > 	at com.twitter.util.Await$.result(Awaitable.scala:155)
   > > 	at org.apache.texera.amber.engine.e2e.TestUtils$.shouldReconfigure(TestUtils.scala:339)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.shouldReconfigure(ReconfigurationIntegrationSpec.scala:167)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.$anonfun$new$5(ReconfigurationIntegrationSpec.scala:263)
   > > 	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
   > > 	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
   > > 	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
   > > 	at org.scalatest.Transformer.apply(Transformer.scala:22)
   > > 	at org.scalatest.Transformer.apply(Transformer.scala:20)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
   > > 	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
   > > 	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.super$withFixture(ReconfigurationIntegrationSpec.scala:78)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.$anonfun$withFixture$1(ReconfigurationIntegrationSpec.scala:78)
   > > 	at org.scalatest.Retries.withRetry(Retries.scala:345)
   > > 	at org.scalatest.Retries.withRetry$(Retries.scala:344)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.withRetry(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.Retries.withRetry(Retries.scala:205)
   > > 	at org.scalatest.Retries.withRetry$(Retries.scala:205)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.withRetry(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.withFixture(ReconfigurationIntegrationSpec.scala:78)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
   > > 	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.org$scalatest$BeforeAndAfterEach$$super$runTest(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
   > > 	at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.runTest(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
   > > 	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
   > > 	at scala.collection.immutable.List.foreach(List.scala:323)
   > > 	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
   > > 	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
   > > 	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
   > > 	at scala.collection.immutable.List.foreach(List.scala:323)
   > > 	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
   > > 	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
   > > 	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.runTests(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.Suite.run(Suite.scala:1114)
   > > 	at org.scalatest.Suite.run$(Suite.scala:1096)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
   > > 	at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
   > > 	at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.org$scalatest$BeforeAndAfterAll$$super$run(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
   > > 	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
   > > 	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
   > > 	at org.apache.texera.amber.engine.e2e.ReconfigurationIntegrationSpec.run(ReconfigurationIntegrationSpec.scala:64)
   > > 	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
   > > 	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
   > > 	at sbt.TestRunner.runTest$1(TestFramework.scala:153)
   > > 	at sbt.TestRunner.run(TestFramework.scala:168)
   > > 	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
   > > 	at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
   > > 	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
   > > 	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
   > > 	at sbt.TestFunction.apply(TestFramework.scala:348)
   > > 	at sbt.Tests$.$anonfun$toTask$1(Tests.scala:436)
   > > 	at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
   > > 	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
   > > 	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
   > > 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
   > > 	at sbt.Execute.work(Execute.scala:292)
   > > 	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
   > > 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
   > > 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
   > > 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   > > 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
   > > 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   > > 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   > > 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   > > 	at java.base/java.lang.Thread.run(Thread.java:840)</code></pre>
   > 
   > </details>
   
   </details>
   
   To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/apache/texera/tests/Ma77Ball%2Ftexera%3Afix%2Freconfiguration-spec-flaky)
   <sub>📋 Got 3 mins? [Take this short survey](https://forms.gle/22i53Qa1CySZjA6c7) to help us improve Test Analytics.</sub>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(test): stabilize flaky ReconfigurationIntegrationSpec pause race [texera]

Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on PR #5915:
URL: https://github.com/apache/texera/pull/5915#issuecomment-4859091232

   Root cause: not the pause race — it's a data-volume tug-of-war. Too little data → finishes before pause (misses PAUSED); too much (100k rows through Python UDFs) → can't COMPLETE in 1 min. Flaked either way.
   
   Pushed: deterministic slow source (30 rows, 0.25s apart) → pause lands reliably, completes instantly. Let's see if CI agrees.
   
   Is this test even worth keeping? ReconfigurationSpec already covers the mechanism (stable); this only adds the Python-executor path, and it's been our recurring flake.
   
   1. Keep the deterministic rewrite
   2. @ignore + tracking issue, rely on ReconfigurationSpec
   3. Remove the spec
   
   @Yicong-Huang
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org