This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new eb0bb7474bda [SPARK-54455][CORE][TESTS] Disable a flaky `unmanaged 
memory tracking with off-heap memory enabled` test in MacOS CI
eb0bb7474bda is described below

commit eb0bb7474bda95d187cc86043a9434bdae46193e
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Nov 21 17:42:26 2025 -0800

    [SPARK-54455][CORE][TESTS] Disable a flaky `unmanaged memory tracking with 
off-heap memory enabled` test in MacOS CI
    
    ### What changes were proposed in this pull request?
    
    This PR aims to disable a flaky `unmanaged memory tracking with off-heap 
memory enabled` test in MacOS CI
    
    ### Why are the changes needed?
    
    This test suite passed locally, but has been flaky in MacOS GitHub Action 
environment.
    
    - https://github.com/apache/spark/actions/runs/19442963476/job/55985972662
    ```
    - unmanaged memory tracking with off-heap memory enabled *** FAILED ***
      1400 was not less than or equal to 1200 Off-heap memory should be reduced 
by unmanaged usage (UnifiedMemoryManagerSuite.scala:592)
    ```
    
    - https://github.com/apache/spark/actions/runs/19582140886/job/56082446144
    ```
    - unmanaged memory tracking with off-heap memory enabled *** FAILED ***
      mm.acquireStorageMemory(UnifiedMemoryManagerSuite.this.dummyBlock, 1100L, 
OFF_HEAP) was true (UnifiedMemoryManagerSuite.scala:600)
    ```
    
    ### 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 #53165 from dongjoon-hyun/SPARK-54455.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 371b00ad422504b3462779e4867d45e660e3075e)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .../test/scala/org/apache/spark/memory/UnifiedMemoryManagerSuite.scala  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/core/src/test/scala/org/apache/spark/memory/UnifiedMemoryManagerSuite.scala 
b/core/src/test/scala/org/apache/spark/memory/UnifiedMemoryManagerSuite.scala
index 9c74f2fdd459..9f0e622b1d51 100644
--- 
a/core/src/test/scala/org/apache/spark/memory/UnifiedMemoryManagerSuite.scala
+++ 
b/core/src/test/scala/org/apache/spark/memory/UnifiedMemoryManagerSuite.scala
@@ -24,6 +24,7 @@ import org.apache.spark.internal.config._
 import org.apache.spark.internal.config.Tests._
 import org.apache.spark.storage.TestBlockId
 import org.apache.spark.storage.memory.MemoryStore
+import org.apache.spark.util.Utils
 
 class UnifiedMemoryManagerSuite extends MemoryManagerSuite with 
PrivateMethodTester {
   private val dummyBlock = TestBlockId("--")
@@ -554,6 +555,7 @@ class UnifiedMemoryManagerSuite extends MemoryManagerSuite 
with PrivateMethodTes
   }
 
   test("unmanaged memory tracking with off-heap memory enabled") {
+    assume(!Utils.isMacOnAppleSilicon)
     val maxOnHeapMemory = 1000L
     val maxOffHeapMemory = 1500L
     val taskAttemptId = 0L


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

Reply via email to