!zyIwMfkvlwblbZsUty:matrix.org

selenium

1780 Members
4 Servers

Load older messages


SenderMessageTime
1 Dec 2023
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. 
    Host info: host: '10.56.32.67', ip: '10.56.32.67'
        at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:620)
        at app//org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
        at app//org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:163)
        at app//org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:143)
        at app//com.spr.core.ui.browser.Browser.getRemoteDriver(Browser.java:32)
        at app//com.spr.core.ui.WebDriverThread.setExecutionStyle(WebDriverThread.java:137)
        at app//com.spr.core.ui.WebDriverThread.getDriver(WebDriverThread.java:59)
        at app//com.spr.core.ui.BrowserInit.getDriver(BrowserInit.java:56)
        at app//com.spr.core.ui.waits.Waits.<init>(Waits.java:38)
        at app//com.spr.core.ui.waits.Waits.getInstance(Waits.java:28)
        at app//com.spr.ui.LoadBaseUITest.logout(LoadBaseUITest.java:72)
        at jdk.internal.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
        at java.base@11.0.12/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.12/java.lang.reflect.Method.invoke(Method.java:566)
        at app//org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
        at app//org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
        at app//org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
        at app//org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
        at app//org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:810)
        at app//org.testng.internal.invokers.TestInvoker.runAfterConfigurations(TestInvoker.java:779)
        at app//org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:755)
        at app//org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
        at app//org.testng.internal.invokers.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:80)
        at app//org.testng.internal.invokers.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:17)
        at java.base@11.0.12/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base@11.0.12/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base@11.0.12/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base@11.0.12/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base@11.0.12/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base@11.0.12/java.lang.Thread.run(Thread.java:829)

        Caused by:
        org.openqa.selenium.TimeoutException: java.util.concurrent.TimeoutException
        Build info: version: '4.12.0', revision: '249f2a7d1b*'
        System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-1127.19.1.el7.x86_64', java.version: '11.0.12'
        Driver info: driver.version: RemoteWebDriver
            at app//org.openqa.selenium.remote.http.jdk.JdkHttpClient.execute0(JdkHttpClient.java:391)
            at app//org.openqa.selenium.remote.http.AddSeleniumUserAgent.lambda$apply$0(AddSeleniumUserAgent.java:42)
            at app//org.openqa.selenium.remote.http.Filter.lambda$andFinally$1(Filter.java:55)
            at app//org.openqa.selenium.remote.http.jdk.JdkHttpClient.execute(JdkHttpClient.java:347)
            at app//org.openqa.selenium.remote.tracing.TracedHttpClient.execute(TracedHttpClient.java:54)
            at app//org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:115)
            at app//org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:96)
            at app//org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68)
            at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163)
            at app//org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:51)
            at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:602)
            ... 29 more

            Caused by:
            java.util.concurrent.TimeoutException
                at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
                at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
                at org.openqa.selenium.remote.http.jdk.JdkHttpClient.execute0(JdkHttpClient.java:374)
                ... 39 more
09:36:46
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining any pointers for fixing this? 09:37:05
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining the hub is 4 vCPU and 16Gb memory, while the nodes are 2 vCPU and 4Gb memory 09:37:31
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol each node only has 2 CPUs and 4GB memory for 10 browsers? 09:38:02
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol Interesting you are not getting failures earlier 09:38:27
@_slack_seleniumhq_U0336MJER9S:matrix.orgSatyabrata Das [December 1st, 2023 7:34 AM] satya.gudu2007: Hello Selenium Expert, my selenium grid machine is a Linux Ubuntu machine. There is a option in UI to download the file which will be inside remote Linux machine. want to do some file operations like move a file to different location, zip/unzip file, open a file in remote Linux machine. Do you know which library I can use. Can someone share me the code snippet. 09:38:53
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining Are you suggesting increasing the resources of the node diemol ? 09:39:44
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol what errors do you see in the Grid? 09:40:13
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol Have you analyzed the Grid logs? What do you see? 09:40:32
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol Have you checked all that rookieInTraining? 09:43:09
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol the errors happen most of the time in the Nodes 09:44:00
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining oh, okay.. let me check the nodes in that case.. 09:44:25
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining Well, if only I had direct access to the k8s cluster :simple_smile: That is in process.. 09:46:00
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining selenium-grid-chrome-node-5cbcb59c48-2244m 1/1 Running 1 (14m ago) 27m selenium-grid-chrome-node-5cbcb59c48-22k7h 1/1 Running 1 (13m ago) 29m 09:46:16
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining right, that seems fair :simple_smile: Can you suggest any tools that can help achieve that? 09:53:19
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining hmm, we use influxdb + grafana coupled with prometeus. I’m not sure whether that has been done for the pods I requested. Let me get back on that.. 10:01:45
@_slack_seleniumhq_U0336MJER9S:matrix.orgSatyabrata Das diemol Could you please help on above request? 10:28:20
@_slack_seleniumhq_U0336MJER9S:matrix.orgSatyabrata Das my selenium grid is set up in aws ec2 linux ubuntu machine. when i am running a testcase from outside (from bamboo or from my amazon workspace) where usecase is to download a file through browser and move this file to a different folder inside same aws ec2 linux machine. language i am using in java 10:47:11
@_slack_seleniumhq_U0336MJER9S:matrix.orgSatyabrata Das I will read the file after sending this file to different folder 10:54:54
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol So you need to download the file and do something with it in your test? 10:55:43
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol https://www.selenium.dev/documentation/grid/configuration/cli_options/#enabling-managed-downloads-by-the-node 10:57:15
@_slack_seleniumhq_U0336MJER9S:matrix.orgSatyabrata Das
prefs.put("download.default_directory", config.getProperty("path.remote.download"));
10:58:01
@_slack_seleniumhq_U0336MJER9S:matrix.orgSatyabrata Das but i want to move this downloaded file to a different location 10:58:21
@_slack_seleniumhq_U0336MJER9S:matrix.orgSatyabrata Das yes i will check that 10:58:30
@_slack_seleniumhq_UE359802W:matrix.orgrookieInTraining The memory is the reason why the pods restarted in my case 10:58:56
@_slack_seleniumhq_U068LL8G9MF:matrix.org_slack_seleniumhq_U068LL8G9MF joined the room.14:27:56
@_slack_seleniumhq_U01LGSETJCS:matrix.orgNagam Naidu joined the room.14:33:00
@_slack_seleniumhq_U01LGSETJCS:matrix.orgNagam Naidu rookieInTraining can let us know the configuration and setup details. We are also facing issues where whenever trying to run any command the hub is getting down 14:33:53
@_slack_seleniumhq_U01LGSETJCS:matrix.orgNagam Naidu Need Help ! We are trying to run selenium grid on Kubernetes cluster but as soon as we run any command to run tests on these pods the hub pod is getting Down. Error: 12:34:07.438 INFO [LocalDistributor.newSession] - Session request received by the distributor: [Capabilities {browserName: chrome, goog:chromeOptions: {args: [--disable-field-trial-config, --disable-background-networ..., --enable-features=NetworkSe..., --disable-background-timer-..., --disable-backgrounding-occ..., --disable-back-forward-cache, --disable-breakpad, --disable-client-side-phish..., --disable-component-extensi..., --disable-component-update, --no-default-browser-check, --disable-default-apps, --disable-dev-shm-usage, --disable-extensions, --disable-features=Improved..., --allow-pre-commit-input, --disable-hang-monitor, --disable-ipc-flooding-prot..., --disable-popup-blocking, --disable-prompt-on-repost, --disable-renderer-backgrou..., --disable-sync, --force-color-profile=srgb, --metrics-recording-only, --no-first-run, --enable-automation, --password-store=basic, --use-mock-keychain, --no-service-autorun, --export-tagged-pdf, --enable-use-zoom-for-dsf=f..., --headless, --hide-scrollbars, --mute-audio, --blink-settings=primaryHov..., --no-sandbox, --start-fullscreen, --window-position=0,0, --disable-dev-shm-usage, --remote-allow-origins=*d, --remote-debugging-port=0]}}] 12:34:08.032 INFO [LocalDistributor.newSession] - Session created by the distributor. Id: cb39aa1f3c135d00dce5fd2cd0a57bb0, Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 95.0.4638.69, chrome: {chromedriverVersion: 95.0.4638.54 (d31a821ec901f..., userDataDir: /tmp/.com.google.Chrome.mGHCGS}, goog:chromeOptions: {debuggerAddress: localhost:34685}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: {}, se:cdp: ws://0.0.0.0:4444/session/c ..., se:cdpVersion: 95.0.4638.69, se:vnc: ws://0.0.0.0:4444/session/c ..., se:vncEnabled: true, se:vncLocalAddress: ws://10.251.173.143: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:virtualAuthenticators: true} 12:34:08.829 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local session map, Id: cb39aa1f3c135d00dce5fd2cd0a57bb0 14:36:14
2 Dec 2023
@packsman:matrix.orgTommyHello everyone I’m a Grower and supplier of the best cannabis and psychedelics products like shrooms, DMT, Lsd, Mdma, ketamine, chocolate bars,Meth, cart vapes, buds, wax, shatter, Edibles,distillates,Edibles, chill pills and others like counterfeit and cloned cards which have been tested to work perfectly💯. We do Prescription for patients with health issues to help maintain good healthy condition. Affordable prices let me know if you interested See products available👇👇👇 https://t.me/pacexoitic00:05:29

There are no newer messages yet.


Back to Room ListRoom Version: 6