Skip to content

[🐛 Bug]: Selenium Grid Hub intermittently fails to create new sessions (HTTP 500): SequentialScheduler task rejected / ThreadPoolExecutor “Shutting down” #17044

@rookieInTraining

Description

@rookieInTraining

Description

The issue is similar to one reported at #14280

We are seeing intermittent failures while creating new Selenium sessions against Grid. The client receives:

  • org.openqa.selenium.SessionNotCreatedException
  • HTTP 500
  • Root cause in message indicates a Java HTTP client task rejected because the underlying executor is shutting down:
    jdk.internal.net.http.common.SequentialScheduler$SchedulableTask ... rejected from ThreadPoolExecutor ... [Shutting down ...]

This suggests the Hub (or its internal HTTP client/executor) is shutting down/restarting or being terminated while still receiving new session requests, leading to session creation failures.

Stacktrace

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Could not start a new session. java.io.IOException: Task jdk.internal.net.http.common.SequentialScheduler$SchedulableTask@70cf1cfc rejected from java.util.concurrent.ThreadPoolExecutor@25b0836a[Shutting down, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 56] 
    Host info: host: 'selenium-hub-668784c48d-4x88s', ip: '10.102.38.164'
    Build info: version: '4.39.0', revision: '126f156aee'
    System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.6.72+', java.version: '21.0.9'
    Driver info: driver.version: unknown
    Build info: version: '4.39.0', revision: '126f156aee'
    System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.14.0-611.24.1.el9_7.x86_64', java.version: '17.0.17'
    Driver info: org.openqa.selenium.remote.RemoteWebDriver
    Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--kiosk-printing, --no-sandbox, --disable-dev-shm-usage, --disable-gpu, --ignore-certificate-errors, --disable-extensions, --disable-infobars, --remote-allow-origins=*, --disable-features=Download..., --disable-popup-blocking, --allow-outdated-plugins, --enable-audio-output, --autoplay-policy=no-user-g..., --enable-logging, --v=2, --enable-notifications, --disable-popup-blocking, --use-fake-device-for-media..., --use-fake-ui-for-media-stream], extensions: [], prefs: {credentials_enable_service: false, download.default_directory: /mnt1/jenkins/workspace/Kno..., download.prompt_for_download: false, printing.print_preview_sticky_settings.appState: {"recentDestinations": [{"i..., profile.default_content_setting_values.clipboard: 1, profile.default_content_setting_values.media_stream: 1, profile.default_content_setting_values.media_stream_mic: 1, profile.default_content_setting_values.notifications: 1, profile.default_content_setting_values.sound: 1, profile.default_content_settings.automatic_downloads: 1, profile.default_content_settings.popups: 0, profile.password_manager_enabled: false, safebrowsing.enabled: true, safebrowsing_for_trusted_sources_enabled: false}, w3c: true}, goog:loggingPrefs: org.openqa.selenium.logging..., pageLoadStrategy: none, se:name: Retry_KB_UI_..., unhandledPromptBehavior: accept}]}]
    Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--kiosk-printing, --no-sandbox, --disable-dev-shm-usage, --disable-gpu, --ignore-certificate-errors, --disable-extensions, --disable-infobars, --remote-allow-origins=*, --disable-features=Download..., --disable-popup-blocking, --allow-outdated-plugins, --enable-audio-output, --autoplay-policy=no-user-g..., --enable-logging, --v=2, --enable-notifications, --disable-popup-blocking, --use-fake-device-for-media..., --use-fake-ui-for-media-stream], extensions: [], prefs: {credentials_enable_service: false, download.default_directory: /mnt1/jenkins/workspace/Kno..., download.prompt_for_download: false, printing.print_preview_sticky_settings.appState: {"recentDestinations": [{"i..., profile.default_content_setting_values.clipboard: 1, profile.default_content_setting_values.media_stream: 1, profile.default_content_setting_values.media_stream_mic: 1, profile.default_content_setting_values.notifications: 1, profile.default_content_setting_values.sound: 1, profile.default_content_settings.automatic_downloads: 1, profile.default_content_settings.popups: 0, profile.password_manager_enabled: false, safebrowsing.enabled: true, safebrowsing_for_trusted_sources_enabled: false}, w3c: true}, goog:loggingPrefs: org.openqa.selenium.logging..., pageLoadStrategy: none, se:name: Retry_KB_UI_..., unhandledPromptBehavior: accept}
    	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:114)
    	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:75)
    	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:61)
    	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:187)
    	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:561)
    	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
    	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:178)
    	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:164)
    	at com.spr.core.ui.browser.Browser.createDriverWithTimeout(Browser.java:249)
    	at com.spr.core.ui.browser.Browser.getRemoteDriver(Browser.java:41)
    	at com.spr.core.ui.WebDriverThread.setExecutionStyle(WebDriverThread.java:152)
    	at com.spr.core.ui.WebDriverThread.getDriver(WebDriverThread.java:65)
    	at com.spr.core.ui.BrowserInit.getDriver(BrowserInit.java:215)
    	at com.spr.core.ui.BrowserInit.checkSession(BrowserInit.java:141)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
    	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
    	at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
    	at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
    	at org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:810)
    	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:577)
    	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
    	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
    	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
    	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
    	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
    	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    	at java.base/java.lang.Thread.run(Thread.java:842)

Reproducible Code

static RemoteWebDriver getRemoteDriver(DriverInitContext context, URL remoteUrl, Capabilities capabilities) {
        RemoteWebDriver driver = createDriverWithTimeout(context, remoteUrl, capabilities, SESSION_CREATION_MAX_WAIT);
        driver.setFileDetector(new LocalFileDetector());
        return driver;
}

// Try creating a session with retries until timeout because the grid might be busy
private static RemoteWebDriver createDriverWithTimeout(DriverInitContext context, URL remoteUrl, Capabilities capabilities, long timeout) {
    RemoteWebDriver driver = null;
    Throwable cause = null;
    final long start = System.currentTimeMillis();
    boolean retry = true;
    while (driver == null && retry) {
        retry = false;
        try {
            driver = new RemoteWebDriver(remoteUrl, capabilities, false);
        } catch (SessionNotCreatedException e) {
            cause = e.getCause();
            if (cause instanceof TimeoutException
                    && System.currentTimeMillis() - start < timeout
                    && context.getCumulativeSessionCreationWait().get() < CUMULATIVE_SESSION_CREATION_MAX_WAIT) {
                retry = true;
            } else {
                e.printStackTrace();
            }
        }
    }
    context.getCumulativeSessionCreationWait().addAndGet(System.currentTimeMillis() - start);

    if (driver != null) {
        return driver;
    } else {
        // If driver is still null after retries, throw SessionNotCreatedException
        throw new SessionNotCreatedException("Failed to create a session. Unable to find the session even after retries.");
    }
}

Debugging Logs

Jaeger Trace:


{
    "data": [
        {
            "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
            "spans": [
                {
                    "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                    "spanID": "fc4c5c6d05f4c71c",
                    "operationName": "session_queue",
                    "references": [],
                    "startTime": 1770139417152176,
                    "duration": 1439406,
                    "tags": [
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "server"
                        },
                        {
                            "key": "http.target",
                            "type": "string",
                            "value": "/session"
                        },
                        {
                            "key": "random.key",
                            "type": "string",
                            "value": "c4c55adc-da7e-41e4-9fb4-f0471f7c3f46"
                        },
                        {
                            "key": "http.method",
                            "type": "string",
                            "value": "POST"
                        },
                        {
                            "key": "http.status_code",
                            "type": "int64",
                            "value": 500
                        },
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "internal"
                        },
                        {
                            "key": "otel.status_code",
                            "type": "string",
                            "value": "ERROR"
                        },
                        {
                            "key": "error",
                            "type": "bool",
                            "value": true
                        },
                        {
                            "key": "otel.status_description",
                            "type": "string",
                            "value": "Kind: INTERNAL Description:"
                        },
                        {
                            "key": "internal.span.format",
                            "type": "string",
                            "value": "otlp"
                        }
                    ],
                    "logs": [
                        {
                            "timestamp": 1770139418591582,
                            "fields": [
                                {
                                    "key": "event",
                                    "type": "string",
                                    "value": "HTTP request execution complete"
                                },
                                {
                                    "key": "http.client_ip",
                                    "type": "string",
                                    "value": "10.56.33.91"
                                },
                                {
                                    "key": "http.flavor",
                                    "type": "int64",
                                    "value": 1
                                },
                                {
                                    "key": "http.handler_class",
                                    "type": "string",
                                    "value": "org.openqa.selenium.grid.sessionqueue.local.LocalNewSessionQueue"
                                },
                                {
                                    "key": "http.host",
                                    "type": "string",
                                    "value": "qa6-selenium-grid-care-int.sprinklr.com"
                                },
                                {
                                    "key": "http.method",
                                    "type": "string",
                                    "value": "POST"
                                },
                                {
                                    "key": "http.request_content_length",
                                    "type": "string",
                                    "value": "2419"
                                },
                                {
                                    "key": "http.scheme",
                                    "type": "string",
                                    "value": "HTTP"
                                },
                                {
                                    "key": "http.status_code",
                                    "type": "int64",
                                    "value": 500
                                },
                                {
                                    "key": "http.target",
                                    "type": "string",
                                    "value": "/session"
                                },
                                {
                                    "key": "http.user_agent",
                                    "type": "string",
                                    "value": "selenium/4.39.0 (java unix)"
                                }
                            ]
                        }
                    ],
                    "processID": "p1",
                    "warnings": null
                },
                {
                    "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                    "spanID": "860f708a9e2a3da5",
                    "operationName": "sessionqueue.add_to_queue",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                            "spanID": "fc4c5c6d05f4c71c"
                        }
                    ],
                    "startTime": 1770139417152886,
                    "duration": 1438568,
                    "tags": [
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "internal"
                        },
                        {
                            "key": "internal.span.format",
                            "type": "string",
                            "value": "otlp"
                        }
                    ],
                    "logs": [],
                    "processID": "p1",
                    "warnings": null
                },
                {
                    "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                    "spanID": "c24b501e7d8fd19f",
                    "operationName": "distributor.poll_queue",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                            "spanID": "fc4c5c6d05f4c71c"
                        }
                    ],
                    "startTime": 1770139417154035,
                    "duration": 1436607,
                    "tags": [
                        {
                            "key": "request.id",
                            "type": "string",
                            "value": "94572db9-786a-4b69-9e1c-c2d135572b34"
                        },
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "internal"
                        },
                        {
                            "key": "internal.span.format",
                            "type": "string",
                            "value": "otlp"
                        }
                    ],
                    "logs": [],
                    "processID": "p1",
                    "warnings": null
                },
                {
                    "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                    "spanID": "d4c300b92343896d",
                    "operationName": "distributor.new_session",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                            "spanID": "c24b501e7d8fd19f"
                        }
                    ],
                    "startTime": 1770139417154150,
                    "duration": 1435620,
                    "tags": [
                        {
                            "key": "error",
                            "type": "bool",
                            "value": true
                        },
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "internal"
                        },
                        {
                            "key": "otel.status_code",
                            "type": "string",
                            "value": "ERROR"
                        },
                        {
                            "key": "error",
                            "type": "bool",
                            "value": true
                        },
                        {
                            "key": "otel.status_description",
                            "type": "string",
                            "value": "Kind: ABORTED Description:"
                        },
                        {
                            "key": "internal.span.format",
                            "type": "string",
                            "value": "otlp"
                        }
                    ],
                    "logs": [
                        {
                            "timestamp": 1770139417154428,
                            "fields": [
                                {
                                    "key": "event",
                                    "type": "string",
                                    "value": "Session request received by the Distributor"
                                },
                                {
                                    "key": "logger",
                                    "type": "string",
                                    "value": "org.openqa.selenium.grid.distributor.local.LocalDistributor"
                                },
                                {
                                    "key": "request.payload",
                                    "type": "string",
                                    "value": "[Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--kiosk-printing, --no-sandbox, --disable-dev-shm-usage, --disable-gpu, --ignore-certificate-errors, --disable-extensions, --disable-infobars, --remote-allow-origins=*, --disable-features=Download..., --disable-popup-blocking, --allow-outdated-plugins, --enable-audio-output, --autoplay-policy=no-user-g..., --enable-logging, --v=2, --enable-notifications, --disable-popup-blocking, --use-fake-device-for-media..., --use-fake-ui-for-media-stream], extensions: [], prefs: {credentials_enable_service: false, download.default_directory: /mnt1/jenkins/workspace/sev..., download.prompt_for_download: false, printing.print_preview_sticky_settings.appState: {\"recentDestinations\": [{\"i..., profile.default_content_setting_values.clipboard: 1, profile.default_content_setting_values.media_stream: 1, profile.default_content_setting_values.media_stream_mic: 1, profile.default_content_setting_values.notifications: 1, profile.default_content_setting_values.sound: 1, profile.default_content_settings.automatic_downloads: 1, profile.default_content_settings.popups: 0, profile.password_manager_enabled: false, safebrowsing.enabled: true, safebrowsing_for_trusted_sources_enabled: false}, w3c: true}, goog:loggingPrefs: {browser: ALL}, pageLoadStrategy: none, se:name: sev1/Service_Conversational..., unhandledPromptBehavior: accept}]"
                                }
                            ]
                        },
                        {
                            "timestamp": 1770139418589770,
                            "fields": [
                                {
                                    "key": "event",
                                    "type": "string",
                                    "value": "exception"
                                },
                                {
                                    "key": "exception.message",
                                    "type": "string",
                                    "value": "Unable to create session: Could not start a new session. java.io.IOException: Task jdk.internal.net.http.common.SequentialScheduler$SchedulableTask@5affbf0 rejected from java.util.concurrent.ThreadPoolExecutor@60c48c82[Shutting down, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 84] \nHost info: host: 'selenium-hub-668784c48d-4x88s', ip: '10.102.38.164'\nBuild info: version: '4.39.0', revision: '126f156aee'\nSystem info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.6.72+', java.version: '21.0.9'\nDriver info: driver.version: unknown"
                                },
                                {
                                    "key": "exception.stacktrace",
                                    "type": "string",
                                    "value": "org.openqa.selenium.SessionNotCreatedException: Could not start a new session. java.io.IOException: Task jdk.internal.net.http.common.SequentialScheduler$SchedulableTask@5affbf0 rejected from java.util.concurrent.ThreadPoolExecutor@60c48c82[Shutting down, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 84] \nHost info: host: 'selenium-hub-668784c48d-4x88s', ip: '10.102.38.164'\nBuild info: version: '4.39.0', revision: '126f156aee'\nSystem info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.6.72+', java.version: '21.0.9'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.grid.distributor.local.LocalDistributor.startSession(LocalDistributor.java:431)\n\tat org.openqa.selenium.grid.distributor.local.LocalDistributor.newSession(LocalDistributor.java:346)\n\tat org.openqa.selenium.grid.distributor.local.LocalDistributor$NewSessionRunnable.handleNewSessionRequest(LocalDistributor.java:601)\n\tat org.openqa.selenium.grid.distributor.local.LocalDistributor$NewSessionRunnable.lambda$run$1(LocalDistributor.java:551)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\nCaused by: java.io.UncheckedIOException: java.io.IOException: Task jdk.internal.net.http.common.SequentialScheduler$SchedulableTask@5affbf0 rejected from java.util.concurrent.ThreadPoolExecutor@60c48c82[Shutting down, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 84]\n\tat org.openqa.selenium.remote.http.jdk.JdkHttpClient.execute0(JdkHttpClient.java:503)\n\tat org.openqa.selenium.remote.http.AddSeleniumUserAgent.lambda$apply$0(AddSeleniumUserAgent.java:44)\n\tat org.openqa.selenium.remote.http.Filter.lambda$andFinally$1(Filter.java:55)\n\tat org.openqa.selenium.remote.http.jdk.JdkHttpClient.lambda$executeAsync$2(JdkHttpClient.java:388)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)\n\t... 3 more\nCaused by: java.io.IOException: Task jdk.internal.net.http.common.SequentialScheduler$SchedulableTask@5affbf0 rejected from java.util.concurrent.ThreadPoolExecutor@60c48c82[Shutting down, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 84]\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:972)\n\tat java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)\n\tat org.openqa.selenium.remote.http.jdk.JdkHttpClient.execute0(JdkHttpClient.java:462)\n\t... 8 more\nCaused by: java.util.concurrent.RejectedExecutionException: Task jdk.internal.net.http.common.SequentialScheduler$SchedulableTask@5affbf0 rejected from java.util.concurrent.ThreadPoolExecutor@60c48c82[Shutting down, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 84]\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376)\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.ensureExecutedAsync(HttpClientImpl.java:183)\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:175)\n\tat java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:282)\n\tat java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:251)\n\tat java.net.http/jdk.internal.net.http.Http1AsyncReceiver.onReadError(Http1AsyncReceiver.java:516)\n\tat java.net.http/jdk.internal.net.http.Http1AsyncReceiver$Http1TubeSubscriber.onComplete(Http1AsyncReceiver.java:601)\n\tat java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion(SocketTube.java:648)\n\tat java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(SocketTube.java:853)\n\tat java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(SocketTube.java:181)\n\tat java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207)\n\tat java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:280)\n\tat java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:233)\n\tat java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalReadable(SocketTube.java:782)\n\tat java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent.signalEvent(SocketTube.java:965)\n\tat java.net.http/jdk.internal.net.http.SocketTube$SocketFlowEvent.handle(SocketTube.java:253)\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(HttpClientImpl.java:1477)\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(HttpClientImpl.java:1422)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1596)\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:1422)\n"
                                },
                                {
                                    "key": "exception.type",
                                    "type": "string",
                                    "value": "org.openqa.selenium.SessionNotCreatedException"
                                },
                                {
                                    "key": "logger",
                                    "type": "string",
                                    "value": "org.openqa.selenium.grid.distributor.local.LocalDistributor"
                                },
                                {
                                    "key": "request.payload",
                                    "type": "string",
                                    "value": "[Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--kiosk-printing, --no-sandbox, --disable-dev-shm-usage, --disable-gpu, --ignore-certificate-errors, --disable-extensions, --disable-infobars, --remote-allow-origins=*, --disable-features=Download..., --disable-popup-blocking, --allow-outdated-plugins, --enable-audio-output, --autoplay-policy=no-user-g..., --enable-logging, --v=2, --enable-notifications, --disable-popup-blocking, --use-fake-device-for-media..., --use-fake-ui-for-media-stream], extensions: [], prefs: {credentials_enable_service: false, download.default_directory: /mnt1/jenkins/workspace/sev..., download.prompt_for_download: false, printing.print_preview_sticky_settings.appState: {\"recentDestinations\": [{\"i..., profile.default_content_setting_values.clipboard: 1, profile.default_content_setting_values.media_stream: 1, profile.default_content_setting_values.media_stream_mic: 1, profile.default_content_setting_values.notifications: 1, profile.default_content_setting_values.sound: 1, profile.default_content_settings.automatic_downloads: 1, profile.default_content_settings.popups: 0, profile.password_manager_enabled: false, safebrowsing.enabled: true, safebrowsing_for_trusted_sources_enabled: false}, w3c: true}, goog:loggingPrefs: {browser: ALL}, pageLoadStrategy: none, se:name: sev1/Service_Conversational..., unhandledPromptBehavior: accept}]"
                                }
                            ]
                        }
                    ],
                    "processID": "p1",
                    "warnings": null
                },
                {
                    "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                    "spanID": "5ab363ab998321bf",
                    "operationName": "httpclient.execute",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                            "spanID": "d4c300b92343896d"
                        }
                    ],
                    "startTime": 1770139417156035,
                    "duration": 1432166,
                    "tags": [
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "client"
                        },
                        {
                            "key": "http.target",
                            "type": "string",
                            "value": "/se/grid/node/session"
                        },
                        {
                            "key": "http.method",
                            "type": "string",
                            "value": "POST"
                        },
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "internal"
                        },
                        {
                            "key": "internal.span.format",
                            "type": "string",
                            "value": "otlp"
                        }
                    ],
                    "logs": [],
                    "processID": "p1",
                    "warnings": null
                },
                {
                    "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                    "spanID": "86ccb556214dbb79",
                    "operationName": "httpclient.execute",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                            "spanID": "1abce45cffa67ceb"
                        }
                    ],
                    "startTime": 1770139417178901,
                    "duration": 1032158,
                    "tags": [
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "client"
                        },
                        {
                            "key": "http.target",
                            "type": "string",
                            "value": "/session"
                        },
                        {
                            "key": "http.method",
                            "type": "string",
                            "value": "POST"
                        },
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "internal"
                        },
                        {
                            "key": "internal.span.format",
                            "type": "string",
                            "value": "otlp"
                        }
                    ],
                    "logs": [],
                    "processID": "p2",
                    "warnings": [
                        "invalid parent span IDs=1abce45cffa67ceb; skipping clock skew adjustment"
                    ]
                },
                {
                    "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                    "spanID": "332d65551ba11cb8",
                    "operationName": "sessionqueue.completed",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "traceID": "f3d4387f3c20c9748a6eeaf5d9301e69",
                            "spanID": "fc4c5c6d05f4c71c"
                        }
                    ],
                    "startTime": 1770139418590577,
                    "duration": 13,
                    "tags": [
                        {
                            "key": "span.kind",
                            "type": "string",
                            "value": "internal"
                        },
                        {
                            "key": "internal.span.format",
                            "type": "string",
                            "value": "otlp"
                        }
                    ],
                    "logs": [],
                    "processID": "p1",
                    "warnings": null
                }
            ],
            "processes": {
                "p1": {
                    "serviceName": "selenium-grid-care-hub",
                    "tags": [
                        {
                            "key": "otel.library.name",
                            "type": "string",
                            "value": "default"
                        },
                        {
                            "key": "telemetry.sdk.language",
                            "type": "string",
                            "value": "java"
                        },
                        {
                            "key": "telemetry.sdk.name",
                            "type": "string",
                            "value": "opentelemetry"
                        },
                        {
                            "key": "telemetry.sdk.version",
                            "type": "string",
                            "value": "1.56.0"
                        }
                    ]
                },
                "p2": {
                    "serviceName": "selenium-grid-care-chrome-node",
                    "tags": [
                        {
                            "key": "otel.library.name",
                            "type": "string",
                            "value": "default"
                        },
                        {
                            "key": "telemetry.sdk.language",
                            "type": "string",
                            "value": "java"
                        },
                        {
                            "key": "telemetry.sdk.name",
                            "type": "string",
                            "value": "opentelemetry"
                        },
                        {
                            "key": "telemetry.sdk.version",
                            "type": "string",
                            "value": "1.56.0"
                        }
                    ]
                }
            },
            "warnings": null
        }
    ],
    "total": 0,
    "limit": 0,
    "offset": 0,
    "errors": null
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-gridEverything grid and server relatedC-javaJava BindingsD-chromeI-defectSomething is not working as intendedJ-awaiting answerQuestion asked of user; a reply moves it to triage againOS-linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions