Skip to content

fix: handle logout from a background thread (#20688) (CP: 24.5) #19775

fix: handle logout from a background thread (#20688) (CP: 24.5)

fix: handle logout from a background thread (#20688) (CP: 24.5) #19775

GitHub Actions / Test Results failed Dec 13, 2024 in 0s

1 errors, 51 skipped, 7 469 pass in 1h 24m 48s

1 148 files  1 148 suites   1h 24m 48s ⏱️
7 521 tests 7 469 ✅ 51 💤 0 ❌ 1 🔥
7 849 runs  7 788 ✅ 60 💤 0 ❌ 1 🔥

Results for commit b099da2.

Annotations

Check failure on line 0 in com.vaadin.flow.spring.flowsecuritywebsocket.AppViewIT

See this annotation in the file changed.

@github-actions github-actions / Test Results

logout_server_initiated_redirects_to_logout (com.vaadin.flow.spring.flowsecuritywebsocket.AppViewIT) with error

flow-tests/vaadin-spring-tests/test-spring-security-flow-websocket/target/failsafe-reports/TEST-com.vaadin.flow.spring.flowsecuritywebsocket.AppViewIT.xml [took 14s]
Raw output
Expected condition failed: waiting for com.vaadin.flow.spring.flowsecurity.AbstractIT$$Lambda$1054/0x00007fe7242e6e28@1ee82ab (tried for 10 second(s) with 500 milliseconds interval)
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for com.vaadin.flow.spring.flowsecurity.AbstractIT$$Lambda$1054/0x00007fe7242e6e28@1ee82ab (tried for 10 second(s) with 500 milliseconds interval)
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228)
	at com.vaadin.testbench.TestBenchTestCase.waitUntil(TestBenchTestCase.java:201)
	at com.vaadin.testbench.TestBenchTestCase.waitUntil(TestBenchTestCase.java:228)
	at com.vaadin.flow.spring.flowsecurity.AbstractIT.assertAdminPageShown(AbstractIT.java:135)
	at com.vaadin.flow.spring.flowsecurity.AppViewIT.logout_server_initiated_redirects_to_logout(AppViewIT.java:311)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at com.vaadin.testbench.parallel.ParallelRunner$TBMethod.invokeExplosively(ParallelRunner.java:491)
	at com.vaadin.testbench.parallel.ParallelRunner$1.evaluate(ParallelRunner.java:465)
	at com.vaadin.testbench.parallel.ParallelScheduler$1.call(ParallelScheduler.java:43)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	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:840)
Caused by: org.openqa.selenium.NoSuchElementException: No element with tag <*> found with the attributes [id='welcome'].
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.25.0', revision: '8a8aea2337'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-1025-azure', java.version: '17.0.13'
Driver info: driver.version: unknown
	at com.vaadin.testbench.ElementQuery.single(ElementQuery.java:1134)
	at com.vaadin.testbench.ElementQuery.id(ElementQuery.java:1121)
	at com.vaadin.flow.spring.flowsecurity.AbstractIT.lambda$assertAdminPageShown$6(AbstractIT.java:135)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:203)
	... 12 more
[pool-2-thread-3] INFO com.vaadin.testbench.ScreenshotOnFailureRule - Error screenshot written to: /home/runner/work/flow/flow/flow-tests/vaadin-spring-tests/test-spring-security-flow-websocket/error-screenshots/logout_server_initiated_redirects_to_logout[any_Chrome_](com.vaadin.flow.spring.flowsecuritywebsocket.AppViewIT).png