hawkbit icon indicating copy to clipboard operation
hawkbit copied to clipboard

AutoActionCleanupTest.canceledAndFailedActionsAreCleanedUp randomly fails

Open zyga opened this issue 3 years ago • 1 comments

There's a random element affecting one of the tests. I've been

#18 645.0 [ERROR] Failures: 
#18 645.0 [ERROR]   AutoActionCleanupTest.canceledAndFailedActionsAreCleanedUp:119 
#18 645.0 Expecting:
#18 645.0  <2L>
#18 645.0 to be equal to:
#18 645.0  <1L>
#18 645.0 but was not.

The failure is not deterministic, but on a reasonably fast CPU I can hit it every 3-4 builds.

zyga avatar Jan 11 '23 09:01 zyga

@zyga I had the same problem with building the Server. I tried it on multiple Windows machines and I got the same error every time. But when I try to build it on a Linux it works every time. Even tough the Linux is only a VM. The .jar File created on a linux machine can be used on a Windows machine with a apropriate java version as well. The error was at different points in the buildprocess. But it always said Exppecting: <XL> to be equal to: <XL> but was not. The Values before the L was also not the same every time.

lreinecke avatar Jan 19 '23 10:01 lreinecke

There is a fix in that test case in - https://github.com/eclipse-hawkbit/hawkbit/pull/1533 It doesn't failed recently in github builds. I'm closing the issue. If it happen again - feel free to reopen it or to report again.

avgustinmm avatar Apr 15 '25 09:04 avgustinmm