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

Selenium Executor: Message: session not created: Chrome failed to start: exited normally. #1832

Open
ducpv-1644 opened this issue Apr 24, 2024 · 1 comment

Comments

@ducpv-1644
Copy link

Hi,
I pulled the image "blazemeter/taurus:latest" and tried running it. The result is an error: Message: session not created: Chrome failed to start: exited normally.

My command:
docker run -it --rm -v `pwd`/scenarios:/bzt-configs blazemeter/taurus tc.yml

My tc.yml (My tc.yml file is in the scenarios folder):

execution:
- executor: selenium
  runner: apiritif
  scenario: example

scenarios:
  example:
    browser: Chrome
    requests:
      - label: Login
        actions:
          - go('https://www.google.com/')

Logs:

14:13:28 INFO: Taurus CLI Tool v1.16.30
14:13:28 INFO: Starting with configs: ['/root/.bzt-rc', 'tc.yml']
14:13:28 INFO: Configuring...
14:13:28 INFO: Proxy settings not set
14:13:28 INFO: Artifacts dir: /tmp/artifacts
14:13:28 INFO: Preparing...
14:13:29 INFO: Using Cgroups1LocalMonitor for engine health monitoring
14:13:29 INFO: Latest stable version of chromedriver is 124.0.6367.78
14:13:29 INFO: Used version of chromedriver is 123.0.6312.122
14:13:29 INFO: Latest stable version of geckodriver is 0.34.0
14:13:29 INFO: Used version of geckodriver is 0.34.0
14:13:33 INFO: Starting...
14:13:33 INFO: Waiting for results...
14:13:33 INFO: Iterations set to 1
14:13:33 INFO: Waiting for finish...
14:13:34 WARNING: Failed to check for updates, server returned 5xx.
14:13:35 WARNING: Please wait for graceful shutdown...
14:13:35 INFO: Shutting down...
14:13:36 INFO: Post-processing...
14:13:36 INFO: Test duration: 0:00:03
14:13:36 INFO: Samples count: 1, 100.00% failures
14:13:36 INFO: Average times: total 0.594, latency 0.000, connect 0.000
14:13:36 INFO: Percentiles:
+---------------+---------------+
| Percentile, % | Resp. Time, s |
+---------------+---------------+
|           0.0 |         0.594 |
|          50.0 |         0.594 |
|          90.0 |         0.594 |
|          95.0 |         0.594 |
|          99.0 |         0.594 |
|          99.9 |         0.594 |
|         100.0 |         0.594 |
+---------------+---------------+
14:13:36 INFO: Request label stats:
+--------------+--------+-------+--------+------------------------------------------------------------------------+
| label        | status |  succ | avg_rt | error                                                                  |
+--------------+--------+-------+--------+------------------------------------------------------------------------+
| test_example |  FAIL  | 0.00% |  0.594 | Message: session not created: Chrome failed to start: exited normally. |
+--------------+--------+-------+--------+------------------------------------------------------------------------+
14:13:36 INFO: Artifacts dir: /tmp/artifacts
14:13:36 INFO: Done performing with code: 0

Pls help me fix that. Thank you.

@ducpv-1644
Copy link
Author

@mykhaliev1 @pavelmarik
This is the problem that creates a bottleneck in my project. I'm happy to have it removed. Please help me when you can. Thank you very much.

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

No branches or pull requests

1 participant