Skip to content

[BUG] Scala test 'AsyncCpuTask task priority' failed in pre-merge #13788

@thirtiseven

Description

@thirtiseven

Describe the bug
A pre-merge CI reported following scala test failure:


[2025-11-14T05:40:21.459Z] ResourceBoundedExecutorSuite:

[2025-11-14T05:40:21.713Z] - AsyncCpuTask task priority *** FAILED ***

[2025-11-14T05:40:21.713Z]   java.lang.IllegalArgumentException: requirement failed: Unexpected order of wallTime: List(9616349641154202, 9616349656878335, 9616349651642964, 9616349646412823)

[2025-11-14T05:40:21.713Z]   at scala.Predef$.require(Predef.scala:281)

[2025-11-14T05:40:21.713Z]   at com.nvidia.spark.rapids.ResourceBoundedExecutorSuite.$anonfun$new$13(ResourceBoundedExecutorSuite.scala:94)

[2025-11-14T05:40:21.713Z]   at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:158)

[2025-11-14T05:40:21.713Z]   at com.nvidia.spark.rapids.ResourceBoundedExecutorSuite.$anonfun$new$1(ResourceBoundedExecutorSuite.scala:93)

[2025-11-14T05:40:21.713Z]   at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)

[2025-11-14T05:40:21.713Z]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)

[2025-11-14T05:40:21.713Z]   at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)

[2025-11-14T05:40:21.713Z]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)

[2025-11-14T05:40:21.713Z]   at org.scalatest.Transformer.apply(Transformer.scala:22)

[2025-11-14T05:40:21.713Z]   at org.scalatest.Transformer.apply(Transformer.scala:20)

[2025-11-14T05:40:21.713Z]   ...

Steps/Code to reproduce bug
It happened in the pre-merge CI and seems to be occurring at random.
I haven't been able to reproduce it locally yet.

Expected behavior
Test should pass.

Metadata

Metadata

Assignees

Labels

bot_watchSlack bot watched issue for LLM analyzerbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions