rstudio / shinycoreci-apps

SUPERSEDED - Apps for Shiny continuous integration testing
Other
36 stars 4 forks source link

GHA: "147-web-socket" app/tests failing intermittently due to timeouts #178

Closed MadhulikaTanuboddi closed 3 years ago

MadhulikaTanuboddi commented 3 years ago

For the last few days, the gha or shinyjster tests for this app are failing on and off due to the timeouts connecting to the websocket

147-web-socket-history 147-websocket-connection-timeout

Some logs from GHA

Win 3.5:
....
2021-08-11T10:41:35.1299902Z shinyjster - starting app: 147-
2021-08-11T10:41:38.5030627Z shinyjster - Progress: 3/33 (running)
2021-08-11T10:41:38.5033591Z 
2021-08-11T10:41:38.7125562Z shinyjster - Progress: 4/33 (waiting)
2021-08-11T10:41:38.7127042Z 
2021-08-11T10:41:38.7263865Z shinyjster - Progress: 4/33 (running)
2021-08-11T10:41:38.7265429Z 
2021-08-11T10:41:43.5129746Z [2021-08-11 10:41:43] [error] handle_transport_init received error: TLS handshake timed out
2021-08-11T10:41:43.5130926Z 
2021-08-11T10:41:43.5133490Z [2021-08-11 10:41:43] [info] asio async_shutdown error: asio.ssl:336462231 (shutdown while in init)
2021-08-11T10:41:43.5156033Z 
2021-08-11T10:42:09.2135610Z shinyjster - Progress: 5/33 (waiting)
2021-08-11T10:42:09.2137550Z 
2021-08-11T10:42:09.2242409Z shinyjster - Progress: 5/33 (running) - Error found: 'Error: TLS handshak... does not equal 'Connected to wss://...
2021-08-11T10:42:09.2243416Z 
2021-08-11T10:42:09.2272853Z shinyjster - JS error found! Error:
2021-08-11T10:42:09.2291668Z 
2021-08-11T10:42:09.2299260Z    msg: 'Error: TLS handshak... does not equal 'Connected to wss://...
2021-08-11T10:42:09.2299923Z 
2021-08-11T10:42:09.2300706Z    x: Error: TLS handshake timed out
2021-08-11T10:42:09.2301125Z 
2021-08-11T10:42:09.2301824Z    y: Connected to wss://echo.websocket.org
2021-08-11T10:42:09.2304525Z 
2021-08-11T10:42:09.2306378Z    xStr: 'Error: TLS handshake timed out'
2021-08-11T10:42:09.2306869Z 
2021-08-11T10:42:09.2307596Z    yStr: 'Connected to wss://echo.websocket.org'
2021-08-11T10:42:09.2308138Z 
2021-08-11T10:42:09.2308897Z shinyjster - Error found! Closing Browser window
2021-08-11T10:42:09.2309366Z 
2021-08-11T10:42:09.3854662Z shinyjster - Browser window has been closed. Stopping Shiny Application now.
2021-08-11T10:42:09.3855847Z 
2021-08-11T10:42:10.2012578Z shinyjster - stopping app: 147-websocket
Linux 4.1

2021-08-11T08:54:23.5397986Z Loading required package: shiny
2021-08-11T08:54:23.5546558Z shinyjster - starting app: 147-websocket
2021-08-11T08:54:23.5972062Z 
2021-08-11T08:54:23.5973164Z Attaching package: 'shinyjs'
2021-08-11T08:54:23.5973622Z 
2021-08-11T08:54:23.5974423Z The following object is masked from 'package:shiny':
2021-08-11T08:54:23.5974887Z 
2021-08-11T08:54:23.5975327Z     runExample
2021-08-11T08:54:23.5975637Z 
2021-08-11T08:54:23.5976419Z The following objects are masked from 'package:methods':
2021-08-11T08:54:23.5977080Z 
2021-08-11T08:54:23.5977564Z     removeClass, show
2021-08-11T08:54:23.5978102Z 
2021-08-11T08:54:23.6503170Z 
2021-08-11T08:54:23.6504320Z Listening on http://127.0.0.1:35112
2021-08-11T08:54:24.0903180Z Running java -jar \
2021-08-11T08:54:24.0904117Z   /home/runner/work/_temp/Library/shinyjster/selenium/selenium.jar chrome \
2021-08-11T08:54:24.0905237Z   1200x1200 'http://127.0.0.1:35112/?shinyjster=1' 120 --headless
2021-08-11T08:54:24.8075000Z pxjava - Starting ChromeDriver 92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}) on port 3640
2021-08-11T08:54:24.8076083Z pxjava - Only local connections are allowed.
2021-08-11T08:54:24.8077453Z pxjava - Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
2021-08-11T08:54:24.8079410Z pxjava - ChromeDriver was started successfully.
2021-08-11T08:54:25.1078659Z pxjava - Aug 11, 2021 8:54:25 AM org.openqa.selenium.remote.ProtocolHandshake createSession
2021-08-11T08:54:25.1080510Z pxjava - INFO: Detected dialect: W3C
2021-08-11T08:54:25.6194635Z shinyjster - Progress: 1/33 (waiting)
2021-08-11T08:54:25.6293906Z shinyjster - Progress: 1/33 (running)
2021-08-11T08:54:25.8744427Z shinyjster - Progress: 2/33 (waiting)
2021-08-11T08:54:25.8850855Z shinyjster - Progress: 3/33 (waiting)
2021-08-11T08:54:25.9336775Z shinyjster - Progress: 3/33 (running)
2021-08-11T08:54:26.1401356Z shinyjster - Progress: 4/33 (waiting)
2021-08-11T08:54:26.1513232Z shinyjster - Progress: 4/33 (running)
2021-08-11T08:54:31.2521676Z [2021-08-11 08:54:31] [error] handle_transport_init received error: TLS handshake timed out
2021-08-11T08:54:31.2522873Z [2021-08-11 08:54:31] [info] asio async_shutdown error: asio.ssl:336462231 (shutdown while in init)
2021-08-11T08:54:56.3091509Z shinyjster - Progress: 5/33 (waiting)
2021-08-11T08:54:56.3186031Z shinyjster - Progress: 5/33 (running) - Error found: 'Error: TLS handshak... does not equal 'Connected to wss://...
2021-08-11T08:54:56.3205264Z shinyjster - JS error found! Error:
2021-08-11T08:54:56.3206949Z    msg: 'Error: TLS handshak... does not equal 'Connected to wss://...
2021-08-11T08:54:56.3207832Z    x: Error: TLS handshake timed out
2021-08-11T08:54:56.3208613Z    y: Connected to wss://echo.websocket.org
2021-08-11T08:54:56.3210691Z    xStr: 'Error: TLS handshake timed out'
2021-08-11T08:54:56.3211801Z    yStr: 'Connected to wss://echo.websocket.org'
2021-08-11T08:54:56.3212915Z shinyjster - Error found! Closing Browser window
2021-08-11T08:54:56.3967433Z shinyjster - Browser window has been closed. Stopping Shiny Application now.
2021-08-11T08:54:56.7534631Z shinyjster - stopping app: 147-websocket

cc: @shalutiwari