-
Notifications
You must be signed in to change notification settings - Fork 663
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
ERROR Chrome 112.0.5615.49 / Linux 0.0 browser disconnected or Cannot establish one or more browser connection if running tests on the AWS Kubernetes version 1.24 #7660
Comments
Hello @ayemelyanenko-chegg, For the Team:
Remember the pod's name for the next step.
The task will fail with a browser connection error.
It will pass without errors. |
We cannot give any estimates on a fix. If this issue is critical, you can prepare a pull request by yourself. We would appreciate that. Besides, take a look at the following thread: #2946. Perhaps, it can help you solve the problem with concurrency. |
Thanks for the response @Dmitry-Ostashev |
I encountered a similar problem but not on AWS. Just inside a custom docker image.
Execution: node --max_old_space_size=16384 node_modules/testcafe/bin/testcafe-with-v8-flag-filter.js --no-color 'chromium:headless:width=1800;height=1000 --no-sandbox --disable-dev-shm-usage --no-discard-tabs' src/tests/smoke/parallel/common --concurrency 1 |
Hi @pschmolke, The
In most cases, it's an issue with a custom docker container's setup. If you can share an example to reproduce this issue locally, please create a separate issue for your case. |
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open. |
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you. |
What is your Scenario?
Running tests with Chrome on the AWS Kubernetes version 1.24
https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#kubernetes-1.24
What is the Current behavior?
Running tests with Chrome on the AWS Kubernetes version 1.24 causes browsers to disconnect nearly each time unless --no-sandbox --disable-dev-shm-usage is passed as a flag to Chrome
I believe this is happening because of:
Running tests with Chrome on the AWS Kubernetes version 1.23 works fine and doesn't require a Chrome flag above
What is the Expected behavior?
The browsers should not disconnect nearly each time when running on AWS Kubernetes version 1.24
What is your public website URL? (or attach your complete example)
There is no website for this issue
What is your TestCafe test code?
Your complete configuration file
No response
Your complete test report
No response
Screenshots
This is a simple test that runs on AWS Kubernetes 1.24 and it fails each time
This is a simple test that runs on AWS Kubernetes 1.23 and it passes each time
This is a simple test that runs on AWS Kubernetes 1.24 with the Chrome flag and it passes each time
Steps to Reproduce
TestCafe version
2.5.1-rc.1
Node.js version
18.16.0
Command-line arguments
For failure:
yarn run testcafe chrome:headless' testcafe/sampleTest.ts -e -c 10
For pass:
yarn run testcafe 'chrome:headless --no-sandbox --disable-dev-shm-usage' testcafe/sampleTest.ts -e -c 10
Browser name(s) and version(s)
Chrome 112.0.5615.165
Platform(s) and version(s)
No response
Other
No response
The text was updated successfully, but these errors were encountered: