Skip to content

rrrspec-master cpu 100% #63

@jrluis

Description

@jrluis

The setup:

  • rrrspec-master v0.4.3
  • 2 kinds of workers
    • 10 rspec workers on google cloud (runs 436 specs with 5958 examples)
    • 30 cucumber workers on google cloud (runs 136 features with 10815 steps)
  • Four jobs to invoke the tests
    • Each job creates a taskset
    • Each job has is rsync folder
    • Pull request check jobs -> runs rspec and cucumber each as a taskset
    • Master to staging check jobs -> runs rspec and cucumber each as a taskset
  • The workers are booted up on demand when the test is submitted
  • rrrspec-master, redis and mysql run in the office as docker containers
  • The docker host is imac running docker for mac 1.12 stable

The system starts to run ok, but after some 5 mixed invocations of the pull request jobs and the master to staging jobs the rrrspec-master ruby process locks 100% making the system unusable.

After canceling all the running tasksets and waiting something like an hour, the cpu goes idle.

I suspect it's rspec-master saving worker data from redis. You can see the attached screenshot, there is one worker that get repeated in the ui, this is wrong it should show one line for each worker.

screen shot 2016-08-22 at 09 23 28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions