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

HeartbeatHandlerIT::basicPortlet_afterFirstHeartbeatRequest_shouldWorkNormally is flaky #188

Open
mshabarov opened this issue Apr 1, 2021 · 0 comments
Labels
bug Something isn't working testing

Comments

@mshabarov
Copy link
Contributor

Portlet 1.0 HeartbeatHandlerIT.basicPortlet_afterFirstHeartbeatRequest_shouldWorkNormally test fails time to time within Flow 2.5 validation:

java.lang.RuntimeException: basicPortlet_afterFirstHeartbeatRequest_shouldWorkNormally[ANY_Chrome_](com.vaadin.flow.portal.requesthandlers.HeartbeatHandlerIT): run failed 2 times
	at com.vaadin.testbench.RetryRule$1.evaluate(RetryRule.java:69)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate element with text: IT-1114617471
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ip-172-16-1-226.eu-west-1.compute.internal', ip: '172.16.1.226', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.154-128.181.amzn2.x86_64', java.version: '1.8.0_201'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.Select.selectByVisibleText(Select.java:147)
	at com.vaadin.flow.component.html.testbench.SelectElement.selectByText(SelectElement.java:39)
	at com.vaadin.flow.portal.AbstractPlutoPortalTest.addPortlet(AbstractPlutoPortalTest.java:168)
	at com.vaadin.flow.portal.AbstractPlutoPortalTest.addVaadinPortlet(AbstractPlutoPortalTest.java:128)
	at com.vaadin.flow.portal.AbstractPlutoPortalTest.setup(AbstractPlutoPortalTest.java:96)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at com.vaadin.testbench.parallel.ParallelRunner$1.evaluate(ParallelRunner.java:468)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at com.vaadin.testbench.RetryRule$1.evaluate(RetryRule.java:59)
	... 11 more
------- Stderr: -------
Mar 31, 2021 4:06:24 PM com.vaadin.testbench.parallel.SauceLabsIntegration setDesiredCapabilities
WARNING: Null or empty sauce.options given. Ignoring.
Mar 31, 2021 4:06:28 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Mar 31, 2021 4:06:31 PM com.vaadin.testbench.parallel.SauceLabsIntegration setDesiredCapabilities
WARNING: Null or empty sauce.options given. Ignoring.
Mar 31, 2021 4:06:36 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

image

https://bender.vaadin.com/viewLog.html?buildId=221889&buildTypeId=Flow_Flow25_AddOns_FlowPortlet10

@mshabarov mshabarov added bug Something isn't working testing labels Apr 1, 2021
@mshabarov mshabarov added this to Needs triage in OLD Vaadin Flow bugs & maintenance (Vaadin 10+) via automation Apr 1, 2021
@mshabarov mshabarov moved this from Needs triage to Failing / Flaky tests in OLD Vaadin Flow bugs & maintenance (Vaadin 10+) Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing
Projects
Status: Failing / Flaky tests
Development

No branches or pull requests

1 participant