Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test TestMemoryManager.testOutOfMemoryKiller #11016

Closed
hashhar opened this issue Feb 11, 2022 · 2 comments · Fixed by #11818
Closed

Flaky test TestMemoryManager.testOutOfMemoryKiller #11016

hashhar opened this issue Feb 11, 2022 · 2 comments · Fixed by #11818
Labels
bug Something isn't working

Comments

@hashhar
Copy link
Member

hashhar commented Feb 11, 2022

Error:  io.trino.memory.TestMemoryManager.testOutOfMemoryKiller  Time elapsed: 6.675 s  <<< FAILURE!
java.lang.AssertionError: expected object to not be null
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.assertNotNull(Assert.java:423)
	at org.testng.Assert.assertNotNull(Assert.java:408)
	at io.trino.memory.TestMemoryManager.waitForQueryToBeKilled(TestMemoryManager.java:156)
	at io.trino.memory.TestMemoryManager.testOutOfMemoryKiller(TestMemoryManager.java:133)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
	at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Unrelated. Wasn't able to reproduce with 100 runs.

Originally posted by @hashhar in #10996 (comment)

@findepi
Copy link
Member

findepi commented Mar 31, 2022

@findepi
Copy link
Member

findepi commented Apr 6, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants