Giter VIP home page Giter VIP logo

Comments (5)

RozbehSharahi avatar RozbehSharahi commented on July 21, 2024 2

Hello,

For more convenient investigation, I want to provide some further hints here:

The issue seems to only appear on usage of spryker/chromedriver which uses chrome version 102. Therefore it is necessary to add it to deploy.*.yml for reproduction.

services:
    webdriver:
        engine: chromedriver

Reproduction is easily done also on local machines by running a simple test 10 times:

for i in `seq 1 10`; do docker/sdk testing codecept run -g CompanyRegistrationCest; done

10 times in my case is already enough to always have a stuck test.

The test will get stuck for 600secs (i think curl timeouts are not correctly set) until it will follows up with the above mentioned error message.

Hint: I think an update of chrome version might solve the issue.

<3

from docker-sdk.

RozbehSharahi avatar RozbehSharahi commented on July 21, 2024 1

The problem seems really to be chrome version related. With following steps I tried with a new version (108).

  • SET "chromium-revision": 1084290 in composer.json
  • docker/sdk cli COMPOSER_IGNORE_CHROMEDRIVER=0 composer install
  • docker/sdk stop && docker/sdk start

It is necessary to call once docker/sdk cli console c:c:b otherwise test will fail on fresh setup

Now that chromedriver is updated, I update chrome manually in webdriver container

  • docker exec -it -uroot spryker_b2b_dev_webdriver_1 sh
  • apk upgrade --no-cache && apk upgrade --no-cache chromium // will currently update to 108
  • docker/sdk stop && docker/sdk start // maybe not needed

After that the session issue does not appear anymore:

for i in `seq 1 100`; do docker/sdk testing codecept run -g CompanyRegistrationCest; done

from docker-sdk.

alexanderM91 avatar alexanderM91 commented on July 21, 2024 1

Hi @RozbehSharahi,
great and thanks a lot for your magnificent and deep investigation.
We are planing to handle it in the nearest future.

from docker-sdk.

alexanderM91 avatar alexanderM91 commented on July 21, 2024 1

Hi,
Chromedriver has been updated to 1085359.
Please pull the latest image version.

My special gratitude for the contribution in the problem investigation.

Also, let's close an issue and reopen it or create a new one in case of necessity.
Thank you.

from docker-sdk.

kj187 avatar kj187 commented on July 21, 2024

Here another example from a project where we use Gitlab CI

SCR-20221124-lu5

from docker-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.