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 TestHiveConnectorTest.testWriterTasksCountLimitPartitionedScaleWritersEnabled #17436

Closed
findepi opened this issue May 10, 2023 · 6 comments · Fixed by #18319
Closed
Assignees
Labels
bug Something isn't working

Comments

@findepi
Copy link
Member

findepi commented May 10, 2023

https://github.com/trinodb/trino/actions/runs/4927231279/jobs/8806974752?pr=17411

Error:  Tests run: 3806, Failures: 1, Errors: 0, Skipped: 154, Time elapsed: 1,900.504 s <<< FAILURE! - in TestSuite
Error:  io.trino.plugin.hive.TestHiveConnectorTest.testWriterTasksCountLimitPartitionedScaleWritersEnabled  Time elapsed: 0.677 s  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [4]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:513)
	at org.testng.Assert.assertEqualsImpl(Assert.java:135)
	at org.testng.Assert.assertEquals(Assert.java:116)
	at org.testng.Assert.assertEquals(Assert.java:284)
	at org.testng.Assert.assertEquals(Assert.java:294)
	at io.trino.plugin.hive.BaseHiveConnectorTest.testLimitWriterTasks(BaseHiveConnectorTest.java:4147)
	at io.trino.plugin.hive.BaseHiveConnectorTest.testWriterTasksCountLimitPartitionedScaleWritersEnabled(BaseHiveConnectorTest.java:4127)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

[INFO] 
[INFO] Results:
[INFO] 
Error:  Failures: 
Error:    TestHiveConnectorTest>BaseHiveConnectorTest.testWriterTasksCountLimitPartitionedScaleWritersEnabled:4127->BaseHiveConnectorTest.testLimitWriterTasks:4147 expected [2] but found [4]
[INFO] 
Error:  Tests run: 3806, Failures: 1, Errors: 0, Skipped: 154
[INFO] 
[INFO] ---------------------------------------------------

cc @radek-starburst @sopel39 @gaurav8297

@findepi
Copy link
Member Author

findepi commented May 23, 2023

Error:  io.trino.plugin.hive.TestHiveConnectorTest.testWriterTasksCountLimitPartitionedScaleWritersEnabled  Time elapsed: 11.102 s  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [4]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:513)
	at org.testng.Assert.assertEqualsImpl(Assert.java:135)
	at org.testng.Assert.assertEquals(Assert.java:116)
	at org.testng.Assert.assertEquals(Assert.java:284)
	at org.testng.Assert.assertEquals(Assert.java:294)
	at io.trino.plugin.hive.BaseHiveConnectorTest.testLimitWriterTasks(BaseHiveConnectorTest.java:4152)
	at io.trino.plugin.hive.BaseHiveConnectorTest.testWriterTasksCountLimitPartitionedScaleWritersEnabled(BaseHiveConnectorTest.java:4132)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1589)

cc @sopel39

@raunaqmorarka
Copy link
Member

fyi @gaurav8297

@ebyhr
Copy link
Member

ebyhr commented Jun 12, 2023

@findepi
Copy link
Member Author

findepi commented Jul 12, 2023

@findepi
Copy link
Member Author

findepi commented Jul 12, 2023

@gaurav8297 are you working on this?
per @martint 's #18202 (comment) we should remove this test.

@homar
Copy link
Member

homar commented Jul 13, 2023

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.

5 participants