Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-34447

ActiveResourceManagerTest#testWorkerRegistrationTimeoutNotCountingAllocationTime still fails on slow machines

    XMLWordPrintableJSON

Details

    Description

      This appeared in this PR CI run of FLINK-34427.

      Feb 14 18:50:01 18:50:01.283 [ERROR] Tests run: 18, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.665 s <<< FAILURE! -- in org.apache.flink.runtime.resourcemanager.active.ActiveResourceManagerTest
      Feb 14 18:50:01 18:50:01.283 [ERROR] org.apache.flink.runtime.resourcemanager.active.ActiveResourceManagerTest.testWorkerRegistrationTimeoutNotCountingAllocationTime -- Time elapsed: 0.197 s <<< FAILURE!
      Feb 14 18:50:01 java.lang.AssertionError: 
      Feb 14 18:50:01 
      Feb 14 18:50:01 Expecting
      Feb 14 18:50:01   <CompletableFuture[Completed: 70e6587e5e4ba9f310031a96bdda2971]>
      Feb 14 18:50:01 not to be done.
      Feb 14 18:50:01 Be aware that the state of the future in this message might not reflect the one at the time when the assertion was performed as it is evaluated later on
      Feb 14 18:50:01 	at org.apache.flink.runtime.resourcemanager.active.ActiveResourceManagerTest$15.lambda$new$3(ActiveResourceManagerTest.java:982)
      Feb 14 18:50:01 	at org.apache.flink.runtime.resourcemanager.active.ActiveResourceManagerTest$Context.runTest(ActiveResourceManagerTest.java:1133)
      Feb 14 18:50:01 	at org.apache.flink.runtime.resourcemanager.active.ActiveResourceManagerTest$15.<init>(ActiveResourceManagerTest.java:963)
      Feb 14 18:50:01 	at org.apache.flink.runtime.resourcemanager.active.ActiveResourceManagerTest.testWorkerRegistrationTimeoutNotCountingAllocationTime(ActiveResourceManagerTest.java:946)
      Feb 14 18:50:01 	at java.lang.reflect.Method.invoke(Method.java:498)
      Feb 14 18:50:01 	at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
      Feb 14 18:50:01 	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      Feb 14 18:50:01 	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      Feb 14 18:50:01 	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      Feb 14 18:50:01 	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
      

      But I was able to reproduce it locally as well.

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: