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

[🐛 Bug]: Session Times Out #2093

Open
Staicul opened this issue Jan 18, 2024 · 16 comments
Open

[🐛 Bug]: Session Times Out #2093

Staicul opened this issue Jan 18, 2024 · 16 comments

Comments

@Staicul
Copy link

Staicul commented Jan 18, 2024

What happened?

We have a WebdriverIO test automation project.
When triggering a test job from Jenkins (usually between 10-15 parallel sessions), 99% of the time there are between 1 and 4 sessions that time out.
We are normally using the dynamic grid, but switched to fixed size for debugging, so this is what goes below.
Tried various hub/node combinations of (latest) versions, I could not find one that makes this problem disappear.

Attached Selenium hub log where 15 sessions where triggered, 3 of them having failed. Failing ones are: 0b737c5b3589c87ab9265ee4fe67f778
32b070ab4b7c82b437c42fe626c66d98
e350ea44563eb21a1b29519002fea78d

Also attached the node log of failing session e350ea44563eb21a1b29519002fea78d.

I was not able to find the chromedriver log inside the node container. Is it possible to get it? If yes, how/where is it?

Command used to start Selenium Grid with Docker (or Kubernetes)

version: "3"
services:
  chrome1:
    image: selenium/node-chrome:4.16.1
    shm_size: 2gb
    depends_on:
      - selenium-hub
    environment:
      - SE_EVENT_BUS_HOST=selenium-hub
      - SE_EVENT_BUS_PUBLISH_PORT=4442
      - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
      - VNC_NO_PASSWORD=1
      - SE_NODE_GRID_URL=http://server.url:4444
  chrome2:
    image: selenium/node-chrome:4.16.1
    shm_size: 2gb
    depends_on:
      - selenium-hub
    environment:
      - SE_EVENT_BUS_HOST=selenium-hub
      - SE_EVENT_BUS_PUBLISH_PORT=4442
      - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
      - VNC_NO_PASSWORD=1
      - SE_NODE_GRID_URL=http://server.url:4444
...
chrome15:
    image: selenium/node-chrome:4.16.1
    shm_size: 2gb
    depends_on:
      - selenium-hub
    environment:
      - SE_EVENT_BUS_HOST=selenium-hub
      - SE_EVENT_BUS_PUBLISH_PORT=4442
      - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
      - VNC_NO_PASSWORD=1
      - SE_NODE_GRID_URL=http://server.url:4444

  selenium-hub:
    image: selenium/hub:4.16.1
    container_name: selenium-hub
    ports:
      - "4442:4442"
      - "4443:4443"
      - "4444:4444"

Relevant log output

Hub:
docker logs --since=1h a234860e2a53
2024-01-18 11:15:32,853 INFO Included extra file "/etc/supervisor/conf.d/selenium-grid-hub.conf" during parsing
2024-01-18 11:15:32,856 INFO RPC interface 'supervisor' initialized
2024-01-18 11:15:32,858 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-01-18 11:15:32,859 INFO supervisord started with pid 8
2024-01-18 11:15:33,861 INFO spawned: 'selenium-grid-hub' with pid 9
Tracing is disabled
2024-01-18 11:15:33,866 INFO success: selenium-grid-hub entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
11:15:34.374 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
11:15:34.385 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
11:15:34.659 INFO [BoundZmqEventBus.<init>] - XPUB binding to [binding to tcp://*:4442, advertising as tcp://192.168.16.2:4442], XSUB binding to [binding to tcp://*:4443, advertising as tcp://192.168.16.2:4443]
11:15:34.709 INFO [UnboundZmqEventBus.<init>] - Connecting to tcp://192.168.16.2:4442 and tcp://192.168.16.2:4443
11:15:34.726 INFO [UnboundZmqEventBus.<init>] - Sockets created
11:15:35.727 INFO [UnboundZmqEventBus.<init>] - Event bus ready
11:15:36.341 INFO [Hub.execute] - Started Selenium Hub 4.16.1 (revision 9b4c83354e): http://192.168.16.2:4444
11:15:37.315 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:37.621 INFO [GridModel.setAvailability] - Switching Node 44994054-8dcf-4cf5-983b-099d8c16c0a1 (uri: http://192.168.16.3:5555) from DOWN to UP
11:15:37.622 INFO [LocalDistributor.add] - Added node 44994054-8dcf-4cf5-983b-099d8c16c0a1 at http://192.168.16.3:5555. Health check every 120s
11:15:37.625 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:37.747 INFO [GridModel.setAvailability] - Switching Node 4dfd85af-cf97-4d04-adc2-a2590fb9e351 (uri: http://192.168.16.5:5555) from DOWN to UP
11:15:37.747 INFO [LocalDistributor.add] - Added node 4dfd85af-cf97-4d04-adc2-a2590fb9e351 at http://192.168.16.5:5555. Health check every 120s
11:15:37.749 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:37.869 INFO [GridModel.setAvailability] - Switching Node b82e6c03-35fc-474b-80e8-8d1b1e221d8f (uri: http://192.168.16.6:5555) from DOWN to UP
11:15:37.870 INFO [LocalDistributor.add] - Added node b82e6c03-35fc-474b-80e8-8d1b1e221d8f at http://192.168.16.6:5555. Health check every 120s
11:15:37.872 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:38.002 INFO [GridModel.setAvailability] - Switching Node 907090c1-c019-4522-a527-a05aec8d00ed (uri: http://192.168.16.4:5555) from DOWN to UP
11:15:38.002 INFO [LocalDistributor.add] - Added node 907090c1-c019-4522-a527-a05aec8d00ed at http://192.168.16.4:5555. Health check every 120s
11:15:38.060 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:38.197 INFO [GridModel.setAvailability] - Switching Node 57a0c114-03dd-40d5-8935-a482ac80545d (uri: http://192.168.16.7:5555) from DOWN to UP
11:15:38.198 INFO [LocalDistributor.add] - Added node 57a0c114-03dd-40d5-8935-a482ac80545d at http://192.168.16.7:5555. Health check every 120s
11:15:38.279 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:38.426 INFO [GridModel.setAvailability] - Switching Node a6880e2c-0182-4ae5-a8da-a8ac44c68b25 (uri: http://192.168.16.8:5555) from DOWN to UP
11:15:38.426 INFO [LocalDistributor.add] - Added node a6880e2c-0182-4ae5-a8da-a8ac44c68b25 at http://192.168.16.8:5555. Health check every 120s
11:15:38.428 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:38.556 INFO [GridModel.setAvailability] - Switching Node 60d358ee-6d72-4054-9f60-e634f40a56c1 (uri: http://192.168.16.10:5555) from DOWN to UP
11:15:38.556 INFO [LocalDistributor.add] - Added node 60d358ee-6d72-4054-9f60-e634f40a56c1 at http://192.168.16.10:5555. Health check every 120s
11:15:38.558 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:38.726 INFO [GridModel.setAvailability] - Switching Node e278a8c5-3841-44e8-8efa-9d7dd6f6c7a7 (uri: http://192.168.16.12:5555) from DOWN to UP
11:15:38.726 INFO [LocalDistributor.add] - Added node e278a8c5-3841-44e8-8efa-9d7dd6f6c7a7 at http://192.168.16.12:5555. Health check every 120s
11:15:38.728 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:38.852 INFO [GridModel.setAvailability] - Switching Node fc7be59f-dead-466c-8e47-b767044514c7 (uri: http://192.168.16.9:5555) from DOWN to UP
11:15:38.852 INFO [LocalDistributor.add] - Added node fc7be59f-dead-466c-8e47-b767044514c7 at http://192.168.16.9:5555. Health check every 120s
11:15:38.854 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:38.973 INFO [GridModel.setAvailability] - Switching Node b9806c60-3885-4d38-bacf-9d90e128d1e9 (uri: http://192.168.16.11:5555) from DOWN to UP
11:15:38.973 INFO [LocalDistributor.add] - Added node b9806c60-3885-4d38-bacf-9d90e128d1e9 at http://192.168.16.11:5555. Health check every 120s
11:15:38.975 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:39.110 INFO [GridModel.setAvailability] - Switching Node 9d266e5f-3dba-4df6-a145-14125b0935c0 (uri: http://192.168.16.13:5555) from DOWN to UP
11:15:39.110 INFO [LocalDistributor.add] - Added node 9d266e5f-3dba-4df6-a145-14125b0935c0 at http://192.168.16.13:5555. Health check every 120s
11:15:39.112 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:39.238 INFO [GridModel.setAvailability] - Switching Node ca6beff4-8439-40fc-b2f4-bc4b6ab2b924 (uri: http://192.168.16.15:5555) from DOWN to UP
11:15:39.239 INFO [LocalDistributor.add] - Added node ca6beff4-8439-40fc-b2f4-bc4b6ab2b924 at http://192.168.16.15:5555. Health check every 120s
11:15:39.241 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:39.393 INFO [GridModel.setAvailability] - Switching Node 73f0f118-e07d-47c3-ae5c-e75c1135a738 (uri: http://192.168.16.14:5555) from DOWN to UP
11:15:39.394 INFO [LocalDistributor.add] - Added node 73f0f118-e07d-47c3-ae5c-e75c1135a738 at http://192.168.16.14:5555. Health check every 120s
11:15:39.396 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:39.526 INFO [GridModel.setAvailability] - Switching Node 90870ace-d247-420e-bc84-0abb03da34ef (uri: http://192.168.16.16:5555) from DOWN to UP
11:15:39.526 INFO [LocalDistributor.add] - Added node 90870ace-d247-420e-bc84-0abb03da34ef at http://192.168.16.16:5555. Health check every 120s
11:15:39.530 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:39.649 INFO [GridModel.setAvailability] - Switching Node 7506d7ec-826d-42f6-95d3-531389f43339 (uri: http://192.168.16.17:5555) from DOWN to UP
11:15:39.650 INFO [LocalDistributor.add] - Added node 7506d7ec-826d-42f6-95d3-531389f43339 at http://192.168.16.17:5555. Health check every 120s
11:18:12.824 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.329 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.388 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.388 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.418 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.734 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.793 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.823 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.823 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.885 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.898 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.898 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.961 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.975 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:14.975 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:15.550 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: a0b1901e7ed58c1f521b6224e6990023 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:33309}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.16:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:15.560 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 0cf6dea46eff5ccbfd959bbfcf20088a 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:38247}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.4:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:15.569 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 0b737c5b3589c87ab9265ee4fe67f778 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:42003}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.13:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:15.595 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 2f746de267281a84f1b11aae1471e842 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:43753}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.6:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:15.665 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 32b070ab4b7c82b437c42fe626c66d98 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44839}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.8:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:15.956 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: c2d2214e0eeb0a09591e8677218c21db 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:45089}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.11:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:15.995 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: e0efb95624fdd71277e0d980ca2209f6 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46405}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.12:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.040 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 3c712896ee10b22b25704a0bf905f569 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:36947}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.15:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.197 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 4599958e7c1a2e8176134ff495148b16 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44921}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.3:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.225 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 3881fcdf31c355557e077fa4b7e8cea2 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:41493}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.7:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.231 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 3cce505cbab6fa4f6de8881d2a5d93b2 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:45465}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.5:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.265 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: fe6e82a12ddd9f57e56a9c4012f4fe23 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:39073}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.17:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.277 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: e350ea44563eb21a1b29519002fea78d 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:37461}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.9:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.293 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 19c72a70bb3a57507e5f6ce82362d063 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:34577}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.14:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.313 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 968121c254dea632a132e445cb0b2eb9 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:37667}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.10:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:27.764 INFO [GridModel.release] - Releasing slot for session id a0b1901e7ed58c1f521b6224e6990023
11:18:27.762 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: a0b1901e7ed58c1f521b6224e6990023
11:18:27.778 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--enable-logging, --log-path=./logs/chromedri...]}, wdio:sharedStoreServicePort: 43425}]
11:18:28.535 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 5ae33492465bbfface663868a7e9ec5e 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:43631}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.16:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:43.592 INFO [GridModel.release] - Releasing slot for session id 2f746de267281a84f1b11aae1471e842
11:18:43.592 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 2f746de267281a84f1b11aae1471e842
11:18:47.768 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 968121c254dea632a132e445cb0b2eb9
11:18:47.768 INFO [GridModel.release] - Releasing slot for session id 968121c254dea632a132e445cb0b2eb9
11:18:58.899 INFO [GridModel.release] - Releasing slot for session id 5ae33492465bbfface663868a7e9ec5e
11:18:58.899 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 5ae33492465bbfface663868a7e9ec5e
11:18:58.957 INFO [GridModel.release] - Releasing slot for session id 3c712896ee10b22b25704a0bf905f569
11:18:58.957 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 3c712896ee10b22b25704a0bf905f569
11:19:12.454 INFO [GridModel.release] - Releasing slot for session id c2d2214e0eeb0a09591e8677218c21db
11:19:12.454 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: c2d2214e0eeb0a09591e8677218c21db
11:19:22.206 INFO [GridModel.release] - Releasing slot for session id 19c72a70bb3a57507e5f6ce82362d063
11:19:22.206 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 19c72a70bb3a57507e5f6ce82362d063
11:19:42.582 INFO [GridModel.release] - Releasing slot for session id 3cce505cbab6fa4f6de8881d2a5d93b2
11:19:42.582 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 3cce505cbab6fa4f6de8881d2a5d93b2
11:19:49.717 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 0cf6dea46eff5ccbfd959bbfcf20088a
11:19:49.717 INFO [GridModel.release] - Releasing slot for session id 0cf6dea46eff5ccbfd959bbfcf20088a
11:20:00.793 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: e0efb95624fdd71277e0d980ca2209f6
11:20:00.793 INFO [GridModel.release] - Releasing slot for session id e0efb95624fdd71277e0d980ca2209f6
11:20:21.802 INFO [GridModel.release] - Releasing slot for session id fe6e82a12ddd9f57e56a9c4012f4fe23
11:20:21.802 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: fe6e82a12ddd9f57e56a9c4012f4fe23
11:21:01.732 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 4599958e7c1a2e8176134ff495148b16
11:21:01.732 INFO [GridModel.release] - Releasing slot for session id 4599958e7c1a2e8176134ff495148b16
11:23:38.228 INFO [GridModel.release] - Releasing slot for session id 32b070ab4b7c82b437c42fe626c66d98
11:23:38.228 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 32b070ab4b7c82b437c42fe626c66d98
11:23:38.335 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: e350ea44563eb21a1b29519002fea78d
11:23:38.335 INFO [GridModel.release] - Releasing slot for session id e350ea44563eb21a1b29519002fea78d
11:23:38.335 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 0b737c5b3589c87ab9265ee4fe67f778
11:23:38.335 INFO [GridModel.release] - Releasing slot for session id 0b737c5b3589c87ab9265ee4fe67f778
11:25:41.674 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 39131}]
11:25:41.868 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 39131}]
11:25:41.973 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 39131}]
11:25:41.988 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 39131}]
11:25:42.190 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 5a29ba23e0e3bd9df9d5deaaf46424f2 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:36297}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.4:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 39131, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:25:42.421 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 160527605db73537adbf4c07df916bca 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:33121}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.13:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 39131, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:25:42.452 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 341f3c2dce9ba4568dd8b5f6701c7e7f 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:42187}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.6:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 39131, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:25:42.498 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: a2ecaec70cb2341c1e841c14a8b1fc84 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:32813}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.8:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 39131, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:25:46.078 INFO [GridModel.release] - Releasing slot for session id 160527605db73537adbf4c07df916bca
11:25:46.078 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 160527605db73537adbf4c07df916bca
11:25:50.116 INFO [GridModel.release] - Releasing slot for session id 5a29ba23e0e3bd9df9d5deaaf46424f2
11:25:50.116 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 5a29ba23e0e3bd9df9d5deaaf46424f2
11:26:01.704 INFO [GridModel.release] - Releasing slot for session id a2ecaec70cb2341c1e841c14a8b1fc84
11:26:01.704 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: a2ecaec70cb2341c1e841c14a8b1fc84
11:26:23.061 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 3881fcdf31c355557e077fa4b7e8cea2
11:26:23.061 INFO [GridModel.release] - Releasing slot for session id 3881fcdf31c355557e077fa4b7e8cea2
11:26:27.422 INFO [GridModel.release] - Releasing slot for session id 341f3c2dce9ba4568dd8b5f6701c7e7f
11:26:27.422 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 341f3c2dce9ba4568dd8b5f6701c7e7f
11:31:06.453 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 44443}]
11:31:06.720 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 44443}]
11:31:06.753 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 44443}]
11:31:06.798 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disab [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 44443}]
11:31:06.978 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-gpu, --start-fullscreen, --disable-notifications, --user-agent=Mozilla/5.0 (i...], mobileEmulation: {deviceName: iPhone X}}, wdio:sharedStoreServicePort: 44443}]
11:31:07.179 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 58034e130c875c25106fabef3d16faf9 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46667}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.12:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 44443, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:31:07.213 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 02cdb142091d5a9ed7971329bf9c95f6 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:41665}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.15:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 44443, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:31:07.243 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 91fa7631f60e9dfc427d2c81feb5fd5c 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:42839}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.7:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 44443, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:31:07.265 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 5f5c9d7a8ffb2cbed07b33913f6fbf80 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:35205}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.3:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 44443, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:31:07.293 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 7968c45caad0df6722f27250cb57e0df 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:43587}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.5:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 44443, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:31:07.390 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 9c9aaac4151c7f432f91f2d029e2ede7 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:40615}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.17:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 44443, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:31:07.454 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 7d06ff572281e3dd27b046a30161345c 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:33595}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.14:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 44443, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:31:07.457 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 0c283fc182a6f798ddd1bf60bcb4b798 
 Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44103}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.9:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 44443, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:31:17.586 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: def25d1e002b924142e3e38fa7ab1c9f
11:31:17.586 INFO [GridModel.release] - Releasing slot for session id def25d1e002b924142e3e38fa7ab1c9f
11:31:40.285 INFO [GridModel.release] - Releasing slot for session id 58034e130c875c25106fabef3d16faf9
11:31:40.285 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 58034e130c875c25106fabef3d16faf9

Node log:
docker logs --since=1h 6d8bcb6d76a8
2024-01-18 11:15:34,946 INFO Included extra file "/etc/supervisor/conf.d/selenium.conf" during parsing
2024-01-18 11:15:34,949 INFO RPC interface 'supervisor' initialized
2024-01-18 11:15:34,949 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-01-18 11:15:34,949 INFO supervisord started with pid 8
2024-01-18 11:15:35,952 INFO spawned: 'xvfb' with pid 9
2024-01-18 11:15:35,954 INFO spawned: 'vnc' with pid 10
2024-01-18 11:15:35,956 INFO spawned: 'novnc' with pid 11
2024-01-18 11:15:35,958 INFO spawned: 'selenium-node' with pid 12
2024-01-18 11:15:35,975 INFO success: selenium-node entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
Appending Selenium node session timeout via SE_OPTS:  --session-timeout 300
Generating Selenium Config
Configuring server...
Setting up SE_NODE_HOST...
Setting up SE_NODE_PORT...
Tracing is disabled
Selenium Grid Node configuration: 
[events]
publish = "tcp://selenium-hub:4442"
subscribe = "tcp://selenium-hub:4443"

[node]
grid-url = "http://server.url:4444"
session-timeout = "300"
override-max-sessions = false
detect-drivers = false
drain-after-session-count = 0
max-sessions = 1

[[node.driver-configuration]]
display-name = "chrome"
stereotype = '{"browserName": "chrome", "browserVersion": "120.0", "platformName": "Linux", "goog:chromeOptions": {"binary": "/usr/bin/google-chrome"}}'
max-sessions = 1

Starting Selenium Grid Node...
11:15:36.756 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
11:15:36.769 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
11:15:36.895 INFO [UnboundZmqEventBus.<init>] - Connecting to tcp://selenium-hub:4442 and tcp://selenium-hub:4443
11:15:36.945 INFO [UnboundZmqEventBus.<init>] - Sockets created
2024-01-18 11:15:36,970 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-01-18 11:15:36,970 INFO success: vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-01-18 11:15:36,970 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
11:15:37.947 INFO [UnboundZmqEventBus.<init>] - Event bus ready
11:15:38.077 INFO [NodeServer.createHandlers] - Reporting self as: http://192.168.16.9:5555
11:15:38.099 INFO [NodeOptions.getSessionFactories] - Detected 64 available processors
11:15:38.141 INFO [NodeOptions.report] - Adding chrome for {"browserName": "chrome","browserVersion": "120.0","goog:chromeOptions": {"binary": "\u002fusr\u002fbin\u002fgoogle-chrome"},"platformName": "linux","se:noVncPort": 7900,"se:vncEnabled": true} 1 times
11:15:38.163 INFO [Node.<init>] - Binding additional locator mechanisms: relative
11:15:38.376 INFO [NodeServer$1.start] - Starting registration process for Node http://192.168.16.9:5555
11:15:38.377 INFO [NodeServer.execute] - Started Selenium node 4.16.1 (revision 9b4c83354e): http://192.168.16.9:5555
11:15:38.387 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
11:15:38.854 INFO [NodeServer.lambda$createHandlers$2] - Node has been added
11:18:16.260 INFO [LocalNode.newSession] - Session created by the Node. Id: e350ea44563eb21a1b29519002fea78d, Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:37461}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://server.url:4444/ses..., se:cdpVersion: 120.0.6099.109, se:vnc: ws://server.url:4444/ses..., se:vncEnabled: true, se:vncLocalAddress: ws://192.168.16.9:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, wdio:sharedStoreServicePort: 43425, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
11:18:16.352 INFO [ProxyNodeWebsockets.createWsEndPoint] - Establishing connection to ws://localhost:37461/devtools/browser/43477e95-b44b-42c1-a96c-dabc15ad96ce
11:18:16.639 INFO [ProxyNodeWebsockets.createWsEndPoint] - Establishing connection to ws://localhost:37461/devtools/browser/43477e95-b44b-42c1-a96c-dabc15ad96ce
11:18:25.063 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "d9a0843ada03e02ed8cbc19cdfdb661e","eventTime": 1705576705058859654,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "239","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:25.099 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "bd26775802bfbee53188c4f62dcc62b0","eventTime": 1705576705098464046,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "239","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:25.132 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "6b3482bb1c67af1164fdbfb9a7c5d38b","eventTime": 1705576705131404621,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "239","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:25.162 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "54048d9044bd03a27b7b85036f1a69d9","eventTime": 1705576705161133711,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "239","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:25.189 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "2e15ef7a085f504649f1312679f086f7","eventTime": 1705576705189170157,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "239","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:25.215 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "53dbb6904a54dfebc6630aa388c7f353","eventTime": 1705576705214178358,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "239","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:25.244 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "f73a640f3fc487623027cec6d78bc6c8","eventTime": 1705576705243082531,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "239","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:30.084 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "abec740f2e3ae25c0807fcde064a1ef9","eventTime": 1705576710083516853,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "240","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:30.134 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "8833eb4f581ec3e2fc35329ea345890c","eventTime": 1705576710133541561,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "240","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:30.278 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "5d87334604dee8d3de2674466698dd4a","eventTime": 1705576710277799676,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "240","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:30.326 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "af60edd62501b6bb32bb73890d0a3e1b","eventTime": 1705576710324698624,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "240","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:30.380 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "a11ad4adaa514d8cd6c622db7140b36f","eventTime": 1705576710378907949,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "240","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:30.429 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "bb98e8594b60b4ec240baa1fe19c6235","eventTime": 1705576710427951281,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "240","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:18:30.473 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "4a9618c2154347e9127cead3e6046c5e","eventTime": 1705576710471638082,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "192.168.16.9:5555","http.method": "POST","http.request_content_length": "240","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002fe350ea44563eb21a1b29519002fea78d\u002factions","http.user_agent": "webdriver\u002f8.27.2"}}

11:23:38.193 INFO [LocalNode.stopTimedOutSession] - Session id e350ea44563eb21a1b29519002fea78d timed out, stopping...
11:23:38.333 INFO [SessionSlot.stop] - Stopping session e350ea44563eb21a1b29519002fea78d

Operating System

Ubuntu

Docker Selenium version (image tag)

4.16.1

Selenium Grid chart version (chart version)

No response

Copy link

@Staicul, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Jan 18, 2024

I see the timeout, but how can we reproduce the issue?

@Staicul
Copy link
Author

Staicul commented Jan 18, 2024

Yes, that's a question I've asked myself and don't have the answer to yet.

Can you advise me on how to get more details?

I was not able to find the chromedriver log inside the node container. Is it possible to get it? If yes, how/where is it?

Also, do you maybe have something valuable on this?

@diemol
Copy link
Member

diemol commented Jan 18, 2024

It is hard to say because it is about debugging your tests. I would identify which ones usually fail and where they fail. Also, run them locally and see if that also happens.

@Staicul
Copy link
Author

Staicul commented Jan 18, 2024

I am pretty sure it's not related to the tests. They used to work without problems with older versions and it's not always the same ones failing...
When they fail, they all fail right at the first action that should happen in the browser (there are some API calls done beforehand). That's why my main suspect is the Chrome driver, but I can not get ahold of its logs.
Indeed I forgot to mention that running (the same) tests locally (on my Mac), executing them on the same grid, does not end up with any sessions timing out. It doesn't strike me as an OS-related issue though.

Will try to come up with more detail...

@Staicul
Copy link
Author

Staicul commented Jan 19, 2024

I increased the logging level and trying to make sense of the logs (300MB for 30 min). There are a few of these SocketTube(1) abort: java.io.IOException: java.nio.channels.CancelledKeyException right around the time the session times out. Attaching log below. Are they relevant, @diemol?

14:58:59.724 DEBUG [HttpClientImpl$SelectorAttachment.register] - [HttpClient-1-SelectorManager] [546s 114ms] SelectorAttachment Registering jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent@74b35bab for 0 (false)
14:58:59.724 DEBUG [SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion] - [HttpClient-1-SelectorManager] [546s 114ms] SocketTube(1) completing subscriber
14:58:59.724 DEBUG [ConnectionPool.cleanup] - [HttpClient-1-SelectorManager] [546s 114ms] ConnectionPool(1) SocketTube(1) : ConnectionPool.cleanup(null)
14:58:59.724 DEBUG [PlainHttpConnection.close] - [HttpClient-1-SelectorManager] [546s 114ms] PlainHttpConnection(SocketTube(1)) Closing channel: channel registered with selector, key.interestOps=1, sa.interestOps=1
14:58:59.724 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.signalError] - [HttpClient-1-SelectorManager] [546s 114ms] SocketTube(1) got read error: java.io.IOException: connection closed locally
14:58:59.724 DEBUG [SocketTube.debugState] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(1) leaving read() loop after EOF:  Reading: [ops=0, demand=0, stopped=true], Writing: [ops=0, demand=1]
14:58:59.724 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.read] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(1) Read scheduler stopped
14:58:59.724 DEBUG [HttpClientImpl$SelectorAttachment.resetInterestOps] - [HttpClient-1-SelectorManager] [546s 115ms] SelectorAttachment key cancelled for java.nio.channels.SocketChannel[closed]
14:58:59.724 DEBUG [SocketTube$SocketFlowEvent.abort] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(1) abort: java.io.IOException: java.nio.channels.CancelledKeyException
14:58:59.724 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [546s 115ms] HttpClientImpl(1) next timeout: 0
14:58:59.724 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [546s 115ms] HttpClientImpl(1) next expired: 1199276
14:58:59.724 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [546s 115ms] HttpClientImpl(1) Next deadline is 3000
14:58:59.725 DEBUG [HttpClientImpl$SelectorAttachment.register] - [HttpClient-1-SelectorManager] [546s 115ms] SelectorAttachment Registering jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent@1f07d48b for 0 (false)
14:58:59.725 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.read] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(6) got read EOF
14:58:59.725 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.pauseReadEvent] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(6) pausing read event
14:58:59.725 DEBUG [HttpClientImpl$SelectorAttachment.register] - [HttpClient-1-SelectorManager] [546s 115ms] SelectorAttachment Registering jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent@1f07d48b for 0 (false)
14:58:59.725 DEBUG [SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(6) completing subscriber
14:58:59.725 DEBUG [ConnectionPool.cleanup] - [HttpClient-1-SelectorManager] [546s 115ms] ConnectionPool(1) SocketTube(6) : ConnectionPool.cleanup(null)
14:58:59.725 DEBUG [PlainHttpConnection.close] - [HttpClient-1-SelectorManager] [546s 115ms] PlainHttpConnection(SocketTube(6)) Closing channel: channel registered with selector, key.interestOps=1, sa.interestOps=1
14:58:59.725 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.signalError] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(6) got read error: java.io.IOException: connection closed locally
14:58:59.725 DEBUG [SocketTube.debugState] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(6) leaving read() loop after EOF:  Reading: [ops=0, demand=0, stopped=true], Writing: [ops=0, demand=1]
14:58:59.725 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.read] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(6) Read scheduler stopped
14:58:59.725 DEBUG [HttpClientImpl$SelectorAttachment.resetInterestOps] - [HttpClient-1-SelectorManager] [546s 115ms] SelectorAttachment key cancelled for java.nio.channels.SocketChannel[closed]
14:58:59.725 DEBUG [SocketTube$SocketFlowEvent.abort] - [HttpClient-1-SelectorManager] [546s 115ms] SocketTube(6) abort: java.io.IOException: java.nio.channels.CancelledKeyException
14:58:59.725 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [546s 115ms] HttpClientImpl(1) next timeout: 0
14:58:59.725 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [546s 115ms] HttpClientImpl(1) next expired: 0
14:58:59.725 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [546s 115ms] HttpClientImpl(1) Next deadline is 3000
14:58:59.727 DEBUG [ExternalProcess$Builder.lambda$start$0] - completed to copy the output of process 240
14:58:59.734 DEBUG [UrlChecker.lambda$waitUntilUnavailable$2] - Polling http://localhost:2609/shutdown
14:58:59.737 INFO [SessionSlot.stop] - Stopping session 3375786ec59237e77c46181c98a4359c

@ortunom
Copy link

ortunom commented Feb 23, 2024

Similar issue here, also willing to help with investigation, as right now I'm a bit lost and out of ideas.

For us the issue is quite random, like we have 1 job hanging in Jenkins every 2 weeks or so. Contrary to the OP, we always have only one session timed out hanging our job. We run +10 jobs per day, usually with 50/65 parallel nodes.

It is being hard to debug as the issue happens very randomly and we don't have a pattern yet.

We're currently using the latest 4.18.0-20240220, though we saw the same with the previous 2/3 versions. I think first time we saw this was in December and we were probably using Selenium 4.16 and Chrome 120.

@VietND96
Copy link
Member

I also tried to set up CI tests to verify scenario parallel execution, both docker-compose, and autoscaling on Kubernetes.

The exception from binding

selenium.common.exceptions.SessionNotCreatedException: Message: Could not start a new session. Could not start a new session. Unable to create new session 
Host info: host: 'selenium-distributor-6fc9845c64-8dg9c', ip: '10.244.0.145'
Build info: version: '4.18.1', revision: 'b1d3319b48'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-167-generic', java.version: '11.0.21'
Driver info: driver.version: unknown
Stacktrace:
    at org.openqa.selenium.grid.sessionqueue.SessionNotCreated.execute (SessionNotCreated.java:56)
    at org.openqa.selenium.remote.http.Route$TemplatizedRoute.handle (Route.java:192)
    at org.openqa.selenium.remote.http.Route.execute (Route.java:69)
    at org.openqa.selenium.grid.security.RequiresSecretFilter.lambda$apply$0 (RequiresSecretFilter.java:62)
    at org.openqa.selenium.remote.http.Filter$1.execute (Filter.java:63)
    at org.openqa.selenium.remote.http.Route$CombinedRoute.handle (Route.java:346)
    at org.openqa.selenium.remote.http.Route.execute (Route.java:69)
    at org.openqa.selenium.grid.sessionqueue.NewSessionQueue.execute (NewSessionQueue.java:128)
    at org.openqa.selenium.remote.http.Route$CombinedRoute.handle (Route.java:346)
    at org.openqa.selenium.remote.http.Route.execute (Route.java:69)
    at org.openqa.selenium.remote.AddWebDriverSpecHeaders.lambda$apply$0 (AddWebDriverSpecHeaders.java:35)
    at org.openqa.selenium.remote.ErrorFilter.lambda$apply$0 (ErrorFilter.java:44)
    at org.openqa.selenium.remote.http.Filter$1.execute (Filter.java:63)
    at org.openqa.selenium.remote.ErrorFilter.lambda$apply$0 (ErrorFilter.java:44)
    at org.openqa.selenium.remote.http.Filter$1.execute (Filter.java:63)
    at org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0 (SeleniumHandler.java:44)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:829)

From tracing view (Jaeger)

image

Looks like there was an internal error, the session could not be created in the first attempt. Distributor retry to add it back the front of queue, but at that time no slot available

image

After few retires, looks like no slot available to pick it up, distributor will give up and throw exception that session could not create

At this point, I don't know how the retry mechanism works, e.g how many times it retries or if it will retry in the period same as the timeout set for SE_SESSION_REQUEST_TIMEOUT (--session-request-timeout)

I also looked at pod logs of the distributor, based on the request id and timestamp, from the first retry found to the ending request, it's around 17 seconds

04:40:13.934 DEBUG [LocalDistributor.reserveSlot] - No slots found for request 9a0f0183-45e6-4dd1-959c-b5049efcb1b7 and capabilities Capabilities {acceptInsecureCerts: true, browserName: firefox, moz:debuggerAddress: true, moz:firefoxOptions: {profile: UEsDBBQAAAAIAA1RXFiYyAuilAM...}, pageLoadStrategy: normal, se:downloadsEnabled: true, se:recordVideo: true}
04:40:13.935 INFO [LocalDistributor.newSession] - Unable to find a free slot for request 9a0f0183-45e6-4dd1-959c-b5049efcb1b7. 
...

04:40:30.732 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [163s 402ms] HttpClientImpl(2) next timeout: 0
04:40:30.732 DEBUG [JdkHttpClient.execute0] - Ending request (POST) /se/grid/newsessionqueue/session/9a0f0183-45e6-4dd1-959c-b5049efcb1b7/failure in 6ms
04:40:30.732 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [163s 403ms] HttpClientImpl(2) next expired: 1199268
04:40:30.732 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [163s 403ms] HttpClientImpl(2) Next deadline is 3000

I guess the situation could be something like whenever the distributor retries on a request, if there is no slot available to pick request after a few retry attempts, the request will be failed

Especially in autoscaling on Kubernetes, the Scaler is listening to number of the queue requests, I guess whenever the distributor says "Retry adding to front of queue", the number of queues is not updated accordingly, and the Scaler will not ack to scale up a new Node to serve retry request ASAP.

I think something can be fixed

  • Distributor retries on a request in a period same as timeout set for SE_SESSION_REQUEST_TIMEOUT (--session-request-timeout)
  • Whenever "Retry adding to front of queue", the number of queues should be updated accordingly, it helps Scaler to scale resources correctly.

@diemol, can you read through my comment and advise? Thanks!

@diemol
Copy link
Member

diemol commented Feb 28, 2024

OK, so this seems to happen in the autoscaling scenario where Nodes are not available quickly enough, and then --session-request-timeout kicks in.

What if you give a longer timeout for that scenario?

@VietND96
Copy link
Member

In that scenario, I can confirm SE_SESSION_REQUEST_TIMEOUT is set value 800 already.
The case is if any session is going to retry by adding it to front of queue and Nodes are not available quickly enough, that session will fail for sure, SE_SESSION_REQUEST_TIMEOUT does not help in this case.
With above pod logs from distributor, retry only happened around 17s before ending request via POST /failure.
I attach the full log here for your reference. request id 9a0f0183-45e6-4dd1-959c-b5049efcb1b7
distributor_logs.txt

@diemol
Copy link
Member

diemol commented Feb 29, 2024

The issue in this use case is that the Distributor removes the session request from the queue and then tries to create the session. Just to let you know, the distributor takes session requests from the queue when they are available on the nodes.

The problem is, I guess, autoscaling uses the queue to boot more pods, and then it sees nothing on the queue and scales down.

@alequint
Copy link

alequint commented Feb 29, 2024

FYI I have seen this problem above in my test pipeline, and it randomly happens... I have noticed also that when it happens once, no matter how many tests I try to run after that, they will always end up with session could not be created exception. It only works, and not always, when I delete and install helm chart again.

For ref: #2129 (comment)

@alequint
Copy link

@VietND96 @diemol just a quick update after we upgraded our images to 4.18 and chart 0.28.x

I have noticed that when "Session cloud not be created" problem happens... when we restart keda-operator and selenium-hub (not clear which one did the magic), problem is fixed and nodes can be created again and sessions assigned. With that in mind, I have implemented in my test pipeline a retry mechanism and a restart of hub/keda... which basically addressed the issue (as even after we restart and have some succeeded runs, problem randomly appear again and a new restart is necessary). Big workaround of course, while we don't find the root cause for that.

What really cause some trouble to us is when chrome nodes already used do not terminate even after processes get SIGTERM. That will pile the nodes till a new one cannot be created due to insufficient resources - and then Session Could not be created comes again, now with a cause that makes sense. Commented quickly about that to @VietND96 here, and now that we had upgraded the images we need to obtain the logs of pre-stop as suggested in that message.

@VietND96
Copy link
Member

@alequint, related to the magic by restarting the grid, another ticket also mentioned We had to restart the grid to overcome this issue. However, the old version was used there, so we asking Hub logs for further understanding.

@ortunom
Copy link

ortunom commented Mar 20, 2024

Hi all, we had the same issue today again, one of our jobs was hanging with 1 test still supposed to be running after 4 hours.

In node logs I can see there was some timeout, causing the faulty session to be stopped:

2024-03-20 10:44:44.606,"10:44:39.892 INFO [LocalNode.newSession] - Session created by the Node. Id: 0dc985dcf591805ff5c569a852b6d3a4, Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 121.0.6167.184, chrome: {chromedriverVersion: 121.0.6167.184 (057a8ae7deb..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46177}, goog:loggingPrefs: {browser: ALL, network: ALL, performance: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.17.0.2:4444/sessio..., se:cdpVersion: 121.0.6167.184, se:vnc: ws://172.17.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}"
2024-03-20 10:49:40.851,"10:49:40.561 INFO [LocalNode.stopTimedOutSession] - Session id 0dc985dcf591805ff5c569a852b6d3a4 timed out, stopping..."
2024-03-20 10:49:43.108,10:49:40.648 INFO [SessionSlot.stop] - Stopping session 0dc985dcf591805ff5c569a852b6d3a4

As per hub logs, it looks like it detected the session was stopped.

2024-03-20 10:44:40.233,"10:44:39.901 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 0dc985dcf591805ff5c569a852b6d3a4 
 Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 121.0.6167.184, chrome: {chromedriverVersion: 121.0.6167.184 (057a8ae7deb..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46177}, goog:loggingPrefs: {browser: ALL, network: ALL, performance: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:bidiEnabled: false, se:cdp: ws://172.17.0.2:4444/sessio..., se:cdpVersion: 121.0.6167.184, se:vnc: ws://172.17.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}"
...
2024-03-20 10:49:40.823,10:49:40.649 INFO [GridModel.release] - Releasing slot for session id 0dc985dcf591805ff5c569a852b6d3a4
2024-03-20 10:49:41.576,"10:49:40.649 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 0dc985dcf591805ff5c569a852b6d3a4"

However, after aborting our job in Jenkins, it looks like the hub tried again to find that session, throwing NoSuchSessionException as it was not existing anymore.

2024-03-20 15:10:28.942,"15:10:28.700 WARN [SeleniumSpanExporter$1.lambda$export$1] - org.openqa.selenium.NoSuchSessionException: Unable to find session with ID: 0dc985dcf591805ff5c569a852b6d3a4
Build info: version: '4.18.0', revision: 'b6bf9de7cc'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.77-99.164.amzn2023.x86_64', java.version: '11.0.21'
Driver info: driver.version: unknown
	at org.openqa.selenium.grid.sessionmap.local.LocalSessionMap.get(LocalSessionMap.java:132)
	at org.openqa.selenium.grid.sessionmap.SessionMap.getUri(SessionMap.java:84)
	at org.openqa.selenium.grid.router.HandleSession.lambda$loadSessionId$4(HandleSession.java:223)
	at io.opentelemetry.context.Context.lambda$wrap$2(Context.java:224)
	at org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:180)
	at org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:383)
	at org.openqa.selenium.remote.http.Route.execute(Route.java:69)
	at org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)
	at org.openqa.selenium.remote.http.Route.execute(Route.java:69)
	at org.openqa.selenium.grid.router.Router.execute(Router.java:87)
	at org.openqa.selenium.grid.web.EnsureSpecCompliantResponseHeaders.lambda$apply$0(EnsureSpecCompliantResponseHeaders.java:34)
	at org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:63)
	at org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)
	at org.openqa.selenium.remote.http.Route.execute(Route.java:69)
	at org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)
	at org.openqa.selenium.remote.http.Route.execute(Route.java:69)
	at org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)
	at org.openqa.selenium.remote.http.Route.execute(Route.java:69)
	at org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)
	at org.openqa.selenium.remote.http.Route.execute(Route.java:69)
	at org.openqa.selenium.remote.AddWebDriverSpecHeaders.lambda$apply$0(AddWebDriverSpecHeaders.java:35)
	at org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)
	at org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:63)
	at org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)
	at org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:63)
	at org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0(SeleniumHandler.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)
"
2024-03-20 15:10:28.942,"15:10:28.700 WARN [SeleniumSpanExporter$1.lambda$export$1] - Unable to execute request for an existing session: Unable to find session with ID: 0dc985dcf591805ff5c569a852b6d3a4
Build info: version: '4.18.0', revision: 'b6bf9de7cc'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.77-99.164.amzn2023.x86_64', java.version: '11.0.21'
Driver info: driver.version: unknown"
2024-03-20 15:10:33.099,"15:10:28.701 WARN [SeleniumSpanExporter$1.lambda$export$3] - {""traceId"": ""737d5845bbcf1b8d616abe37f3a4d6a5"",""eventTime"": 1710947428695624631,""eventName"": ""exception"",""attributes"": {""exception.message"": ""Unable to execute request for an existing session: Unable to find session with ID: 0dc985dcf591805ff5c569a852b6d3a4\nBuild info: version: '4.18.0', revision: 'b6bf9de7cc'\nSystem info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.77-99.164.amzn2023.x86_64', java.version: '11.0.21'\nDriver info: driver.version: unknown"",""exception.stacktrace"": ""org.openqa.selenium.NoSuchSessionException: Unable to find session with ID: 0dc985dcf591805ff5c569a852b6d3a4\nBuild info: version: '4.18.0', revision: 'b6bf9de7cc'\nSystem info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.77-99.164.amzn2023.x86_64', java.version: '11.0.21'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.grid.sessionmap.local.LocalSessionMap.get(LocalSessionMap.java:132)\n\tat org.openqa.selenium.grid.sessionmap.SessionMap.getUri(SessionMap.java:84)\n\tat org.openqa.selenium.grid.router.HandleSession.lambda$loadSessionId$4(HandleSession.java:223)\n\tat io.opentelemetry.context.Context.lambda$wrap$2(Context.java:224)\n\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:180)\n\tat org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:383)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:69)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:69)\n\tat org.openqa.selenium.grid.router.Router.execute(Router.java:87)\n\tat org.openqa.selenium.grid.web.EnsureSpecCompliantResponseHeaders.lambda$apply$0(EnsureSpecCompliantResponseHeaders.java:34)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:63)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:69)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:69)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:69)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:346)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:69)\n\tat org.openqa.selenium.remote.AddWebDriverSpecHeaders.lambda$apply$0(AddWebDriverSpecHeaders.java:35)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:63)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:63)\n\tat org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0(SeleniumHandler.java:44)\n\tat java.base\u002fjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base\u002fjava.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base\u002fjava.lang.Thread.run(Thread.java:829)\n"",""exception.type"": ""org.openqa.selenium.NoSuchSessionException"",""http.flavor"": 1,""http.handler_class"": ""org.openqa.selenium.grid.router.HandleSession"",""http.host"": ""10.159.77.210:4444"",""http.method"": ""DELETE"",""http.request_content_length"": ""0"",""http.scheme"": ""HTTP"",""http.target"": ""\u002fsession\u002f0dc985dcf591805ff5c569a852b6d3a4"",""http.user_agent"": ""selenium\u002f4.18.1 (js linux)"",""session.id"": ""0dc985dcf591805ff5c569a852b6d3a4""}}
"

From the tests log, it looks like no action was done after starting WebDriver instance (usually we should see some info after "Starting the test" line like the steps from the feature file, etc.):

[2024-03-20T15:10:33.284Z] [TASK 110] 10:44:39: Creating WebDriver
[2024-03-20T15:10:33.284Z] [TASK 110] 10:44:39: Starting the test
[2024-03-20T15:10:33.284Z] [TASK 110] 15:10:28: Received signal 15: SIGTERM
[2024-03-20T15:10:33.284Z] [TASK 110] 15:10:28: Stopping WebDriver
[2024-03-20T15:10:33.284Z] [TASK 110] 15:10:28: WebDriver stopped. Exiting with 143

We're currently using Docker Selenium 4.18.0-20240220, though we saw the same with some 4.16 versions.

It looks like something is hanging somewhere, but I'm not sure how to continue investigating or what could we try to reproduce this issue as it happens very randomly.

Complete logs from faulty node & hub:

Thanks.

@yuhaowin
Copy link

yuhaowin commented May 9, 2024

I have the same issues.
My docker file is following:

FROM selenium/standalone-chrome:122.0
ENV SE_NODE_OVERRIDE_MAX_SESSIONS true
ENV SE_NODE_MAX_SESSIONS 5
ENV SE_DRAIN_AFTER_SESSION_COUNT 5
ENV SE_NODE_SESSION_TIMEOUT 6
ENV SE_SESSION_RETRY_INTERVAL 2
ENV SE_SESSION_REQUEST_TIMEOUT 6
ENV shm-size 2g

WebDriver parameters:

    public WebDriverManager(URL url) {
        ChromeOptions options = new ChromeOptions();
        options.setCapability(VERSION, "");
        options.setCapability(PLATFORM, Platform.ANY);
        options.setExperimentalOption("excludeSwitches", Collections.singletonList("enable-automation"));
        options.setExperimentalOption("useAutomationExtension", false);
        options.addArguments("--no-sandbox");
        options.addArguments("--disable-dev-shm-usage");
        WebDriver webDriver = new RemoteWebDriver(url, options);
        webDriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
        webDriver.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS);
        this.webDriver = webDriver;
    }

when create second WebDriver, session will add the queue, and timeout.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants