Code Monkey home page Code Monkey logo

Comments (5)

chilio avatar chilio commented on May 26, 2024

Hi @martijnimhoff ,
This seems more like gitlab-runner thing.
You can change shm_size in your docker gitlab-runner setup.
shm_size = 300000 # in bytes
Can you verify if it solves your problem?
Let me know...

from laravel-dusk-ci.

martijnimhoff avatar martijnimhoff commented on May 26, 2024

Thanks for your response, i've tried it with different sizes. The biggest size I tried was 2GB. Still some of my tests are failing. Also, the amount of failing tests does not change significantly.

try with 2GB (I added those two tests)

Tests: 118, Assertions: 354, Errors: 22.

Earlier test with lower shm_size.

Tests: 116, Assertions: 316, Errors: 24.

This is the output at the end of the tests: Time: 12.25 minutes, Memory: 48.00MB Is this memory usage related to shm?

And is there a way to monitor the actual shm usage?

from laravel-dusk-ci.

martijnimhoff avatar martijnimhoff commented on May 26, 2024

Update: Sorry I've been stupid. My runner was using the shared gitlab runner instead of our own runner... I'm closing the issue for now.

from laravel-dusk-ci.

erksch avatar erksch commented on May 26, 2024

I currently have the same issue but when running dusk locally on my Ubuntu 19.04.
Like described above, the first two tests pass and the error occurs for the rest of the tests.
My /dev/shm is barely used and has 8GB.
I am using the same chrome options.

invalid session id
(Driver info: chromedriver=2.45.615279 (12b89733300bd268cff3b78fc76cb8f3a7cc44e5),platform=Linux 5.0.10-surface-linux-surface x86_64) (Facebook\WebDriver\Exception\NoSuchDriverException)

Adding sleep(1) to setUp does not work either.

Any ideas?

from laravel-dusk-ci.

chilio avatar chilio commented on May 26, 2024

@erksch Did you verified your gitlab-runner .toml
as in laravel/dusk#105 (comment) ?

from laravel-dusk-ci.

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.